@shieldiot/pulse-lib 1.0.339 → 1.0.341
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 +1 -1
- package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
- package/dist/cjs/lib/entities/Account.d.ts +2 -2
- package/dist/cjs/lib/entities/Account.js.map +1 -1
- package/dist/cjs/lib/entities/AccountDTO.d.ts +1 -1
- package/dist/cjs/lib/entities/AccountDTO.js.map +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 +4 -4
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +4 -4
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.d.ts +3 -3
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +6 -6
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +5 -5
- 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/Insight.d.ts +1 -1
- package/dist/cjs/lib/entities/Insight.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/ReportInstance.d.ts +2 -2
- package/dist/cjs/lib/entities/ReportInstance.js.map +1 -1
- package/dist/cjs/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/cjs/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/cjs/lib/entities/Stream.d.ts +1 -1
- package/dist/cjs/lib/entities/Stream.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 +2 -2
- package/dist/cjs/lib/entities/TimeSeriesOfDeviceReport.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 +2 -2
- package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
- package/dist/cjs/lib/enums/FeatureCode.d.ts +2 -1
- package/dist/cjs/lib/enums/FeatureCode.js +3 -0
- package/dist/cjs/lib/enums/FeatureCode.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/cjs/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/cjs/lib/services/usrDevicesService.d.ts +14 -10
- package/dist/cjs/lib/services/usrDevicesService.js +40 -0
- package/dist/cjs/lib/services/usrDevicesService.js.map +1 -1
- package/dist/cjs/lib/services/usrEventsService.d.ts +8 -8
- package/dist/cjs/lib/services/usrReportsService.d.ts +1 -1
- package/dist/cjs/lib/services/usrRulesService.d.ts +1 -1
- package/dist/cjs/lib/services/usrUserService.d.ts +5 -5
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/esm/lib/common/SeriesData.d.ts +1 -1
- package/dist/esm/lib/entities/Account.d.ts +2 -2
- package/dist/esm/lib/entities/Account.js.map +1 -1
- package/dist/esm/lib/entities/AccountDTO.d.ts +1 -1
- package/dist/esm/lib/entities/AccountDTO.js.map +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 +4 -4
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +4 -4
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/esm/lib/entities/Device.d.ts +3 -3
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +6 -6
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +5 -5
- 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/Insight.d.ts +1 -1
- package/dist/esm/lib/entities/Insight.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/ReportInstance.d.ts +2 -2
- package/dist/esm/lib/entities/ReportInstance.js.map +1 -1
- package/dist/esm/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/esm/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/esm/lib/entities/Stream.d.ts +1 -1
- package/dist/esm/lib/entities/Stream.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 +2 -2
- package/dist/esm/lib/entities/TimeSeriesOfDeviceReport.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 +2 -2
- package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
- package/dist/esm/lib/enums/FeatureCode.d.ts +2 -1
- package/dist/esm/lib/enums/FeatureCode.js +3 -0
- package/dist/esm/lib/enums/FeatureCode.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/esm/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/esm/lib/services/usrDevicesService.d.ts +14 -10
- package/dist/esm/lib/services/usrDevicesService.js +40 -0
- package/dist/esm/lib/services/usrDevicesService.js.map +1 -1
- package/dist/esm/lib/services/usrEventsService.d.ts +8 -8
- package/dist/esm/lib/services/usrReportsService.d.ts +1 -1
- package/dist/esm/lib/services/usrRulesService.d.ts +1 -1
- package/dist/esm/lib/services/usrUserService.d.ts +5 -5
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/types/lib/common/SeriesData.d.ts +1 -1
- package/dist/types/lib/entities/Account.d.ts +2 -2
- package/dist/types/lib/entities/AccountDTO.d.ts +1 -1
- package/dist/types/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/types/lib/entities/Alert.d.ts +4 -4
- package/dist/types/lib/entities/AlertWithDevice.d.ts +4 -4
- package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/types/lib/entities/Device.d.ts +3 -3
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/types/lib/entities/Event.d.ts +6 -6
- package/dist/types/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/types/lib/entities/Feature.d.ts +1 -1
- package/dist/types/lib/entities/Insight.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/ReportInstance.d.ts +2 -2
- package/dist/types/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/types/lib/entities/Stream.d.ts +1 -1
- package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +2 -2
- package/dist/types/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/types/lib/enums/FeatureCode.d.ts +2 -1
- package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/types/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/types/lib/services/usrDevicesService.d.ts +14 -10
- package/dist/types/lib/services/usrEventsService.d.ts +8 -8
- package/dist/types/lib/services/usrReportsService.d.ts +1 -1
- package/dist/types/lib/services/usrRulesService.d.ts +1 -1
- package/dist/types/lib/services/usrUserService.d.ts +5 -5
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
2
1
|
import { Interval } from '../common';
|
|
3
2
|
import { SeverityConditionConfig } from '../common';
|
|
4
3
|
import { RuleCountThresholdConfig } from '../common';
|
|
4
|
+
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AccountSettings } from '../entities';
|
|
2
|
+
import { BaseEntity } from '../base';
|
|
1
3
|
import { AccountTypeCode } from '../enums';
|
|
2
4
|
import { AccountStatusCode } from '../enums';
|
|
3
5
|
import { StringKeyValue } from '../common';
|
|
4
|
-
import { AccountSettings } from '../entities';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
6
|
export declare class Account extends BaseEntity {
|
|
7
7
|
name: string;
|
|
8
8
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/lib/entities/Account.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/lib/entities/Account.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAOrC,2DAA2D;AAC3D,MAAa,OAAQ,SAAQ,iBAAU;CAiCtC;AAjCD,0BAiCC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { AccountTypeCode } from '../enums';
|
|
3
2
|
import { AccountStatusCode } from '../enums';
|
|
4
3
|
import { FeatureCode } from '../enums';
|
|
5
4
|
import { StringKeyValue } from '../common';
|
|
6
5
|
import { AccountSettings } from '../entities';
|
|
6
|
+
import { BaseEntity } from '../base';
|
|
7
7
|
export declare class AccountDTO extends BaseEntity {
|
|
8
8
|
name: string;
|
|
9
9
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":";;;AAKA,kCAAqC;AAIrC,kDAAkD;AAClD,MAAa,UAAW,SAAQ,iBAAU;CAoCzC;AApCD,gCAoCC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { AccountTypeCode } from '../enums';
|
|
3
2
|
import { AccountStatusCode } from '../enums';
|
|
4
3
|
import { StringKeyValue } from '../common';
|
|
5
4
|
import { AccountSettings } from '../entities';
|
|
6
5
|
import { DeviceReport } from '../entities';
|
|
7
6
|
import { IntDistribution } from '../entities';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
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":";;;AAMA,kCAAqC;AAIrC,2EAA2E;AAC3E,MAAa,gBAAiB,SAAQ,iBAAU;CA6C/C;AA7CD,4CA6CC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventTypeCode } from '../enums';
|
|
2
|
-
import {
|
|
2
|
+
import { SeverityTypeCode } from '../enums';
|
|
3
3
|
import { RuleTypeCode } from '../enums';
|
|
4
|
+
import { GeoData } from '../common';
|
|
5
|
+
import { EventStatusCode } from '../enums';
|
|
4
6
|
import { StringKeyValue } from '../common';
|
|
7
|
+
import { EventCategoryCode } from '../enums';
|
|
5
8
|
import { TrafficDirectionCode } from '../enums';
|
|
6
9
|
import { BaseEntity } from '../base';
|
|
7
|
-
import { SeverityTypeCode } from '../enums';
|
|
8
|
-
import { GeoData } from '../common';
|
|
9
|
-
import { EventCategoryCode } from '../enums';
|
|
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":";;;AAQA,kCAAqC;AAIrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { StringKeyValue } from '../common';
|
|
2
|
-
import { EventCategoryCode } from '../enums';
|
|
3
2
|
import { TrafficDirectionCode } from '../enums';
|
|
4
3
|
import { Device } from '../entities';
|
|
5
|
-
import {
|
|
4
|
+
import { EventTypeCode } from '../enums';
|
|
6
5
|
import { SeverityTypeCode } from '../enums';
|
|
7
6
|
import { EventStatusCode } from '../enums';
|
|
8
|
-
import {
|
|
9
|
-
import { EventTypeCode } from '../enums';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
10
8
|
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { GeoData } from '../common';
|
|
10
|
+
import { EventCategoryCode } from '../enums';
|
|
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":";;;AAMA,kCAAqC;AAOrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DeviceTypeCode } from '../enums';
|
|
2
|
+
import { DeviceStatusCode } from '../enums';
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
1
4
|
import { DeviceActionCode } from '../enums';
|
|
2
5
|
import { SIM } from '../entities';
|
|
3
6
|
import { GeoData } from '../common';
|
|
4
7
|
import { BaseEntity } from '../base';
|
|
5
|
-
import { DeviceTypeCode } from '../enums';
|
|
6
|
-
import { DeviceStatusCode } from '../enums';
|
|
7
|
-
import { StringKeyValue } from '../common';
|
|
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":";;;AAMA,kCAAqC;AAIrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { SIM } from '../entities';
|
|
2
|
+
import { Event } from '../entities';
|
|
3
|
+
import { GeoData } from '../common';
|
|
1
4
|
import { BaseEntity } from '../base';
|
|
2
5
|
import { DeviceTypeCode } from '../enums';
|
|
3
6
|
import { DeviceStatusCode } from '../enums';
|
|
4
7
|
import { StringKeyValue } from '../common';
|
|
5
8
|
import { DeviceActionCode } from '../enums';
|
|
6
|
-
import { SIM } from '../entities';
|
|
7
|
-
import { Event } from '../entities';
|
|
8
|
-
import { GeoData } 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":";;;AAGA,kCAAqC;AAQrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { EventTypeCode } from '../enums';
|
|
3
|
+
import { EventStatusCode } from '../enums';
|
|
2
4
|
import { Indicator } from '../common';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
+
import { RuleTypeCode } from '../enums';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
5
7
|
import { TrafficDirectionCode } from '../enums';
|
|
6
|
-
import { BaseEntity } from '../base';
|
|
7
8
|
import { SeverityTypeCode } from '../enums';
|
|
8
|
-
import { EventStatusCode } from '../enums';
|
|
9
|
-
import { RuleTypeCode } from '../enums';
|
|
10
9
|
import { GeoData } from '../common';
|
|
11
|
-
import {
|
|
10
|
+
import { EventCategoryCode } from '../enums';
|
|
11
|
+
import { EventOccurrence } from '../entities';
|
|
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":";;;AAAA,kCAAqC;AAcrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
1
2
|
import { SeverityTypeCode } from '../enums';
|
|
2
|
-
import { Indicator } from '../common';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
|
-
import { EventOccurrence } from '../entities';
|
|
6
3
|
import { TrafficDirectionCode } from '../enums';
|
|
4
|
+
import { EventOccurrence } from '../entities';
|
|
7
5
|
import { Device } from '../entities';
|
|
8
|
-
import { EventTypeCode } from '../enums';
|
|
9
6
|
import { EventStatusCode } from '../enums';
|
|
7
|
+
import { Indicator } from '../common';
|
|
10
8
|
import { RuleTypeCode } from '../enums';
|
|
11
9
|
import { GeoData } from '../common';
|
|
10
|
+
import { StringKeyValue } from '../common';
|
|
12
11
|
import { EventCategoryCode } from '../enums';
|
|
12
|
+
import { BaseEntity } from '../base';
|
|
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":";;;AAWA,kCAAqC;AAIrC,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,8 +1,8 @@
|
|
|
1
|
-
import { InsightTypeCode } from '../enums';
|
|
2
1
|
import { InsightStatusCode } from '../enums';
|
|
3
2
|
import { SeverityTypeCode } from '../enums';
|
|
4
3
|
import { DirectionContextCode } from '../enums';
|
|
5
4
|
import { BaseEntity } from '../base';
|
|
5
|
+
import { InsightTypeCode } from '../enums';
|
|
6
6
|
export declare class Insight extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Insight.js","sourceRoot":"","sources":["../../../../src/lib/entities/Insight.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Insight.js","sourceRoot":"","sources":["../../../../src/lib/entities/Insight.ts"],"names":[],"mappings":";;;AAGA,kCAAqC;AAKrC,UAAU;AACV,sGAAsG;AACtG,MAAa,OAAQ,SAAQ,iBAAU;CAoCtC;AApCD,0BAoCC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { InsightTypeCode } from '../enums';
|
|
2
3
|
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":";;;AAAA,kCAAqC;AAMrC,eAAe;AACf,kIAAkI;AAClI,MAAa,YAAa,SAAQ,iBAAU;CAqB3C;AArBD,oCAqBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IntegrationTypeCode } from '../enums';
|
|
2
|
-
import { IntegrationTriggerCode } from '../enums';
|
|
3
|
-
import { HttpMethodCode } from '../enums';
|
|
4
1
|
import { StringKeyValue } from '../common';
|
|
5
2
|
import { EventTypeCode } from '../enums';
|
|
6
3
|
import { SeverityTypeCode } from '../enums';
|
|
7
4
|
import { DeviceActionCode } from '../enums';
|
|
8
5
|
import { BaseEntity } from '../base';
|
|
6
|
+
import { IntegrationTypeCode } from '../enums';
|
|
7
|
+
import { IntegrationTriggerCode } from '../enums';
|
|
8
|
+
import { HttpMethodCode } 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":";;;AAIA,kCAAqC;AAOrC,6BAA6B;AAC7B,MAAa,WAAY,SAAQ,iBAAU;CAkE1C;AAlED,kCAkEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { IntDistribution } from '../entities';
|
|
3
1
|
import { DeviceReport } from '../entities';
|
|
4
2
|
import { ReportTypeCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
4
|
+
import { IntDistribution } from '../entities';
|
|
5
5
|
export declare class ReportInstance extends BaseEntity {
|
|
6
6
|
accountId: string;
|
|
7
7
|
from: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportInstance.js","sourceRoot":"","sources":["../../../../src/lib/entities/ReportInstance.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ReportInstance.js","sourceRoot":"","sources":["../../../../src/lib/entities/ReportInstance.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAKrC,qDAAqD;AACrD,MAAa,cAAe,SAAQ,iBAAU;CAiC7C;AAjCD,wCAiCC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { DataSourceCode } from '../enums';
|
|
3
2
|
import { EventTypeCode } from '../enums';
|
|
4
3
|
import { SeverityTypeCode } from '../enums';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class RuleTemplate extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":";;;AAGA,kCAAqC;AAIrC,qFAAqF;AACrF,MAAa,YAAa,SAAQ,iBAAU;CA2B3C;AA3BD,oCA2BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stream.js","sourceRoot":"","sources":["../../../../src/lib/entities/Stream.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Stream.js","sourceRoot":"","sources":["../../../../src/lib/entities/Stream.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAMrC,+LAA+L;AAC/L,MAAa,MAAO,SAAQ,iBAAU;CAqBrC;AArBD,wBAqBC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { Thresholds } from '../common';
|
|
2
3
|
import { ShieldexConfig } from '../common';
|
|
3
4
|
import { EventSeverityConfig } from '../common';
|
|
4
5
|
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":";;;AAAA,kCAAqC;AAQrC,0EAA0E;AAC1E,MAAa,qBAAsB,SAAQ,iBAAU;CAkBpD;AAlBD,sDAkBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ShieldexConfig } from '../common';
|
|
2
|
+
import { EventSeverityConfig } from '../common';
|
|
1
3
|
import { DeviceActionCode } from '../enums';
|
|
2
4
|
import { DeviceConfig } from '../common';
|
|
3
5
|
import { DataIngestion } from '../entities';
|
|
4
6
|
import { SessionTransform } from '../common';
|
|
5
7
|
import { UsageTransform } from '../common';
|
|
6
8
|
import { Thresholds } from '../common';
|
|
7
|
-
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 { 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 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":";;;AAAA,kCAAqC;AAOrC,4EAA4E;AAC5E,MAAa,cAAe,SAAQ,iBAAU;CA2B7C;AA3BD,wCA2BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { UserTypeCode } from '../enums';
|
|
3
1
|
import { UserStatusCode } from '../enums';
|
|
4
2
|
import { AccountRole } from '../common';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
4
|
+
import { UserTypeCode } from '../enums';
|
|
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":";;;AAEA,kCAAqC;AAKrC,2EAA2E;AAC3E,MAAa,eAAgB,SAAQ,iBAAU;CA2B9C;AA3BD,0CA2BC"}
|
|
@@ -27,6 +27,8 @@ var FeatureCode;
|
|
|
27
27
|
FeatureCode[FeatureCode["CUSTOM_RULES"] = 9] = "CUSTOM_RULES";
|
|
28
28
|
// Enable push integrations
|
|
29
29
|
FeatureCode[FeatureCode["INTEGRATIONS"] = 10] = "INTEGRATIONS";
|
|
30
|
+
// Active devices
|
|
31
|
+
FeatureCode[FeatureCode["ACTIVE_DEVICES"] = 11] = "ACTIVE_DEVICES";
|
|
30
32
|
})(FeatureCode || (exports.FeatureCode = FeatureCode = {}));
|
|
31
33
|
// Return list of FeatureCode values and their display names
|
|
32
34
|
function GetFeatureCodes() {
|
|
@@ -42,6 +44,7 @@ function GetFeatureCodes() {
|
|
|
42
44
|
result.set(FeatureCode.COMPLIANCE_REPORTS, 'Compliance Reports');
|
|
43
45
|
result.set(FeatureCode.CUSTOM_RULES, 'Custom Rules');
|
|
44
46
|
result.set(FeatureCode.INTEGRATIONS, 'Integrations');
|
|
47
|
+
result.set(FeatureCode.ACTIVE_DEVICES, 'Active Devices');
|
|
45
48
|
return result;
|
|
46
49
|
}
|
|
47
50
|
//# sourceMappingURL=FeatureCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureCode.js","sourceRoot":"","sources":["../../../../src/lib/enums/FeatureCode.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"FeatureCode.js","sourceRoot":"","sources":["../../../../src/lib/enums/FeatureCode.ts"],"names":[],"mappings":";;;AA2CA,0CA+BC;AAzED,eAAe;AACf,IAAY,WAsCX;AAtCD,WAAY,WAAW;IAEnB,iBAAiB;IACjB,uDAAa,CAAA;IAEb,iCAAiC;IACjC,+DAAiB,CAAA;IAEjB,+CAA+C;IAC/C,yEAAsB,CAAA;IAEtB,4CAA4C;IAC5C,6DAAgB,CAAA;IAEhB,kCAAkC;IAClC,iEAAkB,CAAA;IAElB,0BAA0B;IAC1B,yEAAsB,CAAA;IAEtB,6CAA6C;IAC7C,iEAAkB,CAAA;IAElB,6CAA6C;IAC7C,2DAAe,CAAA;IAEf,yCAAyC;IACzC,yEAAsB,CAAA;IAEtB,gCAAgC;IAChC,6DAAgB,CAAA;IAEhB,4BAA4B;IAC5B,8DAAiB,CAAA;IAEjB,kBAAkB;IAClB,kEAAmB,CAAA;AAEvB,CAAC,EAtCW,WAAW,2BAAX,WAAW,QAsCtB;AAED,4DAA4D;AAC5D,SAAgB,eAAe;IAE3B,IAAI,MAAM,GAAG,IAAI,GAAG,EAAuB,CAAC;IAG5C,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAE/C,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;IAEvD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;IAEjE,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAErD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;IAEzD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;IAEjE,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;IAEzD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;IAEnD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;IAEjE,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAErD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAErD,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;IAGzD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { AccountTypeCode } from '../enums';
|
|
3
|
+
import { AccountStatusCode } from '../enums';
|
|
2
4
|
import { Image } from '../entities';
|
|
3
5
|
import { AccountReportDTO } from '../entities';
|
|
4
6
|
import { Account } from '../entities';
|
|
5
7
|
import { AccountSettings } from '../entities';
|
|
6
|
-
import { AccountTypeCode } from '../enums';
|
|
7
|
-
import { AccountStatusCode } from '../enums';
|
|
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 { EventTypeCode } from '../enums';
|
|
3
|
+
import { EventCategoryCode } from '../enums';
|
|
2
4
|
import { EventStatusCode } from '../enums';
|
|
3
|
-
import {
|
|
5
|
+
import { MaliciousIPData } from '../common';
|
|
4
6
|
import { DeviceActionCode } from '../enums';
|
|
5
|
-
import {
|
|
6
|
-
import { EventTypeCode } from '../enums';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
7
8
|
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { TimeSeriesOf2D } from '../common';
|
|
10
|
+
import { Alert } from '../entities';
|
|
8
11
|
import { AlertWithDevice } from '../entities';
|
|
9
|
-
import {
|
|
10
|
-
import { MaliciousIPCard } from '../common';
|
|
11
|
-
import { SeverityTypeCode } from '../enums';
|
|
12
|
-
import { EventCategoryCode } from '../enums';
|
|
12
|
+
import { IntDistribution } from '../entities';
|
|
13
13
|
import { TimeSeriesOfFloat } from '../common';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { MaliciousIPCard } from '../common';
|
|
15
|
+
import { StringKeyValue } from '../common';
|
|
16
16
|
export declare class UsrAlertsService {
|
|
17
17
|
private apiUrl;
|
|
18
18
|
private rest;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
3
|
-
import { TimeSeriesOfDataConsumption } from '../common';
|
|
4
|
-
import { Device } from '../entities';
|
|
5
|
-
import { BulkDevices } from '../entities';
|
|
6
2
|
import { DeviceActionCode } from '../enums';
|
|
3
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
7
4
|
import { MapBounds } from '../common';
|
|
8
|
-
import { DevicesMap } from '../common';
|
|
9
|
-
import { DeviceWithEvents } from '../entities';
|
|
10
|
-
import { IntDistribution } from '../entities';
|
|
11
|
-
import { DeviceReport } from '../entities';
|
|
12
|
-
import { DeviceStatusCode } from '../enums';
|
|
13
|
-
import { NetworkMap } from '../common';
|
|
14
5
|
import { DeviceTypeCode } from '../enums';
|
|
15
6
|
import { SeverityTypeCode } from '../enums';
|
|
7
|
+
import { DeviceWithEvents } from '../entities';
|
|
16
8
|
import { NetworkMapTypeCode } from '../enums';
|
|
9
|
+
import { NetworkMap } from '../common';
|
|
10
|
+
import { DevicesMap } from '../common';
|
|
11
|
+
import { DeviceReport } from '../entities';
|
|
12
|
+
import { TimeSeriesOfDataConsumption } from '../common';
|
|
13
|
+
import { Device } from '../entities';
|
|
14
|
+
import { BulkDevices } from '../entities';
|
|
15
|
+
import { DeviceStatusCode } from '../enums';
|
|
16
|
+
import { IntDistribution } from '../entities';
|
|
17
17
|
export declare class UsrDevicesService {
|
|
18
18
|
private apiUrl;
|
|
19
19
|
private rest;
|
|
@@ -67,6 +67,10 @@ export declare class UsrDevicesService {
|
|
|
67
67
|
* Find device distribution by action filtered by query
|
|
68
68
|
*/
|
|
69
69
|
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>>;
|
|
70
|
+
/**
|
|
71
|
+
* Find device distribution by risk filtered by query
|
|
72
|
+
*/
|
|
73
|
+
countByRisk(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>>;
|
|
70
74
|
/**
|
|
71
75
|
* Add tag to a device
|
|
72
76
|
*/
|
|
@@ -286,6 +286,46 @@ class UsrDevicesService {
|
|
|
286
286
|
}
|
|
287
287
|
return this.rest.get(`${this.baseUrl}/count/by-action`, ...params);
|
|
288
288
|
}
|
|
289
|
+
/**
|
|
290
|
+
* Find device distribution by risk filtered by query
|
|
291
|
+
*/
|
|
292
|
+
countByRisk(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
|
|
293
|
+
const params = [];
|
|
294
|
+
if (streamId != null) {
|
|
295
|
+
params.push(`streamId=${streamId}`);
|
|
296
|
+
}
|
|
297
|
+
if (search != null) {
|
|
298
|
+
params.push(`search=${search}`);
|
|
299
|
+
}
|
|
300
|
+
if (from != null) {
|
|
301
|
+
params.push(`from=${from}`);
|
|
302
|
+
}
|
|
303
|
+
if (to != null) {
|
|
304
|
+
params.push(`to=${to}`);
|
|
305
|
+
}
|
|
306
|
+
if (type != null) {
|
|
307
|
+
params.push(`type=${type}`);
|
|
308
|
+
}
|
|
309
|
+
if (status != null) {
|
|
310
|
+
params.push(`status=${status}`);
|
|
311
|
+
}
|
|
312
|
+
if (risk != null) {
|
|
313
|
+
params.push(`risk=${risk}`);
|
|
314
|
+
}
|
|
315
|
+
if (scoreRange != null) {
|
|
316
|
+
params.push(`scoreRange=${scoreRange}`);
|
|
317
|
+
}
|
|
318
|
+
if (sort != null) {
|
|
319
|
+
params.push(`sort=${sort}`);
|
|
320
|
+
}
|
|
321
|
+
if (page != null) {
|
|
322
|
+
params.push(`page=${page}`);
|
|
323
|
+
}
|
|
324
|
+
if (size != null) {
|
|
325
|
+
params.push(`size=${size}`);
|
|
326
|
+
}
|
|
327
|
+
return this.rest.get(`${this.baseUrl}/count/by-risk`, ...params);
|
|
328
|
+
}
|
|
289
329
|
/**
|
|
290
330
|
* Add tag to a device
|
|
291
331
|
*/
|