@shieldiot/pulse-lib 1.0.330 → 1.0.332
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/dist/cjs/lib/common/DeviceScoreConfig.d.ts +2 -2
- package/dist/cjs/lib/common/TimeSeries.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +5 -5
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/AuditLog.d.ts +1 -1
- package/dist/cjs/lib/entities/AuditLog.js.map +1 -1
- package/dist/cjs/lib/entities/ConfigParams.d.ts +1 -1
- package/dist/cjs/lib/entities/ConfigParams.js.map +1 -1
- package/dist/cjs/lib/entities/Device.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +5 -5
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/Feature.d.ts +1 -1
- package/dist/cjs/lib/entities/Feature.js.map +1 -1
- package/dist/cjs/lib/entities/Group.d.ts +1 -1
- package/dist/cjs/lib/entities/Group.js.map +1 -1
- package/dist/cjs/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/cjs/lib/entities/InsightQuery.js.map +1 -1
- package/dist/cjs/lib/entities/Integration.d.ts +3 -3
- package/dist/cjs/lib/entities/Integration.js.map +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.d.ts +1 -1
- package/dist/cjs/lib/entities/UserMembership.d.ts +1 -1
- package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
- package/dist/cjs/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/cjs/lib/services/usrAlertsService.d.ts +7 -7
- package/dist/cjs/lib/services/usrDevicesService.d.ts +19 -13
- package/dist/cjs/lib/services/usrDevicesService.js +63 -5
- package/dist/cjs/lib/services/usrDevicesService.js.map +1 -1
- package/dist/cjs/lib/services/usrEventsService.d.ts +6 -6
- package/dist/cjs/lib/services/usrRulesService.d.ts +2 -2
- package/dist/cjs/lib/services/usrUserService.d.ts +2 -2
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +2 -2
- package/dist/esm/lib/common/TimeSeries.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +5 -5
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/AuditLog.d.ts +1 -1
- package/dist/esm/lib/entities/AuditLog.js.map +1 -1
- package/dist/esm/lib/entities/ConfigParams.d.ts +1 -1
- package/dist/esm/lib/entities/ConfigParams.js.map +1 -1
- package/dist/esm/lib/entities/Device.d.ts +1 -1
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +5 -5
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/Feature.d.ts +1 -1
- package/dist/esm/lib/entities/Feature.js.map +1 -1
- package/dist/esm/lib/entities/Group.d.ts +1 -1
- package/dist/esm/lib/entities/Group.js.map +1 -1
- package/dist/esm/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/esm/lib/entities/InsightQuery.js.map +1 -1
- package/dist/esm/lib/entities/Integration.d.ts +3 -3
- package/dist/esm/lib/entities/Integration.js.map +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.d.ts +1 -1
- package/dist/esm/lib/entities/UserMembership.d.ts +1 -1
- package/dist/esm/lib/entities/UserMembership.js.map +1 -1
- package/dist/esm/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/esm/lib/services/usrAlertsService.d.ts +7 -7
- package/dist/esm/lib/services/usrDevicesService.d.ts +19 -13
- package/dist/esm/lib/services/usrDevicesService.js +63 -5
- package/dist/esm/lib/services/usrDevicesService.js.map +1 -1
- package/dist/esm/lib/services/usrEventsService.d.ts +6 -6
- package/dist/esm/lib/services/usrRulesService.d.ts +2 -2
- package/dist/esm/lib/services/usrUserService.d.ts +2 -2
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +2 -2
- package/dist/types/lib/common/TimeSeries.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/types/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/types/lib/entities/Alert.d.ts +5 -5
- package/dist/types/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/types/lib/entities/AuditLog.d.ts +1 -1
- package/dist/types/lib/entities/ConfigParams.d.ts +1 -1
- package/dist/types/lib/entities/Device.d.ts +1 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/types/lib/entities/Event.d.ts +5 -5
- package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/types/lib/entities/Feature.d.ts +1 -1
- package/dist/types/lib/entities/Group.d.ts +1 -1
- package/dist/types/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +1 -1
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/types/lib/services/usrAlertsService.d.ts +7 -7
- package/dist/types/lib/services/usrDevicesService.d.ts +19 -13
- package/dist/types/lib/services/usrEventsService.d.ts +6 -6
- package/dist/types/lib/services/usrRulesService.d.ts +2 -2
- package/dist/types/lib/services/usrUserService.d.ts +2 -2
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Interval } from '../common';
|
|
2
|
-
import { SeverityConditionConfig } from '../common';
|
|
3
1
|
import { RuleCountThresholdConfig } from '../common';
|
|
4
2
|
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
3
|
+
import { Interval } from '../common';
|
|
4
|
+
import { SeverityConditionConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IntDistribution } from '../entities';
|
|
2
1
|
import { BaseEntity } from '../base';
|
|
3
2
|
import { AccountTypeCode } from '../enums';
|
|
4
3
|
import { AccountStatusCode } from '../enums';
|
|
5
4
|
import { StringKeyValue } from '../common';
|
|
6
5
|
import { AccountSettings } from '../entities';
|
|
7
6
|
import { DeviceReport } from '../entities';
|
|
7
|
+
import { IntDistribution } from '../entities';
|
|
8
8
|
export declare class AccountReportDTO extends BaseEntity {
|
|
9
9
|
name: string;
|
|
10
10
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAUrC,2EAA2E;AAC3E,MAAa,gBAAiB,SAAQ,iBAAU;CA6C/C;AA7CD,4CA6CC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
2
2
|
import { EventStatusCode } from '../enums';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
4
|
-
import { TrafficDirectionCode } from '../enums';
|
|
5
|
-
import { GeoData } from '../common';
|
|
6
3
|
import { EventCategoryCode } from '../enums';
|
|
7
|
-
import {
|
|
4
|
+
import { TrafficDirectionCode } from '../enums';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
8
6
|
import { SeverityTypeCode } from '../enums';
|
|
9
7
|
import { RuleTypeCode } from '../enums';
|
|
8
|
+
import { GeoData } from '../common';
|
|
9
|
+
import { StringKeyValue } from '../common';
|
|
10
10
|
export declare class Alert extends BaseEntity {
|
|
11
11
|
accountId: string;
|
|
12
12
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAQrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RuleTypeCode } from '../enums';
|
|
2
2
|
import { GeoData } from '../common';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
4
|
-
import { TrafficDirectionCode } from '../enums';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
|
-
import { SeverityTypeCode } from '../enums';
|
|
7
|
-
import { EventStatusCode } from '../enums';
|
|
8
3
|
import { EventCategoryCode } from '../enums';
|
|
4
|
+
import { TrafficDirectionCode } from '../enums';
|
|
9
5
|
import { Device } from '../entities';
|
|
6
|
+
import { BaseEntity } from '../base';
|
|
10
7
|
import { EventTypeCode } from '../enums';
|
|
8
|
+
import { EventStatusCode } from '../enums';
|
|
9
|
+
import { SeverityTypeCode } from '../enums';
|
|
10
|
+
import { StringKeyValue } from '../common';
|
|
11
11
|
export declare class AlertWithDevice extends BaseEntity {
|
|
12
12
|
accountId: string;
|
|
13
13
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/AlertWithDevice.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AlertWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/AlertWithDevice.ts"],"names":[],"mappings":";;;AAKA,kCAAqC;AAQrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuditLog.js","sourceRoot":"","sources":["../../../../src/lib/entities/AuditLog.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AuditLog.js","sourceRoot":"","sources":["../../../../src/lib/entities/AuditLog.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,iEAAiE;AACjE,MAAa,QAAS,SAAQ,iBAAU;CA8BvC;AA9BD,4BA8BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigParams.js","sourceRoot":"","sources":["../../../../src/lib/entities/ConfigParams.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ConfigParams.js","sourceRoot":"","sources":["../../../../src/lib/entities/ConfigParams.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,gEAAgE;AAChE,MAAa,YAAa,SAAQ,iBAAU;CAM3C;AAND,oCAMC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DeviceActionCode } from '../enums';
|
|
2
1
|
import { SIM } from '../entities';
|
|
3
2
|
import { GeoData } from '../common';
|
|
4
3
|
import { BaseEntity } from '../base';
|
|
5
4
|
import { DeviceTypeCode } from '../enums';
|
|
6
5
|
import { DeviceStatusCode } from '../enums';
|
|
7
6
|
import { StringKeyValue } from '../common';
|
|
7
|
+
import { DeviceActionCode } from '../enums';
|
|
8
8
|
export declare class Device extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAQrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { DeviceStatusCode } from '../enums';
|
|
2
|
+
import { StringKeyValue } from '../common';
|
|
1
3
|
import { DeviceActionCode } from '../enums';
|
|
2
4
|
import { SIM } from '../entities';
|
|
3
5
|
import { Event } from '../entities';
|
|
4
6
|
import { GeoData } from '../common';
|
|
5
7
|
import { BaseEntity } from '../base';
|
|
6
8
|
import { DeviceTypeCode } from '../enums';
|
|
7
|
-
import { DeviceStatusCode } from '../enums';
|
|
8
|
-
import { StringKeyValue } from '../common';
|
|
9
9
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;AAMA,kCAAqC;AAKrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { RuleTypeCode } from '../enums';
|
|
2
|
-
import { EventCategoryCode } from '../enums';
|
|
3
1
|
import { EventOccurrence } from '../entities';
|
|
4
2
|
import { TrafficDirectionCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
5
4
|
import { SeverityTypeCode } from '../enums';
|
|
5
|
+
import { RuleTypeCode } from '../enums';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
7
|
+
import { EventCategoryCode } from '../enums';
|
|
8
|
+
import { EventTypeCode } from '../enums';
|
|
6
9
|
import { EventStatusCode } from '../enums';
|
|
7
10
|
import { Indicator } from '../common';
|
|
8
11
|
import { GeoData } from '../common';
|
|
9
|
-
import { StringKeyValue } from '../common';
|
|
10
|
-
import { BaseEntity } from '../base';
|
|
11
|
-
import { EventTypeCode } from '../enums';
|
|
12
12
|
export declare class Event extends BaseEntity {
|
|
13
13
|
accountId: string;
|
|
14
14
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../../src/lib/entities/Event.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../../src/lib/entities/Event.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAYrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
|
-
import { RuleTypeCode } from '../enums';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
4
1
|
import { EventCategoryCode } from '../enums';
|
|
5
2
|
import { EventOccurrence } from '../entities';
|
|
6
|
-
import { Device } from '../entities';
|
|
7
3
|
import { BaseEntity } from '../base';
|
|
8
|
-
import {
|
|
4
|
+
import { SeverityTypeCode } from '../enums';
|
|
5
|
+
import { EventStatusCode } from '../enums';
|
|
9
6
|
import { Indicator } from '../common';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
|
+
import { Device } from '../entities';
|
|
9
|
+
import { EventTypeCode } from '../enums';
|
|
10
|
+
import { RuleTypeCode } from '../enums';
|
|
10
11
|
import { GeoData } from '../common';
|
|
11
12
|
import { TrafficDirectionCode } from '../enums';
|
|
12
|
-
import { EventStatusCode } from '../enums';
|
|
13
13
|
export declare class EventWithDevice extends BaseEntity {
|
|
14
14
|
accountId: string;
|
|
15
15
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAarC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA8E9C;AA9ED,0CA8EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../src/lib/entities/Feature.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../src/lib/entities/Feature.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,qEAAqE;AACrE,MAAa,OAAQ,SAAQ,iBAAU;CAStC;AATD,0BASC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/lib/entities/Group.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/lib/entities/Group.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,6DAA6D;AAC7D,MAAa,KAAM,SAAQ,iBAAU;CAepC;AAfD,sBAeC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { InsightTypeCode } from '../enums';
|
|
3
2
|
import { DirectionContextCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
4
4
|
export declare class InsightQuery extends BaseEntity {
|
|
5
5
|
type: InsightTypeCode;
|
|
6
6
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightQuery.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightQuery.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"InsightQuery.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightQuery.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAIrC,eAAe;AACf,kIAAkI;AAClI,MAAa,YAAa,SAAQ,iBAAU;CAqB3C;AArBD,oCAqBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HttpMethodCode } from '../enums';
|
|
2
|
-
import { StringKeyValue } from '../common';
|
|
3
|
-
import { EventTypeCode } from '../enums';
|
|
4
1
|
import { SeverityTypeCode } from '../enums';
|
|
5
2
|
import { DeviceActionCode } from '../enums';
|
|
6
3
|
import { BaseEntity } from '../base';
|
|
7
4
|
import { IntegrationTypeCode } from '../enums';
|
|
8
5
|
import { IntegrationTriggerCode } from '../enums';
|
|
6
|
+
import { HttpMethodCode } from '../enums';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
|
+
import { EventTypeCode } from '../enums';
|
|
9
9
|
export declare class Integration extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Integration.js","sourceRoot":"","sources":["../../../../src/lib/entities/Integration.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Integration.js","sourceRoot":"","sources":["../../../../src/lib/entities/Integration.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AASrC,6BAA6B;AAC7B,MAAa,WAAY,SAAQ,iBAAU;CAkE1C;AAlED,kCAkEC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { Thresholds } from '../common';
|
|
3
2
|
import { ShieldexConfig } from '../common';
|
|
4
3
|
import { EventSeverityConfig } from '../common';
|
|
5
4
|
import { DeviceConfig } from '../common';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
6
6
|
export declare class StreamAnalyticsConfig extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
thresholds: Thresholds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAIrC,0EAA0E;AAC1E,MAAa,qBAAsB,SAAQ,iBAAU;CAkBpD;AAlBD,sDAkBC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventSeverityConfig } from '../common';
|
|
1
2
|
import { DeviceActionCode } from '../enums';
|
|
2
3
|
import { DeviceConfig } from '../common';
|
|
3
4
|
import { DataIngestion } from '../entities';
|
|
@@ -5,7 +6,6 @@ import { SessionTransform } from '../common';
|
|
|
5
6
|
import { UsageTransform } from '../common';
|
|
6
7
|
import { Thresholds } from '../common';
|
|
7
8
|
import { ShieldexConfig } from '../common';
|
|
8
|
-
import { EventSeverityConfig } from '../common';
|
|
9
9
|
export declare class StreamConfig {
|
|
10
10
|
ingest: DataIngestion;
|
|
11
11
|
sessionTransform: SessionTransform;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UserTypeCode } from '../enums';
|
|
2
1
|
import { UserStatusCode } from '../enums';
|
|
3
2
|
import { AccountRole } from '../common';
|
|
4
3
|
import { BaseEntity } from '../base';
|
|
4
|
+
import { UserTypeCode } from '../enums';
|
|
5
5
|
export declare class UserMembership extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAKrC,4EAA4E;AAC5E,MAAa,cAAe,SAAQ,iBAAU;CA2B7C;AA3BD,wCA2BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { UserTypeCode } from '../enums';
|
|
2
3
|
import { UserStatusCode } from '../enums';
|
|
3
4
|
import { AccountRole } from '../common';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class UserMemberships extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMemberships.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMemberships.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UserMemberships.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMemberships.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAOrC,2EAA2E;AAC3E,MAAa,eAAgB,SAAQ,iBAAU;CA2B9C;AA3BD,0CA2BC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { Image } from '../entities';
|
|
3
|
+
import { AccountReportDTO } from '../entities';
|
|
2
4
|
import { Account } from '../entities';
|
|
3
5
|
import { AccountSettings } from '../entities';
|
|
4
6
|
import { AccountTypeCode } from '../enums';
|
|
5
7
|
import { AccountStatusCode } from '../enums';
|
|
6
|
-
import { Image } from '../entities';
|
|
7
|
-
import { AccountReportDTO } from '../entities';
|
|
8
8
|
export declare class SysAccountsService {
|
|
9
9
|
private apiUrl;
|
|
10
10
|
private rest;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
2
3
|
import { Alert } from '../entities';
|
|
3
|
-
import { RuleTypeCode } from '../enums';
|
|
4
|
-
import { MaliciousIPData } from '../common';
|
|
5
|
-
import { DeviceActionCode } from '../enums';
|
|
6
|
-
import { MaliciousIPCard } from '../common';
|
|
7
4
|
import { EventTypeCode } from '../enums';
|
|
5
|
+
import { IntDistribution } from '../entities';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
8
7
|
import { SeverityTypeCode } from '../enums';
|
|
9
8
|
import { EventCategoryCode } from '../enums';
|
|
10
|
-
import {
|
|
11
|
-
import { IntDistribution } from '../entities';
|
|
9
|
+
import { DeviceActionCode } from '../enums';
|
|
12
10
|
import { TimeSeriesOf2D } from '../common';
|
|
11
|
+
import { MaliciousIPCard } from '../common';
|
|
13
12
|
import { EventStatusCode } from '../enums';
|
|
13
|
+
import { RuleTypeCode } from '../enums';
|
|
14
14
|
import { AlertWithDevice } from '../entities';
|
|
15
|
-
import {
|
|
15
|
+
import { MaliciousIPData } from '../common';
|
|
16
16
|
export declare class UsrAlertsService {
|
|
17
17
|
private apiUrl;
|
|
18
18
|
private rest;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
3
|
-
import { DeviceReport } from '../entities';
|
|
4
|
-
import { TimeSeriesOfDataConsumption } from '../common';
|
|
5
2
|
import { BulkDevices } from '../entities';
|
|
6
|
-
import { NetworkMap } from '../common';
|
|
7
3
|
import { DeviceStatusCode } from '../enums';
|
|
8
|
-
import { SeverityTypeCode } from '../enums';
|
|
9
4
|
import { DeviceWithEvents } from '../entities';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
5
|
+
import { DeviceTypeCode } from '../enums';
|
|
6
|
+
import { MapBounds } from '../common';
|
|
12
7
|
import { NetworkMapTypeCode } from '../enums';
|
|
8
|
+
import { DeviceReport } from '../entities';
|
|
9
|
+
import { TimeSeriesOfDataConsumption } from '../common';
|
|
13
10
|
import { Device } from '../entities';
|
|
14
|
-
import {
|
|
11
|
+
import { IntDistribution } from '../entities';
|
|
12
|
+
import { DeviceActionCode } from '../enums';
|
|
13
|
+
import { NetworkMap } from '../common';
|
|
14
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
15
|
+
import { DevicesMap } from '../common';
|
|
16
|
+
import { SeverityTypeCode } from '../enums';
|
|
15
17
|
export declare class UsrDevicesService {
|
|
16
18
|
private apiUrl;
|
|
17
19
|
private rest;
|
|
@@ -44,7 +46,7 @@ export declare class UsrDevicesService {
|
|
|
44
46
|
/**
|
|
45
47
|
* Find list of devices by query
|
|
46
48
|
*/
|
|
47
|
-
find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Device>>;
|
|
49
|
+
find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntitiesResponse<Device>>;
|
|
48
50
|
/**
|
|
49
51
|
* Export list of devices by query to a file with the specified format
|
|
50
52
|
*/
|
|
@@ -52,19 +54,19 @@ export declare class UsrDevicesService {
|
|
|
52
54
|
/**
|
|
53
55
|
* Find top 10 devices by their score filter by query
|
|
54
56
|
*/
|
|
55
|
-
findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<DeviceWithEvents>>;
|
|
57
|
+
findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntitiesResponse<DeviceWithEvents>>;
|
|
56
58
|
/**
|
|
57
59
|
* Find device distribution by type filtered by query
|
|
58
60
|
*/
|
|
59
|
-
countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
61
|
+
countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
60
62
|
/**
|
|
61
63
|
* Find device distribution by status filtered by query
|
|
62
64
|
*/
|
|
63
|
-
countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
65
|
+
countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
64
66
|
/**
|
|
65
67
|
* Find device distribution by action filtered by query
|
|
66
68
|
*/
|
|
67
|
-
countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
69
|
+
countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
68
70
|
/**
|
|
69
71
|
* Add tag to a device
|
|
70
72
|
*/
|
|
@@ -105,4 +107,8 @@ export declare class UsrDevicesService {
|
|
|
105
107
|
* Find list of devices by Insight id query
|
|
106
108
|
*/
|
|
107
109
|
findByInsightContext(streamId?: string, insightId?: string, from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Device>>;
|
|
110
|
+
/**
|
|
111
|
+
* Find devices map
|
|
112
|
+
*/
|
|
113
|
+
findDevicesMap(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<DevicesMap>>;
|
|
108
114
|
}
|
|
@@ -52,7 +52,7 @@ class UsrDevicesService {
|
|
|
52
52
|
/**
|
|
53
53
|
* Find list of devices by query
|
|
54
54
|
*/
|
|
55
|
-
find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
|
|
55
|
+
find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
56
56
|
const params = [];
|
|
57
57
|
if (streamId != null) {
|
|
58
58
|
params.push(`streamId=${streamId}`);
|
|
@@ -87,6 +87,9 @@ class UsrDevicesService {
|
|
|
87
87
|
if (size != null) {
|
|
88
88
|
params.push(`size=${size}`);
|
|
89
89
|
}
|
|
90
|
+
if (mapBounds != null) {
|
|
91
|
+
params.push(`mapBounds=${mapBounds}`);
|
|
92
|
+
}
|
|
90
93
|
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
91
94
|
}
|
|
92
95
|
/**
|
|
@@ -129,7 +132,7 @@ class UsrDevicesService {
|
|
|
129
132
|
/**
|
|
130
133
|
* Find top 10 devices by their score filter by query
|
|
131
134
|
*/
|
|
132
|
-
findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
|
|
135
|
+
findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
133
136
|
const params = [];
|
|
134
137
|
if (streamId != null) {
|
|
135
138
|
params.push(`streamId=${streamId}`);
|
|
@@ -164,12 +167,15 @@ class UsrDevicesService {
|
|
|
164
167
|
if (size != null) {
|
|
165
168
|
params.push(`size=${size}`);
|
|
166
169
|
}
|
|
170
|
+
if (mapBounds != null) {
|
|
171
|
+
params.push(`mapBounds=${mapBounds}`);
|
|
172
|
+
}
|
|
167
173
|
return this.rest.get(`${this.baseUrl}/top`, ...params);
|
|
168
174
|
}
|
|
169
175
|
/**
|
|
170
176
|
* Find device distribution by type filtered by query
|
|
171
177
|
*/
|
|
172
|
-
countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
|
|
178
|
+
countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
173
179
|
const params = [];
|
|
174
180
|
if (streamId != null) {
|
|
175
181
|
params.push(`streamId=${streamId}`);
|
|
@@ -204,12 +210,15 @@ class UsrDevicesService {
|
|
|
204
210
|
if (size != null) {
|
|
205
211
|
params.push(`size=${size}`);
|
|
206
212
|
}
|
|
213
|
+
if (mapBounds != null) {
|
|
214
|
+
params.push(`mapBounds=${mapBounds}`);
|
|
215
|
+
}
|
|
207
216
|
return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
|
|
208
217
|
}
|
|
209
218
|
/**
|
|
210
219
|
* Find device distribution by status filtered by query
|
|
211
220
|
*/
|
|
212
|
-
countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
|
|
221
|
+
countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
213
222
|
const params = [];
|
|
214
223
|
if (streamId != null) {
|
|
215
224
|
params.push(`streamId=${streamId}`);
|
|
@@ -244,12 +253,15 @@ class UsrDevicesService {
|
|
|
244
253
|
if (size != null) {
|
|
245
254
|
params.push(`size=${size}`);
|
|
246
255
|
}
|
|
256
|
+
if (mapBounds != null) {
|
|
257
|
+
params.push(`mapBounds=${mapBounds}`);
|
|
258
|
+
}
|
|
247
259
|
return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
|
|
248
260
|
}
|
|
249
261
|
/**
|
|
250
262
|
* Find device distribution by action filtered by query
|
|
251
263
|
*/
|
|
252
|
-
countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
|
|
264
|
+
countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
253
265
|
const params = [];
|
|
254
266
|
if (streamId != null) {
|
|
255
267
|
params.push(`streamId=${streamId}`);
|
|
@@ -284,6 +296,9 @@ class UsrDevicesService {
|
|
|
284
296
|
if (size != null) {
|
|
285
297
|
params.push(`size=${size}`);
|
|
286
298
|
}
|
|
299
|
+
if (mapBounds != null) {
|
|
300
|
+
params.push(`mapBounds=${mapBounds}`);
|
|
301
|
+
}
|
|
287
302
|
return this.rest.get(`${this.baseUrl}/count/by-action`, ...params);
|
|
288
303
|
}
|
|
289
304
|
/**
|
|
@@ -490,6 +505,49 @@ class UsrDevicesService {
|
|
|
490
505
|
}
|
|
491
506
|
return this.rest.get(`${this.baseUrl}/find-by-insight-context`, ...params);
|
|
492
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* Find devices map
|
|
510
|
+
*/
|
|
511
|
+
findDevicesMap(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
512
|
+
const params = [];
|
|
513
|
+
if (streamId != null) {
|
|
514
|
+
params.push(`streamId=${streamId}`);
|
|
515
|
+
}
|
|
516
|
+
if (search != null) {
|
|
517
|
+
params.push(`search=${search}`);
|
|
518
|
+
}
|
|
519
|
+
if (from != null) {
|
|
520
|
+
params.push(`from=${from}`);
|
|
521
|
+
}
|
|
522
|
+
if (to != null) {
|
|
523
|
+
params.push(`to=${to}`);
|
|
524
|
+
}
|
|
525
|
+
if (type != null) {
|
|
526
|
+
params.push(`type=${type}`);
|
|
527
|
+
}
|
|
528
|
+
if (status != null) {
|
|
529
|
+
params.push(`status=${status}`);
|
|
530
|
+
}
|
|
531
|
+
if (risk != null) {
|
|
532
|
+
params.push(`risk=${risk}`);
|
|
533
|
+
}
|
|
534
|
+
if (scoreRange != null) {
|
|
535
|
+
params.push(`scoreRange=${scoreRange}`);
|
|
536
|
+
}
|
|
537
|
+
if (sort != null) {
|
|
538
|
+
params.push(`sort=${sort}`);
|
|
539
|
+
}
|
|
540
|
+
if (page != null) {
|
|
541
|
+
params.push(`page=${page}`);
|
|
542
|
+
}
|
|
543
|
+
if (size != null) {
|
|
544
|
+
params.push(`size=${size}`);
|
|
545
|
+
}
|
|
546
|
+
if (mapBounds != null) {
|
|
547
|
+
params.push(`mapBounds=${mapBounds}`);
|
|
548
|
+
}
|
|
549
|
+
return this.rest.get(`${this.baseUrl}/find-devices-map`, ...params);
|
|
550
|
+
}
|
|
493
551
|
}
|
|
494
552
|
exports.UsrDevicesService = UsrDevicesService;
|
|
495
553
|
//# sourceMappingURL=usrDevicesService.js.map
|