@shieldiot/pulse-lib 1.0.378 → 1.0.380
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/DeviceConfig.d.ts +1 -1
- package/dist/cjs/lib/common/DeviceNode.d.ts +1 -1
- package/dist/cjs/lib/common/DeviceScoreConfig.d.ts +2 -2
- package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
- package/dist/cjs/lib/common/SeverityConditionConfig.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 +1 -1
- package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +2 -2
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +6 -6
- 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 -3
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +4 -4
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +6 -6
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventOccurrence.d.ts +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/IdsRule.d.ts +2 -2
- package/dist/cjs/lib/entities/IdsRule.js.map +1 -1
- package/dist/cjs/lib/entities/Insight.d.ts +3 -3
- package/dist/cjs/lib/entities/Insight.js.map +1 -1
- package/dist/cjs/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/cjs/lib/entities/InsightQuery.js.map +1 -1
- package/dist/cjs/lib/entities/Integration.d.ts +3 -3
- package/dist/cjs/lib/entities/Integration.js.map +1 -1
- package/dist/cjs/lib/entities/Member.d.ts +1 -1
- package/dist/cjs/lib/entities/Member.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/ReportInstance.d.ts +1 -1
- 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/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/cjs/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/cjs/lib/entities/User.d.ts +2 -2
- package/dist/cjs/lib/entities/User.js.map +1 -1
- package/dist/cjs/lib/entities/UserMembership.d.ts +1 -1
- package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
- package/dist/cjs/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
- package/dist/cjs/lib/pulse-client.d.ts +16 -14
- package/dist/cjs/lib/pulse-client.js +28 -26
- package/dist/cjs/lib/pulse-client.js.map +1 -1
- package/dist/cjs/lib/services/index.d.ts +1 -0
- package/dist/cjs/lib/services/index.js +1 -0
- package/dist/cjs/lib/services/index.js.map +1 -1
- package/dist/cjs/lib/services/services.export.d.ts +2 -1
- package/dist/cjs/lib/services/services.export.js +2 -0
- package/dist/cjs/lib/services/services.export.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/cjs/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/cjs/lib/services/sysInsightsService.d.ts +53 -0
- package/dist/cjs/lib/services/sysInsightsService.js +135 -0
- package/dist/cjs/lib/services/sysInsightsService.js.map +1 -0
- 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 +16 -16
- package/dist/cjs/lib/services/usrAlertsService.js +21 -21
- package/dist/cjs/lib/services/usrDevicesService.d.ts +15 -15
- package/dist/cjs/lib/services/usrDevicesService.js +18 -18
- package/dist/cjs/lib/services/usrEventsService.d.ts +7 -7
- package/dist/cjs/lib/services/usrInsightsService.d.ts +1 -1
- package/dist/cjs/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/cjs/lib/services/usrRulesService.d.ts +2 -2
- package/dist/cjs/lib/services/usrUserService.d.ts +5 -5
- package/dist/esm/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/esm/lib/common/DeviceNode.d.ts +1 -1
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +2 -2
- package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/esm/lib/common/SeriesData.d.ts +1 -1
- package/dist/esm/lib/common/SeverityConditionConfig.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 +1 -1
- package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +2 -2
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +6 -6
- 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 -3
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +4 -4
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +6 -6
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventOccurrence.d.ts +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/IdsRule.d.ts +2 -2
- package/dist/esm/lib/entities/IdsRule.js.map +1 -1
- package/dist/esm/lib/entities/Insight.d.ts +3 -3
- package/dist/esm/lib/entities/Insight.js.map +1 -1
- package/dist/esm/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/esm/lib/entities/InsightQuery.js.map +1 -1
- package/dist/esm/lib/entities/Integration.d.ts +3 -3
- package/dist/esm/lib/entities/Integration.js.map +1 -1
- package/dist/esm/lib/entities/Member.d.ts +1 -1
- package/dist/esm/lib/entities/Member.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/ReportInstance.d.ts +1 -1
- 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/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/esm/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/esm/lib/entities/User.d.ts +2 -2
- package/dist/esm/lib/entities/User.js.map +1 -1
- package/dist/esm/lib/entities/UserMembership.d.ts +1 -1
- package/dist/esm/lib/entities/UserMembership.js.map +1 -1
- package/dist/esm/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
- package/dist/esm/lib/pulse-client.d.ts +16 -14
- package/dist/esm/lib/pulse-client.js +16 -14
- package/dist/esm/lib/pulse-client.js.map +1 -1
- package/dist/esm/lib/services/index.d.ts +1 -0
- package/dist/esm/lib/services/index.js +1 -0
- package/dist/esm/lib/services/index.js.map +1 -1
- package/dist/esm/lib/services/services.export.d.ts +2 -1
- package/dist/esm/lib/services/services.export.js +2 -0
- package/dist/esm/lib/services/services.export.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/esm/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/esm/lib/services/sysInsightsService.d.ts +53 -0
- package/dist/esm/lib/services/sysInsightsService.js +131 -0
- package/dist/esm/lib/services/sysInsightsService.js.map +1 -0
- 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 +16 -16
- package/dist/esm/lib/services/usrAlertsService.js +21 -21
- package/dist/esm/lib/services/usrDevicesService.d.ts +15 -15
- package/dist/esm/lib/services/usrDevicesService.js +18 -18
- package/dist/esm/lib/services/usrEventsService.d.ts +7 -7
- package/dist/esm/lib/services/usrInsightsService.d.ts +1 -1
- package/dist/esm/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/esm/lib/services/usrRulesService.d.ts +2 -2
- package/dist/esm/lib/services/usrUserService.d.ts +5 -5
- package/dist/types/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/types/lib/common/DeviceNode.d.ts +1 -1
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +2 -2
- package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/types/lib/common/SeriesData.d.ts +1 -1
- package/dist/types/lib/common/SeverityConditionConfig.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 +1 -1
- package/dist/types/lib/entities/AccountReportDTO.d.ts +2 -2
- package/dist/types/lib/entities/Alert.d.ts +6 -6
- 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 -3
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +4 -4
- package/dist/types/lib/entities/Event.d.ts +6 -6
- package/dist/types/lib/entities/EventOccurrence.d.ts +1 -1
- package/dist/types/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/types/lib/entities/IdsRule.d.ts +2 -2
- package/dist/types/lib/entities/Insight.d.ts +3 -3
- package/dist/types/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/Member.d.ts +1 -1
- 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/ReportInstance.d.ts +1 -1
- 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/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/types/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/types/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/types/lib/entities/User.d.ts +2 -2
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/types/lib/pulse-client.d.ts +16 -14
- package/dist/types/lib/services/index.d.ts +1 -0
- package/dist/types/lib/services/services.export.d.ts +2 -1
- package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/types/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/types/lib/services/sysInsightsService.d.ts +53 -0
- 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 +16 -16
- package/dist/types/lib/services/usrDevicesService.d.ts +15 -15
- package/dist/types/lib/services/usrEventsService.d.ts +7 -7
- package/dist/types/lib/services/usrInsightsService.d.ts +1 -1
- package/dist/types/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/types/lib/services/usrRulesService.d.ts +2 -2
- package/dist/types/lib/services/usrUserService.d.ts +5 -5
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -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":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQrC,6BAA6B;AAC7B,MAAM,OAAO,WAAY,SAAQ,UAAU;CAkE1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Member.js","sourceRoot":"","sources":["../../../../src/lib/entities/Member.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Member.js","sourceRoot":"","sources":["../../../../src/lib/entities/Member.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,8EAA8E;AAC9E,qFAAqF;AACrF,MAAM,OAAO,MAAO,SAAQ,UAAU;CAYrC"}
|
|
@@ -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,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,yDAAyD;AACzD,MAAM,OAAO,MAAO,SAAQ,UAAU;CAoCrC"}
|
|
@@ -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":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC,wEAAwE;AACxE,MAAM,OAAO,MAAO,SAAQ,UAAU;CA8BrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { IntDistribution } from '../entities';
|
|
1
2
|
import { DeviceReport } from '../entities';
|
|
2
3
|
import { ReportTypeCode } from '../enums';
|
|
3
4
|
import { BaseEntity } from '../base';
|
|
4
|
-
import { IntDistribution } from '../entities';
|
|
5
5
|
export declare class ReportInstance extends BaseEntity {
|
|
6
6
|
accountId: string;
|
|
7
7
|
from: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportInstance.js","sourceRoot":"","sources":["../../../../src/lib/entities/ReportInstance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReportInstance.js","sourceRoot":"","sources":["../../../../src/lib/entities/ReportInstance.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,qDAAqD;AACrD,MAAM,OAAO,cAAe,SAAQ,UAAU;CAoC7C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DeviceTypeCode } from '../enums';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
3
|
+
import { SeverityTypeCode } from '../enums';
|
|
1
4
|
import { BaseEntity } from '../base';
|
|
2
5
|
import { RuleTypeCode } from '../enums';
|
|
3
6
|
import { DataSourceCode } from '../enums';
|
|
4
7
|
import { ConditionDescription } from '../common';
|
|
5
|
-
import { DeviceTypeCode } from '../enums';
|
|
6
|
-
import { EventTypeCode } from '../enums';
|
|
7
|
-
import { SeverityTypeCode } 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,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOrC,gCAAgC;AAChC,MAAM,OAAO,IAAK,SAAQ,UAAU;CAkEnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
1
|
import { BaseEntity } from '../base';
|
|
3
2
|
import { DataSourceCode } from '../enums';
|
|
4
3
|
import { EventTypeCode } from '../enums';
|
|
4
|
+
import { SeverityTypeCode } from '../enums';
|
|
5
5
|
export declare class RuleTemplate extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOrC,qFAAqF;AACrF,MAAM,OAAO,YAAa,SAAQ,UAAU;CA2B3C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { Thresholds } from '../common';
|
|
3
1
|
import { ShieldexConfig } from '../common';
|
|
4
2
|
import { EventSeverityConfig } from '../common';
|
|
5
3
|
import { DeviceConfig } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
|
+
import { Thresholds } from '../common';
|
|
6
6
|
export declare class StreamAnalyticsConfig extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
thresholds: Thresholds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,0EAA0E;AAC1E,MAAM,OAAO,qBAAsB,SAAQ,UAAU;CAkBpD"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { ShieldexConfig } from '../common';
|
|
2
|
+
import { DeviceActionCode } from '../enums';
|
|
3
|
+
import { EventSeverityConfig } from '../common';
|
|
4
|
+
import { DeviceConfig } from '../common';
|
|
1
5
|
import { IdsConfig } from '../entities';
|
|
2
6
|
import { DataIngestion } from '../entities';
|
|
3
7
|
import { SessionTransform } from '../common';
|
|
4
8
|
import { UsageTransform } from '../common';
|
|
5
|
-
import { ShieldexConfig } from '../common';
|
|
6
9
|
import { Thresholds } from '../common';
|
|
7
|
-
import { EventSeverityConfig } from '../common';
|
|
8
|
-
import { DeviceActionCode } from '../enums';
|
|
9
|
-
import { DeviceConfig } from '../common';
|
|
10
10
|
export declare class StreamConfig {
|
|
11
11
|
ingest: DataIngestion;
|
|
12
12
|
sessionTransform: SessionTransform;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { UserTypeCode } from '../enums';
|
|
3
1
|
import { UserStatusCode } from '../enums';
|
|
4
2
|
import { StringKeyValue } from '../common';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
4
|
+
import { UserTypeCode } from '../enums';
|
|
5
5
|
export declare class User extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/lib/entities/User.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/lib/entities/User.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,sGAAsG;AACtG,+DAA+D;AAC/D,MAAM,OAAO,IAAK,SAAQ,UAAU;CAiCnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UserTypeCode } from '../enums';
|
|
2
1
|
import { UserStatusCode } from '../enums';
|
|
3
2
|
import { AccountRole } from '../common';
|
|
4
3
|
import { BaseEntity } from '../base';
|
|
4
|
+
import { UserTypeCode } from '../enums';
|
|
5
5
|
export declare class UserMembership extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,4EAA4E;AAC5E,MAAM,OAAO,cAAe,SAAQ,UAAU;CA2B7C"}
|
|
@@ -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 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":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,2EAA2E;AAC3E,MAAM,OAAO,eAAgB,SAAQ,UAAU;CA2B9C"}
|
|
@@ -1,10 +1,3 @@
|
|
|
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";
|
|
8
1
|
import { SupportStreamAnalyticsConfig } from "./services";
|
|
9
2
|
import { SysAccountsService } from "./services";
|
|
10
3
|
import { SysAuditLogService } from "./services";
|
|
@@ -13,6 +6,7 @@ import { SysConfigService } from "./services";
|
|
|
13
6
|
import { SysFeaturesService } from "./services";
|
|
14
7
|
import { SysGroupsService } from "./services";
|
|
15
8
|
import { SysIdsRulesService } from "./services";
|
|
9
|
+
import { SysInsightsService } from "./services";
|
|
16
10
|
import { SysKeysService } from "./services";
|
|
17
11
|
import { SysMembersService } from "./services";
|
|
18
12
|
import { SysRuleTemplatesService } from "./services";
|
|
@@ -24,17 +18,17 @@ import { UsrInsightsService } from "./services";
|
|
|
24
18
|
import { UsrIntegrationsService } from "./services";
|
|
25
19
|
import { UsrMembersService } from "./services";
|
|
26
20
|
import { UsrUserService } from "./services";
|
|
21
|
+
import { UsrAlertsService } from "./services";
|
|
22
|
+
import { UsrDevicesService } from "./services";
|
|
23
|
+
import { UsrEventsService } from "./services";
|
|
24
|
+
import { UsrNetworkService } from "./services";
|
|
25
|
+
import { UsrReportsInstanceService } from "./services";
|
|
26
|
+
import { UsrReportsService } from "./services";
|
|
27
|
+
import { UsrRulesService } from "./services";
|
|
27
28
|
export declare class PulseClient {
|
|
28
29
|
private restSvc;
|
|
29
30
|
private axiosInst;
|
|
30
31
|
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;
|
|
38
32
|
readonly SupportStreamAnalyticsConfig: SupportStreamAnalyticsConfig;
|
|
39
33
|
readonly SysAccountsService: SysAccountsService;
|
|
40
34
|
readonly SysAuditLogService: SysAuditLogService;
|
|
@@ -43,6 +37,7 @@ export declare class PulseClient {
|
|
|
43
37
|
readonly SysFeaturesService: SysFeaturesService;
|
|
44
38
|
readonly SysGroupsService: SysGroupsService;
|
|
45
39
|
readonly SysIdsRulesService: SysIdsRulesService;
|
|
40
|
+
readonly SysInsightsService: SysInsightsService;
|
|
46
41
|
readonly SysKeysService: SysKeysService;
|
|
47
42
|
readonly SysMembersService: SysMembersService;
|
|
48
43
|
readonly SysRuleTemplatesService: SysRuleTemplatesService;
|
|
@@ -54,4 +49,11 @@ export declare class PulseClient {
|
|
|
54
49
|
readonly UsrIntegrationsService: UsrIntegrationsService;
|
|
55
50
|
readonly UsrMembersService: UsrMembersService;
|
|
56
51
|
readonly UsrUserService: UsrUserService;
|
|
52
|
+
readonly UsrAlertsService: UsrAlertsService;
|
|
53
|
+
readonly UsrDevicesService: UsrDevicesService;
|
|
54
|
+
readonly UsrEventsService: UsrEventsService;
|
|
55
|
+
readonly UsrNetworkService: UsrNetworkService;
|
|
56
|
+
readonly UsrReportsInstanceService: UsrReportsInstanceService;
|
|
57
|
+
readonly UsrReportsService: UsrReportsService;
|
|
58
|
+
readonly UsrRulesService: UsrRulesService;
|
|
57
59
|
}
|
|
@@ -1,12 +1,5 @@
|
|
|
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";
|
|
10
3
|
import { SupportStreamAnalyticsConfig } from "./services";
|
|
11
4
|
import { SysAccountsService } from "./services";
|
|
12
5
|
import { SysAuditLogService } from "./services";
|
|
@@ -15,6 +8,7 @@ import { SysConfigService } from "./services";
|
|
|
15
8
|
import { SysFeaturesService } from "./services";
|
|
16
9
|
import { SysGroupsService } from "./services";
|
|
17
10
|
import { SysIdsRulesService } from "./services";
|
|
11
|
+
import { SysInsightsService } from "./services";
|
|
18
12
|
import { SysKeysService } from "./services";
|
|
19
13
|
import { SysMembersService } from "./services";
|
|
20
14
|
import { SysRuleTemplatesService } from "./services";
|
|
@@ -26,6 +20,13 @@ import { UsrInsightsService } from "./services";
|
|
|
26
20
|
import { UsrIntegrationsService } from "./services";
|
|
27
21
|
import { UsrMembersService } from "./services";
|
|
28
22
|
import { UsrUserService } from "./services";
|
|
23
|
+
import { UsrAlertsService } from "./services";
|
|
24
|
+
import { UsrDevicesService } from "./services";
|
|
25
|
+
import { UsrEventsService } from "./services";
|
|
26
|
+
import { UsrNetworkService } from "./services";
|
|
27
|
+
import { UsrReportsInstanceService } from "./services";
|
|
28
|
+
import { UsrReportsService } from "./services";
|
|
29
|
+
import { UsrRulesService } from "./services";
|
|
29
30
|
// PulseClient is the main entry point of the client library.
|
|
30
31
|
// Create a single global instance of PulseClient in your application and use
|
|
31
32
|
// Factory methods to get service endpoints
|
|
@@ -46,13 +47,6 @@ export class PulseClient {
|
|
|
46
47
|
this.axiosInst = axios.create(axiosRequestConfiguration);
|
|
47
48
|
this.restSvc = new RestUtil(this.axiosInst);
|
|
48
49
|
// 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);
|
|
56
50
|
this.SupportStreamAnalyticsConfig = new SupportStreamAnalyticsConfig(apiUrl, this.restSvc);
|
|
57
51
|
this.SysAccountsService = new SysAccountsService(apiUrl, this.restSvc);
|
|
58
52
|
this.SysAuditLogService = new SysAuditLogService(apiUrl, this.restSvc);
|
|
@@ -61,6 +55,7 @@ export class PulseClient {
|
|
|
61
55
|
this.SysFeaturesService = new SysFeaturesService(apiUrl, this.restSvc);
|
|
62
56
|
this.SysGroupsService = new SysGroupsService(apiUrl, this.restSvc);
|
|
63
57
|
this.SysIdsRulesService = new SysIdsRulesService(apiUrl, this.restSvc);
|
|
58
|
+
this.SysInsightsService = new SysInsightsService(apiUrl, this.restSvc);
|
|
64
59
|
this.SysKeysService = new SysKeysService(apiUrl, this.restSvc);
|
|
65
60
|
this.SysMembersService = new SysMembersService(apiUrl, this.restSvc);
|
|
66
61
|
this.SysRuleTemplatesService = new SysRuleTemplatesService(apiUrl, this.restSvc);
|
|
@@ -72,6 +67,13 @@ export class PulseClient {
|
|
|
72
67
|
this.UsrIntegrationsService = new UsrIntegrationsService(apiUrl, this.restSvc);
|
|
73
68
|
this.UsrMembersService = new UsrMembersService(apiUrl, this.restSvc);
|
|
74
69
|
this.UsrUserService = new UsrUserService(apiUrl, this.restSvc);
|
|
70
|
+
this.UsrAlertsService = new UsrAlertsService(apiUrl, this.restSvc);
|
|
71
|
+
this.UsrDevicesService = new UsrDevicesService(apiUrl, this.restSvc);
|
|
72
|
+
this.UsrEventsService = new UsrEventsService(apiUrl, this.restSvc);
|
|
73
|
+
this.UsrNetworkService = new UsrNetworkService(apiUrl, this.restSvc);
|
|
74
|
+
this.UsrReportsInstanceService = new UsrReportsInstanceService(apiUrl, this.restSvc);
|
|
75
|
+
this.UsrReportsService = new UsrReportsService(apiUrl, this.restSvc);
|
|
76
|
+
this.UsrRulesService = new UsrRulesService(apiUrl, this.restSvc);
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
//# 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,
|
|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AI,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;QAC/D,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,yBAAyB,GAAG,IAAI,yBAAyB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrF,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAErE,CAAC;CA+BJ"}
|
|
@@ -7,6 +7,7 @@ export * from './sysConfigService';
|
|
|
7
7
|
export * from './sysFeaturesService';
|
|
8
8
|
export * from './sysGroupsService';
|
|
9
9
|
export * from './sysIdsRulesService';
|
|
10
|
+
export * from './sysInsightsService';
|
|
10
11
|
export * from './sysKeysService';
|
|
11
12
|
export * from './sysMembersService';
|
|
12
13
|
export * from './sysRuleTemplatesService';
|
|
@@ -7,6 +7,7 @@ export * from './sysConfigService';
|
|
|
7
7
|
export * from './sysFeaturesService';
|
|
8
8
|
export * from './sysGroupsService';
|
|
9
9
|
export * from './sysIdsRulesService';
|
|
10
|
+
export * from './sysInsightsService';
|
|
10
11
|
export * from './sysKeysService';
|
|
11
12
|
export * from './sysMembersService';
|
|
12
13
|
export * from './sysRuleTemplatesService';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { SysConfigService } from './sysConfigService';
|
|
|
6
6
|
import { SysFeaturesService } from './sysFeaturesService';
|
|
7
7
|
import { SysGroupsService } from './sysGroupsService';
|
|
8
8
|
import { SysIdsRulesService } from './sysIdsRulesService';
|
|
9
|
+
import { SysInsightsService } from './sysInsightsService';
|
|
9
10
|
import { SysKeysService } from './sysKeysService';
|
|
10
11
|
import { SysMembersService } from './sysMembersService';
|
|
11
12
|
import { SysRuleTemplatesService } from './sysRuleTemplatesService';
|
|
@@ -24,4 +25,4 @@ import { UsrNetworkService } from './usrNetworkService';
|
|
|
24
25
|
import { UsrReportsInstanceService } from './usrReportsInstanceService';
|
|
25
26
|
import { UsrReportsService } from './usrReportsService';
|
|
26
27
|
import { UsrRulesService } from './usrRulesService';
|
|
27
|
-
export declare const Services: (typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysIdsRulesService | 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 UsrReportsInstanceService | typeof UsrReportsService | typeof UsrRulesService)[];
|
|
28
|
+
export declare const Services: (typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysIdsRulesService | 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 UsrReportsInstanceService | typeof UsrReportsService | typeof UsrRulesService)[];
|
|
@@ -6,6 +6,7 @@ import { SysConfigService } from './sysConfigService';
|
|
|
6
6
|
import { SysFeaturesService } from './sysFeaturesService';
|
|
7
7
|
import { SysGroupsService } from './sysGroupsService';
|
|
8
8
|
import { SysIdsRulesService } from './sysIdsRulesService';
|
|
9
|
+
import { SysInsightsService } from './sysInsightsService';
|
|
9
10
|
import { SysKeysService } from './sysKeysService';
|
|
10
11
|
import { SysMembersService } from './sysMembersService';
|
|
11
12
|
import { SysRuleTemplatesService } from './sysRuleTemplatesService';
|
|
@@ -33,6 +34,7 @@ export const Services = [
|
|
|
33
34
|
SysFeaturesService,
|
|
34
35
|
SysGroupsService,
|
|
35
36
|
SysIdsRulesService,
|
|
37
|
+
SysInsightsService,
|
|
36
38
|
SysKeysService,
|
|
37
39
|
SysMembersService,
|
|
38
40
|
SysRuleTemplatesService,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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AAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,4BAA4B;IAC5B,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,cAAc;IACd,iBAAiB;IACjB,uBAAuB;IACvB,eAAe;IACf,oBAAoB;IACpB,iBAAiB;IACjB,eAAe;IACf,kBAAkB;IAClB,sBAAsB;IACtB,iBAAiB;IACjB,cAAc;IACd,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,yBAAyB;IACzB,iBAAiB;IACjB,eAAe;CAElB,CAAA"}
|
|
1
|
+
{"version":3,"file":"services.export.js","sourceRoot":"","sources":["../../../../src/lib/services/services.export.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;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iB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,yBAAyB;IACzB,iBAAiB;IACjB,eAAe;CAElB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { AccountSettings } from '../entities';
|
|
3
|
+
import { AccountTypeCode } from '../enums';
|
|
2
4
|
import { AccountStatusCode } from '../enums';
|
|
3
5
|
import { Image } from '../entities';
|
|
4
6
|
import { AccountReportDTO } from '../entities';
|
|
5
7
|
import { Account } from '../entities';
|
|
6
|
-
import { AccountSettings } from '../entities';
|
|
7
|
-
import { AccountTypeCode } from '../enums';
|
|
8
8
|
export declare class SysAccountsService {
|
|
9
9
|
private apiUrl;
|
|
10
10
|
private rest;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { Rule } from '../entities';
|
|
3
|
+
import { IdsRule } from '../entities';
|
|
2
4
|
import { SeverityTypeCode } from '../enums';
|
|
3
5
|
import { RuleActivityStatusCode } from '../enums';
|
|
4
6
|
import { EventTypeCode } from '../enums';
|
|
5
|
-
import { Rule } from '../entities';
|
|
6
|
-
import { IdsRule } from '../entities';
|
|
7
7
|
export declare class SysIdsRulesService {
|
|
8
8
|
private apiUrl;
|
|
9
9
|
private rest;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { InsightQuery } from '../entities';
|
|
3
|
+
import { InsightSpec } from '../entities';
|
|
4
|
+
export declare class SysInsightsService {
|
|
5
|
+
private apiUrl;
|
|
6
|
+
private rest;
|
|
7
|
+
private baseUrl;
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
|
+
/**
|
|
10
|
+
* Create new insight query
|
|
11
|
+
*/
|
|
12
|
+
createQuery(body?: InsightQuery): import("rxjs").Observable<EntityResponse<InsightQuery>>;
|
|
13
|
+
/**
|
|
14
|
+
* Update existing insight query
|
|
15
|
+
*/
|
|
16
|
+
updateQuery(body?: InsightQuery): import("rxjs").Observable<EntityResponse<InsightQuery>>;
|
|
17
|
+
/**
|
|
18
|
+
* Delete insight query from the system
|
|
19
|
+
*/
|
|
20
|
+
deleteQuery(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Get single insight query by id
|
|
23
|
+
*/
|
|
24
|
+
getQuery(id?: string): import("rxjs").Observable<EntityResponse<InsightQuery>>;
|
|
25
|
+
/**
|
|
26
|
+
* Find list of insight queries
|
|
27
|
+
*/
|
|
28
|
+
findQueries(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<InsightQuery>>;
|
|
29
|
+
/**
|
|
30
|
+
* Create new insight spec
|
|
31
|
+
*/
|
|
32
|
+
createSpec(body?: InsightSpec): import("rxjs").Observable<EntityResponse<InsightSpec>>;
|
|
33
|
+
/**
|
|
34
|
+
* Update existing insight spec
|
|
35
|
+
*/
|
|
36
|
+
updateSpec(body?: InsightSpec): import("rxjs").Observable<EntityResponse<InsightSpec>>;
|
|
37
|
+
/**
|
|
38
|
+
* Delete insight spec from the system
|
|
39
|
+
*/
|
|
40
|
+
deleteSpec(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Get single insight spec by id
|
|
43
|
+
*/
|
|
44
|
+
getSpec(id?: string): import("rxjs").Observable<EntityResponse<InsightSpec>>;
|
|
45
|
+
/**
|
|
46
|
+
* Find list of insight specs
|
|
47
|
+
*/
|
|
48
|
+
findSpecs(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<InsightSpec>>;
|
|
49
|
+
/**
|
|
50
|
+
* Find list of insight specs
|
|
51
|
+
*/
|
|
52
|
+
findSpecsQueries(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<InsightQuery>>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// List of insight queries related actions for system administrator only
|
|
2
|
+
// @RequestHeader X-API-KEY The key to identify the application (console)
|
|
3
|
+
// @RequestHeader X-ACCESS-TOKEN The token to identify the logged-in user
|
|
4
|
+
export class SysInsightsService {
|
|
5
|
+
// Class constructor
|
|
6
|
+
constructor(apiUrl, rest) {
|
|
7
|
+
this.apiUrl = apiUrl;
|
|
8
|
+
this.rest = rest;
|
|
9
|
+
// URL to web api
|
|
10
|
+
this.baseUrl = '/sys/insights';
|
|
11
|
+
this.baseUrl = apiUrl + this.baseUrl;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Create new insight query
|
|
15
|
+
*/
|
|
16
|
+
createQuery(body) {
|
|
17
|
+
return this.rest.put(`${this.baseUrl}/query`, typeof body === 'object' ? JSON.stringify(body) : body);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Update existing insight query
|
|
21
|
+
*/
|
|
22
|
+
updateQuery(body) {
|
|
23
|
+
return this.rest.patch(`${this.baseUrl}/query`, typeof body === 'object' ? JSON.stringify(body) : body);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Delete insight query from the system
|
|
27
|
+
*/
|
|
28
|
+
deleteQuery(id) {
|
|
29
|
+
return this.rest.delete(`${this.baseUrl}/query/${id}`);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get single insight query by id
|
|
33
|
+
*/
|
|
34
|
+
getQuery(id) {
|
|
35
|
+
return this.rest.get(`${this.baseUrl}/query/${id}`);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Find list of insight queries
|
|
39
|
+
*/
|
|
40
|
+
findQueries(search, sort, page, size) {
|
|
41
|
+
const params = [];
|
|
42
|
+
if (search != null) {
|
|
43
|
+
params.push(`search=${search}`);
|
|
44
|
+
}
|
|
45
|
+
if (sort != null) {
|
|
46
|
+
params.push(`sort=${sort}`);
|
|
47
|
+
}
|
|
48
|
+
if (page != null) {
|
|
49
|
+
params.push(`page=${page}`);
|
|
50
|
+
}
|
|
51
|
+
if (size != null) {
|
|
52
|
+
params.push(`size=${size}`);
|
|
53
|
+
}
|
|
54
|
+
return this.rest.get(`${this.baseUrl}/query`, ...params);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Create new insight spec
|
|
58
|
+
*/
|
|
59
|
+
createSpec(body) {
|
|
60
|
+
return this.rest.put(`${this.baseUrl}/spec`, typeof body === 'object' ? JSON.stringify(body) : body);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Update existing insight spec
|
|
64
|
+
*/
|
|
65
|
+
updateSpec(body) {
|
|
66
|
+
return this.rest.patch(`${this.baseUrl}/spec`, typeof body === 'object' ? JSON.stringify(body) : body);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Delete insight spec from the system
|
|
70
|
+
*/
|
|
71
|
+
deleteSpec(id) {
|
|
72
|
+
return this.rest.delete(`${this.baseUrl}/spec/${id}`);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get single insight spec by id
|
|
76
|
+
*/
|
|
77
|
+
getSpec(id) {
|
|
78
|
+
return this.rest.get(`${this.baseUrl}/spec/${id}`);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Find list of insight specs
|
|
82
|
+
*/
|
|
83
|
+
findSpecs(accountId, streamId, search, sort, page, size) {
|
|
84
|
+
const params = [];
|
|
85
|
+
if (accountId != null) {
|
|
86
|
+
params.push(`accountId=${accountId}`);
|
|
87
|
+
}
|
|
88
|
+
if (streamId != null) {
|
|
89
|
+
params.push(`streamId=${streamId}`);
|
|
90
|
+
}
|
|
91
|
+
if (search != null) {
|
|
92
|
+
params.push(`search=${search}`);
|
|
93
|
+
}
|
|
94
|
+
if (sort != null) {
|
|
95
|
+
params.push(`sort=${sort}`);
|
|
96
|
+
}
|
|
97
|
+
if (page != null) {
|
|
98
|
+
params.push(`page=${page}`);
|
|
99
|
+
}
|
|
100
|
+
if (size != null) {
|
|
101
|
+
params.push(`size=${size}`);
|
|
102
|
+
}
|
|
103
|
+
return this.rest.get(`${this.baseUrl}/spec`, ...params);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Find list of insight specs
|
|
107
|
+
*/
|
|
108
|
+
findSpecsQueries(accountId, streamId, search, sort, page, size) {
|
|
109
|
+
const params = [];
|
|
110
|
+
if (accountId != null) {
|
|
111
|
+
params.push(`accountId=${accountId}`);
|
|
112
|
+
}
|
|
113
|
+
if (streamId != null) {
|
|
114
|
+
params.push(`streamId=${streamId}`);
|
|
115
|
+
}
|
|
116
|
+
if (search != null) {
|
|
117
|
+
params.push(`search=${search}`);
|
|
118
|
+
}
|
|
119
|
+
if (sort != null) {
|
|
120
|
+
params.push(`sort=${sort}`);
|
|
121
|
+
}
|
|
122
|
+
if (page != null) {
|
|
123
|
+
params.push(`page=${page}`);
|
|
124
|
+
}
|
|
125
|
+
if (size != null) {
|
|
126
|
+
params.push(`size=${size}`);
|
|
127
|
+
}
|
|
128
|
+
return this.rest.get(`${this.baseUrl}/spec-queries`, ...params);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=sysInsightsService.js.map
|