@blues-inc/notehub-js 6.2.0-beta.5 → 6.2.0-beta.7
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 +4 -8
- 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 +63 -3
- 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 +5 -318
- package/dist/index.js +14 -7
- 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/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/GetDeviceJourneys200Response.js +112 -0
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +120 -0
- 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/CreateLegacyWebhookEventRequest.js +0 -118
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.7
|
|
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,6 +153,7 @@ 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 |
|
|
156
157
|
| _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
|
|
157
158
|
| _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
|
|
158
159
|
| _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
|
|
@@ -239,17 +240,11 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
239
240
|
| _NotehubJs.UsageApi_ | [**getEventsUsage**](docs/UsageApi.md#getEventsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/events |
|
|
240
241
|
| _NotehubJs.UsageApi_ | [**getRouteLogsUsage**](docs/UsageApi.md#getRouteLogsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/route-logs |
|
|
241
242
|
| _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 |
|
|
246
244
|
| _NotehubJs.WebhookApi_ | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
247
245
|
| _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 |
|
|
249
246
|
| _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 |
|
|
251
247
|
| _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 |
|
|
253
248
|
|
|
254
249
|
## Documentation for Models
|
|
255
250
|
|
|
@@ -270,7 +265,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
270
265
|
- [NotehubJs.Contact](docs/Contact.md)
|
|
271
266
|
- [NotehubJs.CreateFleetRequest](docs/CreateFleetRequest.md)
|
|
272
267
|
- [NotehubJs.CreateJob201Response](docs/CreateJob201Response.md)
|
|
273
|
-
- [NotehubJs.CreateLegacyWebhookEventRequest](docs/CreateLegacyWebhookEventRequest.md)
|
|
274
268
|
- [NotehubJs.CreateMonitor](docs/CreateMonitor.md)
|
|
275
269
|
- [NotehubJs.CreateProductRequest](docs/CreateProductRequest.md)
|
|
276
270
|
- [NotehubJs.CreateProjectRequest](docs/CreateProjectRequest.md)
|
|
@@ -321,6 +315,8 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
321
315
|
- [NotehubJs.GetDeviceFleets200Response](docs/GetDeviceFleets200Response.md)
|
|
322
316
|
- [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
|
|
323
317
|
- [NotehubJs.GetDeviceHealthLog200ResponseHealthLogInner](docs/GetDeviceHealthLog200ResponseHealthLogInner.md)
|
|
318
|
+
- [NotehubJs.GetDeviceJourneys200Response](docs/GetDeviceJourneys200Response.md)
|
|
319
|
+
- [NotehubJs.GetDeviceJourneys200ResponseJourneysInner](docs/GetDeviceJourneys200ResponseJourneysInner.md)
|
|
324
320
|
- [NotehubJs.GetDeviceLatestEvents200Response](docs/GetDeviceLatestEvents200Response.md)
|
|
325
321
|
- [NotehubJs.GetDevicePlans200Response](docs/GetDevicePlans200Response.md)
|
|
326
322
|
- [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.7
|
|
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.7/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.7
|
|
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.7
|
|
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.7
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -14,6 +14,7 @@ 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"));
|
|
17
18
|
var _GetDeviceLatestEvents200Response = _interopRequireDefault(require("../model/GetDeviceLatestEvents200Response"));
|
|
18
19
|
var _GetDevicePlans200Response = _interopRequireDefault(require("../model/GetDevicePlans200Response"));
|
|
19
20
|
var _GetDevicePublicKey200Response = _interopRequireDefault(require("../model/GetDevicePublicKey200Response"));
|
|
@@ -46,7 +47,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
47
|
/**
|
|
47
48
|
* Device service.
|
|
48
49
|
* @module api/DeviceApi
|
|
49
|
-
* @version 6.2.0-beta.
|
|
50
|
+
* @version 6.2.0-beta.7
|
|
50
51
|
*/
|
|
51
52
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
53
|
/**
|
|
@@ -782,7 +783,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
782
783
|
"X-Auth-Token": xAuthToken
|
|
783
784
|
};
|
|
784
785
|
var formParams = {};
|
|
785
|
-
var authNames = [
|
|
786
|
+
var authNames = [];
|
|
786
787
|
var contentTypes = [];
|
|
787
788
|
var accepts = ["application/json"];
|
|
788
789
|
var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
|
|
@@ -863,6 +864,65 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
863
864
|
});
|
|
864
865
|
}
|
|
865
866
|
|
|
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
|
+
|
|
866
926
|
/**
|
|
867
927
|
* Get Device Latest Events
|
|
868
928
|
* @param {String} projectOrProductUID
|
|
@@ -1534,7 +1594,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1534
1594
|
"X-Auth-Token": xAuthToken
|
|
1535
1595
|
};
|
|
1536
1596
|
var formParams = {};
|
|
1537
|
-
var authNames = [
|
|
1597
|
+
var authNames = [];
|
|
1538
1598
|
var contentTypes = ["application/json"];
|
|
1539
1599
|
var accepts = ["application/json"];
|
|
1540
1600
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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 = [];
|
|
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 {String} body JSONata expression which will be applied to each event before it is persisted and routed
|
|
1823
|
+
* @param {Object.<String, Object>} 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 = ["application/json"];
|
|
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 {String} body JSONata expression which will be applied to each event before it is persisted and routed
|
|
1854
|
+
* @param {Object.<String, Object>} 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.7
|
|
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.7
|
|
35
35
|
*/
|
|
36
36
|
var UsageApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|