@blues-inc/notehub-js 1.0.35-beta.9 → 1.0.36-beta.1
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 +11 -19
- 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 +55 -2
- package/dist/api/EventApi.js +13 -13
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +101 -5
- package/dist/api/RepositoryApi.js +1 -1
- package/dist/api/RouteApi.js +5 -5
- package/dist/api/WebhookApi.js +6 -6
- package/dist/index.js +14 -63
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/Aws.js +1 -1
- package/dist/model/Azure.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/Body.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/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.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/DeviceDfuStatusCurrent.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 +269 -0
- package/dist/model/{ApiKeySecret.js → EnvVar.js} +45 -31
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +10 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceLatest200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetProjectDevices200Response.js +1 -1
- package/dist/model/GetProjectEvents200Response.js +1 -1
- package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
- package/dist/model/GetProjectFleets200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectProducts200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/Google.js +1 -1
- package/dist/model/HandleNoteChanges200Response.js +1 -1
- package/dist/model/HandleNoteGet200Response.js +1 -1
- package/dist/model/HandleNoteSignal200Response.js +1 -1
- package/dist/model/HandleNotefileChanges200Response.js +1 -1
- package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
- package/dist/model/HandleNotefileDeleteRequest.js +1 -1
- package/dist/model/Http.js +1 -1
- package/dist/model/HttpFilter.js +1 -1
- package/dist/model/HttpTransform.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/Mqtt.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSchema.js +1 -1
- package/dist/model/PostProvisionProjectDeviceRequest.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/Proxy.js +1 -1
- package/dist/model/PutDeviceFleetsRequest.js +1 -1
- package/dist/model/QuestionDataResponseLineChart.js +1 -1
- package/dist/model/QuestionDataResponseMap.js +1 -1
- package/dist/model/Radresponder.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RouteLog.js +10 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Slack.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/Snowflake.js +1 -1
- package/dist/model/SnowflakeTransform.js +1 -1
- package/dist/model/Thingworx.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/Twilio.js +1 -1
- package/dist/model/UpdateFleetRequest.js +10 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UserDbRoute.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/dist/api/ApiAccessApi.js +0 -238
- package/dist/model/ApiKey.js +0 -186
- package/dist/model/ApiKeyCreatedBy.js +0 -116
- package/dist/model/ApiKeyPermissionEntry.js +0 -127
- package/dist/model/ApiKeyPermissions.js +0 -141
- package/dist/model/UpdateApiKeyRequest.js +0 -135
- package/dist/model/UpdateApiKeyRequestRoles.js +0 -141
- package/dist/model/UpdateApiKeyRole.js +0 -103
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: 1.0.
|
|
9
|
+
- Package version: 1.0.36-beta.1
|
|
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
|
|
|
@@ -130,11 +130,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
130
130
|
Class | Method | HTTP request | Description
|
|
131
131
|
------------ | ------------- | ------------- | -------------
|
|
132
132
|
*NotehubJs.AlertApi* | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts |
|
|
133
|
-
*NotehubJs.ApiAccessApi* | [**createApiKey**](docs/ApiAccessApi.md#createApiKey) | **POST** /v1/api-keys | Create new API Key
|
|
134
|
-
*NotehubJs.ApiAccessApi* | [**deleteApiKey**](docs/ApiAccessApi.md#deleteApiKey) | **DELETE** /v1/api-keys/{apiKeyUID} | Delete an API key by UID
|
|
135
|
-
*NotehubJs.ApiAccessApi* | [**getApiKey**](docs/ApiAccessApi.md#getApiKey) | **GET** /v1/api-keys/{apiKeyUID} | Get API key by UID
|
|
136
|
-
*NotehubJs.ApiAccessApi* | [**listApiKeys**](docs/ApiAccessApi.md#listApiKeys) | **GET** /v1/api-keys | List API keys
|
|
137
|
-
*NotehubJs.ApiAccessApi* | [**updateApiKey**](docs/ApiAccessApi.md#updateApiKey) | **POST** /v1/api-keys/{apiKeyUID} | Update API key (e.g. expiration date)
|
|
138
133
|
*NotehubJs.AuthorizationApi* | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
|
|
139
134
|
*NotehubJs.BillingAccountApi* | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
|
|
140
135
|
*NotehubJs.DeviceApi* | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} |
|
|
@@ -144,6 +139,7 @@ Class | Method | HTTP request | Description
|
|
|
144
139
|
*NotehubJs.DeviceApi* | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable |
|
|
145
140
|
*NotehubJs.DeviceApi* | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable-connectivity-assurance |
|
|
146
141
|
*NotehubJs.DeviceApi* | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
142
|
+
*NotehubJs.DeviceApi* | [**getDeviceEnvironmentHierarchy**](docs/DeviceApi.md#getDeviceEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy | Get environment variable hierarchy for a device
|
|
147
143
|
*NotehubJs.DeviceApi* | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
148
144
|
*NotehubJs.DeviceApi* | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
149
145
|
*NotehubJs.DeviceApi* | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
@@ -198,10 +194,12 @@ Class | Method | HTTP request | Description
|
|
|
198
194
|
*NotehubJs.ProjectApi* | [**getDevicesDfuStatus**](docs/ProjectApi.md#getDevicesDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/status |
|
|
199
195
|
*NotehubJs.ProjectApi* | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectOrProductUID}/firmware |
|
|
200
196
|
*NotehubJs.ProjectApi* | [**getFleet**](docs/ProjectApi.md#getFleet) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
|
|
197
|
+
*NotehubJs.ProjectApi* | [**getFleetEnvironmentHierarchy**](docs/ProjectApi.md#getFleetEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_hierarchy | Get environment variable hierarchy for a device
|
|
201
198
|
*NotehubJs.ProjectApi* | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables |
|
|
202
199
|
*NotehubJs.ProjectApi* | [**getNotefileSchemas**](docs/ProjectApi.md#getNotefileSchemas) | **GET** /v1/projects/{projectOrProductUID}/schemas | Get variable format for a notefile
|
|
203
200
|
*NotehubJs.ProjectApi* | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
|
|
204
201
|
*NotehubJs.ProjectApi* | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
|
|
202
|
+
*NotehubJs.ProjectApi* | [**getProjectEnvironmentHierarchy**](docs/ProjectApi.md#getProjectEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/environment_hierarchy | Get environment variable hierarchy for a device
|
|
205
203
|
*NotehubJs.ProjectApi* | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/environment_variables |
|
|
206
204
|
*NotehubJs.ProjectApi* | [**getProjectFleets**](docs/ProjectApi.md#getProjectFleets) | **GET** /v1/projects/{projectOrProductUID}/fleets |
|
|
207
205
|
*NotehubJs.ProjectApi* | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectOrProductUID}/members |
|
|
@@ -229,11 +227,11 @@ Class | Method | HTTP request | Description
|
|
|
229
227
|
*NotehubJs.RouteApi* | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs |
|
|
230
228
|
*NotehubJs.RouteApi* | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes |
|
|
231
229
|
*NotehubJs.RouteApi* | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
232
|
-
*NotehubJs.WebhookApi* | [**createWebhook**](docs/WebhookApi.md#createWebhook) | **POST** /v1/projects/{
|
|
233
|
-
*NotehubJs.WebhookApi* | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{
|
|
234
|
-
*NotehubJs.WebhookApi* | [**getWebhook**](docs/WebhookApi.md#getWebhook) | **GET** /v1/projects/{
|
|
235
|
-
*NotehubJs.WebhookApi* | [**getWebhooks**](docs/WebhookApi.md#getWebhooks) | **GET** /v1/projects/{
|
|
236
|
-
*NotehubJs.WebhookApi* | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{
|
|
230
|
+
*NotehubJs.WebhookApi* | [**createWebhook**](docs/WebhookApi.md#createWebhook) | **POST** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
231
|
+
*NotehubJs.WebhookApi* | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
232
|
+
*NotehubJs.WebhookApi* | [**getWebhook**](docs/WebhookApi.md#getWebhook) | **GET** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
233
|
+
*NotehubJs.WebhookApi* | [**getWebhooks**](docs/WebhookApi.md#getWebhooks) | **GET** /v1/projects/{projectOrProductUID}/webhooks |
|
|
234
|
+
*NotehubJs.WebhookApi* | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
237
235
|
|
|
238
236
|
|
|
239
237
|
## Documentation for Models
|
|
@@ -241,11 +239,6 @@ Class | Method | HTTP request | Description
|
|
|
241
239
|
- [NotehubJs.Alert](docs/Alert.md)
|
|
242
240
|
- [NotehubJs.AlertDataInner](docs/AlertDataInner.md)
|
|
243
241
|
- [NotehubJs.AlertNotificationsInner](docs/AlertNotificationsInner.md)
|
|
244
|
-
- [NotehubJs.ApiKey](docs/ApiKey.md)
|
|
245
|
-
- [NotehubJs.ApiKeyCreatedBy](docs/ApiKeyCreatedBy.md)
|
|
246
|
-
- [NotehubJs.ApiKeyPermissionEntry](docs/ApiKeyPermissionEntry.md)
|
|
247
|
-
- [NotehubJs.ApiKeyPermissions](docs/ApiKeyPermissions.md)
|
|
248
|
-
- [NotehubJs.ApiKeySecret](docs/ApiKeySecret.md)
|
|
249
242
|
- [NotehubJs.Aws](docs/Aws.md)
|
|
250
243
|
- [NotehubJs.Azure](docs/Azure.md)
|
|
251
244
|
- [NotehubJs.BillingAccount](docs/BillingAccount.md)
|
|
@@ -278,6 +271,8 @@ Class | Method | HTTP request | Description
|
|
|
278
271
|
- [NotehubJs.DeviceUsage](docs/DeviceUsage.md)
|
|
279
272
|
- [NotehubJs.DfuActionRequest](docs/DfuActionRequest.md)
|
|
280
273
|
- [NotehubJs.EmailNotification](docs/EmailNotification.md)
|
|
274
|
+
- [NotehubJs.EnvTreeJsonNode](docs/EnvTreeJsonNode.md)
|
|
275
|
+
- [NotehubJs.EnvVar](docs/EnvVar.md)
|
|
281
276
|
- [NotehubJs.EnvironmentVariables](docs/EnvironmentVariables.md)
|
|
282
277
|
- [NotehubJs.Error](docs/Error.md)
|
|
283
278
|
- [NotehubJs.Event](docs/Event.md)
|
|
@@ -344,9 +339,6 @@ Class | Method | HTTP request | Description
|
|
|
344
339
|
- [NotehubJs.Thingworx](docs/Thingworx.md)
|
|
345
340
|
- [NotehubJs.TowerLocation](docs/TowerLocation.md)
|
|
346
341
|
- [NotehubJs.Twilio](docs/Twilio.md)
|
|
347
|
-
- [NotehubJs.UpdateApiKeyRequest](docs/UpdateApiKeyRequest.md)
|
|
348
|
-
- [NotehubJs.UpdateApiKeyRequestRoles](docs/UpdateApiKeyRequestRoles.md)
|
|
349
|
-
- [NotehubJs.UpdateApiKeyRole](docs/UpdateApiKeyRole.md)
|
|
350
342
|
- [NotehubJs.UpdateFleetRequest](docs/UpdateFleetRequest.md)
|
|
351
343
|
- [NotehubJs.UploadMetadata](docs/UploadMetadata.md)
|
|
352
344
|
- [NotehubJs.UserDbRoute](docs/UserDbRoute.md)
|
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 1.0.
|
|
29
|
+
* @version 1.0.36-beta.1
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -75,7 +75,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
75
75
|
*/
|
|
76
76
|
this.defaultHeaders = {};
|
|
77
77
|
if (typeof window === 'undefined') {
|
|
78
|
-
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/1.0.
|
|
78
|
+
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/1.0.36-beta.1/Javascript';
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.36-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Authorization service.
|
|
30
30
|
* @module api/AuthorizationApi
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.36-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -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 1.0.
|
|
31
|
+
* @version 1.0.36-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -7,6 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Body = _interopRequireDefault(require("../model/Body"));
|
|
9
9
|
var _Device = _interopRequireDefault(require("../model/Device"));
|
|
10
|
+
var _EnvTreeJsonNode = _interopRequireDefault(require("../model/EnvTreeJsonNode"));
|
|
10
11
|
var _EnvironmentVariables = _interopRequireDefault(require("../model/EnvironmentVariables"));
|
|
11
12
|
var _Error = _interopRequireDefault(require("../model/Error"));
|
|
12
13
|
var _GetDeviceEnvironmentVariables200Response = _interopRequireDefault(require("../model/GetDeviceEnvironmentVariables200Response"));
|
|
@@ -45,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
45
46
|
/**
|
|
46
47
|
* Device service.
|
|
47
48
|
* @module api/DeviceApi
|
|
48
|
-
* @version 1.0.
|
|
49
|
+
* @version 1.0.36-beta.1
|
|
49
50
|
*/
|
|
50
51
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
51
52
|
/**
|
|
@@ -397,6 +398,52 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
397
398
|
});
|
|
398
399
|
}
|
|
399
400
|
|
|
401
|
+
/**
|
|
402
|
+
* Get environment variable hierarchy for a device
|
|
403
|
+
* @param {String} projectOrProductUID
|
|
404
|
+
* @param {String} deviceUID
|
|
405
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
|
|
406
|
+
*/
|
|
407
|
+
}, {
|
|
408
|
+
key: "getDeviceEnvironmentHierarchyWithHttpInfo",
|
|
409
|
+
value: function getDeviceEnvironmentHierarchyWithHttpInfo(projectOrProductUID, deviceUID) {
|
|
410
|
+
var postBody = null;
|
|
411
|
+
// verify the required parameter 'projectOrProductUID' is set
|
|
412
|
+
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
413
|
+
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDeviceEnvironmentHierarchy");
|
|
414
|
+
}
|
|
415
|
+
// verify the required parameter 'deviceUID' is set
|
|
416
|
+
if (deviceUID === undefined || deviceUID === null) {
|
|
417
|
+
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentHierarchy");
|
|
418
|
+
}
|
|
419
|
+
var pathParams = {
|
|
420
|
+
'projectOrProductUID': projectOrProductUID,
|
|
421
|
+
'deviceUID': deviceUID
|
|
422
|
+
};
|
|
423
|
+
var queryParams = {};
|
|
424
|
+
var headerParams = {};
|
|
425
|
+
var formParams = {};
|
|
426
|
+
var authNames = ['api_key'];
|
|
427
|
+
var contentTypes = [];
|
|
428
|
+
var accepts = ['application/json'];
|
|
429
|
+
var returnType = _EnvTreeJsonNode["default"];
|
|
430
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Get environment variable hierarchy for a device
|
|
435
|
+
* @param {String} projectOrProductUID
|
|
436
|
+
* @param {String} deviceUID
|
|
437
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
|
|
438
|
+
*/
|
|
439
|
+
}, {
|
|
440
|
+
key: "getDeviceEnvironmentHierarchy",
|
|
441
|
+
value: function getDeviceEnvironmentHierarchy(projectOrProductUID, deviceUID) {
|
|
442
|
+
return this.getDeviceEnvironmentHierarchyWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
|
|
443
|
+
return response_and_data.data;
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
|
|
400
447
|
/**
|
|
401
448
|
* Get environment variables of a device
|
|
402
449
|
* @param {String} projectOrProductUID
|
|
@@ -634,6 +681,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
634
681
|
* @param {Object} opts Optional parameters
|
|
635
682
|
* @param {Number} opts.pageSize (default to 50)
|
|
636
683
|
* @param {Number} opts.pageNum (default to 1)
|
|
684
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
685
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
637
686
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceSessions200Response} and HTTP response
|
|
638
687
|
*/
|
|
639
688
|
}, {
|
|
@@ -655,7 +704,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
655
704
|
};
|
|
656
705
|
var queryParams = {
|
|
657
706
|
'pageSize': opts['pageSize'],
|
|
658
|
-
'pageNum': opts['pageNum']
|
|
707
|
+
'pageNum': opts['pageNum'],
|
|
708
|
+
'startDate': opts['startDate'],
|
|
709
|
+
'endDate': opts['endDate']
|
|
659
710
|
};
|
|
660
711
|
var headerParams = {};
|
|
661
712
|
var formParams = {};
|
|
@@ -673,6 +724,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
673
724
|
* @param {Object} opts Optional parameters
|
|
674
725
|
* @param {Number} opts.pageSize (default to 50)
|
|
675
726
|
* @param {Number} opts.pageNum (default to 1)
|
|
727
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
728
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
676
729
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceSessions200Response}
|
|
677
730
|
*/
|
|
678
731
|
}, {
|
package/dist/api/EventApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Event service.
|
|
32
32
|
* @module api/EventApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.36-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -55,8 +55,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
55
55
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
56
56
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
57
57
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
58
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
59
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
58
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
59
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
60
60
|
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
61
61
|
* @param {Boolean} opts.systemFilesOnly
|
|
62
62
|
* @param {String} opts.files
|
|
@@ -120,8 +120,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
120
120
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
121
121
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
122
122
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
123
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
124
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
123
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
124
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
125
125
|
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
126
126
|
* @param {Boolean} opts.systemFilesOnly
|
|
127
127
|
* @param {String} opts.files
|
|
@@ -151,8 +151,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
151
151
|
* @param {Boolean} opts.systemFilesOnly
|
|
152
152
|
* @param {String} opts.files
|
|
153
153
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
154
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
155
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
154
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
155
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
156
156
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectEventsByCursor200Response} and HTTP response
|
|
157
157
|
*/
|
|
158
158
|
}, {
|
|
@@ -202,8 +202,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
202
202
|
* @param {Boolean} opts.systemFilesOnly
|
|
203
203
|
* @param {String} opts.files
|
|
204
204
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
205
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
206
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
205
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
206
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
207
207
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectEventsByCursor200Response}
|
|
208
208
|
*/
|
|
209
209
|
}, {
|
|
@@ -223,8 +223,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
223
223
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
224
224
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
225
225
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
226
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
227
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
226
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
227
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
228
228
|
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
229
229
|
* @param {Boolean} opts.systemFilesOnly
|
|
230
230
|
* @param {String} opts.files
|
|
@@ -284,8 +284,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
284
284
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
285
285
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
286
286
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
287
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
288
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
287
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
288
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
289
289
|
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
290
290
|
* @param {Boolean} opts.systemFilesOnly
|
|
291
291
|
* @param {String} opts.files
|
|
@@ -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 1.0.
|
|
32
|
+
* @version 1.0.36-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.36-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -15,6 +15,7 @@ var _DeviceDfuHistoryPage = _interopRequireDefault(require("../model/DeviceDfuHi
|
|
|
15
15
|
var _DeviceDfuStatus = _interopRequireDefault(require("../model/DeviceDfuStatus"));
|
|
16
16
|
var _DeviceDfuStatusPage = _interopRequireDefault(require("../model/DeviceDfuStatusPage"));
|
|
17
17
|
var _DfuActionRequest = _interopRequireDefault(require("../model/DfuActionRequest"));
|
|
18
|
+
var _EnvTreeJsonNode = _interopRequireDefault(require("../model/EnvTreeJsonNode"));
|
|
18
19
|
var _EnvironmentVariables = _interopRequireDefault(require("../model/EnvironmentVariables"));
|
|
19
20
|
var _Error = _interopRequireDefault(require("../model/Error"));
|
|
20
21
|
var _FirmwareInfo = _interopRequireDefault(require("../model/FirmwareInfo"));
|
|
@@ -49,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
49
50
|
/**
|
|
50
51
|
* Project service.
|
|
51
52
|
* @module api/ProjectApi
|
|
52
|
-
* @version 1.0.
|
|
53
|
+
* @version 1.0.36-beta.1
|
|
53
54
|
*/
|
|
54
55
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
55
56
|
/**
|
|
@@ -1076,6 +1077,52 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1076
1077
|
});
|
|
1077
1078
|
}
|
|
1078
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* Get environment variable hierarchy for a device
|
|
1082
|
+
* @param {String} projectOrProductUID
|
|
1083
|
+
* @param {String} fleetUID
|
|
1084
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
|
|
1085
|
+
*/
|
|
1086
|
+
}, {
|
|
1087
|
+
key: "getFleetEnvironmentHierarchyWithHttpInfo",
|
|
1088
|
+
value: function getFleetEnvironmentHierarchyWithHttpInfo(projectOrProductUID, fleetUID) {
|
|
1089
|
+
var postBody = null;
|
|
1090
|
+
// verify the required parameter 'projectOrProductUID' is set
|
|
1091
|
+
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
1092
|
+
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getFleetEnvironmentHierarchy");
|
|
1093
|
+
}
|
|
1094
|
+
// verify the required parameter 'fleetUID' is set
|
|
1095
|
+
if (fleetUID === undefined || fleetUID === null) {
|
|
1096
|
+
throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetEnvironmentHierarchy");
|
|
1097
|
+
}
|
|
1098
|
+
var pathParams = {
|
|
1099
|
+
'projectOrProductUID': projectOrProductUID,
|
|
1100
|
+
'fleetUID': fleetUID
|
|
1101
|
+
};
|
|
1102
|
+
var queryParams = {};
|
|
1103
|
+
var headerParams = {};
|
|
1104
|
+
var formParams = {};
|
|
1105
|
+
var authNames = ['api_key'];
|
|
1106
|
+
var contentTypes = [];
|
|
1107
|
+
var accepts = ['application/json'];
|
|
1108
|
+
var returnType = _EnvTreeJsonNode["default"];
|
|
1109
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Get environment variable hierarchy for a device
|
|
1114
|
+
* @param {String} projectOrProductUID
|
|
1115
|
+
* @param {String} fleetUID
|
|
1116
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
|
|
1117
|
+
*/
|
|
1118
|
+
}, {
|
|
1119
|
+
key: "getFleetEnvironmentHierarchy",
|
|
1120
|
+
value: function getFleetEnvironmentHierarchy(projectOrProductUID, fleetUID) {
|
|
1121
|
+
return this.getFleetEnvironmentHierarchyWithHttpInfo(projectOrProductUID, fleetUID).then(function (response_and_data) {
|
|
1122
|
+
return response_and_data.data;
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1079
1126
|
/**
|
|
1080
1127
|
* Get environment variables of a fleet
|
|
1081
1128
|
* @param {String} projectOrProductUID
|
|
@@ -1239,6 +1286,45 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1239
1286
|
});
|
|
1240
1287
|
}
|
|
1241
1288
|
|
|
1289
|
+
/**
|
|
1290
|
+
* Get environment variable hierarchy for a device
|
|
1291
|
+
* @param {String} projectOrProductUID
|
|
1292
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
|
|
1293
|
+
*/
|
|
1294
|
+
}, {
|
|
1295
|
+
key: "getProjectEnvironmentHierarchyWithHttpInfo",
|
|
1296
|
+
value: function getProjectEnvironmentHierarchyWithHttpInfo(projectOrProductUID) {
|
|
1297
|
+
var postBody = null;
|
|
1298
|
+
// verify the required parameter 'projectOrProductUID' is set
|
|
1299
|
+
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
1300
|
+
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectEnvironmentHierarchy");
|
|
1301
|
+
}
|
|
1302
|
+
var pathParams = {
|
|
1303
|
+
'projectOrProductUID': projectOrProductUID
|
|
1304
|
+
};
|
|
1305
|
+
var queryParams = {};
|
|
1306
|
+
var headerParams = {};
|
|
1307
|
+
var formParams = {};
|
|
1308
|
+
var authNames = ['api_key'];
|
|
1309
|
+
var contentTypes = [];
|
|
1310
|
+
var accepts = ['application/json'];
|
|
1311
|
+
var returnType = _EnvTreeJsonNode["default"];
|
|
1312
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Get environment variable hierarchy for a device
|
|
1317
|
+
* @param {String} projectOrProductUID
|
|
1318
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
|
|
1319
|
+
*/
|
|
1320
|
+
}, {
|
|
1321
|
+
key: "getProjectEnvironmentHierarchy",
|
|
1322
|
+
value: function getProjectEnvironmentHierarchy(projectOrProductUID) {
|
|
1323
|
+
return this.getProjectEnvironmentHierarchyWithHttpInfo(projectOrProductUID).then(function (response_and_data) {
|
|
1324
|
+
return response_and_data.data;
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1242
1328
|
/**
|
|
1243
1329
|
* Get environment variables of a project
|
|
1244
1330
|
* @param {String} projectOrProductUID
|
|
@@ -1677,11 +1763,15 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1677
1763
|
* @param {module:model/String} firmwareType
|
|
1678
1764
|
* @param {String} filename
|
|
1679
1765
|
* @param {File} body contents of the firmware binary
|
|
1766
|
+
* @param {Object} opts Optional parameters
|
|
1767
|
+
* @param {String} opts.version Firmware version. If not provided, defaults to UTC timestamp (e.g., 2025-04-23T11:42:31Z)
|
|
1768
|
+
* @param {String} opts.notes Optional notes describing what's different about this firmware version
|
|
1680
1769
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FirmwareInfo} and HTTP response
|
|
1681
1770
|
*/
|
|
1682
1771
|
}, {
|
|
1683
1772
|
key: "uploadFirmwareWithHttpInfo",
|
|
1684
|
-
value: function uploadFirmwareWithHttpInfo(projectOrProductUID, firmwareType, filename, body) {
|
|
1773
|
+
value: function uploadFirmwareWithHttpInfo(projectOrProductUID, firmwareType, filename, body, opts) {
|
|
1774
|
+
opts = opts || {};
|
|
1685
1775
|
var postBody = body;
|
|
1686
1776
|
// verify the required parameter 'projectOrProductUID' is set
|
|
1687
1777
|
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
@@ -1704,7 +1794,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1704
1794
|
'firmwareType': firmwareType,
|
|
1705
1795
|
'filename': filename
|
|
1706
1796
|
};
|
|
1707
|
-
var queryParams = {
|
|
1797
|
+
var queryParams = {
|
|
1798
|
+
'version': opts['version'],
|
|
1799
|
+
'notes': opts['notes']
|
|
1800
|
+
};
|
|
1708
1801
|
var headerParams = {};
|
|
1709
1802
|
var formParams = {};
|
|
1710
1803
|
var authNames = ['api_key'];
|
|
@@ -1720,12 +1813,15 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1720
1813
|
* @param {module:model/String} firmwareType
|
|
1721
1814
|
* @param {String} filename
|
|
1722
1815
|
* @param {File} body contents of the firmware binary
|
|
1816
|
+
* @param {Object} opts Optional parameters
|
|
1817
|
+
* @param {String} opts.version Firmware version. If not provided, defaults to UTC timestamp (e.g., 2025-04-23T11:42:31Z)
|
|
1818
|
+
* @param {String} opts.notes Optional notes describing what's different about this firmware version
|
|
1723
1819
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FirmwareInfo}
|
|
1724
1820
|
*/
|
|
1725
1821
|
}, {
|
|
1726
1822
|
key: "uploadFirmware",
|
|
1727
|
-
value: function uploadFirmware(projectOrProductUID, firmwareType, filename, body) {
|
|
1728
|
-
return this.uploadFirmwareWithHttpInfo(projectOrProductUID, firmwareType, filename, body).then(function (response_and_data) {
|
|
1823
|
+
value: function uploadFirmware(projectOrProductUID, firmwareType, filename, body, opts) {
|
|
1824
|
+
return this.uploadFirmwareWithHttpInfo(projectOrProductUID, firmwareType, filename, body, opts).then(function (response_and_data) {
|
|
1729
1825
|
return response_and_data.data;
|
|
1730
1826
|
});
|
|
1731
1827
|
}
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Repository service.
|
|
32
32
|
* @module api/RepositoryApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.36-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var RepositoryApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/RouteApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Route service.
|
|
32
32
|
* @module api/RouteApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.36-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -192,8 +192,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
192
192
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
193
193
|
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
194
194
|
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
195
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
196
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
195
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
196
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
197
197
|
* @param {Boolean} opts.systemFilesOnly
|
|
198
198
|
* @param {Boolean} opts.mostRecentOnly
|
|
199
199
|
* @param {String} opts.files
|
|
@@ -247,8 +247,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
247
247
|
* @param {Array.<String>} opts.deviceUID A Device UID.
|
|
248
248
|
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
249
249
|
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
250
|
-
* @param {Number} opts.startDate Unix timestamp
|
|
251
|
-
* @param {Number} opts.endDate Unix timestamp
|
|
250
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
251
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
252
252
|
* @param {Boolean} opts.systemFilesOnly
|
|
253
253
|
* @param {Boolean} opts.mostRecentOnly
|
|
254
254
|
* @param {String} opts.files
|
package/dist/api/WebhookApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Webhook service.
|
|
31
31
|
* @module api/WebhookApi
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.36-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -78,7 +78,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
78
78
|
var contentTypes = ['application/json'];
|
|
79
79
|
var accepts = ['application/json'];
|
|
80
80
|
var returnType = null;
|
|
81
|
-
return this.apiClient.callApi('/v1/projects/{
|
|
81
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/webhooks/{webhookUID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
/**
|
|
@@ -125,7 +125,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
125
125
|
var contentTypes = [];
|
|
126
126
|
var accepts = ['application/json'];
|
|
127
127
|
var returnType = null;
|
|
128
|
-
return this.apiClient.callApi('/v1/projects/{
|
|
128
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/webhooks/{webhookUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
/**
|
|
@@ -171,7 +171,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
171
171
|
var contentTypes = [];
|
|
172
172
|
var accepts = ['application/json'];
|
|
173
173
|
var returnType = _WebhookSettings["default"];
|
|
174
|
-
return this.apiClient.callApi('/v1/projects/{
|
|
174
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/webhooks/{webhookUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
@@ -211,7 +211,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
211
211
|
var contentTypes = [];
|
|
212
212
|
var accepts = ['application/json'];
|
|
213
213
|
var returnType = _GetWebhooks200Response["default"];
|
|
214
|
-
return this.apiClient.callApi('/v1/projects/{
|
|
214
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/webhooks', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
/**
|
|
@@ -261,7 +261,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
261
261
|
var contentTypes = ['application/json'];
|
|
262
262
|
var accepts = ['application/json'];
|
|
263
263
|
var returnType = null;
|
|
264
|
-
return this.apiClient.callApi('/v1/projects/{
|
|
264
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/webhooks/{webhookUID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/**
|