@shieldiot/pulse-lib 1.0.311 → 1.0.313
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/GeoData.d.ts +4 -1
- package/dist/cjs/lib/common/GeoData.js +10 -1
- package/dist/cjs/lib/common/GeoData.js.map +1 -1
- package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.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/Action.d.ts +1 -1
- package/dist/cjs/lib/entities/Action.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/ConfigParams.d.ts +1 -1
- package/dist/cjs/lib/entities/ConfigParams.js.map +1 -1
- package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.d.ts +3 -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 +7 -7
- 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/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/Radius.d.ts +1 -1
- package/dist/cjs/lib/entities/Radius.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 +2 -2
- package/dist/cjs/lib/services/services.export.d.ts +7 -7
- package/dist/cjs/lib/services/services.export.js +12 -12
- package/dist/cjs/lib/services/services.export.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +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/usrAlertsService.d.ts +7 -7
- package/dist/cjs/lib/services/usrDevicesService.d.ts +7 -7
- package/dist/cjs/lib/services/usrEventsService.d.ts +8 -8
- package/dist/cjs/lib/services/usrMembersService.d.ts +1 -1
- package/dist/cjs/lib/services/usrReportsService.d.ts +1 -1
- package/dist/cjs/lib/services/usrRulesService.d.ts +3 -3
- package/dist/cjs/lib/services/usrUserService.d.ts +1 -1
- package/dist/esm/lib/common/GeoData.d.ts +4 -1
- package/dist/esm/lib/common/GeoData.js +10 -1
- package/dist/esm/lib/common/GeoData.js.map +1 -1
- package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.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/Action.d.ts +1 -1
- package/dist/esm/lib/entities/Action.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/ConfigParams.d.ts +1 -1
- package/dist/esm/lib/entities/ConfigParams.js.map +1 -1
- package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/esm/lib/entities/Device.d.ts +3 -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 +7 -7
- 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/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/Radius.d.ts +1 -1
- package/dist/esm/lib/entities/Radius.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 +2 -2
- package/dist/esm/lib/services/services.export.d.ts +7 -7
- package/dist/esm/lib/services/services.export.js +12 -12
- package/dist/esm/lib/services/services.export.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +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/usrAlertsService.d.ts +7 -7
- package/dist/esm/lib/services/usrDevicesService.d.ts +7 -7
- package/dist/esm/lib/services/usrEventsService.d.ts +8 -8
- package/dist/esm/lib/services/usrMembersService.d.ts +1 -1
- package/dist/esm/lib/services/usrReportsService.d.ts +1 -1
- package/dist/esm/lib/services/usrRulesService.d.ts +3 -3
- package/dist/esm/lib/services/usrUserService.d.ts +1 -1
- package/dist/types/lib/common/GeoData.d.ts +4 -1
- package/dist/types/lib/common/RuleBasedSeverityConditionConfig.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/Action.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/ConfigParams.d.ts +1 -1
- package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/types/lib/entities/Device.d.ts +3 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/types/lib/entities/Event.d.ts +7 -7
- package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
- 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/Radius.d.ts +1 -1
- package/dist/types/lib/entities/Stream.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +2 -2
- package/dist/types/lib/services/services.export.d.ts +7 -7
- package/dist/types/lib/services/sysAccountsService.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/usrAlertsService.d.ts +7 -7
- package/dist/types/lib/services/usrDevicesService.d.ts +7 -7
- package/dist/types/lib/services/usrEventsService.d.ts +8 -8
- package/dist/types/lib/services/usrMembersService.d.ts +1 -1
- package/dist/types/lib/services/usrReportsService.d.ts +1 -1
- package/dist/types/lib/services/usrRulesService.d.ts +3 -3
- package/dist/types/lib/services/usrUserService.d.ts +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +2 -2
|
@@ -6,5 +6,8 @@ export declare class GeoData {
|
|
|
6
6
|
region_name: string;
|
|
7
7
|
city_name: string;
|
|
8
8
|
location: Location;
|
|
9
|
-
|
|
9
|
+
street: string;
|
|
10
|
+
number: number;
|
|
11
|
+
postal_code: number;
|
|
12
|
+
constructor(countryIsoCode?: string, countryName?: string, regionIsoCode?: string, regionName?: string, cityName?: string, location?: Location, street?: string, number?: number, postal?: number);
|
|
10
13
|
}
|
|
@@ -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) {
|
|
7
|
+
constructor(countryIsoCode, countryName, regionIsoCode, regionName, cityName, location, street, number, postal) {
|
|
8
8
|
if (countryIsoCode !== undefined) {
|
|
9
9
|
this.country_iso_code = countryIsoCode;
|
|
10
10
|
}
|
|
@@ -23,6 +23,15 @@ class GeoData {
|
|
|
23
23
|
if (location !== undefined) {
|
|
24
24
|
this.location = location;
|
|
25
25
|
}
|
|
26
|
+
if (street !== undefined) {
|
|
27
|
+
this.street = street;
|
|
28
|
+
}
|
|
29
|
+
if (number !== undefined) {
|
|
30
|
+
this.number = number;
|
|
31
|
+
}
|
|
32
|
+
if (postal !== undefined) {
|
|
33
|
+
this.postal_code = postal;
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
}
|
|
28
37
|
exports.GeoData = GeoData;
|
|
@@ -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;IA6Bf,YAAY,cAAuB,EAAE,WAAoB,EAAE,aAAsB,EAAE,UAAmB,EAAE,QAAiB,EAAE,QAAmB,EAAE,MAAe,EAAE,MAAe,EAAE,MAAe;QAC9L,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,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;AAzCD,0BAyCC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccountTypeCode } from '../enums';
|
|
2
|
-
import { AccountStatusCode } from '../enums';
|
|
3
1
|
import { StringKeyValue } from '../common';
|
|
4
2
|
import { AccountSettings } from '../entities';
|
|
5
3
|
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":";;;AAEA,kCAAqC;AAMrC,2DAA2D;AAC3D,MAAa,OAAQ,SAAQ,iBAAU;CAiCtC;AAjCD,0BAiCC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { StringKeyValue } from '../common';
|
|
2
1
|
import { AccountSettings } from '../entities';
|
|
3
2
|
import { BaseEntity } from '../base';
|
|
4
3
|
import { AccountTypeCode } from '../enums';
|
|
5
4
|
import { AccountStatusCode } from '../enums';
|
|
6
5
|
import { FeatureCode } from '../enums';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
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":";;;AACA,kCAAqC;AAQrC,kDAAkD;AAClD,MAAa,UAAW,SAAQ,iBAAU;CAoCzC;AApCD,gCAoCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/lib/entities/Action.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/lib/entities/Action.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,+DAA+D;AAC/D,MAAa,MAAO,SAAQ,iBAAU;CAqBrC;AArBD,wBAqBC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventTypeCode } from '../enums';
|
|
2
|
-
import { RuleTypeCode } from '../enums';
|
|
3
1
|
import { TrafficDirectionCode } from '../enums';
|
|
4
|
-
import {
|
|
5
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
6
3
|
import { EventStatusCode } from '../enums';
|
|
7
4
|
import { GeoData } from '../common';
|
|
8
5
|
import { StringKeyValue } from '../common';
|
|
9
6
|
import { EventCategoryCode } from '../enums';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
8
|
+
import { SeverityTypeCode } from '../enums';
|
|
9
|
+
import { RuleTypeCode } 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":";;;AAMA,kCAAqC;AAMrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventTypeCode } from '../enums';
|
|
2
|
-
import {
|
|
2
|
+
import { EventStatusCode } from '../enums';
|
|
3
3
|
import { GeoData } from '../common';
|
|
4
|
-
import { StringKeyValue } from '../common';
|
|
5
|
-
import { EventCategoryCode } from '../enums';
|
|
6
4
|
import { TrafficDirectionCode } from '../enums';
|
|
7
5
|
import { BaseEntity } from '../base';
|
|
8
|
-
import {
|
|
6
|
+
import { SeverityTypeCode } from '../enums';
|
|
9
7
|
import { RuleTypeCode } from '../enums';
|
|
8
|
+
import { StringKeyValue } from '../common';
|
|
9
|
+
import { EventCategoryCode } from '../enums';
|
|
10
10
|
import { Device } from '../entities';
|
|
11
11
|
export declare class AlertWithDevice extends BaseEntity {
|
|
12
12
|
accountId: 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":";;;AAIA,kCAAqC;AASrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
|
|
@@ -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,9 +1,10 @@
|
|
|
1
|
+
import { SIM } from '../entities';
|
|
2
|
+
import { GeoData } from '../common';
|
|
1
3
|
import { BaseEntity } from '../base';
|
|
2
4
|
import { DeviceTypeCode } from '../enums';
|
|
3
5
|
import { DeviceStatusCode } from '../enums';
|
|
4
6
|
import { StringKeyValue } from '../common';
|
|
5
7
|
import { DeviceActionCode } from '../enums';
|
|
6
|
-
import { SIM } from '../entities';
|
|
7
8
|
export declare class Device extends BaseEntity {
|
|
8
9
|
accountId: string;
|
|
9
10
|
streamId: string;
|
|
@@ -27,4 +28,5 @@ export declare class Device extends BaseEntity {
|
|
|
27
28
|
actionAppliedBy: string;
|
|
28
29
|
actionAppliedOn: number;
|
|
29
30
|
simCards: SIM[];
|
|
31
|
+
address: GeoData;
|
|
30
32
|
}
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
+
import { DeviceTypeCode } from '../enums';
|
|
2
|
+
import { DeviceStatusCode } from '../enums';
|
|
1
3
|
import { StringKeyValue } from '../common';
|
|
2
4
|
import { DeviceActionCode } from '../enums';
|
|
3
5
|
import { SIM } from '../entities';
|
|
4
6
|
import { Event } from '../entities';
|
|
5
7
|
import { BaseEntity } from '../base';
|
|
6
|
-
import { DeviceTypeCode } from '../enums';
|
|
7
|
-
import { DeviceStatusCode } from '../enums';
|
|
8
8
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
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;AAIrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CAwE/C;AAxED,4CAwEC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GeoData } from '../common';
|
|
1
|
+
import { Indicator } from '../common';
|
|
3
2
|
import { StringKeyValue } from '../common';
|
|
4
3
|
import { EventCategoryCode } from '../enums';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
|
-
import { EventTypeCode } from '../enums';
|
|
7
|
-
import { SeverityTypeCode } from '../enums';
|
|
8
4
|
import { EventOccurrence } from '../entities';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { SeverityTypeCode } from '../enums';
|
|
6
|
+
import { EventStatusCode } from '../enums';
|
|
11
7
|
import { RuleTypeCode } from '../enums';
|
|
8
|
+
import { GeoData } from '../common';
|
|
9
|
+
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":";;;AASA,kCAAqC;AAKrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { StringKeyValue } from '../common';
|
|
1
2
|
import { EventCategoryCode } from '../enums';
|
|
2
|
-
import { EventOccurrence } from '../entities';
|
|
3
3
|
import { Device } from '../entities';
|
|
4
4
|
import { BaseEntity } from '../base';
|
|
5
|
-
import {
|
|
6
|
-
import { StringKeyValue } from '../common';
|
|
7
|
-
import { EventStatusCode } from '../enums';
|
|
5
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
6
|
import { Indicator } from '../common';
|
|
7
|
+
import { RuleTypeCode } from '../enums';
|
|
9
8
|
import { GeoData } from '../common';
|
|
10
|
-
import { TrafficDirectionCode } from '../enums';
|
|
11
9
|
import { EventTypeCode } from '../enums';
|
|
12
|
-
import {
|
|
10
|
+
import { EventStatusCode } from '../enums';
|
|
11
|
+
import { EventOccurrence } from '../entities';
|
|
12
|
+
import { TrafficDirectionCode } from '../enums';
|
|
13
13
|
export declare class EventWithDevice extends BaseEntity {
|
|
14
14
|
accountId: string;
|
|
15
15
|
streamId: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { InsightTypeCode } from '../enums';
|
|
1
2
|
import { InsightStatusCode } from '../enums';
|
|
2
3
|
import { SeverityTypeCode } from '../enums';
|
|
3
4
|
import { DirectionContextCode } from '../enums';
|
|
4
5
|
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":";;;AAIA,kCAAqC;AAIrC,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;CAkB3C;AAlBD,oCAkBC"}
|
|
@@ -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":";;;AAAA,kCAAqC;AAKrC,yDAAyD;AACzD,MAAa,MAAO,SAAQ,iBAAU;CAoCrC;AApCD,wBAoCC"}
|
|
@@ -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":";;;AACA,kCAAqC;AAKrC,+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';
|
|
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,3 +1,9 @@
|
|
|
1
|
+
import { UsrAlertsService } from './usrAlertsService';
|
|
2
|
+
import { UsrDevicesService } from './usrDevicesService';
|
|
3
|
+
import { UsrEventsService } from './usrEventsService';
|
|
4
|
+
import { UsrNetworkService } from './usrNetworkService';
|
|
5
|
+
import { UsrReportsService } from './usrReportsService';
|
|
6
|
+
import { UsrRulesService } from './usrRulesService';
|
|
1
7
|
import { SupportStreamAnalyticsConfig } from './supportStreamAnalyticsConfig';
|
|
2
8
|
import { SysAccountsService } from './sysAccountsService';
|
|
3
9
|
import { SysAuditLogService } from './sysAuditLogService';
|
|
@@ -17,10 +23,4 @@ import { UsrInsightsService } from './usrInsightsService';
|
|
|
17
23
|
import { UsrIntegrationsService } from './usrIntegrationsService';
|
|
18
24
|
import { UsrMembersService } from './usrMembersService';
|
|
19
25
|
import { UsrUserService } from './usrUserService';
|
|
20
|
-
|
|
21
|
-
import { UsrDevicesService } from './usrDevicesService';
|
|
22
|
-
import { UsrEventsService } from './usrEventsService';
|
|
23
|
-
import { UsrNetworkService } from './usrNetworkService';
|
|
24
|
-
import { UsrReportsService } from './usrReportsService';
|
|
25
|
-
import { UsrRulesService } from './usrRulesService';
|
|
26
|
-
export declare const Services: (typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysInsightsService | typeof SysKeysService | typeof SysMembersService | typeof SysRuleTemplatesService | typeof SysRulesService | typeof SysStatisticsService | typeof SysStreamsService | typeof SysUsersService | typeof UsrInsightsService | typeof UsrIntegrationsService | typeof UsrMembersService | typeof UsrUserService | typeof UsrAlertsService | typeof UsrDevicesService | typeof UsrEventsService | typeof UsrNetworkService | typeof UsrReportsService | typeof UsrRulesService)[];
|
|
26
|
+
export declare const Services: (typeof UsrAlertsService | typeof UsrDevicesService | typeof UsrEventsService | typeof UsrNetworkService | typeof UsrReportsService | typeof UsrRulesService | typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysInsightsService | typeof SysKeysService | typeof SysMembersService | typeof SysRuleTemplatesService | typeof SysRulesService | typeof SysStatisticsService | typeof SysStreamsService | typeof SysUsersService | typeof UsrInsightsService | typeof UsrIntegrationsService | typeof UsrMembersService | typeof UsrUserService)[];
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Services = void 0;
|
|
4
|
+
const usrAlertsService_1 = require("./usrAlertsService");
|
|
5
|
+
const usrDevicesService_1 = require("./usrDevicesService");
|
|
6
|
+
const usrEventsService_1 = require("./usrEventsService");
|
|
7
|
+
const usrNetworkService_1 = require("./usrNetworkService");
|
|
8
|
+
const usrReportsService_1 = require("./usrReportsService");
|
|
9
|
+
const usrRulesService_1 = require("./usrRulesService");
|
|
4
10
|
const supportStreamAnalyticsConfig_1 = require("./supportStreamAnalyticsConfig");
|
|
5
11
|
const sysAccountsService_1 = require("./sysAccountsService");
|
|
6
12
|
const sysAuditLogService_1 = require("./sysAuditLogService");
|
|
@@ -20,13 +26,13 @@ const usrInsightsService_1 = require("./usrInsightsService");
|
|
|
20
26
|
const usrIntegrationsService_1 = require("./usrIntegrationsService");
|
|
21
27
|
const usrMembersService_1 = require("./usrMembersService");
|
|
22
28
|
const usrUserService_1 = require("./usrUserService");
|
|
23
|
-
const usrAlertsService_1 = require("./usrAlertsService");
|
|
24
|
-
const usrDevicesService_1 = require("./usrDevicesService");
|
|
25
|
-
const usrEventsService_1 = require("./usrEventsService");
|
|
26
|
-
const usrNetworkService_1 = require("./usrNetworkService");
|
|
27
|
-
const usrReportsService_1 = require("./usrReportsService");
|
|
28
|
-
const usrRulesService_1 = require("./usrRulesService");
|
|
29
29
|
exports.Services = [
|
|
30
|
+
usrAlertsService_1.UsrAlertsService,
|
|
31
|
+
usrDevicesService_1.UsrDevicesService,
|
|
32
|
+
usrEventsService_1.UsrEventsService,
|
|
33
|
+
usrNetworkService_1.UsrNetworkService,
|
|
34
|
+
usrReportsService_1.UsrReportsService,
|
|
35
|
+
usrRulesService_1.UsrRulesService,
|
|
30
36
|
supportStreamAnalyticsConfig_1.SupportStreamAnalyticsConfig,
|
|
31
37
|
sysAccountsService_1.SysAccountsService,
|
|
32
38
|
sysAuditLogService_1.SysAuditLogService,
|
|
@@ -46,11 +52,5 @@ exports.Services = [
|
|
|
46
52
|
usrIntegrationsService_1.UsrIntegrationsService,
|
|
47
53
|
usrMembersService_1.UsrMembersService,
|
|
48
54
|
usrUserService_1.UsrUserService,
|
|
49
|
-
usrAlertsService_1.UsrAlertsService,
|
|
50
|
-
usrDevicesService_1.UsrDevicesService,
|
|
51
|
-
usrEventsService_1.UsrEventsService,
|
|
52
|
-
usrNetworkService_1.UsrNetworkService,
|
|
53
|
-
usrReportsService_1.UsrReportsService,
|
|
54
|
-
usrRulesService_1.UsrRulesService,
|
|
55
55
|
];
|
|
56
56
|
//# sourceMappingURL=services.export.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.export.js","sourceRoot":"","sources":["../../../../src/lib/services/services.export.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAC9E,6DAA0D;AAC1D,6DAA0D;AAC1D,mEAAgE;AAChE,yDAAsD;AACtD,6DAA0D;AAC1D,yDAAsD;AACtD,6DAA0D;AAC1D,qDAAkD;AAClD,2DAAwD;AACxD,uEAAoE;AACpE,uDAAoD;AACpD,iEAA8D;AAC9D,2DAAwD;AACxD,uDAAoD;AACpD,6DAA0D;AAC1D,qEAAkE;AAClE,2DAAwD;AACxD,qDAAkD;
|
|
1
|
+
{"version":3,"file":"services.export.js","sourceRoot":"","sources":["../../../../src/lib/services/services.export.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AACtD,2DAAwD;AACxD,yDAAsD;AACtD,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,iFAA8E;AAC9E,6DAA0D;AAC1D,6DAA0D;AAC1D,mEAAgE;AAChE,yDAAsD;AACtD,6DAA0D;AAC1D,yDAAsD;AACtD,6DAA0D;AAC1D,qDAAkD;AAClD,2DAAwD;AACxD,uEAAoE;AACpE,uDAAoD;AACpD,iEAA8D;AAC9D,2DAAwD;AACxD,uDAAoD;AACpD,6DAA0D;AAC1D,qEAAkE;AAClE,2DAAwD;AACxD,qDAAkD;AAErC,QAAA,QAAQ,GAAG;IACpB,mCAAgB;IAChB,qCAAiB;IACjB,mCAAgB;IAChB,qCAAiB;IACjB,qCAAiB;IACjB,iCAAe;IACf,2DAA4B;IAC5B,uCAAkB;IAClB,uCAAkB;IAClB,6CAAqB;IACrB,mCAAgB;IAChB,uCAAkB;IAClB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,qCAAiB;IACjB,iDAAuB;IACvB,iCAAe;IACf,2CAAoB;IACpB,qCAAiB;IACjB,iCAAe;IACf,uCAAkB;IAClB,+CAAsB;IACtB,qCAAiB;IACjB,+BAAc;CAEjB,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { Account } from '../entities';
|
|
2
3
|
import { AccountSettings } from '../entities';
|
|
3
4
|
import { AccountTypeCode } from '../enums';
|
|
4
5
|
import { AccountStatusCode } from '../enums';
|
|
5
6
|
import { Image } from '../entities';
|
|
6
|
-
import { Account } from '../entities';
|
|
7
7
|
export declare class SysAccountsService {
|
|
8
8
|
private apiUrl;
|
|
9
9
|
private rest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { Feature } from '../entities';
|
|
3
2
|
import { FeaturesGroup } from '../entities';
|
|
3
|
+
import { Feature } 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 { ApiKey } from '../entities';
|
|
3
2
|
import { StringIntValue } from '../common';
|
|
3
|
+
import { ApiKey } from '../entities';
|
|
4
4
|
export declare class SysKeysService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
3
3
|
import { SeverityTypeCode } from '../enums';
|
|
4
|
-
import {
|
|
4
|
+
import { EventCategoryCode } from '../enums';
|
|
5
5
|
import { TimeSeriesOf2D } from '../common';
|
|
6
|
-
import {
|
|
6
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
7
7
|
import { Alert } from '../entities';
|
|
8
8
|
import { EventStatusCode } from '../enums';
|
|
9
9
|
import { RuleTypeCode } from '../enums';
|
|
10
|
-
import {
|
|
10
|
+
import { IntDistribution } from '../entities';
|
|
11
11
|
import { DeviceActionCode } from '../enums';
|
|
12
|
-
import {
|
|
13
|
-
import { EventCategoryCode } from '../enums';
|
|
12
|
+
import { AlertWithDevice } from '../entities';
|
|
14
13
|
import { MaliciousIPData } from '../common';
|
|
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,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { NetworkMap } from '../common';
|
|
3
|
+
import { Device } from '../entities';
|
|
4
|
+
import { DeviceTypeCode } from '../enums';
|
|
5
|
+
import { DeviceStatusCode } from '../enums';
|
|
2
6
|
import { DeviceWithEvents } from '../entities';
|
|
3
|
-
import {
|
|
7
|
+
import { IntDistribution } from '../entities';
|
|
4
8
|
import { DeviceReport } from '../entities';
|
|
9
|
+
import { TimeSeriesOfDataConsumption } from '../common';
|
|
5
10
|
import { BulkDevices } from '../entities';
|
|
6
|
-
import { DeviceTypeCode } from '../enums';
|
|
7
|
-
import { DeviceStatusCode } from '../enums';
|
|
8
11
|
import { SeverityTypeCode } from '../enums';
|
|
9
|
-
import { NetworkMap } from '../common';
|
|
10
|
-
import { TimeSeriesOfDataConsumption } from '../common';
|
|
11
|
-
import { Device } from '../entities';
|
|
12
|
-
import { IntDistribution } from '../entities';
|
|
13
12
|
import { DeviceActionCode } from '../enums';
|
|
14
13
|
import { NetworkMapTypeCode } from '../enums';
|
|
14
|
+
import { TimeSeriesOfDeviceReport } 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
|
+
import { EventTypeCode } from '../enums';
|
|
8
|
+
import { EventCategoryCode } from '../enums';
|
|
2
9
|
import { EventStatusCode } from '../enums';
|
|
3
10
|
import { EventWithDevice } from '../entities';
|
|
4
11
|
import { IntDistribution } from '../entities';
|
|
5
12
|
import { TimeSeriesOfFloat } from '../common';
|
|
6
|
-
import { MaliciousIPCard } from '../common';
|
|
7
|
-
import { Event } from '../entities';
|
|
8
|
-
import { EventTypeCode } from '../enums';
|
|
9
|
-
import { SeverityTypeCode } from '../enums';
|
|
10
13
|
import { StringKeyValue } from '../common';
|
|
11
|
-
import {
|
|
12
|
-
import { EventCategoryCode } from '../enums';
|
|
13
|
-
import { RuleTypeCode } from '../enums';
|
|
14
|
-
import { MaliciousIPData } from '../common';
|
|
14
|
+
import { Event } from '../entities';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { MemberRoleCode } from '../enums';
|
|
3
2
|
import { Member } from '../entities';
|
|
3
|
+
import { MemberRoleCode } from '../enums';
|
|
4
4
|
export declare class UsrMembersService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { Report } from '../entities';
|
|
3
2
|
import { TimeSeries } from '../common';
|
|
4
3
|
import { GraphSeries } from '../common';
|
|
4
|
+
import { Report } from '../entities';
|
|
5
5
|
export declare class UsrReportsService {
|
|
6
6
|
private apiUrl;
|
|
7
7
|
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';
|
|
2
5
|
import { Rule } from '../entities';
|
|
3
6
|
import { SeverityTypeCode } from '../enums';
|
|
4
7
|
import { RuleActivityStatusCode } from '../enums';
|
|
5
8
|
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 { User } from '../entities';
|
|
3
2
|
import { AccountDTO } from '../entities';
|
|
4
3
|
import { Image } from '../entities';
|
|
5
4
|
import { Feature } from '../entities';
|
|
6
5
|
import { Stream } from '../entities';
|
|
7
6
|
import { UserMemberships } from '../entities';
|
|
8
7
|
import { LoginParams } from '../common';
|
|
8
|
+
import { User } from '../entities';
|
|
9
9
|
export declare class UsrUserService {
|
|
10
10
|
private apiUrl;
|
|
11
11
|
private rest;
|
|
@@ -6,5 +6,8 @@ export declare class GeoData {
|
|
|
6
6
|
region_name: string;
|
|
7
7
|
city_name: string;
|
|
8
8
|
location: Location;
|
|
9
|
-
|
|
9
|
+
street: string;
|
|
10
|
+
number: number;
|
|
11
|
+
postal_code: number;
|
|
12
|
+
constructor(countryIsoCode?: string, countryName?: string, regionIsoCode?: string, regionName?: string, cityName?: string, location?: Location, street?: string, number?: number, postal?: number);
|
|
10
13
|
}
|
|
@@ -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) {
|
|
4
|
+
constructor(countryIsoCode, countryName, regionIsoCode, regionName, cityName, location, street, number, postal) {
|
|
5
5
|
if (countryIsoCode !== undefined) {
|
|
6
6
|
this.country_iso_code = countryIsoCode;
|
|
7
7
|
}
|
|
@@ -20,6 +20,15 @@ export class GeoData {
|
|
|
20
20
|
if (location !== undefined) {
|
|
21
21
|
this.location = location;
|
|
22
22
|
}
|
|
23
|
+
if (street !== undefined) {
|
|
24
|
+
this.street = street;
|
|
25
|
+
}
|
|
26
|
+
if (number !== undefined) {
|
|
27
|
+
this.number = number;
|
|
28
|
+
}
|
|
29
|
+
if (postal !== undefined) {
|
|
30
|
+
this.postal_code = postal;
|
|
31
|
+
}
|
|
23
32
|
}
|
|
24
33
|
}
|
|
25
34
|
//# sourceMappingURL=GeoData.js.map
|