@shieldiot/ngx-pulseiot-lib 2.20.1338 → 2.20.1341
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/index.d.ts
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;
|
|
@@ -1290,18 +1290,18 @@ declare class Member extends BaseEntity {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
declare function GetMemberColumnsDef(): ColumnDef[];
|
|
1292
1292
|
|
|
1293
|
-
declare class TimeFrame {
|
|
1294
|
-
from: number;
|
|
1295
|
-
to: number;
|
|
1296
|
-
constructor(from?: number, to?: number);
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
1293
|
declare class TimeDataPoint<V> {
|
|
1300
1294
|
timestamp: number;
|
|
1301
1295
|
value: V;
|
|
1302
1296
|
constructor(timestamp?: number, value?: V);
|
|
1303
1297
|
}
|
|
1304
1298
|
|
|
1299
|
+
declare class TimeFrame {
|
|
1300
|
+
from: number;
|
|
1301
|
+
to: number;
|
|
1302
|
+
constructor(from?: number, to?: number);
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
1305
|
declare class TimeSeries<T> {
|
|
1306
1306
|
name: string;
|
|
1307
1307
|
range: TimeFrame;
|
|
@@ -1690,11 +1690,11 @@ declare class MaliciousIPData {
|
|
|
1690
1690
|
declare class TokenData {
|
|
1691
1691
|
accountId: string;
|
|
1692
1692
|
subjectId: string;
|
|
1693
|
-
subjectType:
|
|
1694
|
-
|
|
1695
|
-
status:
|
|
1693
|
+
subjectType: number;
|
|
1694
|
+
subjectRole: number;
|
|
1695
|
+
status: number;
|
|
1696
1696
|
expiresIn: number;
|
|
1697
|
-
constructor(accountId?: string, subjectId?: string, subjectType?:
|
|
1697
|
+
constructor(accountId?: string, subjectId?: string, subjectType?: number, subjectRole?: number, status?: number, expiresIn?: number);
|
|
1698
1698
|
}
|
|
1699
1699
|
|
|
1700
1700
|
declare class ConfigParams extends BaseEntity {
|