@shieldiot/pulse-lib 1.0.330 → 1.0.333

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 (135) hide show
  1. package/dist/cjs/lib/common/MapBounds.d.ts +1 -2
  2. package/dist/cjs/lib/common/MapBounds.js +1 -4
  3. package/dist/cjs/lib/common/MapBounds.js.map +1 -1
  4. package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
  5. package/dist/cjs/lib/common/TimeSeries.d.ts +1 -1
  6. package/dist/cjs/lib/common/TimeSeriesOf2D.d.ts +1 -1
  7. package/dist/cjs/lib/common/TokenData.d.ts +1 -1
  8. package/dist/cjs/lib/entities/Account.d.ts +2 -2
  9. package/dist/cjs/lib/entities/Account.js.map +1 -1
  10. package/dist/cjs/lib/entities/AccountDTO.d.ts +1 -1
  11. package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
  12. package/dist/cjs/lib/entities/Alert.d.ts +4 -4
  13. package/dist/cjs/lib/entities/Alert.js.map +1 -1
  14. package/dist/cjs/lib/entities/AlertWithDevice.d.ts +6 -6
  15. package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
  16. package/dist/cjs/lib/entities/AuditLog.d.ts +1 -1
  17. package/dist/cjs/lib/entities/AuditLog.js.map +1 -1
  18. package/dist/cjs/lib/entities/ConfigParams.d.ts +1 -1
  19. package/dist/cjs/lib/entities/ConfigParams.js.map +1 -1
  20. package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
  21. package/dist/cjs/lib/entities/Device.d.ts +2 -2
  22. package/dist/cjs/lib/entities/Device.js.map +1 -1
  23. package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +3 -3
  24. package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
  25. package/dist/cjs/lib/entities/Event.d.ts +5 -5
  26. package/dist/cjs/lib/entities/Event.js.map +1 -1
  27. package/dist/cjs/lib/entities/EventWithDevice.d.ts +7 -7
  28. package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
  29. package/dist/cjs/lib/entities/Feature.d.ts +1 -1
  30. package/dist/cjs/lib/entities/Feature.js.map +1 -1
  31. package/dist/cjs/lib/entities/Insight.d.ts +2 -2
  32. package/dist/cjs/lib/entities/Insight.js.map +1 -1
  33. package/dist/cjs/lib/entities/Integration.d.ts +3 -3
  34. package/dist/cjs/lib/entities/Integration.js.map +1 -1
  35. package/dist/cjs/lib/entities/RuleTemplate.d.ts +1 -1
  36. package/dist/cjs/lib/entities/RuleTemplate.js.map +1 -1
  37. package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  38. package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
  39. package/dist/cjs/lib/entities/StreamConfig.d.ts +2 -2
  40. package/dist/cjs/lib/entities/User.d.ts +1 -1
  41. package/dist/cjs/lib/entities/User.js.map +1 -1
  42. package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
  43. package/dist/cjs/lib/services/sysConfigService.d.ts +1 -1
  44. package/dist/cjs/lib/services/sysKeysService.d.ts +1 -1
  45. package/dist/cjs/lib/services/usrAlertsService.d.ts +8 -8
  46. package/dist/cjs/lib/services/usrDevicesService.d.ts +20 -14
  47. package/dist/cjs/lib/services/usrDevicesService.js +63 -5
  48. package/dist/cjs/lib/services/usrDevicesService.js.map +1 -1
  49. package/dist/cjs/lib/services/usrEventsService.d.ts +5 -5
  50. package/dist/cjs/lib/services/usrRulesService.d.ts +2 -2
  51. package/dist/cjs/lib/services/usrUserService.d.ts +4 -4
  52. package/dist/esm/lib/common/MapBounds.d.ts +1 -2
  53. package/dist/esm/lib/common/MapBounds.js +1 -4
  54. package/dist/esm/lib/common/MapBounds.js.map +1 -1
  55. package/dist/esm/lib/common/SeriesData.d.ts +1 -1
  56. package/dist/esm/lib/common/TimeSeries.d.ts +1 -1
  57. package/dist/esm/lib/common/TimeSeriesOf2D.d.ts +1 -1
  58. package/dist/esm/lib/common/TokenData.d.ts +1 -1
  59. package/dist/esm/lib/entities/Account.d.ts +2 -2
  60. package/dist/esm/lib/entities/Account.js.map +1 -1
  61. package/dist/esm/lib/entities/AccountDTO.d.ts +1 -1
  62. package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
  63. package/dist/esm/lib/entities/Alert.d.ts +4 -4
  64. package/dist/esm/lib/entities/Alert.js.map +1 -1
  65. package/dist/esm/lib/entities/AlertWithDevice.d.ts +6 -6
  66. package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
  67. package/dist/esm/lib/entities/AuditLog.d.ts +1 -1
  68. package/dist/esm/lib/entities/AuditLog.js.map +1 -1
  69. package/dist/esm/lib/entities/ConfigParams.d.ts +1 -1
  70. package/dist/esm/lib/entities/ConfigParams.js.map +1 -1
  71. package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
  72. package/dist/esm/lib/entities/Device.d.ts +2 -2
  73. package/dist/esm/lib/entities/Device.js.map +1 -1
  74. package/dist/esm/lib/entities/DeviceWithEvents.d.ts +3 -3
  75. package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
  76. package/dist/esm/lib/entities/Event.d.ts +5 -5
  77. package/dist/esm/lib/entities/Event.js.map +1 -1
  78. package/dist/esm/lib/entities/EventWithDevice.d.ts +7 -7
  79. package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
  80. package/dist/esm/lib/entities/Feature.d.ts +1 -1
  81. package/dist/esm/lib/entities/Feature.js.map +1 -1
  82. package/dist/esm/lib/entities/Insight.d.ts +2 -2
  83. package/dist/esm/lib/entities/Insight.js.map +1 -1
  84. package/dist/esm/lib/entities/Integration.d.ts +3 -3
  85. package/dist/esm/lib/entities/Integration.js.map +1 -1
  86. package/dist/esm/lib/entities/RuleTemplate.d.ts +1 -1
  87. package/dist/esm/lib/entities/RuleTemplate.js.map +1 -1
  88. package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  89. package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
  90. package/dist/esm/lib/entities/StreamConfig.d.ts +2 -2
  91. package/dist/esm/lib/entities/User.d.ts +1 -1
  92. package/dist/esm/lib/entities/User.js.map +1 -1
  93. package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
  94. package/dist/esm/lib/services/sysConfigService.d.ts +1 -1
  95. package/dist/esm/lib/services/sysKeysService.d.ts +1 -1
  96. package/dist/esm/lib/services/usrAlertsService.d.ts +8 -8
  97. package/dist/esm/lib/services/usrDevicesService.d.ts +20 -14
  98. package/dist/esm/lib/services/usrDevicesService.js +63 -5
  99. package/dist/esm/lib/services/usrDevicesService.js.map +1 -1
  100. package/dist/esm/lib/services/usrEventsService.d.ts +5 -5
  101. package/dist/esm/lib/services/usrRulesService.d.ts +2 -2
  102. package/dist/esm/lib/services/usrUserService.d.ts +4 -4
  103. package/dist/types/lib/common/MapBounds.d.ts +1 -2
  104. package/dist/types/lib/common/SeriesData.d.ts +1 -1
  105. package/dist/types/lib/common/TimeSeries.d.ts +1 -1
  106. package/dist/types/lib/common/TimeSeriesOf2D.d.ts +1 -1
  107. package/dist/types/lib/common/TokenData.d.ts +1 -1
  108. package/dist/types/lib/entities/Account.d.ts +2 -2
  109. package/dist/types/lib/entities/AccountDTO.d.ts +1 -1
  110. package/dist/types/lib/entities/Alert.d.ts +4 -4
  111. package/dist/types/lib/entities/AlertWithDevice.d.ts +6 -6
  112. package/dist/types/lib/entities/AuditLog.d.ts +1 -1
  113. package/dist/types/lib/entities/ConfigParams.d.ts +1 -1
  114. package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
  115. package/dist/types/lib/entities/Device.d.ts +2 -2
  116. package/dist/types/lib/entities/DeviceWithEvents.d.ts +3 -3
  117. package/dist/types/lib/entities/Event.d.ts +5 -5
  118. package/dist/types/lib/entities/EventWithDevice.d.ts +7 -7
  119. package/dist/types/lib/entities/Feature.d.ts +1 -1
  120. package/dist/types/lib/entities/Insight.d.ts +2 -2
  121. package/dist/types/lib/entities/Integration.d.ts +3 -3
  122. package/dist/types/lib/entities/RuleTemplate.d.ts +1 -1
  123. package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  124. package/dist/types/lib/entities/StreamConfig.d.ts +2 -2
  125. package/dist/types/lib/entities/User.d.ts +1 -1
  126. package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
  127. package/dist/types/lib/services/sysConfigService.d.ts +1 -1
  128. package/dist/types/lib/services/sysKeysService.d.ts +1 -1
  129. package/dist/types/lib/services/usrAlertsService.d.ts +8 -8
  130. package/dist/types/lib/services/usrDevicesService.d.ts +20 -14
  131. package/dist/types/lib/services/usrEventsService.d.ts +5 -5
  132. package/dist/types/lib/services/usrRulesService.d.ts +2 -2
  133. package/dist/types/lib/services/usrUserService.d.ts +4 -4
  134. package/dist/umd/index.js +1 -1
  135. package/package.json +1 -1
@@ -1,7 +1,6 @@
1
1
  import { Location } from '../common';
2
2
  export declare class MapBounds {
3
- deviceId: string;
4
3
  southwest: Location;
5
4
  northeast: Location;
6
- constructor(deviceId?: string, southwest?: Location, northeast?: Location);
5
+ constructor(southwest?: Location, northeast?: Location);
7
6
  }
@@ -3,10 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MapBounds = void 0;
4
4
  // MapBounds represents maps bounds using 2 points southwest and northeast
5
5
  class MapBounds {
6
- constructor(deviceId, southwest, northeast) {
7
- if (deviceId !== undefined) {
8
- this.deviceId = deviceId;
9
- }
6
+ constructor(southwest, northeast) {
10
7
  if (southwest !== undefined) {
11
8
  this.southwest = southwest;
12
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MapBounds.js","sourceRoot":"","sources":["../../../../src/lib/common/MapBounds.ts"],"names":[],"mappings":";;;AAIA,0EAA0E;AAC1E,MAAa,SAAS;IAWjB,YAAY,QAAiB,EAAE,SAAoB,EAAE,SAAoB;QACtE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAAC,CAAC;QACzD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAAC,CAAC;QAC5D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAAC,CAAC;IAChE,CAAC;CAEJ;AAjBD,8BAiBC"}
1
+ {"version":3,"file":"MapBounds.js","sourceRoot":"","sources":["../../../../src/lib/common/MapBounds.ts"],"names":[],"mappings":";;;AAIA,0EAA0E;AAC1E,MAAa,SAAS;IAQjB,YAAY,SAAoB,EAAE,SAAoB;QACnD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAAC,CAAC;QAC5D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAAC,CAAC;IAChE,CAAC;CAEJ;AAbD,8BAaC"}
@@ -1,5 +1,5 @@
1
- import { Interval } from '../common';
2
1
  import { StringKeyIntValue } from '../common';
2
+ import { Interval } from '../common';
3
3
  export declare class SeriesData {
4
4
  interval: Interval;
5
5
  values: StringKeyIntValue[];
@@ -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,6 +1,6 @@
1
- import { UserTypeCode } from '../enums';
2
1
  import { MemberRoleCode } from '../enums';
3
2
  import { UserStatusCode } from '../enums';
3
+ import { UserTypeCode } from '../enums';
4
4
  export declare class TokenData {
5
5
  accountId: string;
6
6
  subjectId: string;
@@ -1,8 +1,8 @@
1
- import { AccountTypeCode } from '../enums';
2
- import { AccountStatusCode } from '../enums';
3
1
  import { StringKeyValue } from '../common';
4
2
  import { AccountSettings } from '../entities';
5
3
  import { BaseEntity } from '../base';
4
+ import { AccountTypeCode } from '../enums';
5
+ import { AccountStatusCode } 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":";;;AAIA,kCAAqC;AAIrC,2DAA2D;AAC3D,MAAa,OAAQ,SAAQ,iBAAU;CAiCtC;AAjCD,0BAiCC"}
1
+ {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/lib/entities/Account.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAMrC,2DAA2D;AAC3D,MAAa,OAAQ,SAAQ,iBAAU;CAiCtC;AAjCD,0BAiCC"}
@@ -1,9 +1,9 @@
1
+ import { BaseEntity } from '../base';
1
2
  import { AccountTypeCode } from '../enums';
2
3
  import { AccountStatusCode } from '../enums';
3
4
  import { FeatureCode } from '../enums';
4
5
  import { StringKeyValue } from '../common';
5
6
  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":";;;AAKA,kCAAqC;AAIrC,kDAAkD;AAClD,MAAa,UAAW,SAAQ,iBAAU;CAoCzC;AApCD,gCAoCC"}
1
+ {"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AASrC,kDAAkD;AAClD,MAAa,UAAW,SAAQ,iBAAU;CAoCzC;AApCD,gCAoCC"}
@@ -1,12 +1,12 @@
1
+ import { RuleTypeCode } from '../enums';
2
+ import { TrafficDirectionCode } from '../enums';
1
3
  import { BaseEntity } from '../base';
4
+ import { SeverityTypeCode } from '../enums';
2
5
  import { EventStatusCode } from '../enums';
3
- import { StringKeyValue } from '../common';
4
- import { TrafficDirectionCode } from '../enums';
5
6
  import { GeoData } from '../common';
7
+ import { StringKeyValue } from '../common';
6
8
  import { EventCategoryCode } from '../enums';
7
9
  import { EventTypeCode } from '../enums';
8
- import { SeverityTypeCode } from '../enums';
9
- import { RuleTypeCode } 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":";;;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":";;;AAEA,kCAAqC;AAUrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
@@ -1,13 +1,13 @@
1
- import { RuleTypeCode } from '../enums';
2
- import { GeoData } from '../common';
3
- import { StringKeyValue } from '../common';
4
- import { TrafficDirectionCode } from '../enums';
5
- import { BaseEntity } from '../base';
6
1
  import { SeverityTypeCode } from '../enums';
7
2
  import { EventStatusCode } from '../enums';
3
+ import { StringKeyValue } from '../common';
8
4
  import { EventCategoryCode } from '../enums';
9
- import { Device } from '../entities';
5
+ import { TrafficDirectionCode } from '../enums';
6
+ import { BaseEntity } from '../base';
10
7
  import { EventTypeCode } from '../enums';
8
+ import { GeoData } from '../common';
9
+ import { Device } from '../entities';
10
+ import { RuleTypeCode } from '../enums';
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,6 +1,6 @@
1
- import { DeviceCreationCode } from '../enums';
2
1
  import { DeviceIdentityCode } from '../enums';
3
2
  import { DeviceTypeCode } from '../enums';
3
+ import { DeviceCreationCode } from '../enums';
4
4
  export declare class DataIngestion {
5
5
  inputURI: string;
6
6
  format: string;
@@ -1,10 +1,10 @@
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 { GeoData } from '../common';
4
6
  import { BaseEntity } from '../base';
5
7
  import { DeviceTypeCode } from '../enums';
6
- 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":";;;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":";;;AAKA,kCAAqC;AAKrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
@@ -1,11 +1,11 @@
1
- import { DeviceActionCode } from '../enums';
2
- import { SIM } from '../entities';
3
- import { Event } from '../entities';
4
1
  import { GeoData } from '../common';
5
2
  import { BaseEntity } from '../base';
6
3
  import { DeviceTypeCode } from '../enums';
7
4
  import { DeviceStatusCode } from '../enums';
8
5
  import { StringKeyValue } from '../common';
6
+ import { DeviceActionCode } from '../enums';
7
+ import { SIM } from '../entities';
8
+ import { Event } 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":";;;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":";;;AACA,kCAAqC;AAUrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
@@ -1,14 +1,14 @@
1
- import { RuleTypeCode } from '../enums';
1
+ import { EventTypeCode } from '../enums';
2
+ import { EventStatusCode } from '../enums';
3
+ import { Indicator } from '../common';
4
+ import { BaseEntity } from '../base';
2
5
  import { EventCategoryCode } from '../enums';
3
6
  import { EventOccurrence } from '../entities';
4
7
  import { TrafficDirectionCode } from '../enums';
5
8
  import { SeverityTypeCode } from '../enums';
6
- import { EventStatusCode } from '../enums';
7
- import { Indicator } from '../common';
9
+ import { RuleTypeCode } from '../enums';
8
10
  import { GeoData } from '../common';
9
11
  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":";;;AAGA,kCAAqC;AAWrC,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
- import { EventCategoryCode } from '../enums';
5
1
  import { EventOccurrence } from '../entities';
6
2
  import { Device } from '../entities';
3
+ import { SeverityTypeCode } from '../enums';
4
+ import { EventStatusCode } from '../enums';
5
+ import { RuleTypeCode } from '../enums';
6
+ import { GeoData } from '../common';
7
+ import { TrafficDirectionCode } from '../enums';
7
8
  import { BaseEntity } from '../base';
8
9
  import { EventTypeCode } from '../enums';
9
10
  import { Indicator } from '../common';
10
- import { GeoData } from '../common';
11
- import { TrafficDirectionCode } from '../enums';
12
- import { EventStatusCode } from '../enums';
11
+ import { StringKeyValue } from '../common';
12
+ import { EventCategoryCode } 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":";;;AAOA,kCAAqC;AAQrC,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,8 +1,8 @@
1
+ import { DirectionContextCode } from '../enums';
2
+ import { BaseEntity } from '../base';
1
3
  import { InsightTypeCode } from '../enums';
2
4
  import { InsightStatusCode } from '../enums';
3
5
  import { SeverityTypeCode } from '../enums';
4
- import { DirectionContextCode } from '../enums';
5
- import { BaseEntity } from '../base';
6
6
  export declare class Insight extends BaseEntity {
7
7
  accountId: string;
8
8
  streamId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Insight.js","sourceRoot":"","sources":["../../../../src/lib/entities/Insight.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAIrC,UAAU;AACV,sGAAsG;AACtG,MAAa,OAAQ,SAAQ,iBAAU;CAoCtC;AApCD,0BAoCC"}
1
+ {"version":3,"file":"Insight.js","sourceRoot":"","sources":["../../../../src/lib/entities/Insight.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAOrC,UAAU;AACV,sGAAsG;AACtG,MAAa,OAAQ,SAAQ,iBAAU;CAoCtC;AApCD,0BAoCC"}
@@ -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,7 +1,7 @@
1
+ import { SeverityTypeCode } from '../enums';
1
2
  import { BaseEntity } from '../base';
2
3
  import { DataSourceCode } from '../enums';
3
4
  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":";;;AAAA,kCAAqC;AAOrC,qFAAqF;AACrF,MAAa,YAAa,SAAQ,iBAAU;CA2B3C;AA3BD,oCA2BC"}
1
+ {"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAMrC,qFAAqF;AACrF,MAAa,YAAa,SAAQ,iBAAU;CA2B3C;AA3BD,oCA2BC"}
@@ -1,8 +1,8 @@
1
+ import { DeviceConfig } from '../common';
1
2
  import { BaseEntity } from '../base';
2
3
  import { Thresholds } from '../common';
3
4
  import { ShieldexConfig } from '../common';
4
5
  import { EventSeverityConfig } from '../common';
5
- import { DeviceConfig } 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":";;;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":";;;AACA,kCAAqC;AAOrC,0EAA0E;AAC1E,MAAa,qBAAsB,SAAQ,iBAAU;CAkBpD;AAlBD,sDAkBC"}
@@ -1,11 +1,11 @@
1
- import { DeviceActionCode } from '../enums';
2
- import { DeviceConfig } from '../common';
3
1
  import { DataIngestion } from '../entities';
4
2
  import { SessionTransform } from '../common';
5
3
  import { UsageTransform } from '../common';
6
4
  import { Thresholds } from '../common';
7
5
  import { ShieldexConfig } from '../common';
8
6
  import { EventSeverityConfig } from '../common';
7
+ import { DeviceActionCode } from '../enums';
8
+ import { DeviceConfig } from '../common';
9
9
  export declare class StreamConfig {
10
10
  ingest: DataIngestion;
11
11
  sessionTransform: SessionTransform;
@@ -1,7 +1,7 @@
1
+ import { BaseEntity } from '../base';
1
2
  import { UserTypeCode } from '../enums';
2
3
  import { UserStatusCode } from '../enums';
3
4
  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":";;;AAGA,kCAAqC;AAIrC,sGAAsG;AACtG,+DAA+D;AAC/D,MAAa,IAAK,SAAQ,iBAAU;CAiCnC;AAjCD,oBAiCC"}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/lib/entities/User.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAOrC,sGAAsG;AACtG,+DAA+D;AAC/D,MAAa,IAAK,SAAQ,iBAAU;CAiCnC;AAjCD,oBAiCC"}
@@ -1,10 +1,10 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { Account } from '../entities';
3
- import { AccountSettings } from '../entities';
4
2
  import { AccountTypeCode } from '../enums';
5
3
  import { AccountStatusCode } from '../enums';
6
4
  import { Image } from '../entities';
7
5
  import { AccountReportDTO } from '../entities';
6
+ import { Account } from '../entities';
7
+ import { AccountSettings } from '../entities';
8
8
  export declare class SysAccountsService {
9
9
  private apiUrl;
10
10
  private rest;
@@ -1,6 +1,6 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { ConfigParam } from '../entities';
3
2
  import { ConfigParams } from '../entities';
3
+ import { ConfigParam } from '../entities';
4
4
  export declare class SysConfigService {
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,18 +1,18 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { Alert } from '../entities';
3
- import { RuleTypeCode } from '../enums';
4
2
  import { MaliciousIPData } from '../common';
3
+ import { Alert } from '../entities';
4
+ import { SeverityTypeCode } from '../enums';
5
+ import { AlertWithDevice } from '../entities';
5
6
  import { DeviceActionCode } from '../enums';
7
+ import { TimeSeriesOf2D } from '../common';
6
8
  import { MaliciousIPCard } from '../common';
7
9
  import { EventTypeCode } from '../enums';
8
- import { SeverityTypeCode } from '../enums';
9
10
  import { EventCategoryCode } from '../enums';
10
- import { TimeSeriesOfFloat } from '../common';
11
- import { IntDistribution } from '../entities';
12
- import { TimeSeriesOf2D } from '../common';
13
- import { EventStatusCode } from '../enums';
14
- import { AlertWithDevice } from '../entities';
11
+ import { RuleTypeCode } from '../enums';
15
12
  import { StringKeyValue } from '../common';
13
+ import { EventStatusCode } from '../enums';
14
+ import { IntDistribution } from '../entities';
15
+ import { TimeSeriesOfFloat } 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
- import { BulkDevices } from '../entities';
6
- import { NetworkMap } from '../common';
7
- import { DeviceStatusCode } from '../enums';
8
2
  import { SeverityTypeCode } from '../enums';
9
- import { DeviceWithEvents } from '../entities';
10
- import { IntDistribution } from '../entities';
3
+ import { MapBounds } from '../common';
11
4
  import { DeviceActionCode } from '../enums';
12
5
  import { NetworkMapTypeCode } from '../enums';
13
- import { Device } from '../entities';
6
+ import { TimeSeriesOfDataConsumption } from '../common';
14
7
  import { DeviceTypeCode } from '../enums';
8
+ import { DeviceWithEvents } from '../entities';
9
+ import { IntDistribution } from '../entities';
10
+ import { DeviceReport } from '../entities';
11
+ import { TimeSeriesOfDeviceReport } from '../entities';
12
+ import { DevicesMap } from '../common';
13
+ import { Device } from '../entities';
14
+ import { BulkDevices } from '../entities';
15
+ import { DeviceStatusCode } from '../enums';
16
+ import { NetworkMap } from '../common';
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
  }