@shieldiot/ngx-pulseiot-lib 2.21.1325 → 2.21.1376
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/package.json
CHANGED
|
@@ -501,10 +501,11 @@ declare class UsageTransform {
|
|
|
501
501
|
constructor(packetsIn?: ZScore, packetsOut?: ZScore, bytesIn?: ZScore, bytesOut?: ZScore, endpointsCount?: ZScore, portsCount?: ZScore);
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
declare class
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
504
|
+
declare class AccountRole {
|
|
505
|
+
accountId: string;
|
|
506
|
+
accountName: string;
|
|
507
|
+
role: MemberRoleCode;
|
|
508
|
+
constructor(accountId?: string, accountName?: string, role?: MemberRoleCode);
|
|
508
509
|
}
|
|
509
510
|
|
|
510
511
|
declare class BaseEntityEx {
|
|
@@ -516,6 +517,12 @@ declare class BaseEntityEx {
|
|
|
516
517
|
constructor(id?: string, createdOn?: number, updatedOn?: number, flag?: number, props?: any);
|
|
517
518
|
}
|
|
518
519
|
|
|
520
|
+
declare class Tuple<K, V> {
|
|
521
|
+
key: K;
|
|
522
|
+
value: V;
|
|
523
|
+
constructor(key?: K, value?: V);
|
|
524
|
+
}
|
|
525
|
+
|
|
519
526
|
declare class User extends BaseEntityEx {
|
|
520
527
|
name: string;
|
|
521
528
|
externalId: string;
|
|
@@ -531,13 +538,6 @@ declare class User extends BaseEntityEx {
|
|
|
531
538
|
}
|
|
532
539
|
declare function GetUserColumnsDef(): ColumnDef[];
|
|
533
540
|
|
|
534
|
-
declare class AccountRole {
|
|
535
|
-
accountId: string;
|
|
536
|
-
accountName: string;
|
|
537
|
-
role: MemberRoleCode;
|
|
538
|
-
constructor(accountId?: string, accountName?: string, role?: MemberRoleCode);
|
|
539
|
-
}
|
|
540
|
-
|
|
541
541
|
declare class UserMemberships extends User {
|
|
542
542
|
accountRoles: AccountRole[];
|
|
543
543
|
}
|
|
@@ -656,20 +656,6 @@ declare class DevicesAtRiskConfig {
|
|
|
656
656
|
constructor(minScore?: number);
|
|
657
657
|
}
|
|
658
658
|
|
|
659
|
-
declare class RuleCountThresholdConfig {
|
|
660
|
-
eventType: EventTypeCode;
|
|
661
|
-
threshold: number;
|
|
662
|
-
constructor(eventType?: EventTypeCode, threshold?: number);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
declare class RuleBasedSeverityConditionConfig {
|
|
666
|
-
severityType: SeverityTypeCode;
|
|
667
|
-
bias: number;
|
|
668
|
-
ruleConditionThresholdConfig: RuleCountThresholdConfig[];
|
|
669
|
-
ruleTypesThreshold: number;
|
|
670
|
-
constructor(severityType?: SeverityTypeCode, bias?: number, ruleConditionThresholdConfig?: RuleCountThresholdConfig[], ruleTypesThreshold?: number);
|
|
671
|
-
}
|
|
672
|
-
|
|
673
659
|
declare class FloatInterval {
|
|
674
660
|
from: number;
|
|
675
661
|
to: number;
|
|
@@ -685,6 +671,20 @@ declare class SeverityConditionConfig {
|
|
|
685
671
|
constructor(conditionSeverity?: SeverityTypeCode, sevs?: SeverityTypeCode[], countTH?: number, severityFactor?: number, severityRange?: Interval);
|
|
686
672
|
}
|
|
687
673
|
|
|
674
|
+
declare class RuleCountThresholdConfig {
|
|
675
|
+
eventType: EventTypeCode;
|
|
676
|
+
threshold: number;
|
|
677
|
+
constructor(eventType?: EventTypeCode, threshold?: number);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
declare class RuleBasedSeverityConditionConfig {
|
|
681
|
+
severityType: SeverityTypeCode;
|
|
682
|
+
bias: number;
|
|
683
|
+
ruleConditionThresholdConfig: RuleCountThresholdConfig[];
|
|
684
|
+
ruleTypesThreshold: number;
|
|
685
|
+
constructor(severityType?: SeverityTypeCode, bias?: number, ruleConditionThresholdConfig?: RuleCountThresholdConfig[], ruleTypesThreshold?: number);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
688
|
declare class DeviceScoreConfig {
|
|
689
689
|
deviceScoreAlphaFactor: number;
|
|
690
690
|
occurrenceThreshold: number;
|
|
@@ -824,7 +824,11 @@ declare class AccountSettings {
|
|
|
824
824
|
tabTitle: string;
|
|
825
825
|
tabIcon: string;
|
|
826
826
|
footer: string;
|
|
827
|
-
|
|
827
|
+
brandPrimary: string;
|
|
828
|
+
brandSidebarFrom: string;
|
|
829
|
+
brandSidebarTo: string;
|
|
830
|
+
brandSidebarWash: string;
|
|
831
|
+
constructor(defaultHomePageView?: HomePageViewCode, logo?: string, logoDark?: string, tabTitle?: string, tabIcon?: string, footer?: string, brandPrimary?: string, brandSidebarFrom?: string, brandSidebarTo?: string, brandSidebarWash?: string);
|
|
828
832
|
}
|
|
829
833
|
|
|
830
834
|
declare class AccountInfo extends BaseEntityEx {
|
|
@@ -1290,18 +1294,18 @@ declare class Member extends BaseEntity {
|
|
|
1290
1294
|
}
|
|
1291
1295
|
declare function GetMemberColumnsDef(): ColumnDef[];
|
|
1292
1296
|
|
|
1293
|
-
declare class TimeFrame {
|
|
1294
|
-
from: number;
|
|
1295
|
-
to: number;
|
|
1296
|
-
constructor(from?: number, to?: number);
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
1297
|
declare class TimeDataPoint<V> {
|
|
1300
1298
|
timestamp: number;
|
|
1301
1299
|
value: V;
|
|
1302
1300
|
constructor(timestamp?: number, value?: V);
|
|
1303
1301
|
}
|
|
1304
1302
|
|
|
1303
|
+
declare class TimeFrame {
|
|
1304
|
+
from: number;
|
|
1305
|
+
to: number;
|
|
1306
|
+
constructor(from?: number, to?: number);
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1305
1309
|
declare class TimeSeries<T> {
|
|
1306
1310
|
name: string;
|
|
1307
1311
|
range: TimeFrame;
|
|
@@ -1690,11 +1694,11 @@ declare class MaliciousIPData {
|
|
|
1690
1694
|
declare class TokenData {
|
|
1691
1695
|
accountId: string;
|
|
1692
1696
|
subjectId: string;
|
|
1693
|
-
subjectType:
|
|
1694
|
-
|
|
1695
|
-
status:
|
|
1697
|
+
subjectType: number;
|
|
1698
|
+
subjectRole: number;
|
|
1699
|
+
status: number;
|
|
1696
1700
|
expiresIn: number;
|
|
1697
|
-
constructor(accountId?: string, subjectId?: string, subjectType?:
|
|
1701
|
+
constructor(accountId?: string, subjectId?: string, subjectType?: number, subjectRole?: number, status?: number, expiresIn?: number);
|
|
1698
1702
|
}
|
|
1699
1703
|
|
|
1700
1704
|
declare class ConfigParams extends BaseEntity {
|
|
@@ -2881,6 +2885,10 @@ declare class UsrReportsService {
|
|
|
2881
2885
|
* Create PDF insights report and send it by mail to the user's email
|
|
2882
2886
|
*/
|
|
2883
2887
|
getInsightsReportByMail(streamId?: string, from?: number, to?: number, addresses?: string[]): rxjs.Observable<ActionResponse>;
|
|
2888
|
+
/**
|
|
2889
|
+
* Send the weekly digest email on demand for the caller's account
|
|
2890
|
+
*/
|
|
2891
|
+
sendWeeklyDigest(from?: number, to?: number, addresses?: string[]): rxjs.Observable<ActionResponse>;
|
|
2884
2892
|
/**
|
|
2885
2893
|
* Get network activity over time histogram over the provided time period
|
|
2886
2894
|
*/
|