@shieldiot/pulse-lib 1.0.330 → 1.0.332

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.
Files changed (116) hide show
  1. package/dist/cjs/lib/common/DeviceScoreConfig.d.ts +2 -2
  2. package/dist/cjs/lib/common/TimeSeries.d.ts +1 -1
  3. package/dist/cjs/lib/common/TimeSeriesOf2D.d.ts +1 -1
  4. package/dist/cjs/lib/entities/AccountReportDTO.d.ts +1 -1
  5. package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
  6. package/dist/cjs/lib/entities/Alert.d.ts +5 -5
  7. package/dist/cjs/lib/entities/Alert.js.map +1 -1
  8. package/dist/cjs/lib/entities/AlertWithDevice.d.ts +5 -5
  9. package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
  10. package/dist/cjs/lib/entities/AuditLog.d.ts +1 -1
  11. package/dist/cjs/lib/entities/AuditLog.js.map +1 -1
  12. package/dist/cjs/lib/entities/ConfigParams.d.ts +1 -1
  13. package/dist/cjs/lib/entities/ConfigParams.js.map +1 -1
  14. package/dist/cjs/lib/entities/Device.d.ts +1 -1
  15. package/dist/cjs/lib/entities/Device.js.map +1 -1
  16. package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +2 -2
  17. package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
  18. package/dist/cjs/lib/entities/Event.d.ts +5 -5
  19. package/dist/cjs/lib/entities/Event.js.map +1 -1
  20. package/dist/cjs/lib/entities/EventWithDevice.d.ts +6 -6
  21. package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
  22. package/dist/cjs/lib/entities/Feature.d.ts +1 -1
  23. package/dist/cjs/lib/entities/Feature.js.map +1 -1
  24. package/dist/cjs/lib/entities/Group.d.ts +1 -1
  25. package/dist/cjs/lib/entities/Group.js.map +1 -1
  26. package/dist/cjs/lib/entities/InsightQuery.d.ts +1 -1
  27. package/dist/cjs/lib/entities/InsightQuery.js.map +1 -1
  28. package/dist/cjs/lib/entities/Integration.d.ts +3 -3
  29. package/dist/cjs/lib/entities/Integration.js.map +1 -1
  30. package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  31. package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
  32. package/dist/cjs/lib/entities/StreamConfig.d.ts +1 -1
  33. package/dist/cjs/lib/entities/UserMembership.d.ts +1 -1
  34. package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
  35. package/dist/cjs/lib/entities/UserMemberships.d.ts +1 -1
  36. package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
  37. package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
  38. package/dist/cjs/lib/services/usrAlertsService.d.ts +7 -7
  39. package/dist/cjs/lib/services/usrDevicesService.d.ts +19 -13
  40. package/dist/cjs/lib/services/usrDevicesService.js +63 -5
  41. package/dist/cjs/lib/services/usrDevicesService.js.map +1 -1
  42. package/dist/cjs/lib/services/usrEventsService.d.ts +6 -6
  43. package/dist/cjs/lib/services/usrRulesService.d.ts +2 -2
  44. package/dist/cjs/lib/services/usrUserService.d.ts +2 -2
  45. package/dist/esm/lib/common/DeviceScoreConfig.d.ts +2 -2
  46. package/dist/esm/lib/common/TimeSeries.d.ts +1 -1
  47. package/dist/esm/lib/common/TimeSeriesOf2D.d.ts +1 -1
  48. package/dist/esm/lib/entities/AccountReportDTO.d.ts +1 -1
  49. package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
  50. package/dist/esm/lib/entities/Alert.d.ts +5 -5
  51. package/dist/esm/lib/entities/Alert.js.map +1 -1
  52. package/dist/esm/lib/entities/AlertWithDevice.d.ts +5 -5
  53. package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
  54. package/dist/esm/lib/entities/AuditLog.d.ts +1 -1
  55. package/dist/esm/lib/entities/AuditLog.js.map +1 -1
  56. package/dist/esm/lib/entities/ConfigParams.d.ts +1 -1
  57. package/dist/esm/lib/entities/ConfigParams.js.map +1 -1
  58. package/dist/esm/lib/entities/Device.d.ts +1 -1
  59. package/dist/esm/lib/entities/Device.js.map +1 -1
  60. package/dist/esm/lib/entities/DeviceWithEvents.d.ts +2 -2
  61. package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
  62. package/dist/esm/lib/entities/Event.d.ts +5 -5
  63. package/dist/esm/lib/entities/Event.js.map +1 -1
  64. package/dist/esm/lib/entities/EventWithDevice.d.ts +6 -6
  65. package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
  66. package/dist/esm/lib/entities/Feature.d.ts +1 -1
  67. package/dist/esm/lib/entities/Feature.js.map +1 -1
  68. package/dist/esm/lib/entities/Group.d.ts +1 -1
  69. package/dist/esm/lib/entities/Group.js.map +1 -1
  70. package/dist/esm/lib/entities/InsightQuery.d.ts +1 -1
  71. package/dist/esm/lib/entities/InsightQuery.js.map +1 -1
  72. package/dist/esm/lib/entities/Integration.d.ts +3 -3
  73. package/dist/esm/lib/entities/Integration.js.map +1 -1
  74. package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  75. package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
  76. package/dist/esm/lib/entities/StreamConfig.d.ts +1 -1
  77. package/dist/esm/lib/entities/UserMembership.d.ts +1 -1
  78. package/dist/esm/lib/entities/UserMembership.js.map +1 -1
  79. package/dist/esm/lib/entities/UserMemberships.d.ts +1 -1
  80. package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
  81. package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
  82. package/dist/esm/lib/services/usrAlertsService.d.ts +7 -7
  83. package/dist/esm/lib/services/usrDevicesService.d.ts +19 -13
  84. package/dist/esm/lib/services/usrDevicesService.js +63 -5
  85. package/dist/esm/lib/services/usrDevicesService.js.map +1 -1
  86. package/dist/esm/lib/services/usrEventsService.d.ts +6 -6
  87. package/dist/esm/lib/services/usrRulesService.d.ts +2 -2
  88. package/dist/esm/lib/services/usrUserService.d.ts +2 -2
  89. package/dist/types/lib/common/DeviceScoreConfig.d.ts +2 -2
  90. package/dist/types/lib/common/TimeSeries.d.ts +1 -1
  91. package/dist/types/lib/common/TimeSeriesOf2D.d.ts +1 -1
  92. package/dist/types/lib/entities/AccountReportDTO.d.ts +1 -1
  93. package/dist/types/lib/entities/Alert.d.ts +5 -5
  94. package/dist/types/lib/entities/AlertWithDevice.d.ts +5 -5
  95. package/dist/types/lib/entities/AuditLog.d.ts +1 -1
  96. package/dist/types/lib/entities/ConfigParams.d.ts +1 -1
  97. package/dist/types/lib/entities/Device.d.ts +1 -1
  98. package/dist/types/lib/entities/DeviceWithEvents.d.ts +2 -2
  99. package/dist/types/lib/entities/Event.d.ts +5 -5
  100. package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
  101. package/dist/types/lib/entities/Feature.d.ts +1 -1
  102. package/dist/types/lib/entities/Group.d.ts +1 -1
  103. package/dist/types/lib/entities/InsightQuery.d.ts +1 -1
  104. package/dist/types/lib/entities/Integration.d.ts +3 -3
  105. package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  106. package/dist/types/lib/entities/StreamConfig.d.ts +1 -1
  107. package/dist/types/lib/entities/UserMembership.d.ts +1 -1
  108. package/dist/types/lib/entities/UserMemberships.d.ts +1 -1
  109. package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
  110. package/dist/types/lib/services/usrAlertsService.d.ts +7 -7
  111. package/dist/types/lib/services/usrDevicesService.d.ts +19 -13
  112. package/dist/types/lib/services/usrEventsService.d.ts +6 -6
  113. package/dist/types/lib/services/usrRulesService.d.ts +2 -2
  114. package/dist/types/lib/services/usrUserService.d.ts +2 -2
  115. package/dist/umd/index.js +1 -1
  116. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { Interval } from '../common';
2
- import { SeverityConditionConfig } from '../common';
3
1
  import { RuleCountThresholdConfig } from '../common';
4
2
  import { RuleBasedSeverityConditionConfig } from '../common';
3
+ import { Interval } from '../common';
4
+ import { SeverityConditionConfig } from '../common';
5
5
  export declare class DeviceScoreConfig {
6
6
  deviceScoreAlphaFactor: number;
7
7
  occurrenceThreshold: number;
@@ -1,5 +1,5 @@
1
- import { TimeDataPoint } from '../common';
2
1
  import { TimeFrame } from '../common';
2
+ import { TimeDataPoint } from '../common';
3
3
  export declare class TimeSeries {
4
4
  name: string;
5
5
  range: TimeFrame;
@@ -1,5 +1,5 @@
1
- import { TimeDataPoint2D } from '../common';
2
1
  import { TimeFrame } from '../common';
2
+ import { TimeDataPoint2D } from '../common';
3
3
  export declare class TimeSeriesOf2D {
4
4
  name: string;
5
5
  range: TimeFrame;
@@ -1,10 +1,10 @@
1
- import { IntDistribution } from '../entities';
2
1
  import { BaseEntity } from '../base';
3
2
  import { AccountTypeCode } from '../enums';
4
3
  import { AccountStatusCode } from '../enums';
5
4
  import { StringKeyValue } from '../common';
6
5
  import { AccountSettings } from '../entities';
7
6
  import { DeviceReport } from '../entities';
7
+ import { IntDistribution } from '../entities';
8
8
  export declare class AccountReportDTO extends BaseEntity {
9
9
  name: string;
10
10
  externalId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AASrC,2EAA2E;AAC3E,MAAa,gBAAiB,SAAQ,iBAAU;CA6C/C;AA7CD,4CA6CC"}
1
+ {"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAUrC,2EAA2E;AAC3E,MAAa,gBAAiB,SAAQ,iBAAU;CA6C/C;AA7CD,4CA6CC"}
@@ -1,12 +1,12 @@
1
- import { BaseEntity } from '../base';
1
+ import { EventTypeCode } from '../enums';
2
2
  import { EventStatusCode } from '../enums';
3
- import { StringKeyValue } from '../common';
4
- import { TrafficDirectionCode } from '../enums';
5
- import { GeoData } from '../common';
6
3
  import { EventCategoryCode } from '../enums';
7
- import { EventTypeCode } from '../enums';
4
+ import { TrafficDirectionCode } from '../enums';
5
+ import { BaseEntity } from '../base';
8
6
  import { SeverityTypeCode } from '../enums';
9
7
  import { RuleTypeCode } from '../enums';
8
+ import { GeoData } from '../common';
9
+ import { StringKeyValue } from '../common';
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":";;;AAAA,kCAAqC;AAYrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
1
+ {"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAQrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
@@ -1,13 +1,13 @@
1
1
  import { RuleTypeCode } from '../enums';
2
2
  import { GeoData } from '../common';
3
- import { StringKeyValue } from '../common';
4
- import { TrafficDirectionCode } from '../enums';
5
- import { BaseEntity } from '../base';
6
- import { SeverityTypeCode } from '../enums';
7
- import { EventStatusCode } from '../enums';
8
3
  import { EventCategoryCode } from '../enums';
4
+ import { TrafficDirectionCode } from '../enums';
9
5
  import { Device } from '../entities';
6
+ import { BaseEntity } from '../base';
10
7
  import { EventTypeCode } from '../enums';
8
+ import { EventStatusCode } from '../enums';
9
+ import { SeverityTypeCode } from '../enums';
10
+ import { StringKeyValue } from '../common';
11
11
  export declare class AlertWithDevice extends BaseEntity {
12
12
  accountId: string;
13
13
  streamId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AlertWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/AlertWithDevice.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AASrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
1
+ {"version":3,"file":"AlertWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/AlertWithDevice.ts"],"names":[],"mappings":";;;AAKA,kCAAqC;AAQrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA2E9C;AA3ED,0CA2EC"}
@@ -1,5 +1,5 @@
1
- import { BaseEntity } from '../base';
2
1
  import { UserTypeCode } from '../enums';
2
+ import { BaseEntity } from '../base';
3
3
  export declare class AuditLog extends BaseEntity {
4
4
  accountId: string;
5
5
  userId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AuditLog.js","sourceRoot":"","sources":["../../../../src/lib/entities/AuditLog.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,iEAAiE;AACjE,MAAa,QAAS,SAAQ,iBAAU;CA8BvC;AA9BD,4BA8BC"}
1
+ {"version":3,"file":"AuditLog.js","sourceRoot":"","sources":["../../../../src/lib/entities/AuditLog.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,iEAAiE;AACjE,MAAa,QAAS,SAAQ,iBAAU;CA8BvC;AA9BD,4BA8BC"}
@@ -1,5 +1,5 @@
1
- import { BaseEntity } from '../base';
2
1
  import { ConfigParam } from '../entities';
2
+ import { BaseEntity } from '../base';
3
3
  export declare class ConfigParams extends BaseEntity {
4
4
  params: ConfigParam[];
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigParams.js","sourceRoot":"","sources":["../../../../src/lib/entities/ConfigParams.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,gEAAgE;AAChE,MAAa,YAAa,SAAQ,iBAAU;CAM3C;AAND,oCAMC"}
1
+ {"version":3,"file":"ConfigParams.js","sourceRoot":"","sources":["../../../../src/lib/entities/ConfigParams.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,gEAAgE;AAChE,MAAa,YAAa,SAAQ,iBAAU;CAM3C;AAND,oCAMC"}
@@ -1,10 +1,10 @@
1
- import { DeviceActionCode } from '../enums';
2
1
  import { SIM } from '../entities';
3
2
  import { GeoData } from '../common';
4
3
  import { BaseEntity } from '../base';
5
4
  import { DeviceTypeCode } from '../enums';
6
5
  import { DeviceStatusCode } from '../enums';
7
6
  import { StringKeyValue } from '../common';
7
+ import { DeviceActionCode } from '../enums';
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":";;;AAGA,kCAAqC;AAOrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
1
+ {"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAQrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
@@ -1,11 +1,11 @@
1
+ import { DeviceStatusCode } from '../enums';
2
+ import { StringKeyValue } from '../common';
1
3
  import { DeviceActionCode } from '../enums';
2
4
  import { SIM } from '../entities';
3
5
  import { Event } from '../entities';
4
6
  import { GeoData } from '../common';
5
7
  import { BaseEntity } from '../base';
6
8
  import { DeviceTypeCode } from '../enums';
7
- import { DeviceStatusCode } from '../enums';
8
- import { StringKeyValue } from '../common';
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":";;;AAIA,kCAAqC;AAOrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
1
+ {"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;AAMA,kCAAqC;AAKrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
@@ -1,14 +1,14 @@
1
- import { RuleTypeCode } from '../enums';
2
- import { EventCategoryCode } from '../enums';
3
1
  import { EventOccurrence } from '../entities';
4
2
  import { TrafficDirectionCode } from '../enums';
3
+ import { BaseEntity } from '../base';
5
4
  import { SeverityTypeCode } from '../enums';
5
+ import { RuleTypeCode } from '../enums';
6
+ import { StringKeyValue } from '../common';
7
+ import { EventCategoryCode } from '../enums';
8
+ import { EventTypeCode } from '../enums';
6
9
  import { EventStatusCode } from '../enums';
7
10
  import { Indicator } from '../common';
8
11
  import { GeoData } from '../common';
9
- import { StringKeyValue } from '../common';
10
- import { BaseEntity } from '../base';
11
- import { EventTypeCode } from '../enums';
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":";;;AASA,kCAAqC;AAKrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
1
+ {"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../../src/lib/entities/Event.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAYrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
@@ -1,15 +1,15 @@
1
- import { SeverityTypeCode } from '../enums';
2
- import { RuleTypeCode } from '../enums';
3
- import { StringKeyValue } from '../common';
4
1
  import { EventCategoryCode } from '../enums';
5
2
  import { EventOccurrence } from '../entities';
6
- import { Device } from '../entities';
7
3
  import { BaseEntity } from '../base';
8
- import { EventTypeCode } from '../enums';
4
+ import { SeverityTypeCode } from '../enums';
5
+ import { EventStatusCode } from '../enums';
9
6
  import { Indicator } from '../common';
7
+ import { StringKeyValue } from '../common';
8
+ import { Device } from '../entities';
9
+ import { EventTypeCode } from '../enums';
10
+ import { RuleTypeCode } from '../enums';
10
11
  import { GeoData } from '../common';
11
12
  import { TrafficDirectionCode } 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":";;;AAMA,kCAAqC;AASrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA8E9C;AA9ED,0CA8EC"}
1
+ {"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAarC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA8E9C;AA9ED,0CA8EC"}
@@ -1,5 +1,5 @@
1
- import { BaseEntity } from '../base';
2
1
  import { FeatureCode } from '../enums';
2
+ import { BaseEntity } from '../base';
3
3
  export declare class Feature extends BaseEntity {
4
4
  code: FeatureCode;
5
5
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../src/lib/entities/Feature.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,qEAAqE;AACrE,MAAa,OAAQ,SAAQ,iBAAU;CAStC;AATD,0BASC"}
1
+ {"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../src/lib/entities/Feature.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,qEAAqE;AACrE,MAAa,OAAQ,SAAQ,iBAAU;CAStC;AATD,0BASC"}
@@ -1,5 +1,5 @@
1
- import { AccountRole } from '../common';
2
1
  import { BaseEntity } from '../base';
2
+ import { AccountRole } from '../common';
3
3
  export declare class Group extends BaseEntity {
4
4
  name: string;
5
5
  externalId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/lib/entities/Group.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAIrC,6DAA6D;AAC7D,MAAa,KAAM,SAAQ,iBAAU;CAepC;AAfD,sBAeC"}
1
+ {"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/lib/entities/Group.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAKrC,6DAA6D;AAC7D,MAAa,KAAM,SAAQ,iBAAU;CAepC;AAfD,sBAeC"}
@@ -1,6 +1,6 @@
1
- import { BaseEntity } from '../base';
2
1
  import { InsightTypeCode } from '../enums';
3
2
  import { DirectionContextCode } from '../enums';
3
+ import { BaseEntity } from '../base';
4
4
  export declare class InsightQuery extends BaseEntity {
5
5
  type: InsightTypeCode;
6
6
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"InsightQuery.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightQuery.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAMrC,eAAe;AACf,kIAAkI;AAClI,MAAa,YAAa,SAAQ,iBAAU;CAqB3C;AArBD,oCAqBC"}
1
+ {"version":3,"file":"InsightQuery.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightQuery.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAIrC,eAAe;AACf,kIAAkI;AAClI,MAAa,YAAa,SAAQ,iBAAU;CAqB3C;AArBD,oCAqBC"}
@@ -1,11 +1,11 @@
1
- import { HttpMethodCode } from '../enums';
2
- import { StringKeyValue } from '../common';
3
- import { EventTypeCode } from '../enums';
4
1
  import { SeverityTypeCode } from '../enums';
5
2
  import { DeviceActionCode } from '../enums';
6
3
  import { BaseEntity } from '../base';
7
4
  import { IntegrationTypeCode } from '../enums';
8
5
  import { IntegrationTriggerCode } from '../enums';
6
+ import { HttpMethodCode } from '../enums';
7
+ import { StringKeyValue } from '../common';
8
+ import { EventTypeCode } from '../enums';
9
9
  export declare class Integration extends BaseEntity {
10
10
  accountId: string;
11
11
  streamId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Integration.js","sourceRoot":"","sources":["../../../../src/lib/entities/Integration.ts"],"names":[],"mappings":";;;AAKA,kCAAqC;AAMrC,6BAA6B;AAC7B,MAAa,WAAY,SAAQ,iBAAU;CAkE1C;AAlED,kCAkEC"}
1
+ {"version":3,"file":"Integration.js","sourceRoot":"","sources":["../../../../src/lib/entities/Integration.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AASrC,6BAA6B;AAC7B,MAAa,WAAY,SAAQ,iBAAU;CAkE1C;AAlED,kCAkEC"}
@@ -1,8 +1,8 @@
1
- import { BaseEntity } from '../base';
2
1
  import { Thresholds } from '../common';
3
2
  import { ShieldexConfig } from '../common';
4
3
  import { EventSeverityConfig } from '../common';
5
4
  import { DeviceConfig } from '../common';
5
+ import { BaseEntity } from '../base';
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":";;;AAAA,kCAAqC;AAQrC,0EAA0E;AAC1E,MAAa,qBAAsB,SAAQ,iBAAU;CAkBpD;AAlBD,sDAkBC"}
1
+ {"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAIrC,0EAA0E;AAC1E,MAAa,qBAAsB,SAAQ,iBAAU;CAkBpD;AAlBD,sDAkBC"}
@@ -1,3 +1,4 @@
1
+ import { EventSeverityConfig } from '../common';
1
2
  import { DeviceActionCode } from '../enums';
2
3
  import { DeviceConfig } from '../common';
3
4
  import { DataIngestion } from '../entities';
@@ -5,7 +6,6 @@ import { SessionTransform } from '../common';
5
6
  import { UsageTransform } from '../common';
6
7
  import { Thresholds } from '../common';
7
8
  import { ShieldexConfig } from '../common';
8
- import { EventSeverityConfig } from '../common';
9
9
  export declare class StreamConfig {
10
10
  ingest: DataIngestion;
11
11
  sessionTransform: SessionTransform;
@@ -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":";;;AAGA,kCAAqC;AAIrC,4EAA4E;AAC5E,MAAa,cAAe,SAAQ,iBAAU;CA2B7C;AA3BD,wCA2BC"}
1
+ {"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAKrC,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":";;;AAGA,kCAAqC;AAIrC,2EAA2E;AAC3E,MAAa,eAAgB,SAAQ,iBAAU;CA2B9C;AA3BD,0CA2BC"}
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"}
@@ -1,10 +1,10 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { Image } from '../entities';
3
+ import { AccountReportDTO } from '../entities';
2
4
  import { Account } from '../entities';
3
5
  import { AccountSettings } from '../entities';
4
6
  import { AccountTypeCode } from '../enums';
5
7
  import { AccountStatusCode } from '../enums';
6
- import { Image } from '../entities';
7
- import { AccountReportDTO } from '../entities';
8
8
  export declare class SysAccountsService {
9
9
  private apiUrl;
10
10
  private rest;
@@ -1,18 +1,18 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { TimeSeriesOfFloat } from '../common';
2
3
  import { Alert } from '../entities';
3
- import { RuleTypeCode } from '../enums';
4
- import { MaliciousIPData } from '../common';
5
- import { DeviceActionCode } from '../enums';
6
- import { MaliciousIPCard } from '../common';
7
4
  import { EventTypeCode } from '../enums';
5
+ import { IntDistribution } from '../entities';
6
+ import { StringKeyValue } from '../common';
8
7
  import { SeverityTypeCode } from '../enums';
9
8
  import { EventCategoryCode } from '../enums';
10
- import { TimeSeriesOfFloat } from '../common';
11
- import { IntDistribution } from '../entities';
9
+ import { DeviceActionCode } from '../enums';
12
10
  import { TimeSeriesOf2D } from '../common';
11
+ import { MaliciousIPCard } from '../common';
13
12
  import { EventStatusCode } from '../enums';
13
+ import { RuleTypeCode } from '../enums';
14
14
  import { AlertWithDevice } from '../entities';
15
- import { StringKeyValue } from '../common';
15
+ import { MaliciousIPData } from '../common';
16
16
  export declare class UsrAlertsService {
17
17
  private apiUrl;
18
18
  private rest;
@@ -1,17 +1,19 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { TimeSeriesOfDeviceReport } from '../entities';
3
- import { DeviceReport } from '../entities';
4
- import { TimeSeriesOfDataConsumption } from '../common';
5
2
  import { BulkDevices } from '../entities';
6
- import { NetworkMap } from '../common';
7
3
  import { DeviceStatusCode } from '../enums';
8
- import { SeverityTypeCode } from '../enums';
9
4
  import { DeviceWithEvents } from '../entities';
10
- import { IntDistribution } from '../entities';
11
- import { DeviceActionCode } from '../enums';
5
+ import { DeviceTypeCode } from '../enums';
6
+ import { MapBounds } from '../common';
12
7
  import { NetworkMapTypeCode } from '../enums';
8
+ import { DeviceReport } from '../entities';
9
+ import { TimeSeriesOfDataConsumption } from '../common';
13
10
  import { Device } from '../entities';
14
- import { DeviceTypeCode } from '../enums';
11
+ import { IntDistribution } from '../entities';
12
+ import { DeviceActionCode } from '../enums';
13
+ import { NetworkMap } from '../common';
14
+ import { TimeSeriesOfDeviceReport } from '../entities';
15
+ import { DevicesMap } from '../common';
16
+ import { SeverityTypeCode } from '../enums';
15
17
  export declare class UsrDevicesService {
16
18
  private apiUrl;
17
19
  private rest;
@@ -44,7 +46,7 @@ export declare class UsrDevicesService {
44
46
  /**
45
47
  * Find list of devices by query
46
48
  */
47
- find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Device>>;
49
+ find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntitiesResponse<Device>>;
48
50
  /**
49
51
  * Export list of devices by query to a file with the specified format
50
52
  */
@@ -52,19 +54,19 @@ export declare class UsrDevicesService {
52
54
  /**
53
55
  * Find top 10 devices by their score filter by query
54
56
  */
55
- findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<DeviceWithEvents>>;
57
+ findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntitiesResponse<DeviceWithEvents>>;
56
58
  /**
57
59
  * Find device distribution by type filtered by query
58
60
  */
59
- countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<IntDistribution>>;
61
+ countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<IntDistribution>>;
60
62
  /**
61
63
  * Find device distribution by status filtered by query
62
64
  */
63
- countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<IntDistribution>>;
65
+ countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<IntDistribution>>;
64
66
  /**
65
67
  * Find device distribution by action filtered by query
66
68
  */
67
- countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<IntDistribution>>;
69
+ countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<IntDistribution>>;
68
70
  /**
69
71
  * Add tag to a device
70
72
  */
@@ -105,4 +107,8 @@ export declare class UsrDevicesService {
105
107
  * Find list of devices by Insight id query
106
108
  */
107
109
  findByInsightContext(streamId?: string, insightId?: string, from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Device>>;
110
+ /**
111
+ * Find devices map
112
+ */
113
+ findDevicesMap(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<DevicesMap>>;
108
114
  }
@@ -52,7 +52,7 @@ class UsrDevicesService {
52
52
  /**
53
53
  * Find list of devices by query
54
54
  */
55
- find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
55
+ find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
56
56
  const params = [];
57
57
  if (streamId != null) {
58
58
  params.push(`streamId=${streamId}`);
@@ -87,6 +87,9 @@ class UsrDevicesService {
87
87
  if (size != null) {
88
88
  params.push(`size=${size}`);
89
89
  }
90
+ if (mapBounds != null) {
91
+ params.push(`mapBounds=${mapBounds}`);
92
+ }
90
93
  return this.rest.get(`${this.baseUrl}`, ...params);
91
94
  }
92
95
  /**
@@ -129,7 +132,7 @@ class UsrDevicesService {
129
132
  /**
130
133
  * Find top 10 devices by their score filter by query
131
134
  */
132
- findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
135
+ findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
133
136
  const params = [];
134
137
  if (streamId != null) {
135
138
  params.push(`streamId=${streamId}`);
@@ -164,12 +167,15 @@ class UsrDevicesService {
164
167
  if (size != null) {
165
168
  params.push(`size=${size}`);
166
169
  }
170
+ if (mapBounds != null) {
171
+ params.push(`mapBounds=${mapBounds}`);
172
+ }
167
173
  return this.rest.get(`${this.baseUrl}/top`, ...params);
168
174
  }
169
175
  /**
170
176
  * Find device distribution by type filtered by query
171
177
  */
172
- countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
178
+ countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
173
179
  const params = [];
174
180
  if (streamId != null) {
175
181
  params.push(`streamId=${streamId}`);
@@ -204,12 +210,15 @@ class UsrDevicesService {
204
210
  if (size != null) {
205
211
  params.push(`size=${size}`);
206
212
  }
213
+ if (mapBounds != null) {
214
+ params.push(`mapBounds=${mapBounds}`);
215
+ }
207
216
  return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
208
217
  }
209
218
  /**
210
219
  * Find device distribution by status filtered by query
211
220
  */
212
- countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
221
+ countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
213
222
  const params = [];
214
223
  if (streamId != null) {
215
224
  params.push(`streamId=${streamId}`);
@@ -244,12 +253,15 @@ class UsrDevicesService {
244
253
  if (size != null) {
245
254
  params.push(`size=${size}`);
246
255
  }
256
+ if (mapBounds != null) {
257
+ params.push(`mapBounds=${mapBounds}`);
258
+ }
247
259
  return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
248
260
  }
249
261
  /**
250
262
  * Find device distribution by action filtered by query
251
263
  */
252
- countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size) {
264
+ countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
253
265
  const params = [];
254
266
  if (streamId != null) {
255
267
  params.push(`streamId=${streamId}`);
@@ -284,6 +296,9 @@ class UsrDevicesService {
284
296
  if (size != null) {
285
297
  params.push(`size=${size}`);
286
298
  }
299
+ if (mapBounds != null) {
300
+ params.push(`mapBounds=${mapBounds}`);
301
+ }
287
302
  return this.rest.get(`${this.baseUrl}/count/by-action`, ...params);
288
303
  }
289
304
  /**
@@ -490,6 +505,49 @@ class UsrDevicesService {
490
505
  }
491
506
  return this.rest.get(`${this.baseUrl}/find-by-insight-context`, ...params);
492
507
  }
508
+ /**
509
+ * Find devices map
510
+ */
511
+ findDevicesMap(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, mapBounds) {
512
+ const params = [];
513
+ if (streamId != null) {
514
+ params.push(`streamId=${streamId}`);
515
+ }
516
+ if (search != null) {
517
+ params.push(`search=${search}`);
518
+ }
519
+ if (from != null) {
520
+ params.push(`from=${from}`);
521
+ }
522
+ if (to != null) {
523
+ params.push(`to=${to}`);
524
+ }
525
+ if (type != null) {
526
+ params.push(`type=${type}`);
527
+ }
528
+ if (status != null) {
529
+ params.push(`status=${status}`);
530
+ }
531
+ if (risk != null) {
532
+ params.push(`risk=${risk}`);
533
+ }
534
+ if (scoreRange != null) {
535
+ params.push(`scoreRange=${scoreRange}`);
536
+ }
537
+ if (sort != null) {
538
+ params.push(`sort=${sort}`);
539
+ }
540
+ if (page != null) {
541
+ params.push(`page=${page}`);
542
+ }
543
+ if (size != null) {
544
+ params.push(`size=${size}`);
545
+ }
546
+ if (mapBounds != null) {
547
+ params.push(`mapBounds=${mapBounds}`);
548
+ }
549
+ return this.rest.get(`${this.baseUrl}/find-devices-map`, ...params);
550
+ }
493
551
  }
494
552
  exports.UsrDevicesService = UsrDevicesService;
495
553
  //# sourceMappingURL=usrDevicesService.js.map