@shieldiot/pulse-lib 1.0.326 → 1.0.328
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/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/cjs/lib/common/SeverityConditionConfig.d.ts +1 -1
- package/dist/cjs/lib/common/SeverityIntervalTuple.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/cjs/lib/entities/Account.d.ts +2 -2
- package/dist/cjs/lib/entities/Account.js.map +1 -1
- package/dist/cjs/lib/entities/AccountDTO.d.ts +1 -1
- package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +23 -0
- package/dist/cjs/lib/entities/AccountReportDTO.js +9 -0
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -0
- 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/ApiKey.d.ts +1 -1
- package/dist/cjs/lib/entities/ApiKey.js.map +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 +7 -7
- package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/InsightSpec.d.ts +1 -1
- package/dist/cjs/lib/entities/InsightSpec.js.map +1 -1
- package/dist/cjs/lib/entities/Rule.d.ts +1 -1
- package/dist/cjs/lib/entities/Rule.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.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 +2 -2
- package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
- package/dist/cjs/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
- package/dist/cjs/lib/entities/index.d.ts +1 -0
- package/dist/cjs/lib/entities/index.js +1 -0
- package/dist/cjs/lib/entities/index.js.map +1 -1
- package/dist/cjs/lib/pulse-client.d.ts +12 -12
- package/dist/cjs/lib/pulse-client.js +25 -25
- package/dist/cjs/lib/pulse-client.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +7 -2
- package/dist/cjs/lib/services/sysAccountsService.js +25 -0
- package/dist/cjs/lib/services/sysAccountsService.js.map +1 -1
- package/dist/cjs/lib/services/sysAuditLogService.d.ts +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 +1 -1
- package/dist/cjs/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/cjs/lib/services/usrDevicesService.d.ts +4 -4
- package/dist/cjs/lib/services/usrEventsService.d.ts +6 -6
- package/dist/cjs/lib/services/usrMembersService.d.ts +1 -1
- package/dist/cjs/lib/services/usrNetworkService.d.ts +1 -1
- package/dist/cjs/lib/services/usrReportsService.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/Node.d.ts +1 -1
- package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/esm/lib/common/SeverityConditionConfig.d.ts +1 -1
- package/dist/esm/lib/common/SeverityIntervalTuple.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/esm/lib/entities/Account.d.ts +2 -2
- package/dist/esm/lib/entities/Account.js.map +1 -1
- package/dist/esm/lib/entities/AccountDTO.d.ts +1 -1
- package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +23 -0
- package/dist/esm/lib/entities/AccountReportDTO.js +5 -0
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -0
- 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/ApiKey.d.ts +1 -1
- package/dist/esm/lib/entities/ApiKey.js.map +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 +7 -7
- package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/InsightSpec.d.ts +1 -1
- package/dist/esm/lib/entities/InsightSpec.js.map +1 -1
- package/dist/esm/lib/entities/Rule.d.ts +1 -1
- package/dist/esm/lib/entities/Rule.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.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 +2 -2
- package/dist/esm/lib/entities/UserMembership.js.map +1 -1
- package/dist/esm/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
- package/dist/esm/lib/entities/index.d.ts +1 -0
- package/dist/esm/lib/entities/index.js +1 -0
- package/dist/esm/lib/entities/index.js.map +1 -1
- package/dist/esm/lib/pulse-client.d.ts +12 -12
- package/dist/esm/lib/pulse-client.js +12 -12
- package/dist/esm/lib/pulse-client.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +7 -2
- package/dist/esm/lib/services/sysAccountsService.js +25 -0
- package/dist/esm/lib/services/sysAccountsService.js.map +1 -1
- package/dist/esm/lib/services/sysAuditLogService.d.ts +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 +1 -1
- package/dist/esm/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/esm/lib/services/usrDevicesService.d.ts +4 -4
- package/dist/esm/lib/services/usrEventsService.d.ts +6 -6
- package/dist/esm/lib/services/usrMembersService.d.ts +1 -1
- package/dist/esm/lib/services/usrNetworkService.d.ts +1 -1
- package/dist/esm/lib/services/usrReportsService.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/Node.d.ts +1 -1
- package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/types/lib/common/SeverityConditionConfig.d.ts +1 -1
- package/dist/types/lib/common/SeverityIntervalTuple.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/types/lib/entities/Account.d.ts +2 -2
- package/dist/types/lib/entities/AccountDTO.d.ts +1 -1
- package/dist/types/lib/entities/AccountReportDTO.d.ts +23 -0
- 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/ApiKey.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 +7 -7
- package/dist/types/lib/entities/InsightSpec.d.ts +1 -1
- package/dist/types/lib/entities/Rule.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +1 -1
- package/dist/types/lib/entities/User.d.ts +2 -2
- package/dist/types/lib/entities/UserMembership.d.ts +2 -2
- package/dist/types/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/types/lib/entities/index.d.ts +1 -0
- package/dist/types/lib/pulse-client.d.ts +12 -12
- package/dist/types/lib/services/sysAccountsService.d.ts +7 -2
- package/dist/types/lib/services/sysAuditLogService.d.ts +1 -1
- 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 +1 -1
- package/dist/types/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/types/lib/services/usrDevicesService.d.ts +4 -4
- package/dist/types/lib/services/usrEventsService.d.ts +6 -6
- package/dist/types/lib/services/usrMembersService.d.ts +1 -1
- package/dist/types/lib/services/usrNetworkService.d.ts +1 -1
- package/dist/types/lib/services/usrReportsService.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,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { AccountTypeCode } from '../enums';
|
|
3
1
|
import { AccountStatusCode } from '../enums';
|
|
4
2
|
import { StringKeyValue } from '../common';
|
|
5
3
|
import { AccountSettings } from '../entities';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
|
+
import { AccountTypeCode } 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":";;;AAGA,kCAAqC;AAKrC,2DAA2D;AAC3D,MAAa,OAAQ,SAAQ,iBAAU;CAiCtC;AAjCD,0BAiCC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { AccountTypeCode } from '../enums';
|
|
3
2
|
import { AccountStatusCode } from '../enums';
|
|
4
3
|
import { FeatureCode } from '../enums';
|
|
5
4
|
import { StringKeyValue } from '../common';
|
|
6
5
|
import { AccountSettings } from '../entities';
|
|
6
|
+
import { BaseEntity } from '../base';
|
|
7
7
|
export declare class AccountDTO extends BaseEntity {
|
|
8
8
|
name: string;
|
|
9
9
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":";;;AAKA,kCAAqC;AAIrC,kDAAkD;AAClD,MAAa,UAAW,SAAQ,iBAAU;CAoCzC;AApCD,gCAoCC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AccountTypeCode } from '../enums';
|
|
2
|
+
import { AccountStatusCode } from '../enums';
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
4
|
+
import { AccountSettings } from '../entities';
|
|
5
|
+
import { DeviceReport } from '../entities';
|
|
6
|
+
import { IntDistribution } from '../entities';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
8
|
+
export declare class AccountReportDTO extends BaseEntity {
|
|
9
|
+
name: string;
|
|
10
|
+
externalId: string;
|
|
11
|
+
description: string;
|
|
12
|
+
type: AccountTypeCode;
|
|
13
|
+
status: AccountStatusCode;
|
|
14
|
+
groups: string[];
|
|
15
|
+
expiredOn: number;
|
|
16
|
+
tags: string[];
|
|
17
|
+
labels: StringKeyValue[];
|
|
18
|
+
settings: AccountSettings;
|
|
19
|
+
healthScore: number;
|
|
20
|
+
membersCount: number;
|
|
21
|
+
latestDeviceReport: DeviceReport;
|
|
22
|
+
deviceDistributionByStatus: IntDistribution;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountReportDTO = void 0;
|
|
4
|
+
const base_1 = require("../base");
|
|
5
|
+
// AccountReportDTO includes additional data related to Account for display
|
|
6
|
+
class AccountReportDTO extends base_1.BaseEntity {
|
|
7
|
+
}
|
|
8
|
+
exports.AccountReportDTO = AccountReportDTO;
|
|
9
|
+
//# sourceMappingURL=AccountReportDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":";;;AAMA,kCAAqC;AAIrC,2EAA2E;AAC3E,MAAa,gBAAiB,SAAQ,iBAAU;CA6C/C;AA7CD,4CA6CC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GeoData } from '../common';
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
1
|
+
import { TrafficDirectionCode } from '../enums';
|
|
4
2
|
import { BaseEntity } from '../base';
|
|
5
3
|
import { EventTypeCode } from '../enums';
|
|
6
4
|
import { EventStatusCode } from '../enums';
|
|
7
|
-
import {
|
|
5
|
+
import { GeoData } from '../common';
|
|
8
6
|
import { StringKeyValue } from '../common';
|
|
9
|
-
import {
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { EventCategoryCode } from '../enums';
|
|
10
10
|
export declare class Alert extends BaseEntity {
|
|
11
11
|
accountId: string;
|
|
12
12
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAWrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { EventCategoryCode } from '../enums';
|
|
2
|
+
import { TrafficDirectionCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
4
|
+
import { EventTypeCode } from '../enums';
|
|
1
5
|
import { SeverityTypeCode } from '../enums';
|
|
2
6
|
import { EventStatusCode } from '../enums';
|
|
3
7
|
import { RuleTypeCode } from '../enums';
|
|
4
|
-
import { GeoData } from '../common';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
|
-
import { EventTypeCode } from '../enums';
|
|
7
8
|
import { StringKeyValue } from '../common';
|
|
8
|
-
import {
|
|
9
|
-
import { TrafficDirectionCode } from '../enums';
|
|
9
|
+
import { GeoData } from '../common';
|
|
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":";;;AAEA,kCAAqC;AAWrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKey.js","sourceRoot":"","sources":["../../../../src/lib/entities/ApiKey.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ApiKey.js","sourceRoot":"","sources":["../../../../src/lib/entities/ApiKey.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,+FAA+F;AAC/F,MAAa,MAAO,SAAQ,iBAAU;CAwBrC;AAxBD,wBAwBC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { StringKeyValue } from '../common';
|
|
1
2
|
import { DeviceActionCode } from '../enums';
|
|
2
3
|
import { SIM } from '../entities';
|
|
3
4
|
import { GeoData } from '../common';
|
|
4
5
|
import { BaseEntity } from '../base';
|
|
5
6
|
import { DeviceTypeCode } from '../enums';
|
|
6
7
|
import { DeviceStatusCode } from '../enums';
|
|
7
|
-
import { StringKeyValue } from '../common';
|
|
8
8
|
export declare class Device extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAMrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SIM } from '../entities';
|
|
2
1
|
import { Event } from '../entities';
|
|
3
2
|
import { GeoData } from '../common';
|
|
4
3
|
import { BaseEntity } from '../base';
|
|
@@ -6,6 +5,7 @@ import { DeviceTypeCode } from '../enums';
|
|
|
6
5
|
import { DeviceStatusCode } from '../enums';
|
|
7
6
|
import { StringKeyValue } from '../common';
|
|
8
7
|
import { DeviceActionCode } from '../enums';
|
|
8
|
+
import { SIM } from '../entities';
|
|
9
9
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AASrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
1
2
|
import { EventStatusCode } from '../enums';
|
|
2
3
|
import { Indicator } from '../common';
|
|
3
|
-
import {
|
|
4
|
+
import { GeoData } from '../common';
|
|
4
5
|
import { StringKeyValue } from '../common';
|
|
5
6
|
import { EventCategoryCode } from '../enums';
|
|
6
|
-
import { EventOccurrence } from '../entities';
|
|
7
|
-
import { EventTypeCode } from '../enums';
|
|
8
7
|
import { SeverityTypeCode } from '../enums';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { EventOccurrence } from '../entities';
|
|
11
10
|
import { TrafficDirectionCode } from '../enums';
|
|
11
|
+
import { BaseEntity } from '../base';
|
|
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":";;;AAUA,kCAAqC;AAIrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { EventStatusCode } from '../enums';
|
|
4
|
-
import { GeoData } from '../common';
|
|
1
|
+
import { StringKeyValue } from '../common';
|
|
2
|
+
import { EventCategoryCode } from '../enums';
|
|
5
3
|
import { TrafficDirectionCode } from '../enums';
|
|
6
4
|
import { Device } from '../entities';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
6
|
+
import { EventTypeCode } from '../enums';
|
|
7
7
|
import { Indicator } from '../common';
|
|
8
8
|
import { RuleTypeCode } from '../enums';
|
|
9
|
-
import {
|
|
10
|
-
import { EventCategoryCode } from '../enums';
|
|
9
|
+
import { GeoData } from '../common';
|
|
11
10
|
import { EventOccurrence } from '../entities';
|
|
12
|
-
import {
|
|
11
|
+
import { SeverityTypeCode } from '../enums';
|
|
12
|
+
import { EventStatusCode } from '../enums';
|
|
13
13
|
export declare class EventWithDevice extends BaseEntity {
|
|
14
14
|
accountId: string;
|
|
15
15
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAWrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA8E9C;AA9ED,0CA8EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightSpec.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightSpec.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"InsightSpec.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightSpec.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,cAAc;AACd,mFAAmF;AACnF,MAAa,WAAY,SAAQ,iBAAU;CAkB1C;AAlBD,kCAkBC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventTypeCode } from '../enums';
|
|
2
1
|
import { SeverityTypeCode } from '../enums';
|
|
3
2
|
import { BaseEntity } from '../base';
|
|
4
3
|
import { RuleTypeCode } from '../enums';
|
|
5
4
|
import { DataSourceCode } from '../enums';
|
|
6
5
|
import { Condition } from '../entities';
|
|
7
6
|
import { DeviceTypeCode } from '../enums';
|
|
7
|
+
import { EventTypeCode } 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":";;;AACA,kCAAqC;AASrC,gCAAgC;AAChC,MAAa,IAAK,SAAQ,iBAAU;CAyDnC;AAzDD,oBAyDC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DataIngestion } from '../entities';
|
|
2
1
|
import { SessionTransform } from '../common';
|
|
3
2
|
import { UsageTransform } from '../common';
|
|
4
3
|
import { Thresholds } from '../common';
|
|
@@ -6,6 +5,7 @@ import { ShieldexConfig } from '../common';
|
|
|
6
5
|
import { EventSeverityConfig } from '../common';
|
|
7
6
|
import { DeviceActionCode } from '../enums';
|
|
8
7
|
import { DeviceConfig } from '../common';
|
|
8
|
+
import { DataIngestion } from '../entities';
|
|
9
9
|
export declare class StreamConfig {
|
|
10
10
|
ingest: DataIngestion;
|
|
11
11
|
sessionTransform: SessionTransform;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StringKeyValue } from '../common';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { UserTypeCode } from '../enums';
|
|
4
2
|
import { UserStatusCode } from '../enums';
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
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":";;;AAGA,kCAAqC;AAIrC,sGAAsG;AACtG,+DAA+D;AAC/D,MAAa,IAAK,SAAQ,iBAAU;CAiCnC;AAjCD,oBAiCC"}
|
|
@@ -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,kCAAqC;AAIrC,4EAA4E;AAC5E,MAAa,cAAe,SAAQ,iBAAU;CA2B7C;AA3BD,wCA2BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { UserTypeCode } from '../enums';
|
|
2
3
|
import { UserStatusCode } from '../enums';
|
|
3
4
|
import { AccountRole } from '../common';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class 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":";;;AAAA,kCAAqC;AAOrC,2EAA2E;AAC3E,MAAa,eAAgB,SAAQ,iBAAU;CA2B9C;AA3BD,0CA2BC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Account"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AccountDTO"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AccountReportDTO"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./AccountSettings"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./Action"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./Alert"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,uDAA6B;AAC7B,4DAAkC;AAClC,mDAAyB;AACzB,kDAAwB;AACxB,4DAAkC;AAClC,mDAAyB;AACzB,qDAA2B;AAC3B,wDAA8B;AAC9B,uDAA6B;AAC7B,sDAA4B;AAC5B,wDAA8B;AAC9B,yDAA+B;AAC/B,sDAA4B;AAC5B,0DAAgC;AAChC,oEAA0C;AAC1C,mDAAyB;AACzB,yDAA+B;AAC/B,6DAAmC;AACnC,yDAA+B;AAC/B,kDAAwB;AACxB,4DAAkC;AAClC,4DAAkC;AAClC,oDAA0B;AAC1B,0DAAgC;AAChC,kDAAwB;AACxB,kDAAwB;AACxB,oDAA0B;AAC1B,yDAA+B;AAC/B,wDAA8B;AAC9B,4DAAkC;AAClC,wDAA8B;AAC9B,mDAAyB;AACzB,mDAAyB;AACzB,mDAAyB;AACzB,iDAAuB;AACvB,yDAA+B;AAC/B,gDAAsB;AACtB,0DAAgC;AAChC,0DAAgC;AAChC,qDAA2B;AAC3B,mDAAyB;AACzB,kEAAwC;AACxC,yDAA+B;AAC/B,qEAA2C;AAC3C,wDAA8B;AAC9B,iDAAuB;AACvB,2DAAiC;AACjC,4DAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,uDAA6B;AAC7B,6DAAmC;AACnC,4DAAkC;AAClC,mDAAyB;AACzB,kDAAwB;AACxB,4DAAkC;AAClC,mDAAyB;AACzB,qDAA2B;AAC3B,wDAA8B;AAC9B,uDAA6B;AAC7B,sDAA4B;AAC5B,wDAA8B;AAC9B,yDAA+B;AAC/B,sDAA4B;AAC5B,0DAAgC;AAChC,oEAA0C;AAC1C,mDAAyB;AACzB,yDAA+B;AAC/B,6DAAmC;AACnC,yDAA+B;AAC/B,kDAAwB;AACxB,4DAAkC;AAClC,4DAAkC;AAClC,oDAA0B;AAC1B,0DAAgC;AAChC,kDAAwB;AACxB,kDAAwB;AACxB,oDAA0B;AAC1B,yDAA+B;AAC/B,wDAA8B;AAC9B,4DAAkC;AAClC,wDAA8B;AAC9B,mDAAyB;AACzB,mDAAyB;AACzB,mDAAyB;AACzB,iDAAuB;AACvB,yDAA+B;AAC/B,gDAAsB;AACtB,0DAAgC;AAChC,0DAAgC;AAChC,qDAA2B;AAC3B,mDAAyB;AACzB,kEAAwC;AACxC,yDAA+B;AAC/B,qEAA2C;AAC3C,wDAA8B;AAC9B,iDAAuB;AACvB,2DAAiC;AACjC,4DAAkC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { UsrAlertsService } from "./services";
|
|
2
|
-
import { UsrDevicesService } from "./services";
|
|
3
|
-
import { UsrEventsService } from "./services";
|
|
4
|
-
import { UsrNetworkService } from "./services";
|
|
5
|
-
import { UsrReportsService } from "./services";
|
|
6
|
-
import { UsrRulesService } from "./services";
|
|
7
1
|
import { SupportStreamAnalyticsConfig } from "./services";
|
|
8
2
|
import { SysAccountsService } from "./services";
|
|
9
3
|
import { SysAuditLogService } from "./services";
|
|
@@ -23,16 +17,16 @@ import { UsrInsightsService } from "./services";
|
|
|
23
17
|
import { UsrIntegrationsService } from "./services";
|
|
24
18
|
import { UsrMembersService } from "./services";
|
|
25
19
|
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 { UsrReportsService } from "./services";
|
|
25
|
+
import { UsrRulesService } from "./services";
|
|
26
26
|
export declare class PulseClient {
|
|
27
27
|
private restSvc;
|
|
28
28
|
private axiosInst;
|
|
29
29
|
constructor(apiUrl: string, apiKey?: string, accessToken?: string);
|
|
30
|
-
readonly UsrAlertsService: UsrAlertsService;
|
|
31
|
-
readonly UsrDevicesService: UsrDevicesService;
|
|
32
|
-
readonly UsrEventsService: UsrEventsService;
|
|
33
|
-
readonly UsrNetworkService: UsrNetworkService;
|
|
34
|
-
readonly UsrReportsService: UsrReportsService;
|
|
35
|
-
readonly UsrRulesService: UsrRulesService;
|
|
36
30
|
readonly SupportStreamAnalyticsConfig: SupportStreamAnalyticsConfig;
|
|
37
31
|
readonly SysAccountsService: SysAccountsService;
|
|
38
32
|
readonly SysAuditLogService: SysAuditLogService;
|
|
@@ -52,4 +46,10 @@ export declare class PulseClient {
|
|
|
52
46
|
readonly UsrIntegrationsService: UsrIntegrationsService;
|
|
53
47
|
readonly UsrMembersService: UsrMembersService;
|
|
54
48
|
readonly UsrUserService: UsrUserService;
|
|
49
|
+
readonly UsrAlertsService: UsrAlertsService;
|
|
50
|
+
readonly UsrDevicesService: UsrDevicesService;
|
|
51
|
+
readonly UsrEventsService: UsrEventsService;
|
|
52
|
+
readonly UsrNetworkService: UsrNetworkService;
|
|
53
|
+
readonly UsrReportsService: UsrReportsService;
|
|
54
|
+
readonly UsrRulesService: UsrRulesService;
|
|
55
55
|
}
|
|
@@ -49,31 +49,31 @@ class PulseClient {
|
|
|
49
49
|
this.axiosInst = axios_1.default.create(axiosRequestConfiguration);
|
|
50
50
|
this.restSvc = new utils_1.RestUtil(this.axiosInst);
|
|
51
51
|
// initialize services
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
52
|
+
this.SupportStreamAnalyticsConfig = new services_1.SupportStreamAnalyticsConfig(apiUrl, this.restSvc);
|
|
53
|
+
this.SysAccountsService = new services_2.SysAccountsService(apiUrl, this.restSvc);
|
|
54
|
+
this.SysAuditLogService = new services_3.SysAuditLogService(apiUrl, this.restSvc);
|
|
55
|
+
this.SysCheckpointsService = new services_4.SysCheckpointsService(apiUrl, this.restSvc);
|
|
56
|
+
this.SysConfigService = new services_5.SysConfigService(apiUrl, this.restSvc);
|
|
57
|
+
this.SysFeaturesService = new services_6.SysFeaturesService(apiUrl, this.restSvc);
|
|
58
|
+
this.SysGroupsService = new services_7.SysGroupsService(apiUrl, this.restSvc);
|
|
59
|
+
this.SysInsightsService = new services_8.SysInsightsService(apiUrl, this.restSvc);
|
|
60
|
+
this.SysKeysService = new services_9.SysKeysService(apiUrl, this.restSvc);
|
|
61
|
+
this.SysMembersService = new services_10.SysMembersService(apiUrl, this.restSvc);
|
|
62
|
+
this.SysRuleTemplatesService = new services_11.SysRuleTemplatesService(apiUrl, this.restSvc);
|
|
63
|
+
this.SysRulesService = new services_12.SysRulesService(apiUrl, this.restSvc);
|
|
64
|
+
this.SysStatisticsService = new services_13.SysStatisticsService(apiUrl, this.restSvc);
|
|
65
|
+
this.SysStreamsService = new services_14.SysStreamsService(apiUrl, this.restSvc);
|
|
66
|
+
this.SysUsersService = new services_15.SysUsersService(apiUrl, this.restSvc);
|
|
67
|
+
this.UsrInsightsService = new services_16.UsrInsightsService(apiUrl, this.restSvc);
|
|
68
|
+
this.UsrIntegrationsService = new services_17.UsrIntegrationsService(apiUrl, this.restSvc);
|
|
69
|
+
this.UsrMembersService = new services_18.UsrMembersService(apiUrl, this.restSvc);
|
|
70
|
+
this.UsrUserService = new services_19.UsrUserService(apiUrl, this.restSvc);
|
|
71
|
+
this.UsrAlertsService = new services_20.UsrAlertsService(apiUrl, this.restSvc);
|
|
72
|
+
this.UsrDevicesService = new services_21.UsrDevicesService(apiUrl, this.restSvc);
|
|
73
|
+
this.UsrEventsService = new services_22.UsrEventsService(apiUrl, this.restSvc);
|
|
74
|
+
this.UsrNetworkService = new services_23.UsrNetworkService(apiUrl, this.restSvc);
|
|
75
|
+
this.UsrReportsService = new services_24.UsrReportsService(apiUrl, this.restSvc);
|
|
76
|
+
this.UsrRulesService = new services_25.UsrRulesService(apiUrl, this.restSvc);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
exports.PulseClient = PulseClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pulse-client.js","sourceRoot":"","sources":["../../../src/lib/pulse-client.ts"],"names":[],"mappings":";;;;AAAA,0DAAiE;AACjE,oCAAoC;AAEpC,
|
|
1
|
+
{"version":3,"file":"pulse-client.js","sourceRo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,OAAO,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,kCAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/E,IAAI,CAAC,iBAAiB,GAAG,IAAI,6BAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,cAAc,GAAG,IAAI,0BAAc,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/D,IAAI,CAAC,gBAAgB,GAAG,IAAI,4BAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,IAAI,CAAC,iBAAiB,GAAG,IAAI,6BAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,gBAAgB,GAAG,IAAI,4BAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,IAAI,CAAC,iBAAiB,GAAG,IAAI,6BAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,iBAAiB,GAAG,IAAI,6BAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,eAAe,GAAG,IAAI,2BAAe,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAErE,CAAC;CA6BJ;AA9ED,kCA8EC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { AccountStatusCode } from '../enums';
|
|
3
|
-
import { Image } from '../entities';
|
|
4
2
|
import { Account } from '../entities';
|
|
5
3
|
import { AccountSettings } from '../entities';
|
|
6
4
|
import { AccountTypeCode } from '../enums';
|
|
5
|
+
import { AccountStatusCode } from '../enums';
|
|
6
|
+
import { Image } from '../entities';
|
|
7
|
+
import { AccountReportDTO } from '../entities';
|
|
7
8
|
export declare class SysAccountsService {
|
|
8
9
|
private apiUrl;
|
|
9
10
|
private rest;
|
|
@@ -41,4 +42,8 @@ export declare class SysAccountsService {
|
|
|
41
42
|
* Get account's logo image
|
|
42
43
|
*/
|
|
43
44
|
getLogo(id?: string): import("rxjs").Observable<EntityResponse<Image>>;
|
|
45
|
+
/**
|
|
46
|
+
* Find list of account reports by query
|
|
47
|
+
*/
|
|
48
|
+
findAccountReports(search?: string, type?: AccountTypeCode[], status?: AccountStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<AccountReportDTO>>;
|
|
44
49
|
}
|
|
@@ -80,6 +80,31 @@ class SysAccountsService {
|
|
|
80
80
|
getLogo(id) {
|
|
81
81
|
return this.rest.get(`${this.baseUrl}/logo`);
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Find list of account reports by query
|
|
85
|
+
*/
|
|
86
|
+
findAccountReports(search, type, status, sort, page, size) {
|
|
87
|
+
const params = [];
|
|
88
|
+
if (search != null) {
|
|
89
|
+
params.push(`search=${search}`);
|
|
90
|
+
}
|
|
91
|
+
if (type != null) {
|
|
92
|
+
params.push(`type=${type}`);
|
|
93
|
+
}
|
|
94
|
+
if (status != null) {
|
|
95
|
+
params.push(`status=${status}`);
|
|
96
|
+
}
|
|
97
|
+
if (sort != null) {
|
|
98
|
+
params.push(`sort=${sort}`);
|
|
99
|
+
}
|
|
100
|
+
if (page != null) {
|
|
101
|
+
params.push(`page=${page}`);
|
|
102
|
+
}
|
|
103
|
+
if (size != null) {
|
|
104
|
+
params.push(`size=${size}`);
|
|
105
|
+
}
|
|
106
|
+
return this.rest.get(`${this.baseUrl}/find-account-reports`, ...params);
|
|
107
|
+
}
|
|
83
108
|
}
|
|
84
109
|
exports.SysAccountsService = SysAccountsService;
|
|
85
110
|
//# sourceMappingURL=sysAccountsService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sysAccountsService.js","sourceRoot":"","sources":["../../../../src/lib/services/sysAccountsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"sysAccountsService.js","sourceRoot":"","sources":["../../../../src/lib/services/sysAccountsService.ts"],"names":[],"mappings":";;;AAWA,iEAAiE;AACjE,0EAA0E;AAC1E,0EAA0E;AAC1E,MAAa,kBAAkB;IAK7B,oBAAoB;IACpB,YAAoB,MAAc,EAAU,IAAc;QAAtC,WAAM,GAAN,MAAM,CAAQ;QAAU,SAAI,GAAJ,IAAI,CAAU;QAJ1D,iBAAiB;QACT,YAAO,GAAG,eAAe,CAAC;QAIhC,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;IACvC,CAAC;IAGD;;OAEG;IACH,MAAM,CAAC,IAAc;QACnB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA0B,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC3H,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAc;QACnB,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAA0B,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC7H,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,IAAsB;QACnC,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAiB,GAAG,IAAI,CAAC,OAAO,OAAO,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACzH,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAW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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { TimeSeriesOfFloat } from '../common';
|
|
3
2
|
import { AuditLog } from '../entities';
|
|
3
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
4
4
|
export declare class SysAuditLogService {
|
|
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,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 SysMembersService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|