@blues-inc/notehub-js 6.2.0-beta.7 → 6.2.0-beta.9
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 +8 -4
- 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 +3 -63
- 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/ProjectApi.js +5 -5
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +318 -5
- package/dist/index.js +7 -14
- 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/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/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/CreateLegacyWebhookEventRequest.js +118 -0
- 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/DeleteJob200Response.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/GetBillingAccount200Response.js +1 -1
- package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetBillingAccounts200Response.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/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/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.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 +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/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobRun.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/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/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/UploadMetadata.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/dist/model/GetDeviceJourneys200Response.js +0 -112
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +0 -120
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.2.0-beta.
|
|
9
|
+
- Package version: 6.2.0-beta.9
|
|
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
|
|
|
@@ -153,7 +153,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
153
153
|
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
154
154
|
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
155
155
|
| _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
156
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceJourneys**](docs/DeviceApi.md#getDeviceJourneys) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys |
|
|
157
156
|
| _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
|
|
158
157
|
| _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
|
|
159
158
|
| _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
|
|
@@ -240,11 +239,17 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
240
239
|
| _NotehubJs.UsageApi_ | [**getEventsUsage**](docs/UsageApi.md#getEventsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/events |
|
|
241
240
|
| _NotehubJs.UsageApi_ | [**getRouteLogsUsage**](docs/UsageApi.md#getRouteLogsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/route-logs |
|
|
242
241
|
| _NotehubJs.UsageApi_ | [**getSessionsUsage**](docs/UsageApi.md#getSessionsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/sessions |
|
|
242
|
+
| _NotehubJs.WebhookApi_ | [**createLegacyWebhookEvent**](docs/WebhookApi.md#createLegacyWebhookEvent) | **POST** /v1/products/{productUID}/devices/{deviceUID}/webhook-event |
|
|
243
243
|
| _NotehubJs.WebhookApi_ | [**createWebhook**](docs/WebhookApi.md#createWebhook) | **POST** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
244
|
+
| _NotehubJs.WebhookApi_ | [**createWebhookDeviceEventByProduct**](docs/WebhookApi.md#createWebhookDeviceEventByProduct) | **POST** /v1/products/{productUID}/webhooks/{webhookUID}/devices/{deviceUID}/event |
|
|
245
|
+
| _NotehubJs.WebhookApi_ | [**createWebhookEventByProduct**](docs/WebhookApi.md#createWebhookEventByProduct) | **POST** /v1/products/{productUID}/webhooks/{webhookUID}/event |
|
|
244
246
|
| _NotehubJs.WebhookApi_ | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
245
247
|
| _NotehubJs.WebhookApi_ | [**getWebhook**](docs/WebhookApi.md#getWebhook) | **GET** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
248
|
+
| _NotehubJs.WebhookApi_ | [**getWebhookSettingsByProduct**](docs/WebhookApi.md#getWebhookSettingsByProduct) | **GET** /v1/products/{productUID}/webhooks/{webhookUID}/settings |
|
|
246
249
|
| _NotehubJs.WebhookApi_ | [**getWebhooks**](docs/WebhookApi.md#getWebhooks) | **GET** /v1/projects/{projectOrProductUID}/webhooks |
|
|
250
|
+
| _NotehubJs.WebhookApi_ | [**updateLegacyWebhookSession**](docs/WebhookApi.md#updateLegacyWebhookSession) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/webhook-session |
|
|
247
251
|
| _NotehubJs.WebhookApi_ | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
252
|
+
| _NotehubJs.WebhookApi_ | [**updateWebhookSettingsByProduct**](docs/WebhookApi.md#updateWebhookSettingsByProduct) | **PUT** /v1/products/{productUID}/webhooks/{webhookUID}/settings |
|
|
248
253
|
|
|
249
254
|
## Documentation for Models
|
|
250
255
|
|
|
@@ -265,6 +270,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
265
270
|
- [NotehubJs.Contact](docs/Contact.md)
|
|
266
271
|
- [NotehubJs.CreateFleetRequest](docs/CreateFleetRequest.md)
|
|
267
272
|
- [NotehubJs.CreateJob201Response](docs/CreateJob201Response.md)
|
|
273
|
+
- [NotehubJs.CreateLegacyWebhookEventRequest](docs/CreateLegacyWebhookEventRequest.md)
|
|
268
274
|
- [NotehubJs.CreateMonitor](docs/CreateMonitor.md)
|
|
269
275
|
- [NotehubJs.CreateProductRequest](docs/CreateProductRequest.md)
|
|
270
276
|
- [NotehubJs.CreateProjectRequest](docs/CreateProjectRequest.md)
|
|
@@ -315,8 +321,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
315
321
|
- [NotehubJs.GetDeviceFleets200Response](docs/GetDeviceFleets200Response.md)
|
|
316
322
|
- [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
|
|
317
323
|
- [NotehubJs.GetDeviceHealthLog200ResponseHealthLogInner](docs/GetDeviceHealthLog200ResponseHealthLogInner.md)
|
|
318
|
-
- [NotehubJs.GetDeviceJourneys200Response](docs/GetDeviceJourneys200Response.md)
|
|
319
|
-
- [NotehubJs.GetDeviceJourneys200ResponseJourneysInner](docs/GetDeviceJourneys200ResponseJourneysInner.md)
|
|
320
324
|
- [NotehubJs.GetDeviceLatestEvents200Response](docs/GetDeviceLatestEvents200Response.md)
|
|
321
325
|
- [NotehubJs.GetDevicePlans200Response](docs/GetDevicePlans200Response.md)
|
|
322
326
|
- [NotehubJs.GetDevicePublicKey200Response](docs/GetDevicePublicKey200Response.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 6.2.0-beta.
|
|
29
|
+
* @version 6.2.0-beta.9
|
|
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.2.0-beta.
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.2.0-beta.9/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
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 6.2.0-beta.
|
|
31
|
+
* @version 6.2.0-beta.9
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -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 6.2.0-beta.
|
|
33
|
+
* @version 6.2.0-beta.9
|
|
34
34
|
*/
|
|
35
35
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* BillingAccount service.
|
|
32
32
|
* @module api/BillingAccountApi
|
|
33
|
-
* @version 6.2.0-beta.
|
|
33
|
+
* @version 6.2.0-beta.9
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -14,7 +14,6 @@ var _Error = _interopRequireDefault(require("../model/Error"));
|
|
|
14
14
|
var _GetDbNote200Response = _interopRequireDefault(require("../model/GetDbNote200Response"));
|
|
15
15
|
var _GetDeviceEnvironmentVariablesByPin200Response = _interopRequireDefault(require("../model/GetDeviceEnvironmentVariablesByPin200Response"));
|
|
16
16
|
var _GetDeviceHealthLog200Response = _interopRequireDefault(require("../model/GetDeviceHealthLog200Response"));
|
|
17
|
-
var _GetDeviceJourneys200Response = _interopRequireDefault(require("../model/GetDeviceJourneys200Response"));
|
|
18
17
|
var _GetDeviceLatestEvents200Response = _interopRequireDefault(require("../model/GetDeviceLatestEvents200Response"));
|
|
19
18
|
var _GetDevicePlans200Response = _interopRequireDefault(require("../model/GetDevicePlans200Response"));
|
|
20
19
|
var _GetDevicePublicKey200Response = _interopRequireDefault(require("../model/GetDevicePublicKey200Response"));
|
|
@@ -47,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
47
46
|
/**
|
|
48
47
|
* Device service.
|
|
49
48
|
* @module api/DeviceApi
|
|
50
|
-
* @version 6.2.0-beta.
|
|
49
|
+
* @version 6.2.0-beta.9
|
|
51
50
|
*/
|
|
52
51
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
53
52
|
/**
|
|
@@ -783,7 +782,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
783
782
|
"X-Auth-Token": xAuthToken
|
|
784
783
|
};
|
|
785
784
|
var formParams = {};
|
|
786
|
-
var authNames = [];
|
|
785
|
+
var authNames = ["personalAccessToken"];
|
|
787
786
|
var contentTypes = [];
|
|
788
787
|
var accepts = ["application/json"];
|
|
789
788
|
var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
|
|
@@ -864,65 +863,6 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
864
863
|
});
|
|
865
864
|
}
|
|
866
865
|
|
|
867
|
-
/**
|
|
868
|
-
* Get Device Journeys associated with the device, this includes events with file _track.qo and body >> journey is not null .
|
|
869
|
-
* @param {String} projectOrProductUID
|
|
870
|
-
* @param {String} deviceUID
|
|
871
|
-
* @param {Object} opts Optional parameters
|
|
872
|
-
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
873
|
-
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
874
|
-
* @param {Number} opts.limit (default to 50)
|
|
875
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceJourneys200Response} and HTTP response
|
|
876
|
-
*/
|
|
877
|
-
}, {
|
|
878
|
-
key: "getDeviceJourneysWithHttpInfo",
|
|
879
|
-
value: function getDeviceJourneysWithHttpInfo(projectOrProductUID, deviceUID, opts) {
|
|
880
|
-
opts = opts || {};
|
|
881
|
-
var postBody = null;
|
|
882
|
-
// verify the required parameter 'projectOrProductUID' is set
|
|
883
|
-
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
884
|
-
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDeviceJourneys");
|
|
885
|
-
}
|
|
886
|
-
// verify the required parameter 'deviceUID' is set
|
|
887
|
-
if (deviceUID === undefined || deviceUID === null) {
|
|
888
|
-
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceJourneys");
|
|
889
|
-
}
|
|
890
|
-
var pathParams = {
|
|
891
|
-
projectOrProductUID: projectOrProductUID,
|
|
892
|
-
deviceUID: deviceUID
|
|
893
|
-
};
|
|
894
|
-
var queryParams = {
|
|
895
|
-
startDate: opts["startDate"],
|
|
896
|
-
endDate: opts["endDate"],
|
|
897
|
-
limit: opts["limit"]
|
|
898
|
-
};
|
|
899
|
-
var headerParams = {};
|
|
900
|
-
var formParams = {};
|
|
901
|
-
var authNames = ["personalAccessToken"];
|
|
902
|
-
var contentTypes = [];
|
|
903
|
-
var accepts = ["application/json"];
|
|
904
|
-
var returnType = _GetDeviceJourneys200Response["default"];
|
|
905
|
-
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* Get Device Journeys associated with the device, this includes events with file _track.qo and body >> journey is not null .
|
|
910
|
-
* @param {String} projectOrProductUID
|
|
911
|
-
* @param {String} deviceUID
|
|
912
|
-
* @param {Object} opts Optional parameters
|
|
913
|
-
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
914
|
-
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
915
|
-
* @param {Number} opts.limit (default to 50)
|
|
916
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceJourneys200Response}
|
|
917
|
-
*/
|
|
918
|
-
}, {
|
|
919
|
-
key: "getDeviceJourneys",
|
|
920
|
-
value: function getDeviceJourneys(projectOrProductUID, deviceUID, opts) {
|
|
921
|
-
return this.getDeviceJourneysWithHttpInfo(projectOrProductUID, deviceUID, opts).then(function (response_and_data) {
|
|
922
|
-
return response_and_data.data;
|
|
923
|
-
});
|
|
924
|
-
}
|
|
925
|
-
|
|
926
866
|
/**
|
|
927
867
|
* Get Device Latest Events
|
|
928
868
|
* @param {String} projectOrProductUID
|
|
@@ -1594,7 +1534,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1594
1534
|
"X-Auth-Token": xAuthToken
|
|
1595
1535
|
};
|
|
1596
1536
|
var formParams = {};
|
|
1597
|
-
var authNames = [];
|
|
1537
|
+
var authNames = ["personalAccessToken"];
|
|
1598
1538
|
var contentTypes = ["application/json"];
|
|
1599
1539
|
var accepts = ["application/json"];
|
|
1600
1540
|
var returnType = _EnvironmentVariables["default"];
|
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 6.2.0-beta.
|
|
33
|
+
* @version 6.2.0-beta.9
|
|
34
34
|
*/
|
|
35
35
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -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 6.2.0-beta.
|
|
32
|
+
* @version 6.2.0-beta.9
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/JobsApi.js
CHANGED
|
@@ -35,7 +35,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
35
35
|
/**
|
|
36
36
|
* Jobs service.
|
|
37
37
|
* @module api/JobsApi
|
|
38
|
-
* @version 6.2.0-beta.
|
|
38
|
+
* @version 6.2.0-beta.9
|
|
39
39
|
*/
|
|
40
40
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
41
41
|
/**
|
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 6.2.0-beta.
|
|
32
|
+
* @version 6.2.0-beta.9
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -52,7 +52,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
52
52
|
/**
|
|
53
53
|
* Project service.
|
|
54
54
|
* @module api/ProjectApi
|
|
55
|
-
* @version 6.2.0-beta.
|
|
55
|
+
* @version 6.2.0-beta.9
|
|
56
56
|
*/
|
|
57
57
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
58
58
|
/**
|
|
@@ -1394,7 +1394,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1394
1394
|
var queryParams = {};
|
|
1395
1395
|
var headerParams = {};
|
|
1396
1396
|
var formParams = {};
|
|
1397
|
-
var authNames = [];
|
|
1397
|
+
var authNames = ["personalAccessToken"];
|
|
1398
1398
|
var contentTypes = [];
|
|
1399
1399
|
var accepts = ["application/json"];
|
|
1400
1400
|
var returnType = [_NotefileSchema["default"]];
|
|
@@ -1820,7 +1820,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1820
1820
|
/**
|
|
1821
1821
|
* Set the project-level event JSONata transformation
|
|
1822
1822
|
* @param {String} projectOrProductUID
|
|
1823
|
-
* @param {
|
|
1823
|
+
* @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
|
|
1824
1824
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1825
1825
|
*/
|
|
1826
1826
|
}, {
|
|
@@ -1842,7 +1842,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1842
1842
|
var headerParams = {};
|
|
1843
1843
|
var formParams = {};
|
|
1844
1844
|
var authNames = ["personalAccessToken"];
|
|
1845
|
-
var contentTypes = ["
|
|
1845
|
+
var contentTypes = ["text/plain"];
|
|
1846
1846
|
var accepts = ["application/json"];
|
|
1847
1847
|
var returnType = null;
|
|
1848
1848
|
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/global-transformation", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
@@ -1851,7 +1851,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1851
1851
|
/**
|
|
1852
1852
|
* Set the project-level event JSONata transformation
|
|
1853
1853
|
* @param {String} projectOrProductUID
|
|
1854
|
-
* @param {
|
|
1854
|
+
* @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
|
|
1855
1855
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1856
1856
|
*/
|
|
1857
1857
|
}, {
|
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 6.2.0-beta.
|
|
33
|
+
* @version 6.2.0-beta.9
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/UsageApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Usage service.
|
|
33
33
|
* @module api/UsageApi
|
|
34
|
-
* @version 6.2.0-beta.
|
|
34
|
+
* @version 6.2.0-beta.9
|
|
35
35
|
*/
|
|
36
36
|
var UsageApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|