@shieldiot/pulse-lib 1.0.2 → 1.0.4

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 (165) hide show
  1. package/dist/config.d.ts +5 -0
  2. package/dist/index.d.ts +2 -0
  3. package/dist/lib/common/AccountRole.d.ts +7 -0
  4. package/dist/lib/common/ConsumptionData.d.ts +6 -0
  5. package/dist/lib/common/ConsumptionTimeDataPoint.d.ts +6 -0
  6. package/dist/lib/common/DeviceConfig.d.ts +7 -0
  7. package/dist/lib/common/DeviceScoreConfig.d.ts +6 -0
  8. package/dist/lib/common/DevicesAtRiskConfig.d.ts +4 -0
  9. package/dist/lib/common/EventSeverityConfig.d.ts +5 -0
  10. package/dist/lib/common/FloatKeyValue.d.ts +5 -0
  11. package/dist/lib/common/GeoData.d.ts +10 -0
  12. package/dist/lib/common/GraphSeries.d.ts +6 -0
  13. package/dist/lib/common/Indicator.d.ts +8 -0
  14. package/dist/lib/common/IntKeySeriesDataValue.d.ts +6 -0
  15. package/dist/lib/common/IntKeyValue.d.ts +5 -0
  16. package/dist/lib/common/Interval.d.ts +5 -0
  17. package/dist/lib/common/Link.d.ts +11 -0
  18. package/dist/lib/common/Location.d.ts +5 -0
  19. package/dist/lib/common/LoginParams.d.ts +6 -0
  20. package/dist/lib/common/MaliciousIPCard.d.ts +12 -0
  21. package/dist/lib/common/MaliciousIPData.d.ts +7 -0
  22. package/dist/lib/common/NetworkMap.d.ts +7 -0
  23. package/dist/lib/common/Node.d.ts +15 -0
  24. package/dist/lib/common/SeriesData.d.ts +7 -0
  25. package/dist/lib/common/SessionTransform.d.ts +8 -0
  26. package/dist/lib/common/SeverityIntervalTuple.d.ts +7 -0
  27. package/dist/lib/common/ShieldexConfig.d.ts +9 -0
  28. package/dist/lib/common/StringIntValue.d.ts +5 -0
  29. package/dist/lib/common/StringKeyIntValue.d.ts +5 -0
  30. package/dist/lib/common/StringKeyValue.d.ts +5 -0
  31. package/dist/lib/common/Thresholds.d.ts +4 -0
  32. package/dist/lib/common/TimeDataPoint.d.ts +5 -0
  33. package/dist/lib/common/TimeDataPoint2D.d.ts +6 -0
  34. package/dist/lib/common/TimeDataPointFloat.d.ts +5 -0
  35. package/dist/lib/common/TimeFrame.d.ts +5 -0
  36. package/dist/lib/common/TimeSeries.d.ts +8 -0
  37. package/dist/lib/common/TimeSeriesOf2D.d.ts +8 -0
  38. package/dist/lib/common/TimeSeriesOfDataConsumption.d.ts +8 -0
  39. package/dist/lib/common/TimeSeriesOfFloat.d.ts +8 -0
  40. package/dist/lib/common/TokenData.d.ts +12 -0
  41. package/dist/lib/common/Tuple.d.ts +5 -0
  42. package/dist/lib/common/UsageTransform.d.ts +10 -0
  43. package/dist/lib/common/ZScore.d.ts +5 -0
  44. package/dist/lib/common/index.d.ts +42 -0
  45. package/dist/lib/entities/Account.d.ts +17 -0
  46. package/dist/lib/entities/AccountDTO.d.ts +19 -0
  47. package/dist/lib/entities/AccountSettings.d.ts +10 -0
  48. package/dist/lib/entities/Action.d.ts +10 -0
  49. package/dist/lib/entities/Alert.d.ts +34 -0
  50. package/dist/lib/entities/AlertWithDevice.d.ts +36 -0
  51. package/dist/lib/entities/ApiKey.d.ts +11 -0
  52. package/dist/lib/entities/AuditLog.d.ts +13 -0
  53. package/dist/lib/entities/BaseEntity.d.ts +6 -0
  54. package/dist/lib/entities/BulkDevices.d.ts +5 -0
  55. package/dist/lib/entities/Checkpoint.d.ts +23 -0
  56. package/dist/lib/entities/ComplianceReportSettings.d.ts +7 -0
  57. package/dist/lib/entities/Condition.d.ts +8 -0
  58. package/dist/lib/entities/ConfigParam.d.ts +4 -0
  59. package/dist/lib/entities/DNSRecord.d.ts +12 -0
  60. package/dist/lib/entities/DataIngestion.d.ts +18 -0
  61. package/dist/lib/entities/DataPointOfDeviceReport.d.ts +6 -0
  62. package/dist/lib/entities/Device.d.ts +30 -0
  63. package/dist/lib/entities/DeviceReport.d.ts +9 -0
  64. package/dist/lib/entities/DeviceWithEvents.d.ts +32 -0
  65. package/dist/lib/entities/Distribution.d.ts +7 -0
  66. package/dist/lib/entities/Event.d.ts +38 -0
  67. package/dist/lib/entities/EventOccurrence.d.ts +10 -0
  68. package/dist/lib/entities/EventWithDevice.d.ts +39 -0
  69. package/dist/lib/entities/Feature.d.ts +6 -0
  70. package/dist/lib/entities/FeaturesGroup.d.ts +6 -0
  71. package/dist/lib/entities/Group.d.ts +8 -0
  72. package/dist/lib/entities/Image.d.ts +5 -0
  73. package/dist/lib/entities/Insight.d.ts +18 -0
  74. package/dist/lib/entities/InsightQuery.d.ts +10 -0
  75. package/dist/lib/entities/InsightSpec.d.ts +9 -0
  76. package/dist/lib/entities/IntDistribution.d.ts +7 -0
  77. package/dist/lib/entities/Integration.d.ts +31 -0
  78. package/dist/lib/entities/Member.d.ts +7 -0
  79. package/dist/lib/entities/Radius.d.ts +15 -0
  80. package/dist/lib/entities/Report.d.ts +13 -0
  81. package/dist/lib/entities/Rule.d.ts +25 -0
  82. package/dist/lib/entities/RuleTemplate.d.ts +14 -0
  83. package/dist/lib/entities/SIM.d.ts +8 -0
  84. package/dist/lib/entities/ServiceStatus.d.ts +8 -0
  85. package/dist/lib/entities/SessionRecord.d.ts +22 -0
  86. package/dist/lib/entities/Shieldex.d.ts +7 -0
  87. package/dist/lib/entities/Stream.d.ts +11 -0
  88. package/dist/lib/entities/StreamAnalyticsConfig.d.ts +12 -0
  89. package/dist/lib/entities/StreamConfig.d.ts +19 -0
  90. package/dist/lib/entities/TeaserPopUpSettings.d.ts +6 -0
  91. package/dist/lib/entities/TimeSeriesOfDeviceReport.d.ts +8 -0
  92. package/dist/lib/entities/UsageRecord.d.ts +32 -0
  93. package/dist/lib/entities/User.d.ts +16 -0
  94. package/dist/lib/entities/UserMembership.d.ts +14 -0
  95. package/dist/lib/entities/UserMemberships.d.ts +14 -0
  96. package/dist/lib/entities/index.d.ts +52 -0
  97. package/dist/lib/enums/AccountStatusCode.d.ts +7 -0
  98. package/dist/lib/enums/AccountTypeCode.d.ts +8 -0
  99. package/dist/lib/enums/DataSourceCode.d.ts +7 -0
  100. package/dist/lib/enums/DeviceActionCode.d.ts +8 -0
  101. package/dist/lib/enums/DeviceCreationCode.d.ts +8 -0
  102. package/dist/lib/enums/DeviceIdentityCode.d.ts +11 -0
  103. package/dist/lib/enums/DeviceStatusCode.d.ts +8 -0
  104. package/dist/lib/enums/DeviceTypeCode.d.ts +18 -0
  105. package/dist/lib/enums/DirectionContextCode.d.ts +8 -0
  106. package/dist/lib/enums/EventCategoryCode.d.ts +6 -0
  107. package/dist/lib/enums/EventStatusCode.d.ts +8 -0
  108. package/dist/lib/enums/EventTypeCode.d.ts +23 -0
  109. package/dist/lib/enums/FeatureCode.d.ts +14 -0
  110. package/dist/lib/enums/HomePageViewCode.d.ts +7 -0
  111. package/dist/lib/enums/HttpMethodCode.d.ts +9 -0
  112. package/dist/lib/enums/InsightStatusCode.d.ts +7 -0
  113. package/dist/lib/enums/InsightTypeCode.d.ts +6 -0
  114. package/dist/lib/enums/IntegrationTriggerCode.d.ts +6 -0
  115. package/dist/lib/enums/IntegrationTypeCode.d.ts +8 -0
  116. package/dist/lib/enums/MemberRoleCode.d.ts +8 -0
  117. package/dist/lib/enums/NetworkMapTypeCode.d.ts +7 -0
  118. package/dist/lib/enums/OperatorCode.d.ts +15 -0
  119. package/dist/lib/enums/PermissionCode.d.ts +9 -0
  120. package/dist/lib/enums/ReportTypeCode.d.ts +7 -0
  121. package/dist/lib/enums/RuleTypeCode.d.ts +7 -0
  122. package/dist/lib/enums/SeverityTypeCode.d.ts +8 -0
  123. package/dist/lib/enums/TrafficDirectionCode.d.ts +7 -0
  124. package/dist/lib/enums/UserStatusCode.d.ts +8 -0
  125. package/dist/lib/enums/UserTypeCode.d.ts +8 -0
  126. package/dist/lib/enums/index.d.ts +30 -0
  127. package/dist/lib/index.d.ts +4 -0
  128. package/dist/lib/pulse-client.d.ts +59 -0
  129. package/dist/lib/services/index.d.ts +27 -0
  130. package/dist/lib/services/services.export.d.ts +26 -0
  131. package/dist/lib/services/supportStreamAnalyticsConfig.d.ts +29 -0
  132. package/dist/lib/services/sysAccountsService.d.ts +45 -0
  133. package/dist/lib/services/sysAuditLogService.d.ts +22 -0
  134. package/dist/lib/services/sysCheckpointsService.d.ts +22 -0
  135. package/dist/lib/services/sysConfigService.d.ts +29 -0
  136. package/dist/lib/services/sysFeaturesService.d.ts +34 -0
  137. package/dist/lib/services/sysGroupsService.d.ts +42 -0
  138. package/dist/lib/services/sysInsightsService.d.ts +54 -0
  139. package/dist/lib/services/sysKeysService.d.ts +34 -0
  140. package/dist/lib/services/sysMembersService.d.ts +30 -0
  141. package/dist/lib/services/sysRuleTemplatesService.d.ts +29 -0
  142. package/dist/lib/services/sysRulesService.d.ts +34 -0
  143. package/dist/lib/services/sysStatisticsService.d.ts +25 -0
  144. package/dist/lib/services/sysStreamsService.d.ts +29 -0
  145. package/dist/lib/services/sysUsersService.d.ts +44 -0
  146. package/dist/lib/services/usrAlertsService.d.ts +110 -0
  147. package/dist/lib/services/usrDevicesService.d.ts +109 -0
  148. package/dist/lib/services/usrEventsService.d.ts +93 -0
  149. package/dist/lib/services/usrInsightsService.d.ts +13 -0
  150. package/dist/lib/services/usrIntegrationsService.d.ts +37 -0
  151. package/dist/lib/services/usrMembersService.d.ts +34 -0
  152. package/dist/lib/services/usrNetworkService.d.ts +18 -0
  153. package/dist/lib/services/usrReportsService.d.ts +47 -0
  154. package/dist/lib/services/usrRulesService.d.ts +34 -0
  155. package/dist/lib/services/usrUserService.d.ts +65 -0
  156. package/dist/public-api.d.ts +3 -0
  157. package/dist/utils/ActionResponse.d.ts +5 -0
  158. package/dist/utils/BaseRestResponse.d.ts +4 -0
  159. package/dist/utils/EntitiesResponse.d.ts +8 -0
  160. package/dist/utils/EntityResponse.d.ts +8 -0
  161. package/dist/utils/index.d.ts +5 -0
  162. package/dist/utils/rest-axios-setup.d.ts +3 -0
  163. package/dist/utils/rest-util.d.ts +15 -0
  164. package/package.json +1 -1
  165. package/tsconfig.json +2 -2
@@ -0,0 +1,7 @@
1
+ export declare enum AccountStatusCode {
2
+ UNDEFINED = 0,
3
+ ACTIVE = 1,
4
+ SUSPENDED = 2,
5
+ DELETED = 3
6
+ }
7
+ export declare function GetAccountStatusCodes(): Map<AccountStatusCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum AccountTypeCode {
2
+ UNDEFINED = 0,
3
+ DEMO = 1,
4
+ TRIAL = 2,
5
+ PARTNER = 3,
6
+ CUSTOMER = 4
7
+ }
8
+ export declare function GetAccountTypeCodes(): Map<AccountTypeCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum DataSourceCode {
2
+ UNDEFINED = 0,
3
+ EVENT = 1,
4
+ USAGE = 2,
5
+ SESSION = 3
6
+ }
7
+ export declare function GetDataSourceCodes(): Map<DataSourceCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum DeviceActionCode {
2
+ UNDEFINED = 0,
3
+ REDIRECT = 1,
4
+ SUSPEND = 2,
5
+ THROTTLE = 3,
6
+ BLOCK_IP = 4
7
+ }
8
+ export declare function GetDeviceActionCodes(): Map<DeviceActionCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum DeviceCreationCode {
2
+ UNDEFINED = 0,
3
+ NONE = 1,
4
+ IP = 2,
5
+ SID = 3,
6
+ EID = 4
7
+ }
8
+ export declare function GetDeviceCreationCodes(): Map<DeviceCreationCode, string>;
@@ -0,0 +1,11 @@
1
+ export declare enum DeviceIdentityCode {
2
+ UNDEFINED = 0,
3
+ AUTO = 1,
4
+ IP = 2,
5
+ IMSI = 3,
6
+ ICCID = 4,
7
+ MSISDN = 5,
8
+ IMEI = 6,
9
+ MAC = 7
10
+ }
11
+ export declare function GetDeviceIdentityCodes(): Map<DeviceIdentityCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum DeviceStatusCode {
2
+ UNDEFINED = 0,
3
+ PENDING = 1,
4
+ ACTIVE = 2,
5
+ INACTIVE = 3,
6
+ BLOCKED = 4
7
+ }
8
+ export declare function GetDeviceStatusCodes(): Map<DeviceStatusCode, string>;
@@ -0,0 +1,18 @@
1
+ export declare enum DeviceTypeCode {
2
+ UNDEFINED = 0,
3
+ OTHER = 1,
4
+ CONTROLLER = 2,
5
+ METER = 3,
6
+ SENSOR = 4,
7
+ CAMERA = 5,
8
+ POS = 6,
9
+ PUMP = 7,
10
+ CHARGING_STATION = 8,
11
+ LIGHTNING = 9,
12
+ TEMPERATURE_SENSOR = 10,
13
+ AIR_QUALITY_SENSOR = 11,
14
+ VALVE = 12,
15
+ GATEWAY = 13,
16
+ ATM = 14
17
+ }
18
+ export declare function GetDeviceTypeCodes(): Map<DeviceTypeCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum DirectionContextCode {
2
+ UNDEFINED = 0,
3
+ EVENT_LIST = 1,
4
+ DEVICE_LIST = 2,
5
+ EVENT_DETAILS = 3,
6
+ DEVICE_DETAILS = 4
7
+ }
8
+ export declare function GetDirectionContextCodes(): Map<DirectionContextCode, string>;
@@ -0,0 +1,6 @@
1
+ export declare enum EventCategoryCode {
2
+ UNDEFINED = 0,
3
+ SECURITY = 1,
4
+ OPERATIONS = 2
5
+ }
6
+ export declare function GetEventCategoryCodes(): Map<EventCategoryCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum EventStatusCode {
2
+ UNDEFINED = 0,
3
+ NEW = 1,
4
+ OPEN = 2,
5
+ CLOSED_TRUE = 3,
6
+ CLOSED_FALSE = 4
7
+ }
8
+ export declare function GetEventStatusCodes(): Map<EventStatusCode, string>;
@@ -0,0 +1,23 @@
1
+ export declare enum EventTypeCode {
2
+ UNDEFINED = 0,
3
+ OTHER = 1,
4
+ DEVICE_TAKEOVER = 2,
5
+ DDOS = 3,
6
+ UNKNOWN_MALWARE = 4,
7
+ MAN_IN_THE_MIDDLE = 5,
8
+ DATA_THEFT = 6,
9
+ PORT_SCANNING = 7,
10
+ ABNORMAL_DOWNLOAD = 8,
11
+ ABNORMAL_INCOMING_CONNECTION = 9,
12
+ UNSUCCESSFUL_CONNECTION_ATTEMPTS = 10,
13
+ HIGH_VOLUME_TRANSIT = 11,
14
+ DEVICE_LEVEL_ATTACK = 12,
15
+ REPLAY_ATTACK = 13,
16
+ DEVICE_TAKEOVER_ATTEMPT = 14,
17
+ UNKNOWN_OPERATION = 15,
18
+ CRYPTO_MINING = 16,
19
+ SUSPICIOUS_IP = 17,
20
+ ABNORMAL_OUTBOUND_PORTS = 18,
21
+ ABNORMAL_OUTBOUND_ENDPOINTS = 19
22
+ }
23
+ export declare function GetEventTypeCodes(): Map<EventTypeCode, string>;
@@ -0,0 +1,14 @@
1
+ export declare enum FeatureCode {
2
+ UNDEFINED = 0,
3
+ EVENTS_EXPORT = 1,
4
+ EVENT_SOURCE_FILES = 2,
5
+ EVENT_ACTION = 3,
6
+ DEVICES_EXPORT = 4,
7
+ DEVICE_NETWORK_MAP = 5,
8
+ DEVICE_ACTIONS = 6,
9
+ NETWORK_MAP = 7,
10
+ COMPLIANCE_REPORTS = 8,
11
+ CUSTOM_RULES = 9,
12
+ INTEGRATIONS = 10
13
+ }
14
+ export declare function GetFeatureCodes(): Map<FeatureCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum HomePageViewCode {
2
+ UNDEFINED = 0,
3
+ SYSTEM = 1,
4
+ DEVICES = 2,
5
+ MALICIOUS = 3
6
+ }
7
+ export declare function GetHomePageViewCodes(): Map<HomePageViewCode, string>;
@@ -0,0 +1,9 @@
1
+ export declare enum HttpMethodCode {
2
+ UNDEFINED = 0,
3
+ GET = 1,
4
+ POST = 2,
5
+ PUT = 3,
6
+ PATCH = 4,
7
+ DELETE = 5
8
+ }
9
+ export declare function GetHttpMethodCodes(): Map<HttpMethodCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum InsightStatusCode {
2
+ UNDEFINED = 0,
3
+ INACTIVE = 1,
4
+ PENDING = 2,
5
+ ACTIVE = 3
6
+ }
7
+ export declare function GetInsightStatusCodes(): Map<InsightStatusCode, string>;
@@ -0,0 +1,6 @@
1
+ export declare enum InsightTypeCode {
2
+ UNDEFINED = 0,
3
+ EVENTS = 1,
4
+ STATISTICS = 2
5
+ }
6
+ export declare function GetInsightTypeCodes(): Map<InsightTypeCode, string>;
@@ -0,0 +1,6 @@
1
+ export declare enum IntegrationTriggerCode {
2
+ UNDEFINED = 0,
3
+ EVENT = 1,
4
+ ACTION = 2
5
+ }
6
+ export declare function GetIntegrationTriggerCodes(): Map<IntegrationTriggerCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum IntegrationTypeCode {
2
+ UNDEFINED = 0,
3
+ HTTP = 1,
4
+ SMTP = 2,
5
+ EMAIL = 3,
6
+ SMS = 4
7
+ }
8
+ export declare function GetIntegrationTypeCodes(): Map<IntegrationTypeCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum MemberRoleCode {
2
+ UNDEFINED = 0,
3
+ ADMIN = 1,
4
+ SUPERVISOR = 2,
5
+ OPERATOR = 3,
6
+ VIEWER = 4
7
+ }
8
+ export declare function GetMemberRoleCodes(): Map<MemberRoleCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum NetworkMapTypeCode {
2
+ UNDEFINED = 0,
3
+ TOP_DEVICES = 1,
4
+ TOP_MALICIOUS_IPS = 2,
5
+ NETWORK = 3
6
+ }
7
+ export declare function GetNetworkMapTypeCodes(): Map<NetworkMapTypeCode, string>;
@@ -0,0 +1,15 @@
1
+ export declare enum OperatorCode {
2
+ UNDEFINED = 0,
3
+ EQ = 1,
4
+ NEQ = 2,
5
+ GT = 3,
6
+ GTE = 4,
7
+ LT = 5,
8
+ LTE = 6,
9
+ IN = 7,
10
+ NOTIN = 8,
11
+ RANGE = 9,
12
+ LIKE = 10,
13
+ CONTAINS = 11
14
+ }
15
+ export declare function GetOperatorCodes(): Map<OperatorCode, string>;
@@ -0,0 +1,9 @@
1
+ export declare enum PermissionCode {
2
+ UNDEFINED = 0,
3
+ READ = 1,
4
+ CREATE = 2,
5
+ UPDATE = 4,
6
+ DELETE = 8,
7
+ ACTION = 16
8
+ }
9
+ export declare function GetPermissionCodes(): Map<PermissionCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum ReportTypeCode {
2
+ UNDEFINED = 0,
3
+ COMPLIANCE = 1,
4
+ DEVICES = 2,
5
+ EVENTS = 3
6
+ }
7
+ export declare function GetReportTypeCodes(): Map<ReportTypeCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum RuleTypeCode {
2
+ UNDEFINED = 0,
3
+ SUSPICIOUS_IP = 1,
4
+ STATIC = 2,
5
+ ANOMALY = 3
6
+ }
7
+ export declare function GetRuleTypeCodes(): Map<RuleTypeCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum SeverityTypeCode {
2
+ UNDEFINED = 0,
3
+ LOW = 1,
4
+ MEDIUM = 2,
5
+ HIGH = 3,
6
+ CRITICAL = 4
7
+ }
8
+ export declare function GetSeverityTypeCodes(): Map<SeverityTypeCode, string>;
@@ -0,0 +1,7 @@
1
+ export declare enum TrafficDirectionCode {
2
+ UNDEFINED = 0,
3
+ INBOUND = 1,
4
+ OUTBOUND = 2,
5
+ INOUT = 3
6
+ }
7
+ export declare function GetTrafficDirectionCodes(): Map<TrafficDirectionCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum UserStatusCode {
2
+ UNDEFINED = 0,
3
+ PENDING = 1,
4
+ ACTIVE = 2,
5
+ BLOCKED = 3,
6
+ SUSPENDED = 4
7
+ }
8
+ export declare function GetUserStatusCodes(): Map<UserStatusCode, string>;
@@ -0,0 +1,8 @@
1
+ export declare enum UserTypeCode {
2
+ UNDEFINED = 0,
3
+ SYSADMIN = 1,
4
+ SUPPORT = 2,
5
+ USER = 3,
6
+ SERVICE = 4
7
+ }
8
+ export declare function GetUserTypeCodes(): Map<UserTypeCode, string>;
@@ -0,0 +1,30 @@
1
+ export * from './AccountStatusCode';
2
+ export * from './AccountTypeCode';
3
+ export * from './DataSourceCode';
4
+ export * from './DeviceActionCode';
5
+ export * from './DeviceCreationCode';
6
+ export * from './DeviceIdentityCode';
7
+ export * from './DeviceStatusCode';
8
+ export * from './DeviceTypeCode';
9
+ export * from './DirectionContextCode';
10
+ export * from './EventCategoryCode';
11
+ export * from './EventStatusCode';
12
+ export * from './EventTypeCode';
13
+ export * from './FeatureCode';
14
+ export * from './HomePageViewCode';
15
+ export * from './HttpMethodCode';
16
+ export * from './InsightStatusCode';
17
+ export * from './InsightTypeCode';
18
+ export * from './IntegrationTriggerCode';
19
+ export * from './IntegrationTypeCode';
20
+ export * from './MemberRoleCode';
21
+ export * from './NetworkMapTypeCode';
22
+ export * from './OperatorCode';
23
+ export * from './PermissionCode';
24
+ export * from './ReportTypeCode';
25
+ export * from './RuleTypeCode';
26
+ export * from './SeverityTypeCode';
27
+ export * from './TrafficDirectionCode';
28
+ export * from './UserStatusCode';
29
+ export * from './UserTypeCode';
30
+ export * from './index';
@@ -0,0 +1,4 @@
1
+ export * from './common';
2
+ export * from './entities';
3
+ export * from './enums';
4
+ export * from './services';
@@ -0,0 +1,59 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import { PulseConfig } from "../config";
3
+ import { RestUtil } from "../utils";
4
+ import { SupportStreamAnalyticsConfig } from "./services";
5
+ import { SysAccountsService } from "./services";
6
+ import { SysAuditLogService } from "./services";
7
+ import { SysCheckpointsService } from "./services";
8
+ import { SysConfigService } from "./services";
9
+ import { SysFeaturesService } from "./services";
10
+ import { SysGroupsService } from "./services";
11
+ import { SysInsightsService } from "./services";
12
+ import { SysKeysService } from "./services";
13
+ import { SysMembersService } from "./services";
14
+ import { SysRuleTemplatesService } from "./services";
15
+ import { SysRulesService } from "./services";
16
+ import { SysStatisticsService } from "./services";
17
+ import { SysStreamsService } from "./services";
18
+ import { SysUsersService } from "./services";
19
+ import { UsrInsightsService } from "./services";
20
+ import { UsrIntegrationsService } from "./services";
21
+ import { UsrMembersService } from "./services";
22
+ import { UsrUserService } from "./services";
23
+ import { UsrAlertsService } from "./services";
24
+ import { UsrDevicesService } from "./services";
25
+ import { UsrEventsService } from "./services";
26
+ import { UsrNetworkService } from "./services";
27
+ import { UsrReportsService } from "./services";
28
+ import { UsrRulesService } from "./services";
29
+ export declare class PulseClient {
30
+ config: PulseConfig;
31
+ restSvc: RestUtil;
32
+ axiosInst: AxiosInstance;
33
+ constructor(apiUrl: string, apiKey: string);
34
+ SupportStreamAnalyticsConfig(): SupportStreamAnalyticsConfig;
35
+ SysAccountsService(): SysAccountsService;
36
+ SysAuditLogService(): SysAuditLogService;
37
+ SysCheckpointsService(): SysCheckpointsService;
38
+ SysConfigService(): SysConfigService;
39
+ SysFeaturesService(): SysFeaturesService;
40
+ SysGroupsService(): SysGroupsService;
41
+ SysInsightsService(): SysInsightsService;
42
+ SysKeysService(): SysKeysService;
43
+ SysMembersService(): SysMembersService;
44
+ SysRuleTemplatesService(): SysRuleTemplatesService;
45
+ SysRulesService(): SysRulesService;
46
+ SysStatisticsService(): SysStatisticsService;
47
+ SysStreamsService(): SysStreamsService;
48
+ SysUsersService(): SysUsersService;
49
+ UsrInsightsService(): UsrInsightsService;
50
+ UsrIntegrationsService(): UsrIntegrationsService;
51
+ UsrMembersService(): UsrMembersService;
52
+ UsrUserService(): UsrUserService;
53
+ UsrAlertsService(): UsrAlertsService;
54
+ UsrDevicesService(): UsrDevicesService;
55
+ UsrEventsService(): UsrEventsService;
56
+ UsrNetworkService(): UsrNetworkService;
57
+ UsrReportsService(): UsrReportsService;
58
+ UsrRulesService(): UsrRulesService;
59
+ }
@@ -0,0 +1,27 @@
1
+ export * from './index';
2
+ export * from './services.export';
3
+ export * from './supportStreamAnalyticsConfig';
4
+ export * from './sysAccountsService';
5
+ export * from './sysAuditLogService';
6
+ export * from './sysCheckpointsService';
7
+ export * from './sysConfigService';
8
+ export * from './sysFeaturesService';
9
+ export * from './sysGroupsService';
10
+ export * from './sysInsightsService';
11
+ export * from './sysKeysService';
12
+ export * from './sysMembersService';
13
+ export * from './sysRuleTemplatesService';
14
+ export * from './sysRulesService';
15
+ export * from './sysStatisticsService';
16
+ export * from './sysStreamsService';
17
+ export * from './sysUsersService';
18
+ export * from './usrAlertsService';
19
+ export * from './usrDevicesService';
20
+ export * from './usrEventsService';
21
+ export * from './usrInsightsService';
22
+ export * from './usrIntegrationsService';
23
+ export * from './usrMembersService';
24
+ export * from './usrNetworkService';
25
+ export * from './usrReportsService';
26
+ export * from './usrRulesService';
27
+ export * from './usrUserService';
@@ -0,0 +1,26 @@
1
+ import { SupportStreamAnalyticsConfig } from './supportStreamAnalyticsConfig';
2
+ import { SysAccountsService } from './sysAccountsService';
3
+ import { SysAuditLogService } from './sysAuditLogService';
4
+ import { SysCheckpointsService } from './sysCheckpointsService';
5
+ import { SysConfigService } from './sysConfigService';
6
+ import { SysFeaturesService } from './sysFeaturesService';
7
+ import { SysGroupsService } from './sysGroupsService';
8
+ import { SysInsightsService } from './sysInsightsService';
9
+ import { SysKeysService } from './sysKeysService';
10
+ import { SysMembersService } from './sysMembersService';
11
+ import { SysRuleTemplatesService } from './sysRuleTemplatesService';
12
+ import { SysRulesService } from './sysRulesService';
13
+ import { SysStatisticsService } from './sysStatisticsService';
14
+ import { SysStreamsService } from './sysStreamsService';
15
+ import { SysUsersService } from './sysUsersService';
16
+ import { UsrInsightsService } from './usrInsightsService';
17
+ import { UsrIntegrationsService } from './usrIntegrationsService';
18
+ import { UsrMembersService } from './usrMembersService';
19
+ import { UsrUserService } from './usrUserService';
20
+ import { UsrAlertsService } from './usrAlertsService';
21
+ import { UsrDevicesService } from './usrDevicesService';
22
+ import { UsrEventsService } from './usrEventsService';
23
+ import { UsrNetworkService } from './usrNetworkService';
24
+ import { UsrReportsService } from './usrReportsService';
25
+ import { UsrRulesService } from './usrRulesService';
26
+ export declare const Services: (typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysInsightsService | typeof SysKeysService | typeof SysMembersService | typeof SysRuleTemplatesService | typeof SysRulesService | typeof SysStatisticsService | typeof SysStreamsService | typeof SysUsersService | typeof UsrInsightsService | typeof UsrIntegrationsService | typeof UsrMembersService | typeof UsrUserService | typeof UsrAlertsService | typeof UsrDevicesService | typeof UsrEventsService | typeof UsrNetworkService | typeof UsrReportsService | typeof UsrRulesService)[];
@@ -0,0 +1,29 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { PulseConfig } from '../../config';
3
+ import { StreamAnalyticsConfig } from '../entities';
4
+ export declare class SupportStreamAnalyticsConfig {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: PulseConfig, rest: RestUtil);
9
+ /**
10
+ * Create new stream analytics configuration
11
+ */
12
+ create(body?: StreamAnalyticsConfig): import("rxjs").Observable<EntityResponse<StreamAnalyticsConfig>>;
13
+ /**
14
+ * Update existing stream analytics configuration
15
+ */
16
+ update(body?: StreamAnalyticsConfig): import("rxjs").Observable<EntityResponse<StreamAnalyticsConfig>>;
17
+ /**
18
+ * Delete stream analytics configuration from the system
19
+ */
20
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single stream analytics configuration by stream id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<StreamAnalyticsConfig>>;
25
+ /**
26
+ * Find list of stream analytics configurations by query
27
+ */
28
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StreamAnalyticsConfig>>;
29
+ }
@@ -0,0 +1,45 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { PulseConfig } from '../../config';
3
+ import { Account } from '../entities';
4
+ import { AccountSettings } from '../entities';
5
+ import { AccountTypeCode } from '../enums';
6
+ import { AccountStatusCode } from '../enums';
7
+ import { Image } from '../entities';
8
+ export declare class SysAccountsService {
9
+ private config;
10
+ private rest;
11
+ private baseUrl;
12
+ constructor(config: PulseConfig, rest: RestUtil);
13
+ /**
14
+ * Create new account
15
+ */
16
+ create(body?: Account): import("rxjs").Observable<EntityResponse<Account>>;
17
+ /**
18
+ * Update existing account in the system
19
+ */
20
+ update(body?: Account): import("rxjs").Observable<EntityResponse<Account>>;
21
+ /**
22
+ * Update existing account settings in the system
23
+ */
24
+ updateSettings(body?: AccountSettings): import("rxjs").Observable<ActionResponse>;
25
+ /**
26
+ * Delete account from the system and all its related content
27
+ */
28
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
29
+ /**
30
+ * Get single account by id
31
+ */
32
+ get(id?: string): import("rxjs").Observable<EntityResponse<Account>>;
33
+ /**
34
+ * Find list of accounts by query
35
+ */
36
+ find(search?: string, type?: AccountTypeCode[], status?: AccountStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Account>>;
37
+ /**
38
+ * Save account's logo image
39
+ */
40
+ saveLogo(): import("rxjs").Observable<ActionResponse>;
41
+ /**
42
+ * Get account's logo image
43
+ */
44
+ getLogo(id?: string): import("rxjs").Observable<EntityResponse<Image>>;
45
+ }
@@ -0,0 +1,22 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
2
+ import { PulseConfig } from '../../config';
3
+ import { AuditLog } from '../entities';
4
+ import { TimeSeriesOfFloat } from '../common';
5
+ export declare class SysAuditLogService {
6
+ private config;
7
+ private rest;
8
+ private baseUrl;
9
+ constructor(config: PulseConfig, rest: RestUtil);
10
+ /**
11
+ * Get single log entry by id
12
+ */
13
+ get(id?: string): import("rxjs").Observable<EntityResponse<AuditLog>>;
14
+ /**
15
+ * Find list of log entries by query
16
+ */
17
+ find(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<AuditLog>>;
18
+ /**
19
+ * Get histogram of audit log entries over time
20
+ */
21
+ getTimeline(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<TimeSeriesOfFloat>>;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
2
+ import { PulseConfig } from '../../config';
3
+ import { Checkpoint } from '../entities';
4
+ import { TimeSeriesOfFloat } from '../common';
5
+ export declare class SysCheckpointsService {
6
+ private config;
7
+ private rest;
8
+ private baseUrl;
9
+ constructor(config: PulseConfig, rest: RestUtil);
10
+ /**
11
+ * Get a single checkpoint entry by id
12
+ */
13
+ get(id?: string): import("rxjs").Observable<EntityResponse<Checkpoint>>;
14
+ /**
15
+ * Find a list of checkpoint entries by query
16
+ */
17
+ find(from?: number, to?: number, accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Checkpoint>>;
18
+ /**
19
+ * Get histogram of checkpoints over time
20
+ */
21
+ checkpointsTimeline(from?: number, to?: number, accountId?: string, streamId?: string, field?: string, timeField?: string): import("rxjs").Observable<EntityResponse<TimeSeriesOfFloat>>;
22
+ }
@@ -0,0 +1,29 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { PulseConfig } from '../../config';
3
+ import { ConfigParam } from '../entities';
4
+ export declare class SysConfigService {
5
+ private config;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(config: PulseConfig, rest: RestUtil);
9
+ /**
10
+ * Create new configuration parameter
11
+ */
12
+ create(body?: ConfigParam): import("rxjs").Observable<EntityResponse<ConfigParam>>;
13
+ /**
14
+ * Update existing configuration parameter in the system
15
+ */
16
+ update(body?: ConfigParam): import("rxjs").Observable<EntityResponse<ConfigParam>>;
17
+ /**
18
+ * Delete a configuration parameter from the system
19
+ */
20
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single configuration parameter by id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<ConfigParam>>;
25
+ /**
26
+ * Find list of configuration parameters by query
27
+ */
28
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<ConfigParam>>;
29
+ }