@shieldiot/pulse-lib 1.0.352 → 1.0.354
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/Node.d.ts +1 -1
- package/dist/cjs/lib/common/TokenData.d.ts +1 -1
- package/dist/cjs/lib/entities/Account.d.ts +1 -1
- package/dist/cjs/lib/entities/Account.js.map +1 -1
- package/dist/cjs/lib/entities/AccountDTO.d.ts +3 -3
- package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +3 -3
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +5 -5
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/AuditLog.d.ts +1 -1
- package/dist/cjs/lib/entities/AuditLog.js.map +1 -1
- package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +5 -5
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/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 +1 -1
- package/dist/cjs/lib/entities/Integration.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/ReportInstance.d.ts +2 -2
- package/dist/cjs/lib/entities/ReportInstance.js.map +1 -1
- package/dist/cjs/lib/entities/Rule.d.ts +3 -3
- package/dist/cjs/lib/entities/Rule.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 +3 -3
- package/dist/cjs/lib/entities/UserMembership.d.ts +2 -2
- package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
- package/dist/cjs/lib/enums/OperatorCode.d.ts +2 -1
- package/dist/cjs/lib/enums/OperatorCode.js +3 -0
- package/dist/cjs/lib/enums/OperatorCode.js.map +1 -1
- package/dist/cjs/lib/pulse-client.d.ts +14 -14
- package/dist/cjs/lib/pulse-client.js +26 -26
- package/dist/cjs/lib/pulse-client.js.map +1 -1
- package/dist/cjs/lib/services/sysKeysService.d.ts +1 -1
- package/dist/cjs/lib/services/sysMembersService.d.ts +1 -1
- package/dist/cjs/lib/services/sysUsersService.d.ts +2 -2
- 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 +6 -6
- package/dist/cjs/lib/services/usrNetworkService.d.ts +5 -0
- package/dist/cjs/lib/services/usrNetworkService.js +34 -0
- package/dist/cjs/lib/services/usrNetworkService.js.map +1 -1
- 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 +4 -4
- package/dist/esm/lib/common/Node.d.ts +1 -1
- package/dist/esm/lib/common/TokenData.d.ts +1 -1
- package/dist/esm/lib/entities/Account.d.ts +1 -1
- package/dist/esm/lib/entities/Account.js.map +1 -1
- package/dist/esm/lib/entities/AccountDTO.d.ts +3 -3
- package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +3 -3
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +5 -5
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/AuditLog.d.ts +1 -1
- package/dist/esm/lib/entities/AuditLog.js.map +1 -1
- package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/esm/lib/entities/Device.d.ts +1 -1
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +5 -5
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/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 +1 -1
- package/dist/esm/lib/entities/Integration.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/ReportInstance.d.ts +2 -2
- package/dist/esm/lib/entities/ReportInstance.js.map +1 -1
- package/dist/esm/lib/entities/Rule.d.ts +3 -3
- package/dist/esm/lib/entities/Rule.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 +3 -3
- package/dist/esm/lib/entities/UserMembership.d.ts +2 -2
- package/dist/esm/lib/entities/UserMembership.js.map +1 -1
- package/dist/esm/lib/enums/OperatorCode.d.ts +2 -1
- package/dist/esm/lib/enums/OperatorCode.js +3 -0
- package/dist/esm/lib/enums/OperatorCode.js.map +1 -1
- package/dist/esm/lib/pulse-client.d.ts +14 -14
- package/dist/esm/lib/pulse-client.js +14 -14
- package/dist/esm/lib/pulse-client.js.map +1 -1
- package/dist/esm/lib/services/sysKeysService.d.ts +1 -1
- package/dist/esm/lib/services/sysMembersService.d.ts +1 -1
- package/dist/esm/lib/services/sysUsersService.d.ts +2 -2
- 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 +6 -6
- package/dist/esm/lib/services/usrNetworkService.d.ts +5 -0
- package/dist/esm/lib/services/usrNetworkService.js +34 -0
- package/dist/esm/lib/services/usrNetworkService.js.map +1 -1
- 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 +4 -4
- package/dist/types/lib/common/Node.d.ts +1 -1
- package/dist/types/lib/common/TokenData.d.ts +1 -1
- package/dist/types/lib/entities/Account.d.ts +1 -1
- package/dist/types/lib/entities/AccountDTO.d.ts +3 -3
- package/dist/types/lib/entities/AccountReportDTO.d.ts +3 -3
- package/dist/types/lib/entities/Alert.d.ts +5 -5
- package/dist/types/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/types/lib/entities/AuditLog.d.ts +1 -1
- package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/types/lib/entities/Device.d.ts +1 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +1 -1
- package/dist/types/lib/entities/Event.d.ts +5 -5
- package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/types/lib/entities/Insight.d.ts +1 -1
- package/dist/types/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/types/lib/entities/Integration.d.ts +1 -1
- package/dist/types/lib/entities/Report.d.ts +1 -1
- package/dist/types/lib/entities/ReportInstance.d.ts +2 -2
- package/dist/types/lib/entities/Rule.d.ts +3 -3
- 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 +3 -3
- package/dist/types/lib/entities/UserMembership.d.ts +2 -2
- package/dist/types/lib/enums/OperatorCode.d.ts +2 -1
- package/dist/types/lib/pulse-client.d.ts +14 -14
- package/dist/types/lib/services/sysKeysService.d.ts +1 -1
- package/dist/types/lib/services/sysMembersService.d.ts +1 -1
- package/dist/types/lib/services/sysUsersService.d.ts +2 -2
- 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 +6 -6
- package/dist/types/lib/services/usrNetworkService.d.ts +5 -0
- 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 +4 -4
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AccountRole } from '../common';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { UserTypeCode } from '../enums';
|
|
4
2
|
import { UserStatusCode } from '../enums';
|
|
3
|
+
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":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,4EAA4E;AAC5E,MAAM,OAAO,cAAe,SAAQ,UAAU;CA2B7C"}
|
|
@@ -25,6 +25,8 @@ export var OperatorCode;
|
|
|
25
25
|
OperatorCode[OperatorCode["LIKE"] = 10] = "LIKE";
|
|
26
26
|
// Array field contains one of the values (@) [11]
|
|
27
27
|
OperatorCode[OperatorCode["CONTAINS"] = 11] = "CONTAINS";
|
|
28
|
+
// Array field not contains in the values (!@) [12]
|
|
29
|
+
OperatorCode[OperatorCode["NOTCONTAINS"] = 12] = "NOTCONTAINS";
|
|
28
30
|
})(OperatorCode || (OperatorCode = {}));
|
|
29
31
|
// Return list of OperatorCode values and their display names
|
|
30
32
|
export function GetOperatorCodes() {
|
|
@@ -41,6 +43,7 @@ export function GetOperatorCodes() {
|
|
|
41
43
|
result.set(OperatorCode.RANGE, 'Range');
|
|
42
44
|
result.set(OperatorCode.LIKE, 'Like');
|
|
43
45
|
result.set(OperatorCode.CONTAINS, 'Contains');
|
|
46
|
+
result.set(OperatorCode.NOTCONTAINS, 'Notcontains');
|
|
44
47
|
return result;
|
|
45
48
|
}
|
|
46
49
|
//# sourceMappingURL=OperatorCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperatorCode.js","sourceRoot":"","sources":["../../../../src/lib/enums/OperatorCode.ts"],"names":[],"mappings":"AACA,8FAA8F;AAC9F,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"OperatorCode.js","sourceRoot":"","sources":["../../../../src/lib/enums/OperatorCode.ts"],"names":[],"mappings":"AACA,8FAA8F;AAC9F,MAAM,CAAN,IAAY,YAyCX;AAzCD,WAAY,YAAY;IAEpB,iBAAiB;IACjB,yDAAa,CAAA;IAEb,iBAAiB;IACjB,2CAAM,CAAA;IAEN,sBAAsB;IACtB,6CAAO,CAAA;IAEP,wBAAwB;IACxB,2CAAM,CAAA;IAEN,kCAAkC;IAClC,6CAAO,CAAA;IAEP,qBAAqB;IACrB,2CAAM,CAAA;IAEN,2BAA2B;IAC3B,6CAAO,CAAA;IAEP,sCAAsC;IACtC,2CAAM,CAAA;IAEN,0CAA0C;IAC1C,iDAAS,CAAA;IAET,2CAA2C;IAC3C,iDAAS,CAAA;IAET,8CAA8C;IAC9C,gDAAS,CAAA;IAET,mDAAmD;IACnD,wDAAa,CAAA;IAEb,oDAAoD;IACpD,8DAAgB,CAAA;AAEpB,CAAC,EAzCW,YAAY,KAAZ,YAAY,QAyCvB;AAED,6DAA6D;AAC7D,MAAM,UAAU,gBAAgB;IAE5B,IAAI,MAAM,GAAG,IAAI,GAAG,EAAwB,CAAC;IAG7C,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAEhD,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAElC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAEpC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAElC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAEpC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAElC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAEpC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAElC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAExC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAExC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAEtC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAE9C,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;IAGpD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import { UsrAlertsService } from "./services";
|
|
2
|
+
import { UsrDevicesService } from "./services";
|
|
3
|
+
import { UsrEventsService } from "./services";
|
|
4
|
+
import { UsrNetworkService } from "./services";
|
|
5
|
+
import { UsrReportsInstanceService } from "./services";
|
|
6
|
+
import { UsrReportsService } from "./services";
|
|
7
|
+
import { UsrRulesService } from "./services";
|
|
1
8
|
import { SupportStreamAnalyticsConfig } from "./services";
|
|
2
9
|
import { SysAccountsService } from "./services";
|
|
3
10
|
import { SysAuditLogService } from "./services";
|
|
@@ -17,17 +24,17 @@ import { UsrInsightsService } from "./services";
|
|
|
17
24
|
import { UsrIntegrationsService } from "./services";
|
|
18
25
|
import { UsrMembersService } from "./services";
|
|
19
26
|
import { UsrUserService } from "./services";
|
|
20
|
-
import { UsrAlertsService } from "./services";
|
|
21
|
-
import { UsrDevicesService } from "./services";
|
|
22
|
-
import { UsrEventsService } from "./services";
|
|
23
|
-
import { UsrNetworkService } from "./services";
|
|
24
|
-
import { UsrReportsInstanceService } from "./services";
|
|
25
|
-
import { UsrReportsService } from "./services";
|
|
26
|
-
import { UsrRulesService } from "./services";
|
|
27
27
|
export declare class PulseClient {
|
|
28
28
|
private restSvc;
|
|
29
29
|
private axiosInst;
|
|
30
30
|
constructor(apiUrl: string, apiKey?: string, accessToken?: string);
|
|
31
|
+
readonly UsrAlertsService: UsrAlertsService;
|
|
32
|
+
readonly UsrDevicesService: UsrDevicesService;
|
|
33
|
+
readonly UsrEventsService: UsrEventsService;
|
|
34
|
+
readonly UsrNetworkService: UsrNetworkService;
|
|
35
|
+
readonly UsrReportsInstanceService: UsrReportsInstanceService;
|
|
36
|
+
readonly UsrReportsService: UsrReportsService;
|
|
37
|
+
readonly UsrRulesService: UsrRulesService;
|
|
31
38
|
readonly SupportStreamAnalyticsConfig: SupportStreamAnalyticsConfig;
|
|
32
39
|
readonly SysAccountsService: SysAccountsService;
|
|
33
40
|
readonly SysAuditLogService: SysAuditLogService;
|
|
@@ -47,11 +54,4 @@ export declare class PulseClient {
|
|
|
47
54
|
readonly UsrIntegrationsService: UsrIntegrationsService;
|
|
48
55
|
readonly UsrMembersService: UsrMembersService;
|
|
49
56
|
readonly UsrUserService: UsrUserService;
|
|
50
|
-
readonly UsrAlertsService: UsrAlertsService;
|
|
51
|
-
readonly UsrDevicesService: UsrDevicesService;
|
|
52
|
-
readonly UsrEventsService: UsrEventsService;
|
|
53
|
-
readonly UsrNetworkService: UsrNetworkService;
|
|
54
|
-
readonly UsrReportsInstanceService: UsrReportsInstanceService;
|
|
55
|
-
readonly UsrReportsService: UsrReportsService;
|
|
56
|
-
readonly UsrRulesService: UsrRulesService;
|
|
57
57
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { RestUtil } from "../utils";
|
|
3
|
+
import { UsrAlertsService } from "./services";
|
|
4
|
+
import { UsrDevicesService } from "./services";
|
|
5
|
+
import { UsrEventsService } from "./services";
|
|
6
|
+
import { UsrNetworkService } from "./services";
|
|
7
|
+
import { UsrReportsInstanceService } from "./services";
|
|
8
|
+
import { UsrReportsService } from "./services";
|
|
9
|
+
import { UsrRulesService } from "./services";
|
|
3
10
|
import { SupportStreamAnalyticsConfig } from "./services";
|
|
4
11
|
import { SysAccountsService } from "./services";
|
|
5
12
|
import { SysAuditLogService } from "./services";
|
|
@@ -19,13 +26,6 @@ import { UsrInsightsService } from "./services";
|
|
|
19
26
|
import { UsrIntegrationsService } from "./services";
|
|
20
27
|
import { UsrMembersService } from "./services";
|
|
21
28
|
import { UsrUserService } from "./services";
|
|
22
|
-
import { UsrAlertsService } from "./services";
|
|
23
|
-
import { UsrDevicesService } from "./services";
|
|
24
|
-
import { UsrEventsService } from "./services";
|
|
25
|
-
import { UsrNetworkService } from "./services";
|
|
26
|
-
import { UsrReportsInstanceService } from "./services";
|
|
27
|
-
import { UsrReportsService } from "./services";
|
|
28
|
-
import { UsrRulesService } from "./services";
|
|
29
29
|
// PulseClient is the main entry point of the client library.
|
|
30
30
|
// Create a single global instance of PulseClient in your application and use
|
|
31
31
|
// Factory methods to get service endpoints
|
|
@@ -46,6 +46,13 @@ export class PulseClient {
|
|
|
46
46
|
this.axiosInst = axios.create(axiosRequestConfiguration);
|
|
47
47
|
this.restSvc = new RestUtil(this.axiosInst);
|
|
48
48
|
// initialize services
|
|
49
|
+
this.UsrAlertsService = new UsrAlertsService(apiUrl, this.restSvc);
|
|
50
|
+
this.UsrDevicesService = new UsrDevicesService(apiUrl, this.restSvc);
|
|
51
|
+
this.UsrEventsService = new UsrEventsService(apiUrl, this.restSvc);
|
|
52
|
+
this.UsrNetworkService = new UsrNetworkService(apiUrl, this.restSvc);
|
|
53
|
+
this.UsrReportsInstanceService = new UsrReportsInstanceService(apiUrl, this.restSvc);
|
|
54
|
+
this.UsrReportsService = new UsrReportsService(apiUrl, this.restSvc);
|
|
55
|
+
this.UsrRulesService = new UsrRulesService(apiUrl, this.restSvc);
|
|
49
56
|
this.SupportStreamAnalyticsConfig = new SupportStreamAnalyticsConfig(apiUrl, this.restSvc);
|
|
50
57
|
this.SysAccountsService = new SysAccountsService(apiUrl, this.restSvc);
|
|
51
58
|
this.SysAuditLogService = new SysAuditLogService(apiUrl, this.restSvc);
|
|
@@ -65,13 +72,6 @@ export class PulseClient {
|
|
|
65
72
|
this.UsrIntegrationsService = new UsrIntegrationsService(apiUrl, this.restSvc);
|
|
66
73
|
this.UsrMembersService = new UsrMembersService(apiUrl, this.restSvc);
|
|
67
74
|
this.UsrUserService = new UsrUserService(apiUrl, this.restSvc);
|
|
68
|
-
this.UsrAlertsService = new UsrAlertsService(apiUrl, this.restSvc);
|
|
69
|
-
this.UsrDevicesService = new UsrDevicesService(apiUrl, this.restSvc);
|
|
70
|
-
this.UsrEventsService = new UsrEventsService(apiUrl, this.restSvc);
|
|
71
|
-
this.UsrNetworkService = new UsrNetworkService(apiUrl, this.restSvc);
|
|
72
|
-
this.UsrReportsInstanceService = new UsrReportsInstanceService(apiUrl, this.restSvc);
|
|
73
|
-
this.UsrReportsService = new UsrReportsService(apiUrl, this.restSvc);
|
|
74
|
-
this.UsrRulesService = new UsrRulesService(apiUrl, this.restSvc);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
//# sourceMappingURL=pulse-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pulse-client.js","sourceRoot":"","sources":["../../../src/lib/pulse-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"pulse-client.js","sourceRoot":"","sources":["../../../src/lib/pulse-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,iBAAiB,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CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACjE,IAAI,CAAC,kBAAkB,GAAG,IAAI,kBAAkB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/E,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAEnE,CAAC;CA8BJ"}
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { Member } from '../entities';
|
|
3
2
|
import { MemberRoleCode } from '../enums';
|
|
3
|
+
import { Member } from '../entities';
|
|
4
4
|
export declare class SysMembersService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { UserStatusCode } from '../enums';
|
|
3
|
-
import { UserMemberships } from '../entities';
|
|
4
2
|
import { User } from '../entities';
|
|
5
3
|
import { UserTypeCode } from '../enums';
|
|
4
|
+
import { UserStatusCode } from '../enums';
|
|
5
|
+
import { UserMemberships } 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
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AlertWithDevice } from '../entities';
|
|
3
|
+
import { DeviceActionCode } from '../enums';
|
|
4
4
|
import { MaliciousIPData } from '../common';
|
|
5
|
-
import {
|
|
6
|
-
import { StringKeyValue } from '../common';
|
|
5
|
+
import { IntDistribution } from '../entities';
|
|
7
6
|
import { TimeSeriesOf2D } from '../common';
|
|
7
|
+
import { Alert } from '../entities';
|
|
8
8
|
import { EventTypeCode } from '../enums';
|
|
9
|
+
import { EventStatusCode } from '../enums';
|
|
10
|
+
import { StringKeyValue } from '../common';
|
|
9
11
|
import { SeverityTypeCode } from '../enums';
|
|
10
|
-
import {
|
|
12
|
+
import { EventCategoryCode } from '../enums';
|
|
13
|
+
import { RuleTypeCode } from '../enums';
|
|
11
14
|
import { TimeSeriesOfFloat } from '../common';
|
|
12
15
|
import { MaliciousIPCard } from '../common';
|
|
13
|
-
import { RuleTypeCode } from '../enums';
|
|
14
|
-
import { AlertWithDevice } from '../entities';
|
|
15
|
-
import { DeviceActionCode } from '../enums';
|
|
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 { BulkDevices } from '../entities';
|
|
3
2
|
import { IntDistribution } from '../entities';
|
|
4
|
-
import { NetworkMap } from '../common';
|
|
5
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
6
|
-
import { TimeSeriesOfDataConsumption } from '../common';
|
|
7
|
-
import { DevicesMap } from '../common';
|
|
8
|
-
import { DeviceTypeCode } from '../enums';
|
|
9
|
-
import { DeviceWithEvents } from '../entities';
|
|
10
|
-
import { DeviceReport } from '../entities';
|
|
11
3
|
import { Device } from '../entities';
|
|
12
4
|
import { DeviceStatusCode } from '../enums';
|
|
5
|
+
import { NetworkMapTypeCode } from '../enums';
|
|
6
|
+
import { BulkDevices } from '../entities';
|
|
13
7
|
import { SeverityTypeCode } from '../enums';
|
|
14
8
|
import { DeviceActionCode } from '../enums';
|
|
15
|
-
import {
|
|
9
|
+
import { NetworkMap } from '../common';
|
|
10
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
16
11
|
import { MapBounds } from '../common';
|
|
12
|
+
import { DeviceTypeCode } from '../enums';
|
|
13
|
+
import { DeviceWithEvents } from '../entities';
|
|
14
|
+
import { DeviceReport } from '../entities';
|
|
15
|
+
import { TimeSeriesOfDataConsumption } from '../common';
|
|
16
|
+
import { DevicesMap } from '../common';
|
|
17
17
|
export declare class UsrDevicesService {
|
|
18
18
|
private apiUrl;
|
|
19
19
|
private rest;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
2
|
+
import { Event } from '../entities';
|
|
4
3
|
import { EventWithDevice } from '../entities';
|
|
5
4
|
import { MaliciousIPData } from '../common';
|
|
6
5
|
import { TimeSeriesOfFloat } from '../common';
|
|
7
|
-
import { MaliciousIPCard } from '../common';
|
|
8
6
|
import { StringKeyValue } from '../common';
|
|
9
|
-
import { Event } from '../entities';
|
|
10
|
-
import { EventStatusCode } from '../enums';
|
|
11
|
-
import { RuleTypeCode } from '../enums';
|
|
12
7
|
import { IntDistribution } from '../entities';
|
|
13
8
|
import { TimeSeriesOf2D } from '../common';
|
|
9
|
+
import { MaliciousIPCard } from '../common';
|
|
14
10
|
import { EventTypeCode } from '../enums';
|
|
11
|
+
import { SeverityTypeCode } from '../enums';
|
|
12
|
+
import { EventCategoryCode } from '../enums';
|
|
13
|
+
import { EventStatusCode } from '../enums';
|
|
14
|
+
import { RuleTypeCode } from '../enums';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntitiesResponse } from '../../utils';
|
|
2
2
|
import { UsageRecord } from '../entities';
|
|
3
3
|
import { SessionRecord } from '../entities';
|
|
4
|
+
import { IntDistribution } from '../entities';
|
|
4
5
|
export declare class UsrNetworkService {
|
|
5
6
|
private apiUrl;
|
|
6
7
|
private rest;
|
|
@@ -14,4 +15,8 @@ export declare class UsrNetworkService {
|
|
|
14
15
|
* Find list of session records by query
|
|
15
16
|
*/
|
|
16
17
|
findSession(streamId?: string, deviceId?: string, simId?: string, from?: number, to?: number, include?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<SessionRecord>>;
|
|
18
|
+
/**
|
|
19
|
+
* Find most common ports by query
|
|
20
|
+
*/
|
|
21
|
+
mostCommonPorts(streamId?: string, deviceId?: string, simId?: string, from?: number, to?: number, include?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntDistribution>>;
|
|
17
22
|
}
|
|
@@ -78,5 +78,39 @@ export class UsrNetworkService {
|
|
|
78
78
|
}
|
|
79
79
|
return this.rest.get(`${this.baseUrl}/session`, ...params);
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Find most common ports by query
|
|
83
|
+
*/
|
|
84
|
+
mostCommonPorts(streamId, deviceId, simId, from, to, include, sort, page, size) {
|
|
85
|
+
const params = [];
|
|
86
|
+
if (streamId != null) {
|
|
87
|
+
params.push(`streamId=${streamId}`);
|
|
88
|
+
}
|
|
89
|
+
if (deviceId != null) {
|
|
90
|
+
params.push(`deviceId=${deviceId}`);
|
|
91
|
+
}
|
|
92
|
+
if (simId != null) {
|
|
93
|
+
params.push(`simId=${simId}`);
|
|
94
|
+
}
|
|
95
|
+
if (from != null) {
|
|
96
|
+
params.push(`from=${from}`);
|
|
97
|
+
}
|
|
98
|
+
if (to != null) {
|
|
99
|
+
params.push(`to=${to}`);
|
|
100
|
+
}
|
|
101
|
+
if (include != null) {
|
|
102
|
+
params.push(`include=${include}`);
|
|
103
|
+
}
|
|
104
|
+
if (sort != null) {
|
|
105
|
+
params.push(`sort=${sort}`);
|
|
106
|
+
}
|
|
107
|
+
if (page != null) {
|
|
108
|
+
params.push(`page=${page}`);
|
|
109
|
+
}
|
|
110
|
+
if (size != null) {
|
|
111
|
+
params.push(`size=${size}`);
|
|
112
|
+
}
|
|
113
|
+
return this.rest.get(`${this.baseUrl}/most-common-ports`, ...params);
|
|
114
|
+
}
|
|
81
115
|
}
|
|
82
116
|
//# sourceMappingURL=usrNetworkService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usrNetworkService.js","sourceRoot":"","sources":["../../../../src/lib/services/usrNetworkService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usrNetworkService.js","sourceRoot":"","sources":["../../../../src/lib/services/usrNetworkService.ts"],"names":[],"mappings":"AAQA,+DAA+D;AAC/D,0EAA0E;AAC1E,0EAA0E;AAC1E,MAAM,OAAO,iBAAiB;IAK5B,oBAAoB;IACpB,YAAoB,MAAc,EAAU,IAAc;QAAtC,WAAM,GAAN,MAAM,CAAQ;QAAU,SAAI,GAAJ,IAAI,CAAU;QAJ1D,iBAAiB;QACT,YAAO,GAAG,UAAU,CAAC;QAI3B,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;IACvC,CAAC;IAGD;;OAEG;IACH,SAAS,CAAC,QAAiB,EAAE,QAAiB,EAAE,KAAc,EAAE,IAAa,EAAE,EAAW,EAAE,OAAgB,EAAE,IAAa,EAAE,IAAa,EAAE,IAAa;QACvJ,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,IAAI,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;QAAC,CAAC;QAEpD,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAoC,GAAG,IAAI,CAAC,OAAO,oBAAoB,EAAE,GAAG,MAAM,CAAC,CAAC;IACxG,CAAC;CAEF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { Report } from '../entities';
|
|
3
2
|
import { ReportSourceCode } from '../enums';
|
|
4
3
|
import { TimeSeries } from '../common';
|
|
5
4
|
import { GraphSeries } from '../common';
|
|
5
|
+
import { Report } from '../entities';
|
|
6
6
|
export declare class UsrReportsService {
|
|
7
7
|
private apiUrl;
|
|
8
8
|
private rest;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { Distribution } from '../entities';
|
|
2
3
|
import { Rule } from '../entities';
|
|
3
4
|
import { SeverityTypeCode } from '../enums';
|
|
4
5
|
import { RuleActivityStatusCode } from '../enums';
|
|
5
6
|
import { EventTypeCode } from '../enums';
|
|
6
7
|
import { TimeSeriesOfFloat } from '../common';
|
|
7
8
|
import { IntDistribution } from '../entities';
|
|
8
|
-
import { Distribution } from '../entities';
|
|
9
9
|
export declare class UsrRulesService {
|
|
10
10
|
private apiUrl;
|
|
11
11
|
private rest;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
3
|
-
import { Image } from '../entities';
|
|
2
|
+
import { Feature } from '../entities';
|
|
4
3
|
import { Stream } from '../entities';
|
|
5
|
-
import { UserMemberships } from '../entities';
|
|
6
4
|
import { FeatureCode } from '../enums';
|
|
7
5
|
import { ConfigParam } from '../entities';
|
|
8
6
|
import { LoginParams } from '../common';
|
|
7
|
+
import { User } from '../entities';
|
|
9
8
|
import { AccountDTO } from '../entities';
|
|
10
|
-
import {
|
|
9
|
+
import { Image } from '../entities';
|
|
10
|
+
import { UserMemberships } from '../entities';
|
|
11
11
|
export declare class UsrUserService {
|
|
12
12
|
private apiUrl;
|
|
13
13
|
private rest;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { AccountTypeCode } from '../enums';
|
|
2
3
|
import { AccountStatusCode } from '../enums';
|
|
3
4
|
import { StringKeyValue } from '../common';
|
|
4
5
|
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,9 +1,9 @@
|
|
|
1
|
-
import { AccountTypeCode } from '../enums';
|
|
2
|
-
import { AccountStatusCode } from '../enums';
|
|
3
|
-
import { FeatureCode } from '../enums';
|
|
4
1
|
import { StringKeyValue } from '../common';
|
|
5
2
|
import { AccountSettings } from '../entities';
|
|
6
3
|
import { BaseEntity } from '../base';
|
|
4
|
+
import { AccountTypeCode } from '../enums';
|
|
5
|
+
import { AccountStatusCode } from '../enums';
|
|
6
|
+
import { FeatureCode } from '../enums';
|
|
7
7
|
export declare class AccountDTO extends BaseEntity {
|
|
8
8
|
name: string;
|
|
9
9
|
externalId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { AccountTypeCode } from '../enums';
|
|
3
|
-
import { AccountStatusCode } from '../enums';
|
|
4
1
|
import { StringKeyValue } from '../common';
|
|
5
2
|
import { AccountSettings } from '../entities';
|
|
6
3
|
import { DeviceReport } from '../entities';
|
|
7
4
|
import { IntDistribution } from '../entities';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
6
|
+
import { AccountTypeCode } from '../enums';
|
|
7
|
+
import { AccountStatusCode } from '../enums';
|
|
8
8
|
export declare class AccountReportDTO extends BaseEntity {
|
|
9
9
|
name: string;
|
|
10
10
|
externalId: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { RuleTypeCode } from '../enums';
|
|
2
|
-
import { StringKeyValue } from '../common';
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
1
|
import { TrafficDirectionCode } from '../enums';
|
|
2
|
+
import { BaseEntity } from '../base';
|
|
6
3
|
import { EventTypeCode } from '../enums';
|
|
7
|
-
import { SeverityTypeCode } from '../enums';
|
|
8
4
|
import { EventStatusCode } from '../enums';
|
|
9
5
|
import { GeoData } from '../common';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
7
|
+
import { EventCategoryCode } from '../enums';
|
|
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,13 +1,13 @@
|
|
|
1
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
|
-
import { GeoData } from '../common';
|
|
3
1
|
import { Device } from '../entities';
|
|
4
|
-
import {
|
|
5
|
-
import { EventStatusCode } from '../enums';
|
|
2
|
+
import { BaseEntity } from '../base';
|
|
6
3
|
import { RuleTypeCode } from '../enums';
|
|
4
|
+
import { GeoData } from '../common';
|
|
7
5
|
import { StringKeyValue } from '../common';
|
|
8
6
|
import { EventCategoryCode } from '../enums';
|
|
9
7
|
import { TrafficDirectionCode } from '../enums';
|
|
10
|
-
import {
|
|
8
|
+
import { EventTypeCode } from '../enums';
|
|
9
|
+
import { SeverityTypeCode } from '../enums';
|
|
10
|
+
import { EventStatusCode } from '../enums';
|
|
11
11
|
export declare class AlertWithDevice extends BaseEntity {
|
|
12
12
|
accountId: string;
|
|
13
13
|
streamId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { GeoData } from '../common';
|
|
1
2
|
import { BaseEntity } from '../base';
|
|
2
3
|
import { DeviceTypeCode } from '../enums';
|
|
3
4
|
import { DeviceStatusCode } from '../enums';
|
|
4
5
|
import { StringKeyValue } from '../common';
|
|
5
6
|
import { DeviceActionCode } from '../enums';
|
|
6
7
|
import { SIM } from '../entities';
|
|
7
|
-
import { GeoData } from '../common';
|
|
8
8
|
export declare class Device extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Event } from '../entities';
|
|
1
2
|
import { GeoData } from '../common';
|
|
2
3
|
import { BaseEntity } from '../base';
|
|
3
4
|
import { DeviceTypeCode } from '../enums';
|
|
@@ -5,7 +6,6 @@ import { DeviceStatusCode } from '../enums';
|
|
|
5
6
|
import { StringKeyValue } from '../common';
|
|
6
7
|
import { DeviceActionCode } from '../enums';
|
|
7
8
|
import { SIM } from '../entities';
|
|
8
|
-
import { Event } from '../entities';
|
|
9
9
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EventTypeCode } from '../enums';
|
|
1
|
+
import { RuleTypeCode } from '../enums';
|
|
3
2
|
import { GeoData } from '../common';
|
|
4
|
-
import { StringKeyValue } from '../common';
|
|
5
|
-
import { EventCategoryCode } from '../enums';
|
|
6
3
|
import { EventOccurrence } from '../entities';
|
|
7
4
|
import { TrafficDirectionCode } from '../enums';
|
|
5
|
+
import { EventTypeCode } from '../enums';
|
|
8
6
|
import { SeverityTypeCode } from '../enums';
|
|
9
7
|
import { EventStatusCode } from '../enums';
|
|
10
8
|
import { Indicator } from '../common';
|
|
11
|
-
import {
|
|
9
|
+
import { StringKeyValue } from '../common';
|
|
10
|
+
import { EventCategoryCode } from '../enums';
|
|
11
|
+
import { BaseEntity } from '../base';
|
|
12
12
|
export declare class Event extends BaseEntity {
|
|
13
13
|
accountId: string;
|
|
14
14
|
streamId: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { EventStatusCode } from '../enums';
|
|
1
2
|
import { Indicator } from '../common';
|
|
2
|
-
import {
|
|
3
|
-
import { TrafficDirectionCode } from '../enums';
|
|
3
|
+
import { RuleTypeCode } from '../enums';
|
|
4
4
|
import { Device } from '../entities';
|
|
5
|
-
import {
|
|
5
|
+
import { EventTypeCode } from '../enums';
|
|
6
6
|
import { SeverityTypeCode } from '../enums';
|
|
7
|
-
import { RuleTypeCode } from '../enums';
|
|
8
|
-
import { GeoData } from '../common';
|
|
9
7
|
import { EventCategoryCode } from '../enums';
|
|
10
8
|
import { EventOccurrence } from '../entities';
|
|
9
|
+
import { TrafficDirectionCode } from '../enums';
|
|
11
10
|
import { BaseEntity } from '../base';
|
|
12
|
-
import {
|
|
11
|
+
import { GeoData } from '../common';
|
|
12
|
+
import { StringKeyValue } from '../common';
|
|
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';
|
|
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,6 +1,6 @@
|
|
|
1
|
+
import { InsightTypeCode } from '../enums';
|
|
1
2
|
import { DirectionContextCode } from '../enums';
|
|
2
3
|
import { BaseEntity } from '../base';
|
|
3
|
-
import { InsightTypeCode } from '../enums';
|
|
4
4
|
export declare class InsightQuery extends BaseEntity {
|
|
5
5
|
type: InsightTypeCode;
|
|
6
6
|
description: string;
|