@shieldiot/pulse-lib 1.0.10 → 1.0.12

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 (507) hide show
  1. package/README.md +14 -26
  2. package/dist/cjs/index.js +17 -3
  3. package/dist/cjs/lib/base/BaseEntity.js +18 -0
  4. package/dist/cjs/lib/base/index.js +17 -0
  5. package/dist/cjs/lib/common/AccountRole.js +18 -0
  6. package/dist/cjs/lib/common/ConsumptionData.js +18 -0
  7. package/dist/cjs/lib/common/ConsumptionTimeDataPoint.js +15 -0
  8. package/dist/cjs/lib/common/DeviceConfig.js +15 -0
  9. package/dist/cjs/lib/common/DeviceScoreConfig.js +60 -0
  10. package/dist/cjs/lib/common/DevicesAtRiskConfig.js +12 -0
  11. package/dist/cjs/lib/common/EventSeverityConfig.js +12 -0
  12. package/dist/cjs/lib/common/FloatKeyValue.js +15 -0
  13. package/dist/cjs/lib/common/GeoData.js +28 -0
  14. package/dist/cjs/lib/common/GraphSeries.js +15 -0
  15. package/dist/cjs/lib/common/Indicator.js +24 -0
  16. package/dist/cjs/lib/common/IntKeySeriesDataValue.js +15 -0
  17. package/dist/cjs/lib/common/IntKeyValue.js +15 -0
  18. package/dist/cjs/lib/common/Interval.js +15 -0
  19. package/dist/cjs/lib/common/Link.js +30 -0
  20. package/dist/cjs/lib/common/Location.js +15 -0
  21. package/dist/cjs/lib/common/LoginParams.js +18 -0
  22. package/dist/cjs/lib/common/MaliciousIPCard.js +33 -0
  23. package/dist/cjs/lib/common/MaliciousIPData.js +21 -0
  24. package/dist/cjs/lib/common/NetworkMap.js +15 -0
  25. package/dist/cjs/lib/common/Node.js +39 -0
  26. package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.js +21 -0
  27. package/dist/cjs/lib/common/RuleCountThresholdConfig.js +15 -0
  28. package/dist/cjs/lib/common/SeriesData.js +15 -0
  29. package/dist/cjs/lib/common/SessionTransform.js +21 -0
  30. package/dist/cjs/lib/common/SeverityConditionConfig.js +24 -0
  31. package/dist/cjs/lib/common/SeverityIntervalTuple.js +15 -0
  32. package/dist/cjs/lib/common/ShieldexConfig.js +27 -0
  33. package/dist/cjs/lib/common/StringIntValue.js +15 -0
  34. package/dist/cjs/lib/common/StringKeyIntValue.js +15 -0
  35. package/dist/cjs/lib/common/StringKeyValue.js +15 -0
  36. package/dist/cjs/lib/common/Thresholds.js +12 -0
  37. package/dist/cjs/lib/common/TimeDataPoint.js +15 -0
  38. package/dist/cjs/lib/common/TimeDataPoint2D.js +15 -0
  39. package/dist/cjs/lib/common/TimeDataPointFloat.js +15 -0
  40. package/dist/cjs/lib/common/TimeFrame.js +15 -0
  41. package/dist/cjs/lib/common/TimeSeries.js +18 -0
  42. package/dist/cjs/lib/common/TimeSeriesOf2D.js +18 -0
  43. package/dist/cjs/lib/common/TimeSeriesOfDataConsumption.js +18 -0
  44. package/dist/cjs/lib/common/TimeSeriesOfFloat.js +18 -0
  45. package/dist/cjs/lib/common/TokenData.js +27 -0
  46. package/dist/cjs/lib/common/Tuple.js +15 -0
  47. package/dist/cjs/lib/common/UsageTransform.js +27 -0
  48. package/dist/cjs/lib/common/ZScore.js +15 -0
  49. package/dist/cjs/lib/common/index.js +60 -0
  50. package/dist/cjs/lib/entities/Account.js +8 -0
  51. package/dist/cjs/lib/entities/AccountDTO.js +8 -0
  52. package/dist/cjs/lib/entities/AccountSettings.js +21 -0
  53. package/dist/cjs/lib/entities/Action.js +8 -0
  54. package/dist/cjs/lib/entities/Alert.js +11 -0
  55. package/dist/cjs/lib/entities/AlertWithDevice.js +8 -0
  56. package/dist/cjs/lib/entities/ApiKey.js +8 -0
  57. package/dist/cjs/lib/entities/AuditLog.js +8 -0
  58. package/dist/cjs/lib/entities/BulkDevices.js +12 -0
  59. package/dist/cjs/lib/entities/Checkpoint.js +8 -0
  60. package/dist/cjs/lib/entities/ComplianceReportSettings.js +21 -0
  61. package/dist/cjs/lib/entities/Condition.js +20 -0
  62. package/dist/cjs/lib/entities/ConfigParam.js +9 -0
  63. package/dist/cjs/lib/entities/ConfigParams.js +8 -0
  64. package/dist/cjs/lib/entities/DNSRecord.js +10 -0
  65. package/dist/cjs/lib/entities/DataIngestion.js +45 -0
  66. package/dist/cjs/lib/entities/DataPointOfDeviceReport.js +15 -0
  67. package/dist/cjs/lib/entities/Device.js +8 -0
  68. package/dist/cjs/lib/entities/DeviceReport.js +8 -0
  69. package/dist/cjs/lib/entities/DeviceWithEvents.js +8 -0
  70. package/dist/cjs/lib/entities/Distribution.js +18 -0
  71. package/dist/cjs/lib/entities/Event.js +10 -0
  72. package/dist/cjs/lib/entities/EventOccurrence.js +24 -0
  73. package/dist/cjs/lib/entities/EventWithDevice.js +8 -0
  74. package/dist/cjs/lib/entities/Feature.js +8 -0
  75. package/dist/cjs/lib/entities/FeaturesGroup.js +8 -0
  76. package/dist/cjs/lib/entities/Group.js +8 -0
  77. package/dist/cjs/lib/entities/Image.js +9 -0
  78. package/dist/cjs/lib/entities/Insight.js +9 -0
  79. package/dist/cjs/lib/entities/InsightQuery.js +9 -0
  80. package/dist/cjs/lib/entities/InsightSpec.js +9 -0
  81. package/dist/cjs/lib/entities/IntDistribution.js +18 -0
  82. package/dist/cjs/lib/entities/Integration.js +8 -0
  83. package/dist/cjs/lib/entities/Member.js +9 -0
  84. package/dist/cjs/lib/entities/Radius.js +8 -0
  85. package/dist/cjs/lib/entities/Report.js +8 -0
  86. package/dist/cjs/lib/entities/Rule.js +8 -0
  87. package/dist/cjs/lib/entities/RuleTemplate.js +8 -0
  88. package/dist/cjs/lib/entities/SIM.js +24 -0
  89. package/dist/cjs/lib/entities/ServiceStatus.js +8 -0
  90. package/dist/cjs/lib/entities/SessionRecord.js +11 -0
  91. package/dist/cjs/lib/entities/Shieldex.js +8 -0
  92. package/dist/cjs/lib/entities/Stream.js +8 -0
  93. package/dist/cjs/lib/entities/StreamAnalyticsConfig.js +8 -0
  94. package/dist/cjs/lib/entities/StreamConfig.js +33 -0
  95. package/dist/cjs/lib/entities/TeaserPopUpSettings.js +18 -0
  96. package/dist/cjs/lib/entities/TimeSeriesOfDeviceReport.js +18 -0
  97. package/dist/cjs/lib/entities/UsageRecord.js +11 -0
  98. package/dist/cjs/lib/entities/User.js +9 -0
  99. package/dist/cjs/lib/entities/UserMembership.js +8 -0
  100. package/dist/cjs/lib/entities/UserMemberships.js +8 -0
  101. package/dist/cjs/lib/entities/index.js +67 -0
  102. package/dist/cjs/lib/enums/AccountStatusCode.js +25 -0
  103. package/dist/cjs/lib/enums/AccountTypeCode.js +28 -0
  104. package/dist/cjs/lib/enums/DataSourceCode.js +25 -0
  105. package/dist/cjs/lib/enums/DeviceActionCode.js +28 -0
  106. package/dist/cjs/lib/enums/DeviceCreationCode.js +28 -0
  107. package/dist/cjs/lib/enums/DeviceIdentityCode.js +37 -0
  108. package/dist/cjs/lib/enums/DeviceStatusCode.js +28 -0
  109. package/dist/cjs/lib/enums/DeviceTypeCode.js +58 -0
  110. package/dist/cjs/lib/enums/DirectionContextCode.js +28 -0
  111. package/dist/cjs/lib/enums/EventCategoryCode.js +22 -0
  112. package/dist/cjs/lib/enums/EventStatusCode.js +28 -0
  113. package/dist/cjs/lib/enums/EventTypeCode.js +73 -0
  114. package/dist/cjs/lib/enums/FeatureCode.js +46 -0
  115. package/dist/cjs/lib/enums/HomePageViewCode.js +25 -0
  116. package/dist/cjs/lib/enums/HttpMethodCode.js +31 -0
  117. package/dist/cjs/lib/enums/InsightStatusCode.js +25 -0
  118. package/dist/cjs/lib/enums/InsightTypeCode.js +22 -0
  119. package/dist/cjs/lib/enums/IntegrationTriggerCode.js +22 -0
  120. package/dist/cjs/lib/enums/IntegrationTypeCode.js +28 -0
  121. package/dist/cjs/lib/enums/MemberRoleCode.js +28 -0
  122. package/dist/cjs/lib/enums/NetworkMapTypeCode.js +25 -0
  123. package/dist/cjs/lib/enums/OperatorCode.js +49 -0
  124. package/dist/cjs/lib/enums/PermissionCode.js +31 -0
  125. package/dist/cjs/lib/enums/ReportTypeCode.js +25 -0
  126. package/dist/cjs/lib/enums/RuleActivityStatusCode.js +19 -0
  127. package/dist/cjs/lib/enums/RuleTypeCode.js +25 -0
  128. package/dist/cjs/lib/enums/SeverityTypeCode.js +28 -0
  129. package/dist/cjs/lib/enums/TrafficDirectionCode.js +25 -0
  130. package/dist/cjs/lib/enums/UserStatusCode.js +28 -0
  131. package/dist/cjs/lib/enums/UserTypeCode.js +28 -0
  132. package/dist/cjs/lib/enums/index.js +46 -0
  133. package/dist/cjs/lib/index.js +21 -0
  134. package/dist/cjs/lib/pulse-client.js +81 -0
  135. package/dist/cjs/lib/services/index.js +42 -0
  136. package/dist/cjs/lib/services/services.export.js +55 -0
  137. package/dist/cjs/lib/services/supportStreamAnalyticsConfig.js +60 -0
  138. package/dist/cjs/lib/services/sysAccountsService.js +84 -0
  139. package/dist/cjs/lib/services/sysAuditLogService.js +109 -0
  140. package/dist/cjs/lib/services/sysCheckpointsService.js +79 -0
  141. package/dist/cjs/lib/services/sysConfigService.js +85 -0
  142. package/dist/cjs/lib/services/sysFeaturesService.js +79 -0
  143. package/dist/cjs/lib/services/sysGroupsService.js +78 -0
  144. package/dist/cjs/lib/services/sysInsightsService.js +134 -0
  145. package/dist/cjs/lib/services/sysKeysService.js +66 -0
  146. package/dist/cjs/lib/services/sysMembersService.js +66 -0
  147. package/dist/cjs/lib/services/sysRuleTemplatesService.js +60 -0
  148. package/dist/cjs/lib/services/sysRulesService.js +85 -0
  149. package/dist/cjs/lib/services/sysStatisticsService.js +41 -0
  150. package/dist/cjs/lib/services/sysStreamsService.js +63 -0
  151. package/dist/cjs/lib/services/sysUsersService.js +84 -0
  152. package/dist/cjs/lib/services/usrAlertsService.js +658 -0
  153. package/dist/cjs/lib/services/usrDevicesService.js +476 -0
  154. package/dist/cjs/lib/services/usrEventsService.js +640 -0
  155. package/dist/cjs/lib/services/usrInsightsService.js +23 -0
  156. package/dist/cjs/lib/services/usrIntegrationsService.js +78 -0
  157. package/dist/cjs/lib/services/usrMembersService.js +79 -0
  158. package/dist/cjs/lib/services/usrNetworkService.js +85 -0
  159. package/dist/cjs/lib/services/usrReportsService.js +146 -0
  160. package/dist/cjs/lib/services/usrRulesService.js +180 -0
  161. package/dist/cjs/lib/services/usrUserService.js +91 -0
  162. package/dist/cjs/utils/ActionResponse.js +15 -0
  163. package/dist/cjs/utils/BaseRestResponse.js +13 -0
  164. package/dist/cjs/utils/EntitiesResponse.js +21 -0
  165. package/dist/cjs/utils/EntityResponse.js +19 -0
  166. package/dist/cjs/utils/index.js +21 -0
  167. package/dist/cjs/utils/rest-axios-setup.js +12 -0
  168. package/dist/cjs/utils/rest-util.js +103 -0
  169. package/dist/esm/index.js +3 -2
  170. package/dist/esm/lib/base/BaseEntity.js +14 -0
  171. package/dist/esm/lib/base/index.js +1 -0
  172. package/dist/esm/lib/common/AccountRole.js +14 -0
  173. package/dist/esm/lib/common/ConsumptionData.js +14 -0
  174. package/dist/esm/lib/common/ConsumptionTimeDataPoint.js +11 -0
  175. package/dist/esm/lib/common/DeviceConfig.js +11 -0
  176. package/dist/esm/lib/common/DeviceScoreConfig.js +56 -0
  177. package/dist/esm/lib/common/DevicesAtRiskConfig.js +8 -0
  178. package/dist/esm/lib/common/EventSeverityConfig.js +8 -0
  179. package/dist/esm/lib/common/FloatKeyValue.js +11 -0
  180. package/dist/esm/lib/common/GeoData.js +24 -0
  181. package/dist/esm/lib/common/GraphSeries.js +11 -0
  182. package/dist/esm/lib/common/Indicator.js +20 -0
  183. package/dist/esm/lib/common/IntKeySeriesDataValue.js +11 -0
  184. package/dist/esm/lib/common/IntKeyValue.js +11 -0
  185. package/dist/esm/lib/common/Interval.js +11 -0
  186. package/dist/esm/lib/common/Link.js +26 -0
  187. package/dist/esm/lib/common/Location.js +11 -0
  188. package/dist/esm/lib/common/LoginParams.js +14 -0
  189. package/dist/esm/lib/common/MaliciousIPCard.js +29 -0
  190. package/dist/esm/lib/common/MaliciousIPData.js +17 -0
  191. package/dist/esm/lib/common/NetworkMap.js +11 -0
  192. package/dist/esm/lib/common/Node.js +35 -0
  193. package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.js +17 -0
  194. package/dist/esm/lib/common/RuleCountThresholdConfig.js +11 -0
  195. package/dist/esm/lib/common/SeriesData.js +11 -0
  196. package/dist/esm/lib/common/SessionTransform.js +17 -0
  197. package/dist/esm/lib/common/SeverityConditionConfig.js +20 -0
  198. package/dist/esm/lib/common/SeverityIntervalTuple.js +11 -0
  199. package/dist/esm/lib/common/ShieldexConfig.js +23 -0
  200. package/dist/esm/lib/common/StringIntValue.js +11 -0
  201. package/dist/esm/lib/common/StringKeyIntValue.js +11 -0
  202. package/dist/esm/lib/common/StringKeyValue.js +11 -0
  203. package/dist/esm/lib/common/Thresholds.js +8 -0
  204. package/dist/esm/lib/common/TimeDataPoint.js +11 -0
  205. package/dist/esm/lib/common/TimeDataPoint2D.js +11 -0
  206. package/dist/esm/lib/common/TimeDataPointFloat.js +11 -0
  207. package/dist/esm/lib/common/TimeFrame.js +11 -0
  208. package/dist/esm/lib/common/TimeSeries.js +14 -0
  209. package/dist/esm/lib/common/TimeSeriesOf2D.js +14 -0
  210. package/dist/esm/lib/common/TimeSeriesOfDataConsumption.js +14 -0
  211. package/dist/esm/lib/common/TimeSeriesOfFloat.js +14 -0
  212. package/dist/esm/lib/common/TokenData.js +23 -0
  213. package/dist/esm/lib/common/Tuple.js +11 -0
  214. package/dist/esm/lib/common/UsageTransform.js +23 -0
  215. package/dist/esm/lib/common/ZScore.js +11 -0
  216. package/dist/esm/lib/common/index.js +44 -0
  217. package/dist/esm/lib/entities/Account.js +4 -0
  218. package/dist/esm/lib/entities/AccountDTO.js +4 -0
  219. package/dist/esm/lib/entities/AccountSettings.js +17 -0
  220. package/dist/esm/lib/entities/Action.js +4 -0
  221. package/dist/esm/lib/entities/Alert.js +7 -0
  222. package/dist/esm/lib/entities/AlertWithDevice.js +4 -0
  223. package/dist/esm/lib/entities/ApiKey.js +4 -0
  224. package/dist/esm/lib/entities/AuditLog.js +4 -0
  225. package/dist/esm/lib/entities/BulkDevices.js +8 -0
  226. package/dist/esm/lib/entities/Checkpoint.js +4 -0
  227. package/dist/esm/lib/entities/ComplianceReportSettings.js +17 -0
  228. package/dist/esm/lib/entities/Condition.js +16 -0
  229. package/dist/esm/lib/entities/ConfigParam.js +5 -0
  230. package/dist/esm/lib/entities/ConfigParams.js +4 -0
  231. package/dist/esm/lib/entities/DNSRecord.js +6 -0
  232. package/dist/esm/lib/entities/DataIngestion.js +41 -0
  233. package/dist/esm/lib/entities/DataPointOfDeviceReport.js +11 -0
  234. package/dist/esm/lib/entities/Device.js +4 -0
  235. package/dist/esm/lib/entities/DeviceReport.js +4 -0
  236. package/dist/esm/lib/entities/DeviceWithEvents.js +4 -0
  237. package/dist/esm/lib/entities/Distribution.js +14 -0
  238. package/dist/esm/lib/entities/Event.js +6 -0
  239. package/dist/esm/lib/entities/EventOccurrence.js +20 -0
  240. package/dist/esm/lib/entities/EventWithDevice.js +4 -0
  241. package/dist/esm/lib/entities/Feature.js +4 -0
  242. package/dist/esm/lib/entities/FeaturesGroup.js +4 -0
  243. package/dist/esm/lib/entities/Group.js +4 -0
  244. package/dist/esm/lib/entities/Image.js +5 -0
  245. package/dist/esm/lib/entities/Insight.js +5 -0
  246. package/dist/esm/lib/entities/InsightQuery.js +5 -0
  247. package/dist/esm/lib/entities/InsightSpec.js +5 -0
  248. package/dist/esm/lib/entities/IntDistribution.js +14 -0
  249. package/dist/esm/lib/entities/Integration.js +4 -0
  250. package/dist/esm/lib/entities/Member.js +5 -0
  251. package/dist/esm/lib/entities/Radius.js +4 -0
  252. package/dist/esm/lib/entities/Report.js +4 -0
  253. package/dist/esm/lib/entities/Rule.js +4 -0
  254. package/dist/esm/lib/entities/RuleTemplate.js +4 -0
  255. package/dist/esm/lib/entities/SIM.js +20 -0
  256. package/dist/esm/lib/entities/ServiceStatus.js +4 -0
  257. package/dist/esm/lib/entities/SessionRecord.js +7 -0
  258. package/dist/esm/lib/entities/Shieldex.js +4 -0
  259. package/dist/esm/lib/entities/Stream.js +4 -0
  260. package/dist/esm/lib/entities/StreamAnalyticsConfig.js +4 -0
  261. package/dist/esm/lib/entities/StreamConfig.js +29 -0
  262. package/dist/esm/lib/entities/TeaserPopUpSettings.js +14 -0
  263. package/dist/esm/lib/entities/TimeSeriesOfDeviceReport.js +14 -0
  264. package/dist/esm/lib/entities/UsageRecord.js +7 -0
  265. package/dist/esm/lib/entities/User.js +5 -0
  266. package/dist/esm/lib/entities/UserMembership.js +4 -0
  267. package/dist/esm/lib/entities/UserMemberships.js +4 -0
  268. package/dist/esm/lib/entities/index.js +51 -0
  269. package/dist/esm/lib/enums/AccountStatusCode.js +21 -0
  270. package/dist/esm/lib/enums/AccountTypeCode.js +24 -0
  271. package/dist/esm/lib/enums/DataSourceCode.js +21 -0
  272. package/dist/esm/lib/enums/DeviceActionCode.js +24 -0
  273. package/dist/esm/lib/enums/DeviceCreationCode.js +24 -0
  274. package/dist/esm/lib/enums/DeviceIdentityCode.js +33 -0
  275. package/dist/esm/lib/enums/DeviceStatusCode.js +24 -0
  276. package/dist/esm/lib/enums/DeviceTypeCode.js +54 -0
  277. package/dist/esm/lib/enums/DirectionContextCode.js +24 -0
  278. package/dist/esm/lib/enums/EventCategoryCode.js +18 -0
  279. package/dist/esm/lib/enums/EventStatusCode.js +24 -0
  280. package/dist/esm/lib/enums/EventTypeCode.js +69 -0
  281. package/dist/esm/lib/enums/FeatureCode.js +42 -0
  282. package/dist/esm/lib/enums/HomePageViewCode.js +21 -0
  283. package/dist/esm/lib/enums/HttpMethodCode.js +27 -0
  284. package/dist/esm/lib/enums/InsightStatusCode.js +21 -0
  285. package/dist/esm/lib/enums/InsightTypeCode.js +18 -0
  286. package/dist/esm/lib/enums/IntegrationTriggerCode.js +18 -0
  287. package/dist/esm/lib/enums/IntegrationTypeCode.js +24 -0
  288. package/dist/esm/lib/enums/MemberRoleCode.js +24 -0
  289. package/dist/esm/lib/enums/NetworkMapTypeCode.js +21 -0
  290. package/dist/esm/lib/enums/OperatorCode.js +45 -0
  291. package/dist/esm/lib/enums/PermissionCode.js +27 -0
  292. package/dist/esm/lib/enums/ReportTypeCode.js +21 -0
  293. package/dist/esm/lib/enums/RuleActivityStatusCode.js +15 -0
  294. package/dist/esm/lib/enums/RuleTypeCode.js +21 -0
  295. package/dist/esm/lib/enums/SeverityTypeCode.js +24 -0
  296. package/dist/esm/lib/enums/TrafficDirectionCode.js +21 -0
  297. package/dist/esm/lib/enums/UserStatusCode.js +24 -0
  298. package/dist/esm/lib/enums/UserTypeCode.js +24 -0
  299. package/dist/esm/lib/enums/index.js +30 -0
  300. package/dist/esm/lib/index.js +5 -0
  301. package/dist/esm/lib/pulse-client.js +74 -0
  302. package/dist/esm/lib/services/index.js +26 -0
  303. package/dist/esm/lib/services/services.export.js +52 -0
  304. package/dist/esm/lib/services/supportStreamAnalyticsConfig.js +56 -0
  305. package/dist/esm/lib/services/sysAccountsService.js +80 -0
  306. package/dist/esm/lib/services/sysAuditLogService.js +105 -0
  307. package/dist/esm/lib/services/sysCheckpointsService.js +75 -0
  308. package/dist/esm/lib/services/sysConfigService.js +81 -0
  309. package/dist/esm/lib/services/sysFeaturesService.js +75 -0
  310. package/dist/esm/lib/services/sysGroupsService.js +74 -0
  311. package/dist/esm/lib/services/sysInsightsService.js +130 -0
  312. package/dist/esm/lib/services/sysKeysService.js +62 -0
  313. package/dist/esm/lib/services/sysMembersService.js +62 -0
  314. package/dist/esm/lib/services/sysRuleTemplatesService.js +56 -0
  315. package/dist/esm/lib/services/sysRulesService.js +81 -0
  316. package/dist/esm/lib/services/sysStatisticsService.js +37 -0
  317. package/dist/esm/lib/services/sysStreamsService.js +59 -0
  318. package/dist/esm/lib/services/sysUsersService.js +80 -0
  319. package/dist/esm/lib/services/usrAlertsService.js +654 -0
  320. package/dist/esm/lib/services/usrDevicesService.js +472 -0
  321. package/dist/esm/lib/services/usrEventsService.js +636 -0
  322. package/dist/esm/lib/services/usrInsightsService.js +19 -0
  323. package/dist/esm/lib/services/usrIntegrationsService.js +74 -0
  324. package/dist/esm/lib/services/usrMembersService.js +75 -0
  325. package/dist/esm/lib/services/usrNetworkService.js +81 -0
  326. package/dist/esm/lib/services/usrReportsService.js +142 -0
  327. package/dist/esm/lib/services/usrRulesService.js +176 -0
  328. package/dist/esm/lib/services/usrUserService.js +87 -0
  329. package/dist/esm/utils/ActionResponse.js +11 -0
  330. package/dist/esm/utils/BaseRestResponse.js +9 -0
  331. package/dist/esm/utils/EntitiesResponse.js +17 -0
  332. package/dist/esm/utils/EntityResponse.js +15 -0
  333. package/dist/esm/utils/index.js +5 -0
  334. package/dist/esm/utils/rest-axios-setup.js +7 -0
  335. package/dist/esm/utils/rest-util.js +99 -0
  336. package/dist/types/index.d.ts +3 -2
  337. package/dist/types/lib/base/BaseEntity.d.ts +6 -0
  338. package/dist/types/lib/base/index.d.ts +1 -0
  339. package/dist/types/lib/common/AccountRole.d.ts +7 -0
  340. package/dist/types/lib/common/ConsumptionData.d.ts +6 -0
  341. package/dist/types/lib/common/ConsumptionTimeDataPoint.d.ts +6 -0
  342. package/dist/types/lib/common/DeviceConfig.d.ts +7 -0
  343. package/dist/types/lib/common/DeviceScoreConfig.d.ts +24 -0
  344. package/dist/types/lib/common/DevicesAtRiskConfig.d.ts +4 -0
  345. package/dist/types/lib/common/EventSeverityConfig.d.ts +5 -0
  346. package/dist/types/lib/common/FloatKeyValue.d.ts +5 -0
  347. package/dist/types/lib/common/GeoData.d.ts +10 -0
  348. package/dist/types/lib/common/GraphSeries.d.ts +6 -0
  349. package/dist/types/lib/common/Indicator.d.ts +8 -0
  350. package/dist/types/lib/common/IntKeySeriesDataValue.d.ts +6 -0
  351. package/dist/types/lib/common/IntKeyValue.d.ts +5 -0
  352. package/dist/types/lib/common/Interval.d.ts +5 -0
  353. package/dist/types/lib/common/Link.d.ts +11 -0
  354. package/dist/types/lib/common/Location.d.ts +5 -0
  355. package/dist/types/lib/common/LoginParams.d.ts +6 -0
  356. package/dist/types/lib/common/MaliciousIPCard.d.ts +12 -0
  357. package/dist/types/lib/common/MaliciousIPData.d.ts +7 -0
  358. package/dist/types/lib/common/NetworkMap.d.ts +7 -0
  359. package/dist/types/lib/common/Node.d.ts +15 -0
  360. package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +9 -0
  361. package/dist/types/lib/common/RuleCountThresholdConfig.d.ts +6 -0
  362. package/dist/types/lib/common/SeriesData.d.ts +7 -0
  363. package/dist/types/lib/common/SessionTransform.d.ts +8 -0
  364. package/dist/types/lib/common/SeverityConditionConfig.d.ts +10 -0
  365. package/dist/types/lib/common/SeverityIntervalTuple.d.ts +7 -0
  366. package/dist/types/lib/common/ShieldexConfig.d.ts +9 -0
  367. package/dist/types/lib/common/StringIntValue.d.ts +5 -0
  368. package/dist/types/lib/common/StringKeyIntValue.d.ts +5 -0
  369. package/dist/types/lib/common/StringKeyValue.d.ts +5 -0
  370. package/dist/types/lib/common/Thresholds.d.ts +4 -0
  371. package/dist/types/lib/common/TimeDataPoint.d.ts +5 -0
  372. package/dist/types/lib/common/TimeDataPoint2D.d.ts +6 -0
  373. package/dist/types/lib/common/TimeDataPointFloat.d.ts +5 -0
  374. package/dist/types/lib/common/TimeFrame.d.ts +5 -0
  375. package/dist/types/lib/common/TimeSeries.d.ts +8 -0
  376. package/dist/types/lib/common/TimeSeriesOf2D.d.ts +8 -0
  377. package/dist/types/lib/common/TimeSeriesOfDataConsumption.d.ts +8 -0
  378. package/dist/types/lib/common/TimeSeriesOfFloat.d.ts +8 -0
  379. package/dist/types/lib/common/TokenData.d.ts +12 -0
  380. package/dist/types/lib/common/Tuple.d.ts +5 -0
  381. package/dist/types/lib/common/UsageTransform.d.ts +10 -0
  382. package/dist/types/lib/common/ZScore.d.ts +5 -0
  383. package/dist/types/lib/common/index.d.ts +44 -0
  384. package/dist/types/lib/entities/Account.d.ts +17 -0
  385. package/dist/types/lib/entities/AccountDTO.d.ts +19 -0
  386. package/dist/types/lib/entities/AccountSettings.d.ts +10 -0
  387. package/dist/types/lib/entities/Action.d.ts +10 -0
  388. package/dist/types/lib/entities/Alert.d.ts +34 -0
  389. package/dist/types/lib/entities/AlertWithDevice.d.ts +36 -0
  390. package/dist/types/lib/entities/ApiKey.d.ts +11 -0
  391. package/dist/types/lib/entities/AuditLog.d.ts +13 -0
  392. package/dist/types/lib/entities/BulkDevices.d.ts +5 -0
  393. package/dist/types/lib/entities/Checkpoint.d.ts +23 -0
  394. package/dist/types/lib/entities/ComplianceReportSettings.d.ts +7 -0
  395. package/dist/types/lib/entities/Condition.d.ts +8 -0
  396. package/dist/types/lib/entities/ConfigParam.d.ts +6 -0
  397. package/dist/types/lib/entities/ConfigParams.d.ts +5 -0
  398. package/dist/types/lib/entities/DNSRecord.d.ts +12 -0
  399. package/dist/types/lib/entities/DataIngestion.d.ts +18 -0
  400. package/dist/types/lib/entities/DataPointOfDeviceReport.d.ts +6 -0
  401. package/dist/types/lib/entities/Device.d.ts +30 -0
  402. package/dist/types/lib/entities/DeviceReport.d.ts +9 -0
  403. package/dist/types/lib/entities/DeviceWithEvents.d.ts +32 -0
  404. package/dist/types/lib/entities/Distribution.d.ts +7 -0
  405. package/dist/types/lib/entities/Event.d.ts +38 -0
  406. package/dist/types/lib/entities/EventOccurrence.d.ts +10 -0
  407. package/dist/types/lib/entities/EventWithDevice.d.ts +39 -0
  408. package/dist/types/lib/entities/Feature.d.ts +6 -0
  409. package/dist/types/lib/entities/FeaturesGroup.d.ts +6 -0
  410. package/dist/types/lib/entities/Group.d.ts +8 -0
  411. package/dist/types/lib/entities/Image.d.ts +5 -0
  412. package/dist/types/lib/entities/Insight.d.ts +18 -0
  413. package/dist/types/lib/entities/InsightQuery.d.ts +10 -0
  414. package/dist/types/lib/entities/InsightSpec.d.ts +9 -0
  415. package/dist/types/lib/entities/IntDistribution.d.ts +7 -0
  416. package/dist/types/lib/entities/Integration.d.ts +31 -0
  417. package/dist/types/lib/entities/Member.d.ts +7 -0
  418. package/dist/types/lib/entities/Radius.d.ts +15 -0
  419. package/dist/types/lib/entities/Report.d.ts +13 -0
  420. package/dist/types/lib/entities/Rule.d.ts +27 -0
  421. package/dist/types/lib/entities/RuleTemplate.d.ts +14 -0
  422. package/dist/types/lib/entities/SIM.d.ts +8 -0
  423. package/dist/types/lib/entities/ServiceStatus.d.ts +8 -0
  424. package/dist/types/lib/entities/SessionRecord.d.ts +22 -0
  425. package/dist/types/lib/entities/Shieldex.d.ts +7 -0
  426. package/dist/types/lib/entities/Stream.d.ts +11 -0
  427. package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +12 -0
  428. package/dist/types/lib/entities/StreamConfig.d.ts +19 -0
  429. package/dist/types/lib/entities/TeaserPopUpSettings.d.ts +6 -0
  430. package/dist/types/lib/entities/TimeSeriesOfDeviceReport.d.ts +8 -0
  431. package/dist/types/lib/entities/UsageRecord.d.ts +32 -0
  432. package/dist/types/lib/entities/User.d.ts +16 -0
  433. package/dist/types/lib/entities/UserMembership.d.ts +14 -0
  434. package/dist/types/lib/entities/UserMemberships.d.ts +14 -0
  435. package/dist/types/lib/entities/index.d.ts +51 -0
  436. package/dist/types/lib/enums/AccountStatusCode.d.ts +7 -0
  437. package/dist/types/lib/enums/AccountTypeCode.d.ts +8 -0
  438. package/dist/types/lib/enums/DataSourceCode.d.ts +7 -0
  439. package/dist/types/lib/enums/DeviceActionCode.d.ts +8 -0
  440. package/dist/types/lib/enums/DeviceCreationCode.d.ts +8 -0
  441. package/dist/types/lib/enums/DeviceIdentityCode.d.ts +11 -0
  442. package/dist/types/lib/enums/DeviceStatusCode.d.ts +8 -0
  443. package/dist/types/lib/enums/DeviceTypeCode.d.ts +18 -0
  444. package/dist/types/lib/enums/DirectionContextCode.d.ts +8 -0
  445. package/dist/types/lib/enums/EventCategoryCode.d.ts +6 -0
  446. package/dist/types/lib/enums/EventStatusCode.d.ts +8 -0
  447. package/dist/types/lib/enums/EventTypeCode.d.ts +23 -0
  448. package/dist/types/lib/enums/FeatureCode.d.ts +14 -0
  449. package/dist/types/lib/enums/HomePageViewCode.d.ts +7 -0
  450. package/dist/types/lib/enums/HttpMethodCode.d.ts +9 -0
  451. package/dist/types/lib/enums/InsightStatusCode.d.ts +7 -0
  452. package/dist/types/lib/enums/InsightTypeCode.d.ts +6 -0
  453. package/dist/types/lib/enums/IntegrationTriggerCode.d.ts +6 -0
  454. package/dist/types/lib/enums/IntegrationTypeCode.d.ts +8 -0
  455. package/dist/types/lib/enums/MemberRoleCode.d.ts +8 -0
  456. package/dist/types/lib/enums/NetworkMapTypeCode.d.ts +7 -0
  457. package/dist/types/lib/enums/OperatorCode.d.ts +15 -0
  458. package/dist/types/lib/enums/PermissionCode.d.ts +9 -0
  459. package/dist/types/lib/enums/ReportTypeCode.d.ts +7 -0
  460. package/dist/types/lib/enums/RuleActivityStatusCode.d.ts +5 -0
  461. package/dist/types/lib/enums/RuleTypeCode.d.ts +7 -0
  462. package/dist/types/lib/enums/SeverityTypeCode.d.ts +8 -0
  463. package/dist/types/lib/enums/TrafficDirectionCode.d.ts +7 -0
  464. package/dist/types/lib/enums/UserStatusCode.d.ts +8 -0
  465. package/dist/types/lib/enums/UserTypeCode.d.ts +8 -0
  466. package/dist/types/lib/enums/index.d.ts +30 -0
  467. package/dist/types/lib/index.d.ts +5 -0
  468. package/dist/types/lib/pulse-client.d.ts +55 -0
  469. package/dist/types/lib/services/index.d.ts +26 -0
  470. package/dist/types/lib/services/services.export.d.ts +26 -0
  471. package/dist/types/lib/services/supportStreamAnalyticsConfig.d.ts +28 -0
  472. package/dist/types/lib/services/sysAccountsService.d.ts +44 -0
  473. package/dist/types/lib/services/sysAuditLogService.d.ts +21 -0
  474. package/dist/types/lib/services/sysCheckpointsService.d.ts +21 -0
  475. package/dist/types/lib/services/sysConfigService.d.ts +37 -0
  476. package/dist/types/lib/services/sysFeaturesService.d.ts +33 -0
  477. package/dist/types/lib/services/sysGroupsService.d.ts +41 -0
  478. package/dist/types/lib/services/sysInsightsService.d.ts +53 -0
  479. package/dist/types/lib/services/sysKeysService.d.ts +33 -0
  480. package/dist/types/lib/services/sysMembersService.d.ts +29 -0
  481. package/dist/types/lib/services/sysRuleTemplatesService.d.ts +28 -0
  482. package/dist/types/lib/services/sysRulesService.d.ts +33 -0
  483. package/dist/types/lib/services/sysStatisticsService.d.ts +24 -0
  484. package/dist/types/lib/services/sysStreamsService.d.ts +28 -0
  485. package/dist/types/lib/services/sysUsersService.d.ts +43 -0
  486. package/dist/types/lib/services/usrAlertsService.d.ts +109 -0
  487. package/dist/types/lib/services/usrDevicesService.d.ts +108 -0
  488. package/dist/types/lib/services/usrEventsService.d.ts +92 -0
  489. package/dist/types/lib/services/usrInsightsService.d.ts +12 -0
  490. package/dist/types/lib/services/usrIntegrationsService.d.ts +36 -0
  491. package/dist/types/lib/services/usrMembersService.d.ts +33 -0
  492. package/dist/types/lib/services/usrNetworkService.d.ts +17 -0
  493. package/dist/types/lib/services/usrReportsService.d.ts +50 -0
  494. package/dist/types/lib/services/usrRulesService.d.ts +46 -0
  495. package/dist/types/lib/services/usrUserService.d.ts +64 -0
  496. package/dist/types/utils/ActionResponse.d.ts +5 -0
  497. package/dist/types/utils/BaseRestResponse.d.ts +4 -0
  498. package/dist/types/utils/EntitiesResponse.d.ts +8 -0
  499. package/dist/types/utils/EntityResponse.d.ts +8 -0
  500. package/dist/types/utils/index.d.ts +5 -0
  501. package/dist/types/utils/rest-axios-setup.d.ts +3 -0
  502. package/dist/types/utils/rest-util.d.ts +15 -0
  503. package/dist/umd/index.js +1 -1
  504. package/package.json +8 -19
  505. package/dist/cjs/Num.js +0 -174
  506. package/dist/esm/Num.js +0 -171
  507. package/dist/types/Num.d.ts +0 -15
@@ -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,28 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { StreamAnalyticsConfig } from '../entities';
3
+ export declare class SupportStreamAnalyticsConfig {
4
+ private apiUrl;
5
+ private rest;
6
+ private baseUrl;
7
+ constructor(apiUrl: string, rest: RestUtil);
8
+ /**
9
+ * Create new stream analytics configuration
10
+ */
11
+ create(body?: StreamAnalyticsConfig): import("rxjs").Observable<EntityResponse<StreamAnalyticsConfig>>;
12
+ /**
13
+ * Update existing stream analytics configuration
14
+ */
15
+ update(body?: StreamAnalyticsConfig): import("rxjs").Observable<EntityResponse<StreamAnalyticsConfig>>;
16
+ /**
17
+ * Delete stream analytics configuration from the system
18
+ */
19
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
20
+ /**
21
+ * Get single stream analytics configuration by stream id
22
+ */
23
+ get(id?: string): import("rxjs").Observable<EntityResponse<StreamAnalyticsConfig>>;
24
+ /**
25
+ * Find list of stream analytics configurations by query
26
+ */
27
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StreamAnalyticsConfig>>;
28
+ }
@@ -0,0 +1,44 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { Account } from '../entities';
3
+ import { AccountSettings } from '../entities';
4
+ import { AccountTypeCode } from '../enums';
5
+ import { AccountStatusCode } from '../enums';
6
+ import { Image } from '../entities';
7
+ export declare class SysAccountsService {
8
+ private apiUrl;
9
+ private rest;
10
+ private baseUrl;
11
+ constructor(apiUrl: string, rest: RestUtil);
12
+ /**
13
+ * Create new account
14
+ */
15
+ create(body?: Account): import("rxjs").Observable<EntityResponse<Account>>;
16
+ /**
17
+ * Update existing account in the system
18
+ */
19
+ update(body?: Account): import("rxjs").Observable<EntityResponse<Account>>;
20
+ /**
21
+ * Update existing account settings in the system
22
+ */
23
+ updateSettings(body?: AccountSettings): import("rxjs").Observable<ActionResponse>;
24
+ /**
25
+ * Delete account from the system and all its related content
26
+ */
27
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
28
+ /**
29
+ * Get single account by id
30
+ */
31
+ get(id?: string): import("rxjs").Observable<EntityResponse<Account>>;
32
+ /**
33
+ * Find list of accounts by query
34
+ */
35
+ find(search?: string, type?: AccountTypeCode[], status?: AccountStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Account>>;
36
+ /**
37
+ * Save account's logo image
38
+ */
39
+ saveLogo(): import("rxjs").Observable<ActionResponse>;
40
+ /**
41
+ * Get account's logo image
42
+ */
43
+ getLogo(id?: string): import("rxjs").Observable<EntityResponse<Image>>;
44
+ }
@@ -0,0 +1,21 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
2
+ import { AuditLog } from '../entities';
3
+ import { TimeSeriesOfFloat } from '../common';
4
+ export declare class SysAuditLogService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Get single log entry by id
11
+ */
12
+ get(id?: string): import("rxjs").Observable<EntityResponse<AuditLog>>;
13
+ /**
14
+ * Find list of log entries by query
15
+ */
16
+ 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>>;
17
+ /**
18
+ * Get histogram of audit log entries over time
19
+ */
20
+ 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>>;
21
+ }
@@ -0,0 +1,21 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
2
+ import { Checkpoint } from '../entities';
3
+ import { TimeSeriesOfFloat } from '../common';
4
+ export declare class SysCheckpointsService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Get a single checkpoint entry by id
11
+ */
12
+ get(id?: string): import("rxjs").Observable<EntityResponse<Checkpoint>>;
13
+ /**
14
+ * Find a list of checkpoint entries by query
15
+ */
16
+ find(from?: number, to?: number, accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Checkpoint>>;
17
+ /**
18
+ * Get histogram of checkpoints over time
19
+ */
20
+ checkpointsTimeline(from?: number, to?: number, accountId?: string, streamId?: string, field?: string, timeField?: string): import("rxjs").Observable<EntityResponse<TimeSeriesOfFloat>>;
21
+ }
@@ -0,0 +1,37 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { ConfigParam } from '../entities';
3
+ import { ConfigParams } from '../entities';
4
+ export declare class SysConfigService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, 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
+ * Update group of configuration parameters in the system in a bulk
19
+ */
20
+ updateGroup(body?: ConfigParams): import("rxjs").Observable<EntityResponse<ConfigParams>>;
21
+ /**
22
+ * Delete a configuration parameter from the system
23
+ */
24
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
25
+ /**
26
+ * Get single configuration parameter by id
27
+ */
28
+ get(id?: string): import("rxjs").Observable<EntityResponse<ConfigParam>>;
29
+ /**
30
+ * Get list of configuration parameters keys and their description
31
+ */
32
+ keys(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<ConfigParam>>;
33
+ /**
34
+ * Find list of configuration parameters by query
35
+ */
36
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<ConfigParam>>;
37
+ }
@@ -0,0 +1,33 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { FeaturesGroup } from '../entities';
3
+ import { Feature } from '../entities';
4
+ export declare class SysFeaturesService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Find list of feature
11
+ */
12
+ findFeatures(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Feature>>;
13
+ /**
14
+ * Create new features group
15
+ */
16
+ createFeaturesGroup(body?: FeaturesGroup): import("rxjs").Observable<EntityResponse<FeaturesGroup>>;
17
+ /**
18
+ * Update existing features group
19
+ */
20
+ updateFeaturesGroup(body?: FeaturesGroup): import("rxjs").Observable<EntityResponse<FeaturesGroup>>;
21
+ /**
22
+ * Delete features group from the system
23
+ */
24
+ deleteFeaturesGroup(id?: string): import("rxjs").Observable<ActionResponse>;
25
+ /**
26
+ * Get single features group by id
27
+ */
28
+ getFeaturesGroup(id?: string): import("rxjs").Observable<EntityResponse<FeaturesGroup>>;
29
+ /**
30
+ * Find list of features groups
31
+ */
32
+ findFeaturesGroups(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FeaturesGroup>>;
33
+ }
@@ -0,0 +1,41 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { User } from '../entities';
3
+ import { Group } from '../entities';
4
+ export declare class SysGroupsService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Create new groups
11
+ */
12
+ create(body?: Group): import("rxjs").Observable<EntityResponse<Group>>;
13
+ /**
14
+ * Update existing group in the system
15
+ */
16
+ update(body?: Group): import("rxjs").Observable<EntityResponse<Group>>;
17
+ /**
18
+ * Delete a group from the system
19
+ */
20
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single group by id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<Group>>;
25
+ /**
26
+ * Find list of groups by query
27
+ */
28
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Group>>;
29
+ /**
30
+ * Get list of all users in the group
31
+ */
32
+ getUsers(id?: string): import("rxjs").Observable<EntityResponse<User>>;
33
+ /**
34
+ * Add user to the group
35
+ */
36
+ setDefaultAccount(id?: string, userId?: string): import("rxjs").Observable<ActionResponse>;
37
+ /**
38
+ * Remove user from the group
39
+ */
40
+ getAccessToken(id?: string, userId?: string): import("rxjs").Observable<ActionResponse>;
41
+ }
@@ -0,0 +1,53 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { InsightQuery } from '../entities';
3
+ import { InsightSpec } from '../entities';
4
+ export declare class SysInsightsService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Create new insight query
11
+ */
12
+ createQuery(body?: InsightQuery): import("rxjs").Observable<EntityResponse<InsightQuery>>;
13
+ /**
14
+ * Update existing insight query
15
+ */
16
+ updateQuery(body?: InsightQuery): import("rxjs").Observable<EntityResponse<InsightQuery>>;
17
+ /**
18
+ * Delete insight query from the system
19
+ */
20
+ deleteQuery(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single insight query by id
23
+ */
24
+ getQuery(id?: string): import("rxjs").Observable<EntityResponse<InsightQuery>>;
25
+ /**
26
+ * Find list of insight queries
27
+ */
28
+ findQueries(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<InsightQuery>>;
29
+ /**
30
+ * Create new insight spec
31
+ */
32
+ createSpec(body?: InsightSpec): import("rxjs").Observable<EntityResponse<InsightSpec>>;
33
+ /**
34
+ * Update existing insight spec
35
+ */
36
+ updateSpec(body?: InsightSpec): import("rxjs").Observable<EntityResponse<InsightSpec>>;
37
+ /**
38
+ * Delete insight spec from the system
39
+ */
40
+ deleteSpec(id?: string): import("rxjs").Observable<ActionResponse>;
41
+ /**
42
+ * Get single insight spec by id
43
+ */
44
+ getSpec(id?: string): import("rxjs").Observable<EntityResponse<InsightSpec>>;
45
+ /**
46
+ * Find list of insight specs
47
+ */
48
+ findSpecs(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<InsightSpec>>;
49
+ /**
50
+ * Find list of insight specs
51
+ */
52
+ findSpecsQueries(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<InsightQuery>>;
53
+ }
@@ -0,0 +1,33 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { StringIntValue } from '../common';
3
+ import { ApiKey } from '../entities';
4
+ export declare class SysKeysService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Create new API key
11
+ */
12
+ create(body?: ApiKey): import("rxjs").Observable<EntityResponse<ApiKey>>;
13
+ /**
14
+ * Update existing API key in the system
15
+ */
16
+ update(body?: ApiKey): import("rxjs").Observable<EntityResponse<ApiKey>>;
17
+ /**
18
+ * Delete API key from the system
19
+ */
20
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single API key by id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<ApiKey>>;
25
+ /**
26
+ * Find list of API keys by free test search
27
+ */
28
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<ApiKey>>;
29
+ /**
30
+ * Get list of services for the ACL
31
+ */
32
+ listServices(): import("rxjs").Observable<EntitiesResponse<StringIntValue>>;
33
+ }
@@ -0,0 +1,29 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { Member } from '../entities';
3
+ import { MemberRoleCode } from '../enums';
4
+ export declare class SysMembersService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Create new member
11
+ */
12
+ create(body?: Member): import("rxjs").Observable<EntityResponse<Member>>;
13
+ /**
14
+ * Update existing member in the system
15
+ */
16
+ update(body?: Member): import("rxjs").Observable<EntityResponse<Member>>;
17
+ /**
18
+ * Delete member from the system
19
+ */
20
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single member by id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<Member>>;
25
+ /**
26
+ * Find list of members by query
27
+ */
28
+ find(accountId?: string, userId?: string, role?: MemberRoleCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Member>>;
29
+ }
@@ -0,0 +1,28 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { RuleTemplate } from '../entities';
3
+ export declare class SysRuleTemplatesService {
4
+ private apiUrl;
5
+ private rest;
6
+ private baseUrl;
7
+ constructor(apiUrl: string, rest: RestUtil);
8
+ /**
9
+ * Create new rule template
10
+ */
11
+ create(body?: RuleTemplate): import("rxjs").Observable<EntityResponse<RuleTemplate>>;
12
+ /**
13
+ * Update existing rule template
14
+ */
15
+ update(body?: RuleTemplate): import("rxjs").Observable<EntityResponse<RuleTemplate>>;
16
+ /**
17
+ * Delete a rule template from the system
18
+ */
19
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
20
+ /**
21
+ * Get single rule template by id
22
+ */
23
+ get(id?: string): import("rxjs").Observable<EntityResponse<RuleTemplate>>;
24
+ /**
25
+ * Find list of rule templates by query
26
+ */
27
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<RuleTemplate>>;
28
+ }
@@ -0,0 +1,33 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { Rule } from '../entities';
3
+ import { TimeSeriesOfFloat } from '../common';
4
+ export declare class SysRulesService {
5
+ private apiUrl;
6
+ private rest;
7
+ private baseUrl;
8
+ constructor(apiUrl: string, rest: RestUtil);
9
+ /**
10
+ * Create new rule
11
+ */
12
+ create(body?: Rule): import("rxjs").Observable<EntityResponse<Rule>>;
13
+ /**
14
+ * Update existing rule in the system
15
+ */
16
+ update(body?: Rule): import("rxjs").Observable<EntityResponse<Rule>>;
17
+ /**
18
+ * Delete a rule from the system
19
+ */
20
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
21
+ /**
22
+ * Get single rule by id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<Rule>>;
25
+ /**
26
+ * Find list of rules by query
27
+ */
28
+ find(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Rule>>;
29
+ /**
30
+ * Analyze rule configuration against historic data
31
+ */
32
+ analyze(from?: number, to?: number, interval?: number, size?: number, body?: Rule): import("rxjs").Observable<EntityResponse<TimeSeriesOfFloat>>;
33
+ }
@@ -0,0 +1,24 @@
1
+ import { RestUtil, EntityResponse } from '../../utils';
2
+ import { Distribution } from '../entities';
3
+ export declare class SysStatisticsService {
4
+ private apiUrl;
5
+ private rest;
6
+ private baseUrl;
7
+ constructor(apiUrl: string, rest: RestUtil);
8
+ /**
9
+ * Get accounts distribution by field
10
+ */
11
+ getAccountsCount(field?: string): import("rxjs").Observable<EntityResponse<Distribution>>;
12
+ /**
13
+ * Get streams distribution by field
14
+ */
15
+ getStreamsCount(field?: string): import("rxjs").Observable<EntityResponse<Distribution>>;
16
+ /**
17
+ * Get devices distribution by field
18
+ */
19
+ getDevicesCount(field?: string): import("rxjs").Observable<EntityResponse<Distribution>>;
20
+ /**
21
+ * Get users distribution by field
22
+ */
23
+ getUsersCount(field?: string): import("rxjs").Observable<EntityResponse<Distribution>>;
24
+ }
@@ -0,0 +1,28 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { Stream } from '../entities';
3
+ export declare class SysStreamsService {
4
+ private apiUrl;
5
+ private rest;
6
+ private baseUrl;
7
+ constructor(apiUrl: string, rest: RestUtil);
8
+ /**
9
+ * Create new stream
10
+ */
11
+ create(body?: Stream): import("rxjs").Observable<EntityResponse<Stream>>;
12
+ /**
13
+ * Update existing stream in the system
14
+ */
15
+ update(body?: Stream): import("rxjs").Observable<EntityResponse<Stream>>;
16
+ /**
17
+ * Delete a stream from the system
18
+ */
19
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
20
+ /**
21
+ * Get single stream by id
22
+ */
23
+ get(id?: string): import("rxjs").Observable<EntityResponse<Stream>>;
24
+ /**
25
+ * Find list of streams by query
26
+ */
27
+ find(accountId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Stream>>;
28
+ }
@@ -0,0 +1,43 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { User } from '../entities';
3
+ import { UserTypeCode } from '../enums';
4
+ import { UserStatusCode } from '../enums';
5
+ import { UserMemberships } from '../entities';
6
+ export declare class SysUsersService {
7
+ private apiUrl;
8
+ private rest;
9
+ private baseUrl;
10
+ constructor(apiUrl: string, rest: RestUtil);
11
+ /**
12
+ * Create new user
13
+ */
14
+ create(body?: User): import("rxjs").Observable<EntityResponse<User>>;
15
+ /**
16
+ * Update existing user in the system
17
+ */
18
+ update(body?: User): import("rxjs").Observable<EntityResponse<User>>;
19
+ /**
20
+ * Delete a user from the system
21
+ */
22
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
23
+ /**
24
+ * Get single user by id
25
+ */
26
+ get(id?: string): import("rxjs").Observable<EntityResponse<User>>;
27
+ /**
28
+ * Find list of users by query
29
+ */
30
+ find(search?: string, type?: UserTypeCode[], status?: UserStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<User>>;
31
+ /**
32
+ * Create new user with all its accounts memberships
33
+ */
34
+ createMembership(body?: UserMemberships): import("rxjs").Observable<EntityResponse<UserMemberships>>;
35
+ /**
36
+ * Update user's default account
37
+ */
38
+ setDefaultAccount(id?: string, accountId?: string): import("rxjs").Observable<ActionResponse>;
39
+ /**
40
+ * Update access token
41
+ */
42
+ getAccessToken(id?: string): import("rxjs").Observable<ActionResponse>;
43
+ }
@@ -0,0 +1,109 @@
1
+ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { MaliciousIPCard } from '../common';
3
+ import { Alert } from '../entities';
4
+ import { EventCategoryCode } from '../enums';
5
+ import { EventStatusCode } from '../enums';
6
+ import { IntDistribution } from '../entities';
7
+ import { TimeSeriesOf2D } from '../common';
8
+ import { SeverityTypeCode } from '../enums';
9
+ import { DeviceActionCode } from '../enums';
10
+ import { StringKeyValue } from '../common';
11
+ import { AlertWithDevice } from '../entities';
12
+ import { TimeSeriesOfFloat } from '../common';
13
+ import { EventTypeCode } from '../enums';
14
+ import { RuleTypeCode } from '../enums';
15
+ import { MaliciousIPData } from '../common';
16
+ export declare class UsrAlertsService {
17
+ private apiUrl;
18
+ private rest;
19
+ private baseUrl;
20
+ constructor(apiUrl: string, rest: RestUtil);
21
+ /**
22
+ * Get single alert by id
23
+ */
24
+ get(id?: string): import("rxjs").Observable<EntityResponse<Alert>>;
25
+ /**
26
+ * Find list of alerts by query
27
+ */
28
+ find(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntitiesResponse<Alert>>;
29
+ /**
30
+ * Export list of alerts by query to a file with the specified format
31
+ */
32
+ exportFormat(format?: string, streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number): void;
33
+ /**
34
+ * Find top 10 alerts by their severity filter by query
35
+ */
36
+ getTop(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntitiesResponse<AlertWithDevice>>;
37
+ /**
38
+ * Get top malicious IPs
39
+ */
40
+ getTopMaliciousIPs(streamId?: string, top?: number, from?: number, to?: number): import("rxjs").Observable<EntitiesResponse<MaliciousIPData>>;
41
+ /**
42
+ * Find alerts distribution by type filtered by query
43
+ */
44
+ countByType(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntityResponse<IntDistribution>>;
45
+ /**
46
+ * Find alerts distribution by status filtered by query
47
+ */
48
+ countByStatus(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntityResponse<IntDistribution>>;
49
+ /**
50
+ * Find alerts distribution by severity filtered by query
51
+ */
52
+ countBySeverity(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntityResponse<IntDistribution>>;
53
+ /**
54
+ * Find alerts distribution by rule filtered by query
55
+ */
56
+ countByRule(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntityResponse<IntDistribution>>;
57
+ /**
58
+ * Find alerts distribution by category filtered by query
59
+ */
60
+ countByCategory(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean): import("rxjs").Observable<EntityResponse<IntDistribution>>;
61
+ /**
62
+ * Add tag to an alert
63
+ */
64
+ addTag(id?: string, tag?: string): import("rxjs").Observable<EntityResponse<Alert>>;
65
+ /**
66
+ * Delete a tag from the alert
67
+ */
68
+ deleteTag(id?: string, tag?: string): import("rxjs").Observable<EntityResponse<Alert>>;
69
+ /**
70
+ * Apply action on an alert
71
+ */
72
+ applyAction(id?: string, action?: DeviceActionCode): import("rxjs").Observable<ActionResponse>;
73
+ /**
74
+ * Set alert status
75
+ */
76
+ setStatus(id?: string, status?: EventStatusCode): import("rxjs").Observable<ActionResponse>;
77
+ /**
78
+ * Get current shieldex value as ActionResponse, the Key contains the shield index and the data includes the trend
79
+ */
80
+ getShieldex(): import("rxjs").Observable<ActionResponse>;
81
+ /**
82
+ * Get histogram of alerts over time by dimension (type | severity | status | ruleType | category)
83
+ */
84
+ alertsTimeline(streamId?: string, deviceId?: string, dimension?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<TimeSeriesOf2D>>;
85
+ /**
86
+ * Get histogram of shieldex values over time
87
+ */
88
+ shieldexTimeline(streamId?: string, from?: number, to?: number): import("rxjs").Observable<EntityResponse<TimeSeriesOfFloat>>;
89
+ /**
90
+ * Export alert source file
91
+ */
92
+ exportSource(id?: string): void;
93
+ /**
94
+ * Get total number devices at risk (affected by the alerts matching the query)
95
+ */
96
+ getTotalDevicesAtRisk(streamId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<ActionResponse>;
97
+ /**
98
+ * Get malicious IP data card for specific malicious IP
99
+ */
100
+ getMaliciousIpCard(streamId?: string, targetIp?: string, from?: number, to?: number): import("rxjs").Observable<EntityResponse<MaliciousIPCard>>;
101
+ /**
102
+ * Apply DNS lookup for each IP in the list
103
+ */
104
+ getIpLookup(ip?: string[]): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
105
+ /**
106
+ * Find list of alerts by insight id query
107
+ */
108
+ findByInsightContext(): import("rxjs").Observable<EntitiesResponse<Alert>>;
109
+ }