@shieldiot/pulse-lib 1.0.313 → 1.0.315
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/GeoData.d.ts +1 -2
- package/dist/cjs/lib/common/GeoData.js +1 -4
- package/dist/cjs/lib/common/GeoData.js.map +1 -1
- package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOfDataConsumption.d.ts +1 -1
- package/dist/cjs/lib/common/TokenData.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 +2 -2
- package/dist/cjs/lib/entities/AccountDTO.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 +6 -6
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/ApiKey.d.ts +1 -1
- package/dist/cjs/lib/entities/ApiKey.js.map +1 -1
- package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +5 -3
- 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 +8 -8
- package/dist/cjs/lib/entities/EventWithDevice.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/Radius.d.ts +1 -1
- package/dist/cjs/lib/entities/Radius.js.map +1 -1
- package/dist/cjs/lib/entities/Report.d.ts +1 -1
- package/dist/cjs/lib/entities/Report.js.map +1 -1
- package/dist/cjs/lib/entities/Rule.d.ts +1 -1
- package/dist/cjs/lib/entities/Rule.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/StreamConfig.d.ts +4 -4
- 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/sysFeaturesService.d.ts +1 -1
- package/dist/cjs/lib/services/sysKeysService.d.ts +1 -1
- package/dist/cjs/lib/services/sysUsersService.d.ts +1 -1
- package/dist/cjs/lib/services/usrAlertsService.d.ts +8 -8
- package/dist/cjs/lib/services/usrDevicesService.d.ts +9 -9
- package/dist/cjs/lib/services/usrEventsService.d.ts +7 -7
- package/dist/cjs/lib/services/usrRulesService.d.ts +3 -3
- package/dist/cjs/lib/services/usrUserService.d.ts +2 -2
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/esm/lib/common/GeoData.d.ts +1 -2
- package/dist/esm/lib/common/GeoData.js +1 -4
- package/dist/esm/lib/common/GeoData.js.map +1 -1
- package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOfDataConsumption.d.ts +1 -1
- package/dist/esm/lib/common/TokenData.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 +2 -2
- package/dist/esm/lib/entities/AccountDTO.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 +6 -6
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/ApiKey.d.ts +1 -1
- package/dist/esm/lib/entities/ApiKey.js.map +1 -1
- package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +5 -3
- 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 +8 -8
- package/dist/esm/lib/entities/EventWithDevice.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/Radius.d.ts +1 -1
- package/dist/esm/lib/entities/Radius.js.map +1 -1
- package/dist/esm/lib/entities/Report.d.ts +1 -1
- package/dist/esm/lib/entities/Report.js.map +1 -1
- package/dist/esm/lib/entities/Rule.d.ts +1 -1
- package/dist/esm/lib/entities/Rule.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/StreamConfig.d.ts +4 -4
- 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/sysFeaturesService.d.ts +1 -1
- package/dist/esm/lib/services/sysKeysService.d.ts +1 -1
- package/dist/esm/lib/services/sysUsersService.d.ts +1 -1
- package/dist/esm/lib/services/usrAlertsService.d.ts +8 -8
- package/dist/esm/lib/services/usrDevicesService.d.ts +9 -9
- package/dist/esm/lib/services/usrEventsService.d.ts +7 -7
- package/dist/esm/lib/services/usrRulesService.d.ts +3 -3
- package/dist/esm/lib/services/usrUserService.d.ts +2 -2
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/types/lib/common/GeoData.d.ts +1 -2
- package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOfDataConsumption.d.ts +1 -1
- package/dist/types/lib/common/TokenData.d.ts +1 -1
- package/dist/types/lib/entities/Account.d.ts +2 -2
- package/dist/types/lib/entities/AccountDTO.d.ts +2 -2
- package/dist/types/lib/entities/Alert.d.ts +4 -4
- package/dist/types/lib/entities/AlertWithDevice.d.ts +6 -6
- package/dist/types/lib/entities/ApiKey.d.ts +1 -1
- package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +5 -3
- package/dist/types/lib/entities/Event.d.ts +5 -5
- package/dist/types/lib/entities/EventWithDevice.d.ts +8 -8
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/Radius.d.ts +1 -1
- package/dist/types/lib/entities/Report.d.ts +1 -1
- package/dist/types/lib/entities/Rule.d.ts +1 -1
- package/dist/types/lib/entities/Stream.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/types/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/types/lib/services/sysFeaturesService.d.ts +1 -1
- package/dist/types/lib/services/sysKeysService.d.ts +1 -1
- package/dist/types/lib/services/sysUsersService.d.ts +1 -1
- package/dist/types/lib/services/usrAlertsService.d.ts +8 -8
- package/dist/types/lib/services/usrDevicesService.d.ts +9 -9
- package/dist/types/lib/services/usrEventsService.d.ts +7 -7
- package/dist/types/lib/services/usrRulesService.d.ts +3 -3
- 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 { RuleBasedSeverityConditionConfig } from '../common';
|
|
1
2
|
import { Interval } from '../common';
|
|
2
3
|
import { SeverityConditionConfig } from '../common';
|
|
3
4
|
import { RuleCountThresholdConfig } from '../common';
|
|
4
|
-
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -7,7 +7,6 @@ export declare class GeoData {
|
|
|
7
7
|
city_name: string;
|
|
8
8
|
location: Location;
|
|
9
9
|
street: string;
|
|
10
|
-
number: number;
|
|
11
10
|
postal_code: number;
|
|
12
|
-
constructor(countryIsoCode?: string, countryName?: string, regionIsoCode?: string, regionName?: string, cityName?: string, location?: Location, street?: string,
|
|
11
|
+
constructor(countryIsoCode?: string, countryName?: string, regionIsoCode?: string, regionName?: string, cityName?: string, location?: Location, street?: string, postal?: number);
|
|
13
12
|
}
|
|
@@ -4,7 +4,7 @@ exports.GeoData = void 0;
|
|
|
4
4
|
// GeoData model represents Geographic data associated with IP
|
|
5
5
|
// This structure is based on the Elasticsearch GeoIP pipeline fetching data from MaxMind database
|
|
6
6
|
class GeoData {
|
|
7
|
-
constructor(countryIsoCode, countryName, regionIsoCode, regionName, cityName, location, street,
|
|
7
|
+
constructor(countryIsoCode, countryName, regionIsoCode, regionName, cityName, location, street, postal) {
|
|
8
8
|
if (countryIsoCode !== undefined) {
|
|
9
9
|
this.country_iso_code = countryIsoCode;
|
|
10
10
|
}
|
|
@@ -26,9 +26,6 @@ class GeoData {
|
|
|
26
26
|
if (street !== undefined) {
|
|
27
27
|
this.street = street;
|
|
28
28
|
}
|
|
29
|
-
if (number !== undefined) {
|
|
30
|
-
this.number = number;
|
|
31
|
-
}
|
|
32
29
|
if (postal !== undefined) {
|
|
33
30
|
this.postal_code = postal;
|
|
34
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoData.js","sourceRoot":"","sources":["../../../../src/lib/common/GeoData.ts"],"names":[],"mappings":";;;AAIA,8DAA8D;AAC9D,kGAAkG;AAClG,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"GeoData.js","sourceRoot":"","sources":["../../../../src/lib/common/GeoData.ts"],"names":[],"mappings":";;;AAIA,8DAA8D;AAC9D,kGAAkG;AAClG,MAAa,OAAO;IA0Bf,YAAY,cAAuB,EAAE,WAAoB,EAAE,aAAsB,EAAE,UAAmB,EAAE,QAAiB,EAAE,QAAmB,EAAE,MAAe,EAAE,MAAe;QAC7K,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC;QAAC,CAAC;QAC7E,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAAC,CAAC;QACnE,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,eAAe,GAAG,aAAa,CAAC;QAAC,CAAC;QAC1E,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAAC,CAAC;QAChE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAAC,CAAC;QAC1D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAAC,CAAC;QACzD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAAC,CAAC;QACnD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;QAAC,CAAC;IAC5D,CAAC;CAEJ;AArCD,0BAqCC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AccountTypeCode } from '../enums';
|
|
2
|
+
import { AccountStatusCode } from '../enums';
|
|
1
3
|
import { StringKeyValue } from '../common';
|
|
2
4
|
import { AccountSettings } from '../entities';
|
|
3
5
|
import { BaseEntity } from '../base';
|
|
4
|
-
import { AccountTypeCode } from '../enums';
|
|
5
|
-
import { AccountStatusCode } from '../enums';
|
|
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":";;;AAIA,kCAAqC;AAIrC,2DAA2D;AAC3D,MAAa,OAAQ,SAAQ,iBAAU;CAiCtC;AAjCD,0BAiCC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AccountSettings } from '../entities';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { AccountTypeCode } from '../enums';
|
|
4
2
|
import { AccountStatusCode } from '../enums';
|
|
5
3
|
import { FeatureCode } from '../enums';
|
|
6
4
|
import { StringKeyValue } from '../common';
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
2
2
|
import { EventTypeCode } from '../enums';
|
|
3
|
+
import { SeverityTypeCode } from '../enums';
|
|
3
4
|
import { EventStatusCode } from '../enums';
|
|
5
|
+
import { RuleTypeCode } from '../enums';
|
|
4
6
|
import { GeoData } from '../common';
|
|
5
7
|
import { StringKeyValue } from '../common';
|
|
6
8
|
import { EventCategoryCode } from '../enums';
|
|
7
|
-
import {
|
|
8
|
-
import { SeverityTypeCode } from '../enums';
|
|
9
|
-
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { TrafficDirectionCode } 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":";;;AAAA,kCAAqC;AAYrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { RuleTypeCode } from '../enums';
|
|
2
|
+
import { EventCategoryCode } from '../enums';
|
|
3
|
+
import { Device } from '../entities';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
1
5
|
import { EventTypeCode } from '../enums';
|
|
2
6
|
import { EventStatusCode } from '../enums';
|
|
3
|
-
import {
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
4
8
|
import { TrafficDirectionCode } from '../enums';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
9
|
import { SeverityTypeCode } from '../enums';
|
|
7
|
-
import {
|
|
8
|
-
import { StringKeyValue } from '../common';
|
|
9
|
-
import { EventCategoryCode } from '../enums';
|
|
10
|
-
import { Device } from '../entities';
|
|
10
|
+
import { GeoData } 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":";;;AAGA,kCAAqC;AAUrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKey.js","sourceRoot":"","sources":["../../../../src/lib/entities/ApiKey.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ApiKey.js","sourceRoot":"","sources":["../../../../src/lib/entities/ApiKey.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,+FAA+F;AAC/F,MAAa,MAAO,SAAQ,iBAAU;CAwBrC;AAxBD,wBAwBC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { SIM } from '../entities';
|
|
2
|
+
import { Event } from '../entities';
|
|
3
|
+
import { GeoData } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
1
5
|
import { DeviceTypeCode } from '../enums';
|
|
2
6
|
import { DeviceStatusCode } from '../enums';
|
|
3
7
|
import { StringKeyValue } from '../common';
|
|
4
8
|
import { DeviceActionCode } from '../enums';
|
|
5
|
-
import { SIM } from '../entities';
|
|
6
|
-
import { Event } from '../entities';
|
|
7
|
-
import { BaseEntity } from '../base';
|
|
8
9
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
9
10
|
accountId: string;
|
|
10
11
|
streamId: string;
|
|
@@ -29,4 +30,5 @@ export declare class DeviceWithEvents extends BaseEntity {
|
|
|
29
30
|
actionAppliedOn: number;
|
|
30
31
|
simCards: SIM[];
|
|
31
32
|
events: Event[];
|
|
33
|
+
address: GeoData;
|
|
32
34
|
}
|
|
@@ -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 {
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
2
|
+
import { EventStatusCode } from '../enums';
|
|
2
3
|
import { StringKeyValue } from '../common';
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
4
4
|
import { EventOccurrence } from '../entities';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
5
6
|
import { SeverityTypeCode } from '../enums';
|
|
6
|
-
import {
|
|
7
|
+
import { Indicator } from '../common';
|
|
7
8
|
import { RuleTypeCode } from '../enums';
|
|
8
9
|
import { GeoData } from '../common';
|
|
10
|
+
import { EventCategoryCode } from '../enums';
|
|
9
11
|
import { TrafficDirectionCode } from '../enums';
|
|
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":";;;AAIA,kCAAqC;AAUrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventStatusCode } from '../enums';
|
|
2
|
+
import { RuleTypeCode } from '../enums';
|
|
2
3
|
import { EventCategoryCode } from '../enums';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { SeverityTypeCode } from '../enums';
|
|
4
|
+
import { EventOccurrence } from '../entities';
|
|
5
|
+
import { EventTypeCode } from '../enums';
|
|
6
6
|
import { Indicator } from '../common';
|
|
7
|
-
import { RuleTypeCode } from '../enums';
|
|
8
7
|
import { GeoData } from '../common';
|
|
9
|
-
import {
|
|
10
|
-
import { EventStatusCode } from '../enums';
|
|
11
|
-
import { EventOccurrence } from '../entities';
|
|
8
|
+
import { StringKeyValue } from '../common';
|
|
12
9
|
import { TrafficDirectionCode } from '../enums';
|
|
10
|
+
import { Device } from '../entities';
|
|
11
|
+
import { BaseEntity } from '../base';
|
|
12
|
+
import { SeverityTypeCode } 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":";;;AAUA,kCAAqC;AAKrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA8E9C;AA9ED,0CA8EC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { HttpMethodCode } from '../enums';
|
|
2
|
+
import { StringKeyValue } from '../common';
|
|
3
|
+
import { EventTypeCode } from '../enums';
|
|
1
4
|
import { SeverityTypeCode } from '../enums';
|
|
2
5
|
import { DeviceActionCode } from '../enums';
|
|
3
6
|
import { BaseEntity } from '../base';
|
|
4
7
|
import { IntegrationTypeCode } from '../enums';
|
|
5
8
|
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":";;;AAKA,kCAAqC;AAMrC,6BAA6B;AAC7B,MAAa,WAAY,SAAQ,iBAAU;CAkE1C;AAlED,kCAkEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radius.js","sourceRoot":"","sources":["../../../../src/lib/entities/Radius.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Radius.js","sourceRoot":"","sources":["../../../../src/lib/entities/Radius.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,yDAAyD;AACzD,MAAa,MAAO,SAAQ,iBAAU;CAoCrC;AApCD,wBAoCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../../../../src/lib/entities/Report.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../../../../src/lib/entities/Report.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAKrC,wEAAwE;AACxE,MAAa,MAAO,SAAQ,iBAAU;CA2BrC;AA3BD,wBA2BC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DeviceTypeCode } from '../enums';
|
|
1
2
|
import { EventTypeCode } from '../enums';
|
|
2
3
|
import { SeverityTypeCode } from '../enums';
|
|
3
4
|
import { BaseEntity } from '../base';
|
|
4
5
|
import { RuleTypeCode } from '../enums';
|
|
5
6
|
import { DataSourceCode } from '../enums';
|
|
6
7
|
import { Condition } from '../entities';
|
|
7
|
-
import { DeviceTypeCode } from '../enums';
|
|
8
8
|
export declare class Rule extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/lib/entities/Rule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/lib/entities/Rule.ts"],"names":[],"mappings":";;;AAGA,kCAAqC;AAOrC,gCAAgC;AAChC,MAAa,IAAK,SAAQ,iBAAU;CAyDnC;AAzDD,oBAyDC"}
|
|
@@ -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":";;;AAEA,kCAAqC;AAIrC,+LAA+L;AAC/L,MAAa,MAAO,SAAQ,iBAAU;CAqBrC;AArBD,wBAqBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ShieldexConfig } from '../common';
|
|
2
|
-
import { EventSeverityConfig } from '../common';
|
|
3
|
-
import { DeviceActionCode } from '../enums';
|
|
4
|
-
import { DeviceConfig } from '../common';
|
|
5
1
|
import { DataIngestion } from '../entities';
|
|
6
2
|
import { SessionTransform } from '../common';
|
|
7
3
|
import { UsageTransform } from '../common';
|
|
8
4
|
import { Thresholds } from '../common';
|
|
5
|
+
import { ShieldexConfig } from '../common';
|
|
6
|
+
import { EventSeverityConfig } from '../common';
|
|
7
|
+
import { DeviceActionCode } from '../enums';
|
|
8
|
+
import { DeviceConfig } 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 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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { FeaturesGroup } from '../entities';
|
|
3
2
|
import { Feature } from '../entities';
|
|
3
|
+
import { FeaturesGroup } from '../entities';
|
|
4
4
|
export declare class SysFeaturesService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { StringIntValue } from '../common';
|
|
3
2
|
import { ApiKey } from '../entities';
|
|
3
|
+
import { StringIntValue } from '../common';
|
|
4
4
|
export declare class SysKeysService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { User } from '../entities';
|
|
3
2
|
import { UserTypeCode } from '../enums';
|
|
4
3
|
import { UserStatusCode } from '../enums';
|
|
5
4
|
import { UserMemberships } from '../entities';
|
|
5
|
+
import { User } from '../entities';
|
|
6
6
|
export declare class SysUsersService {
|
|
7
7
|
private apiUrl;
|
|
8
8
|
private rest;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
2
|
import { EventTypeCode } from '../enums';
|
|
3
|
-
import {
|
|
3
|
+
import { RuleTypeCode } from '../enums';
|
|
4
|
+
import { MaliciousIPData } from '../common';
|
|
5
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
4
7
|
import { EventCategoryCode } from '../enums';
|
|
8
|
+
import { AlertWithDevice } from '../entities';
|
|
5
9
|
import { TimeSeriesOf2D } from '../common';
|
|
6
|
-
import {
|
|
7
|
-
import { Alert } from '../entities';
|
|
10
|
+
import { MaliciousIPCard } from '../common';
|
|
8
11
|
import { EventStatusCode } from '../enums';
|
|
9
|
-
import {
|
|
12
|
+
import { Alert } from '../entities';
|
|
13
|
+
import { SeverityTypeCode } from '../enums';
|
|
10
14
|
import { IntDistribution } from '../entities';
|
|
11
15
|
import { DeviceActionCode } from '../enums';
|
|
12
|
-
import { AlertWithDevice } from '../entities';
|
|
13
|
-
import { MaliciousIPData } from '../common';
|
|
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,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { NetworkMapTypeCode } from '../enums';
|
|
3
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
4
|
+
import { DeviceReport } from '../entities';
|
|
3
5
|
import { Device } from '../entities';
|
|
4
|
-
import {
|
|
5
|
-
import { DeviceStatusCode } from '../enums';
|
|
6
|
+
import { BulkDevices } from '../entities';
|
|
6
7
|
import { DeviceWithEvents } from '../entities';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
8
|
+
import { DeviceActionCode } from '../enums';
|
|
9
|
+
import { NetworkMap } from '../common';
|
|
9
10
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
10
|
-
import {
|
|
11
|
+
import { DeviceTypeCode } from '../enums';
|
|
12
|
+
import { DeviceStatusCode } from '../enums';
|
|
11
13
|
import { SeverityTypeCode } from '../enums';
|
|
12
|
-
import {
|
|
13
|
-
import { NetworkMapTypeCode } from '../enums';
|
|
14
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
14
|
+
import { IntDistribution } from '../entities';
|
|
15
15
|
export declare class UsrDevicesService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { SeverityTypeCode } from '../enums';
|
|
3
|
-
import { RuleTypeCode } from '../enums';
|
|
4
|
-
import { MaliciousIPData } from '../common';
|
|
5
|
-
import { TimeSeriesOf2D } from '../common';
|
|
6
|
-
import { MaliciousIPCard } from '../common';
|
|
7
2
|
import { EventTypeCode } from '../enums';
|
|
8
|
-
import { EventCategoryCode } from '../enums';
|
|
9
3
|
import { EventStatusCode } from '../enums';
|
|
10
|
-
import {
|
|
4
|
+
import { RuleTypeCode } from '../enums';
|
|
5
|
+
import { MaliciousIPData } from '../common';
|
|
11
6
|
import { IntDistribution } from '../entities';
|
|
12
7
|
import { TimeSeriesOfFloat } from '../common';
|
|
8
|
+
import { MaliciousIPCard } from '../common';
|
|
13
9
|
import { StringKeyValue } from '../common';
|
|
14
10
|
import { Event } from '../entities';
|
|
11
|
+
import { SeverityTypeCode } from '../enums';
|
|
12
|
+
import { EventCategoryCode } from '../enums';
|
|
13
|
+
import { EventWithDevice } from '../entities';
|
|
14
|
+
import { TimeSeriesOf2D } from '../common';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { TimeSeriesOfFloat } from '../common';
|
|
3
|
-
import { IntDistribution } from '../entities';
|
|
4
|
-
import { Distribution } from '../entities';
|
|
5
2
|
import { Rule } from '../entities';
|
|
6
3
|
import { SeverityTypeCode } from '../enums';
|
|
7
4
|
import { RuleActivityStatusCode } from '../enums';
|
|
8
5
|
import { EventTypeCode } from '../enums';
|
|
6
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
7
|
+
import { IntDistribution } from '../entities';
|
|
8
|
+
import { Distribution } from '../entities';
|
|
9
9
|
export declare class UsrRulesService {
|
|
10
10
|
private apiUrl;
|
|
11
11
|
private rest;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { LoginParams } from '../common';
|
|
3
|
+
import { User } from '../entities';
|
|
2
4
|
import { AccountDTO } from '../entities';
|
|
3
5
|
import { Image } from '../entities';
|
|
4
6
|
import { Feature } from '../entities';
|
|
5
7
|
import { Stream } from '../entities';
|
|
6
8
|
import { UserMemberships } from '../entities';
|
|
7
|
-
import { LoginParams } from '../common';
|
|
8
|
-
import { User } from '../entities';
|
|
9
9
|
export declare class UsrUserService {
|
|
10
10
|
private apiUrl;
|
|
11
11
|
private rest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
1
2
|
import { Interval } from '../common';
|
|
2
3
|
import { SeverityConditionConfig } from '../common';
|
|
3
4
|
import { RuleCountThresholdConfig } from '../common';
|
|
4
|
-
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -7,7 +7,6 @@ export declare class GeoData {
|
|
|
7
7
|
city_name: string;
|
|
8
8
|
location: Location;
|
|
9
9
|
street: string;
|
|
10
|
-
number: number;
|
|
11
10
|
postal_code: number;
|
|
12
|
-
constructor(countryIsoCode?: string, countryName?: string, regionIsoCode?: string, regionName?: string, cityName?: string, location?: Location, street?: string,
|
|
11
|
+
constructor(countryIsoCode?: string, countryName?: string, regionIsoCode?: string, regionName?: string, cityName?: string, location?: Location, street?: string, postal?: number);
|
|
13
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GeoData model represents Geographic data associated with IP
|
|
2
2
|
// This structure is based on the Elasticsearch GeoIP pipeline fetching data from MaxMind database
|
|
3
3
|
export class GeoData {
|
|
4
|
-
constructor(countryIsoCode, countryName, regionIsoCode, regionName, cityName, location, street,
|
|
4
|
+
constructor(countryIsoCode, countryName, regionIsoCode, regionName, cityName, location, street, postal) {
|
|
5
5
|
if (countryIsoCode !== undefined) {
|
|
6
6
|
this.country_iso_code = countryIsoCode;
|
|
7
7
|
}
|
|
@@ -23,9 +23,6 @@ export class GeoData {
|
|
|
23
23
|
if (street !== undefined) {
|
|
24
24
|
this.street = street;
|
|
25
25
|
}
|
|
26
|
-
if (number !== undefined) {
|
|
27
|
-
this.number = number;
|
|
28
|
-
}
|
|
29
26
|
if (postal !== undefined) {
|
|
30
27
|
this.postal_code = postal;
|
|
31
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoData.js","sourceRoot":"","sources":["../../../../src/lib/common/GeoData.ts"],"names":[],"mappings":"AAIA,8DAA8D;AAC9D,kGAAkG;AAClG,MAAM,OAAO,OAAO;
|
|
1
|
+
{"version":3,"file":"GeoData.js","sourceRoot":"","sources":["../../../../src/lib/common/GeoData.ts"],"names":[],"mappings":"AAIA,8DAA8D;AAC9D,kGAAkG;AAClG,MAAM,OAAO,OAAO;IA0Bf,YAAY,cAAuB,EAAE,WAAoB,EAAE,aAAsB,EAAE,UAAmB,EAAE,QAAiB,EAAE,QAAmB,EAAE,MAAe,EAAE,MAAe;QAC7K,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC;QAAC,CAAC;QAC7E,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAAC,CAAC;QACnE,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,eAAe,GAAG,aAAa,CAAC;QAAC,CAAC;QAC1E,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAAC,CAAC;QAChE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAAC,CAAC;QAC1D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAAC,CAAC;QACzD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAAC,CAAC;QACnD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;QAAC,CAAC;IAC5D,CAAC;CAEJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AccountTypeCode } from '../enums';
|
|
2
|
+
import { AccountStatusCode } from '../enums';
|
|
1
3
|
import { StringKeyValue } from '../common';
|
|
2
4
|
import { AccountSettings } from '../entities';
|
|
3
5
|
import { BaseEntity } from '../base';
|
|
4
|
-
import { AccountTypeCode } from '../enums';
|
|
5
|
-
import { AccountStatusCode } from '../enums';
|
|
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":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,2DAA2D;AAC3D,MAAM,OAAO,OAAQ,SAAQ,UAAU;CAiCtC"}
|