@shieldiot/pulse-lib 2.0.1458 → 2.0.1463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/lib/model/AIAttributionAssessment.d.ts +1 -1
- package/dist/cjs/lib/model/AIEventDetail.d.ts +3 -3
- package/dist/cjs/lib/model/AIEventDetail.js.map +1 -1
- package/dist/cjs/lib/model/Account.d.ts +1 -1
- package/dist/cjs/lib/model/Account.js.map +1 -1
- package/dist/cjs/lib/model/AccountDTO.d.ts +1 -1
- package/dist/cjs/lib/model/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/model/AccountReportDTO.d.ts +1 -1
- package/dist/cjs/lib/model/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/model/Alert.d.ts +4 -4
- package/dist/cjs/lib/model/Alert.js.map +1 -1
- package/dist/cjs/lib/model/ApiKey.d.ts +1 -1
- package/dist/cjs/lib/model/ApiKey.js.map +1 -1
- package/dist/cjs/lib/model/ConfigParams.d.ts +1 -1
- package/dist/cjs/lib/model/ConfigParams.js.map +1 -1
- package/dist/cjs/lib/model/Device.d.ts +2 -2
- package/dist/cjs/lib/model/Device.js.map +1 -1
- package/dist/cjs/lib/model/DeviceConfig.d.ts +1 -1
- package/dist/cjs/lib/model/DeviceScoreConfig.d.ts +1 -1
- package/dist/cjs/lib/model/Event.d.ts +5 -5
- package/dist/cjs/lib/model/Event.js.map +1 -1
- package/dist/cjs/lib/model/EventWithDevice.d.ts +1 -1
- package/dist/cjs/lib/model/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/model/Feature.d.ts +1 -1
- package/dist/cjs/lib/model/Feature.js.map +1 -1
- package/dist/cjs/lib/model/GraphSeries.d.ts +1 -1
- package/dist/cjs/lib/model/Insight.d.ts +3 -3
- package/dist/cjs/lib/model/Insight.js.map +1 -1
- package/dist/cjs/lib/model/InsightQuery.d.ts +2 -2
- package/dist/cjs/lib/model/InsightQuery.js.map +1 -1
- package/dist/cjs/lib/model/Integration.d.ts +2 -2
- package/dist/cjs/lib/model/Integration.js.map +1 -1
- package/dist/cjs/lib/model/IntegrationTemplate.d.ts +2 -2
- package/dist/cjs/lib/model/IntegrationTemplate.js.map +1 -1
- package/dist/cjs/lib/model/Node.d.ts +1 -1
- package/dist/cjs/lib/model/Notification.d.ts +1 -1
- package/dist/cjs/lib/model/Notification.js.map +1 -1
- package/dist/cjs/lib/model/NotificationMessage.d.ts +1 -1
- package/dist/cjs/lib/model/NotificationMessage.js.map +1 -1
- package/dist/cjs/lib/model/PrivateNetworkConnection.d.ts +1 -1
- package/dist/cjs/lib/model/PrivateNetworkConnection.js +9 -9
- package/dist/cjs/lib/model/PrivateNetworkConnection.js.map +1 -1
- package/dist/cjs/lib/model/PrivateNetworkEndpoint.d.ts +1 -1
- package/dist/cjs/lib/model/PrivateNetworkEndpoint.js +3 -3
- package/dist/cjs/lib/model/PrivateNetworkSnapshot.js +3 -0
- package/dist/cjs/lib/model/PrivateNetworkSnapshot.js.map +1 -1
- package/dist/cjs/lib/model/PrivateTopologyChanges.d.ts +1 -1
- package/dist/cjs/lib/model/PrivateTopologyChanges.js +3 -0
- package/dist/cjs/lib/model/PrivateTopologyChanges.js.map +1 -1
- package/dist/cjs/lib/model/Radius.d.ts +1 -1
- package/dist/cjs/lib/model/Radius.js.map +1 -1
- package/dist/cjs/lib/model/Report.d.ts +1 -1
- package/dist/cjs/lib/model/Report.js.map +1 -1
- package/dist/cjs/lib/model/ReportInstance.d.ts +2 -2
- package/dist/cjs/lib/model/ReportInstance.js.map +1 -1
- package/dist/cjs/lib/model/Rule.d.ts +3 -3
- package/dist/cjs/lib/model/Rule.js.map +1 -1
- package/dist/cjs/lib/model/Stream.d.ts +1 -1
- package/dist/cjs/lib/model/Stream.js.map +1 -1
- package/dist/cjs/lib/model/StreamConfig.d.ts +5 -5
- package/dist/cjs/lib/model/TimeSeriesConsumption.d.ts +1 -1
- package/dist/cjs/lib/model/TokenData.d.ts +4 -7
- package/dist/cjs/lib/model/TokenData.js +5 -5
- package/dist/cjs/lib/model/TokenData.js.map +1 -1
- package/dist/cjs/lib/model/UserMembership.d.ts +1 -1
- package/dist/cjs/lib/model/UserMembership.js.map +1 -1
- package/dist/cjs/lib/model/index.d.ts +170 -170
- package/dist/cjs/lib/model/index.js +170 -170
- package/dist/cjs/lib/model/index.js.map +1 -1
- package/dist/cjs/lib/pulse-client.d.ts +50 -48
- package/dist/cjs/lib/pulse-client.js +35 -33
- package/dist/cjs/lib/pulse-client.js.map +1 -1
- package/dist/cjs/lib/services/McpToolsService.js +3 -3
- package/dist/cjs/lib/services/McpToolsService.js.map +1 -1
- package/dist/cjs/lib/services/SupportStreamAnalyticsConfigService.d.ts +1 -1
- package/dist/cjs/lib/services/SupportStreamAnalyticsConfigService.js +4 -4
- package/dist/cjs/lib/services/SupportStreamAnalyticsConfigService.js.map +1 -1
- package/dist/cjs/lib/services/SysAccountsService.d.ts +5 -5
- package/dist/cjs/lib/services/SysAccountsService.js +19 -19
- package/dist/cjs/lib/services/SysAccountsService.js.map +1 -1
- package/dist/cjs/lib/services/SysAuditLogService.d.ts +1 -1
- package/dist/cjs/lib/services/SysAuditLogService.js +21 -21
- package/dist/cjs/lib/services/SysAuditLogService.js.map +1 -1
- package/dist/cjs/lib/services/SysCheckpointsService.d.ts +1 -1
- package/dist/cjs/lib/services/SysCheckpointsService.js +14 -14
- package/dist/cjs/lib/services/SysCheckpointsService.js.map +1 -1
- package/dist/cjs/lib/services/SysConfigService.js +10 -10
- package/dist/cjs/lib/services/SysConfigService.js.map +1 -1
- package/dist/cjs/lib/services/SysFeaturesService.d.ts +2 -2
- package/dist/cjs/lib/services/SysFeaturesService.js +8 -8
- package/dist/cjs/lib/services/SysFeaturesService.js.map +1 -1
- package/dist/cjs/lib/services/SysGroupsService.js +4 -4
- package/dist/cjs/lib/services/SysGroupsService.js.map +1 -1
- package/dist/cjs/lib/services/SysIdsRulesService.d.ts +1 -1
- package/dist/cjs/lib/services/SysIdsRulesService.js +8 -8
- package/dist/cjs/lib/services/SysIdsRulesService.js.map +1 -1
- package/dist/cjs/lib/services/SysInsightsService.d.ts +1 -1
- package/dist/cjs/lib/services/SysInsightsService.js +16 -16
- package/dist/cjs/lib/services/SysInsightsService.js.map +1 -1
- package/dist/cjs/lib/services/SysIntegrationTemplatesService.d.ts +2 -2
- package/dist/cjs/lib/services/SysIntegrationTemplatesService.js +6 -6
- package/dist/cjs/lib/services/SysIntegrationTemplatesService.js.map +1 -1
- package/dist/cjs/lib/services/SysIntegrationsService.js +10 -10
- package/dist/cjs/lib/services/SysIntegrationsService.js.map +1 -1
- package/dist/cjs/lib/services/SysKeysService.d.ts +1 -1
- package/dist/cjs/lib/services/SysKeysService.js +4 -4
- package/dist/cjs/lib/services/SysKeysService.js.map +1 -1
- package/dist/cjs/lib/services/SysMembersService.d.ts +1 -1
- package/dist/cjs/lib/services/SysRuleTemplatesService.d.ts +2 -2
- package/dist/cjs/lib/services/SysRuleTemplatesService.js +4 -4
- package/dist/cjs/lib/services/SysRuleTemplatesService.js.map +1 -1
- package/dist/cjs/lib/services/SysRulesService.d.ts +1 -1
- package/dist/cjs/lib/services/SysRulesService.js +10 -10
- package/dist/cjs/lib/services/SysRulesService.js.map +1 -1
- package/dist/cjs/lib/services/SysStreamsService.js +5 -5
- package/dist/cjs/lib/services/SysStreamsService.js.map +1 -1
- package/dist/cjs/lib/services/SysUsersService.d.ts +1 -1
- package/dist/cjs/lib/services/SysUsersService.js +7 -7
- package/dist/cjs/lib/services/SysUsersService.js.map +1 -1
- package/dist/cjs/lib/services/UsrAlertsService.d.ts +10 -10
- package/dist/cjs/lib/services/UsrAlertsService.js +147 -147
- package/dist/cjs/lib/services/UsrAlertsService.js.map +1 -1
- package/dist/cjs/lib/services/UsrDevicesService.d.ts +12 -12
- package/dist/cjs/lib/services/UsrDevicesService.js +130 -130
- package/dist/cjs/lib/services/UsrDevicesService.js.map +1 -1
- package/dist/cjs/lib/services/UsrEventsService.d.ts +10 -10
- package/dist/cjs/lib/services/UsrEventsService.js +153 -153
- package/dist/cjs/lib/services/UsrEventsService.js.map +1 -1
- package/dist/cjs/lib/services/UsrInsightsService.d.ts +1 -1
- package/dist/cjs/lib/services/UsrInsightsService.js +8 -8
- package/dist/cjs/lib/services/UsrInsightsService.js.map +1 -1
- package/dist/cjs/lib/services/UsrIntegrationsService.js +11 -11
- package/dist/cjs/lib/services/UsrIntegrationsService.js.map +1 -1
- package/dist/cjs/lib/services/UsrMembersService.js +8 -8
- package/dist/cjs/lib/services/UsrMembersService.js.map +1 -1
- package/dist/cjs/lib/services/UsrNetworkService.d.ts +4 -4
- package/dist/cjs/lib/services/UsrNetworkService.js +61 -61
- package/dist/cjs/lib/services/UsrNetworkService.js.map +1 -1
- package/dist/cjs/lib/services/UsrNotificationMessagesService.d.ts +1 -1
- package/dist/cjs/lib/services/UsrNotificationMessagesService.js +4 -4
- package/dist/cjs/lib/services/UsrNotificationMessagesService.js.map +1 -1
- package/dist/cjs/lib/services/UsrPrivateTopologyService.d.ts +6 -6
- package/dist/cjs/lib/services/UsrPrivateTopologyService.js +4 -4
- package/dist/cjs/lib/services/UsrPrivateTopologyService.js.map +1 -1
- package/dist/cjs/lib/services/UsrReportsInstanceService.d.ts +1 -1
- package/dist/cjs/lib/services/UsrReportsInstanceService.js +8 -8
- package/dist/cjs/lib/services/UsrReportsInstanceService.js.map +1 -1
- package/dist/cjs/lib/services/UsrReportsService.js +27 -27
- package/dist/cjs/lib/services/UsrReportsService.js.map +1 -1
- package/dist/cjs/lib/services/UsrRulesService.d.ts +3 -3
- package/dist/cjs/lib/services/UsrRulesService.js +32 -32
- package/dist/cjs/lib/services/UsrRulesService.js.map +1 -1
- package/dist/cjs/lib/services/UsrUserService.d.ts +4 -4
- package/dist/cjs/lib/services/UsrUserService.js +1 -1
- package/dist/cjs/lib/services/UsrUserService.js.map +1 -1
- package/dist/cjs/lib/services/index.d.ts +23 -23
- package/dist/cjs/lib/services/index.js +23 -23
- package/dist/cjs/lib/services/index.js.map +1 -1
- package/dist/esm/lib/model/AIAttributionAssessment.d.ts +1 -1
- package/dist/esm/lib/model/AIEventDetail.d.ts +3 -3
- package/dist/esm/lib/model/AIEventDetail.js.map +1 -1
- package/dist/esm/lib/model/Account.d.ts +1 -1
- package/dist/esm/lib/model/Account.js.map +1 -1
- package/dist/esm/lib/model/AccountDTO.d.ts +1 -1
- package/dist/esm/lib/model/AccountDTO.js.map +1 -1
- package/dist/esm/lib/model/AccountReportDTO.d.ts +1 -1
- package/dist/esm/lib/model/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/model/Alert.d.ts +4 -4
- package/dist/esm/lib/model/Alert.js.map +1 -1
- package/dist/esm/lib/model/ApiKey.d.ts +1 -1
- package/dist/esm/lib/model/ApiKey.js.map +1 -1
- package/dist/esm/lib/model/ConfigParams.d.ts +1 -1
- package/dist/esm/lib/model/ConfigParams.js.map +1 -1
- package/dist/esm/lib/model/Device.d.ts +2 -2
- package/dist/esm/lib/model/Device.js.map +1 -1
- package/dist/esm/lib/model/DeviceConfig.d.ts +1 -1
- package/dist/esm/lib/model/DeviceScoreConfig.d.ts +1 -1
- package/dist/esm/lib/model/Event.d.ts +5 -5
- package/dist/esm/lib/model/Event.js.map +1 -1
- package/dist/esm/lib/model/EventWithDevice.d.ts +1 -1
- package/dist/esm/lib/model/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/model/Feature.d.ts +1 -1
- package/dist/esm/lib/model/Feature.js.map +1 -1
- package/dist/esm/lib/model/GraphSeries.d.ts +1 -1
- package/dist/esm/lib/model/Insight.d.ts +3 -3
- package/dist/esm/lib/model/Insight.js.map +1 -1
- package/dist/esm/lib/model/InsightQuery.d.ts +2 -2
- package/dist/esm/lib/model/InsightQuery.js.map +1 -1
- package/dist/esm/lib/model/Integration.d.ts +2 -2
- package/dist/esm/lib/model/Integration.js.map +1 -1
- package/dist/esm/lib/model/IntegrationTemplate.d.ts +2 -2
- package/dist/esm/lib/model/IntegrationTemplate.js.map +1 -1
- package/dist/esm/lib/model/Node.d.ts +1 -1
- package/dist/esm/lib/model/Notification.d.ts +1 -1
- package/dist/esm/lib/model/Notification.js.map +1 -1
- package/dist/esm/lib/model/NotificationMessage.d.ts +1 -1
- package/dist/esm/lib/model/NotificationMessage.js.map +1 -1
- package/dist/esm/lib/model/PrivateNetworkConnection.d.ts +1 -1
- package/dist/esm/lib/model/PrivateNetworkConnection.js +9 -9
- package/dist/esm/lib/model/PrivateNetworkConnection.js.map +1 -1
- package/dist/esm/lib/model/PrivateNetworkEndpoint.d.ts +1 -1
- package/dist/esm/lib/model/PrivateNetworkEndpoint.js +3 -3
- package/dist/esm/lib/model/PrivateNetworkSnapshot.js +3 -0
- package/dist/esm/lib/model/PrivateNetworkSnapshot.js.map +1 -1
- package/dist/esm/lib/model/PrivateTopologyChanges.d.ts +1 -1
- package/dist/esm/lib/model/PrivateTopologyChanges.js +3 -0
- package/dist/esm/lib/model/PrivateTopologyChanges.js.map +1 -1
- package/dist/esm/lib/model/Radius.d.ts +1 -1
- package/dist/esm/lib/model/Radius.js.map +1 -1
- package/dist/esm/lib/model/Report.d.ts +1 -1
- package/dist/esm/lib/model/Report.js.map +1 -1
- package/dist/esm/lib/model/ReportInstance.d.ts +2 -2
- package/dist/esm/lib/model/ReportInstance.js.map +1 -1
- package/dist/esm/lib/model/Rule.d.ts +3 -3
- package/dist/esm/lib/model/Rule.js.map +1 -1
- package/dist/esm/lib/model/Stream.d.ts +1 -1
- package/dist/esm/lib/model/Stream.js.map +1 -1
- package/dist/esm/lib/model/StreamConfig.d.ts +5 -5
- package/dist/esm/lib/model/TimeSeriesConsumption.d.ts +1 -1
- package/dist/esm/lib/model/TokenData.d.ts +4 -7
- package/dist/esm/lib/model/TokenData.js +5 -5
- package/dist/esm/lib/model/TokenData.js.map +1 -1
- package/dist/esm/lib/model/UserMembership.d.ts +1 -1
- package/dist/esm/lib/model/UserMembership.js.map +1 -1
- package/dist/esm/lib/model/index.d.ts +170 -170
- package/dist/esm/lib/model/index.js +170 -170
- package/dist/esm/lib/model/index.js.map +1 -1
- package/dist/esm/lib/pulse-client.d.ts +50 -48
- package/dist/esm/lib/pulse-client.js +50 -48
- package/dist/esm/lib/pulse-client.js.map +1 -1
- package/dist/esm/lib/services/McpToolsService.js +3 -3
- package/dist/esm/lib/services/McpToolsService.js.map +1 -1
- package/dist/esm/lib/services/SupportStreamAnalyticsConfigService.d.ts +1 -1
- package/dist/esm/lib/services/SupportStreamAnalyticsConfigService.js +4 -4
- package/dist/esm/lib/services/SupportStreamAnalyticsConfigService.js.map +1 -1
- package/dist/esm/lib/services/SysAccountsService.d.ts +5 -5
- package/dist/esm/lib/services/SysAccountsService.js +19 -19
- package/dist/esm/lib/services/SysAccountsService.js.map +1 -1
- package/dist/esm/lib/services/SysAuditLogService.d.ts +1 -1
- package/dist/esm/lib/services/SysAuditLogService.js +21 -21
- package/dist/esm/lib/services/SysAuditLogService.js.map +1 -1
- package/dist/esm/lib/services/SysCheckpointsService.d.ts +1 -1
- package/dist/esm/lib/services/SysCheckpointsService.js +14 -14
- package/dist/esm/lib/services/SysCheckpointsService.js.map +1 -1
- package/dist/esm/lib/services/SysConfigService.js +10 -10
- package/dist/esm/lib/services/SysConfigService.js.map +1 -1
- package/dist/esm/lib/services/SysFeaturesService.d.ts +2 -2
- package/dist/esm/lib/services/SysFeaturesService.js +8 -8
- package/dist/esm/lib/services/SysFeaturesService.js.map +1 -1
- package/dist/esm/lib/services/SysGroupsService.js +4 -4
- package/dist/esm/lib/services/SysGroupsService.js.map +1 -1
- package/dist/esm/lib/services/SysIdsRulesService.d.ts +1 -1
- package/dist/esm/lib/services/SysIdsRulesService.js +8 -8
- package/dist/esm/lib/services/SysIdsRulesService.js.map +1 -1
- package/dist/esm/lib/services/SysInsightsService.d.ts +1 -1
- package/dist/esm/lib/services/SysInsightsService.js +16 -16
- package/dist/esm/lib/services/SysInsightsService.js.map +1 -1
- package/dist/esm/lib/services/SysIntegrationTemplatesService.d.ts +2 -2
- package/dist/esm/lib/services/SysIntegrationTemplatesService.js +6 -6
- package/dist/esm/lib/services/SysIntegrationTemplatesService.js.map +1 -1
- package/dist/esm/lib/services/SysIntegrationsService.js +10 -10
- package/dist/esm/lib/services/SysIntegrationsService.js.map +1 -1
- package/dist/esm/lib/services/SysKeysService.d.ts +1 -1
- package/dist/esm/lib/services/SysKeysService.js +4 -4
- package/dist/esm/lib/services/SysKeysService.js.map +1 -1
- package/dist/esm/lib/services/SysMembersService.d.ts +1 -1
- package/dist/esm/lib/services/SysRuleTemplatesService.d.ts +2 -2
- package/dist/esm/lib/services/SysRuleTemplatesService.js +4 -4
- package/dist/esm/lib/services/SysRuleTemplatesService.js.map +1 -1
- package/dist/esm/lib/services/SysRulesService.d.ts +1 -1
- package/dist/esm/lib/services/SysRulesService.js +10 -10
- package/dist/esm/lib/services/SysRulesService.js.map +1 -1
- package/dist/esm/lib/services/SysStreamsService.js +5 -5
- package/dist/esm/lib/services/SysStreamsService.js.map +1 -1
- package/dist/esm/lib/services/SysUsersService.d.ts +1 -1
- package/dist/esm/lib/services/SysUsersService.js +7 -7
- package/dist/esm/lib/services/SysUsersService.js.map +1 -1
- package/dist/esm/lib/services/UsrAlertsService.d.ts +10 -10
- package/dist/esm/lib/services/UsrAlertsService.js +147 -147
- package/dist/esm/lib/services/UsrAlertsService.js.map +1 -1
- package/dist/esm/lib/services/UsrDevicesService.d.ts +12 -12
- package/dist/esm/lib/services/UsrDevicesService.js +130 -130
- package/dist/esm/lib/services/UsrDevicesService.js.map +1 -1
- package/dist/esm/lib/services/UsrEventsService.d.ts +10 -10
- package/dist/esm/lib/services/UsrEventsService.js +153 -153
- package/dist/esm/lib/services/UsrEventsService.js.map +1 -1
- package/dist/esm/lib/services/UsrInsightsService.d.ts +1 -1
- package/dist/esm/lib/services/UsrInsightsService.js +8 -8
- package/dist/esm/lib/services/UsrInsightsService.js.map +1 -1
- package/dist/esm/lib/services/UsrIntegrationsService.js +11 -11
- package/dist/esm/lib/services/UsrIntegrationsService.js.map +1 -1
- package/dist/esm/lib/services/UsrMembersService.js +8 -8
- package/dist/esm/lib/services/UsrMembersService.js.map +1 -1
- package/dist/esm/lib/services/UsrNetworkService.d.ts +4 -4
- package/dist/esm/lib/services/UsrNetworkService.js +61 -61
- package/dist/esm/lib/services/UsrNetworkService.js.map +1 -1
- package/dist/esm/lib/services/UsrNotificationMessagesService.d.ts +1 -1
- package/dist/esm/lib/services/UsrNotificationMessagesService.js +4 -4
- package/dist/esm/lib/services/UsrNotificationMessagesService.js.map +1 -1
- package/dist/esm/lib/services/UsrPrivateTopologyService.d.ts +6 -6
- package/dist/esm/lib/services/UsrPrivateTopologyService.js +4 -4
- package/dist/esm/lib/services/UsrPrivateTopologyService.js.map +1 -1
- package/dist/esm/lib/services/UsrReportsInstanceService.d.ts +1 -1
- package/dist/esm/lib/services/UsrReportsInstanceService.js +8 -8
- package/dist/esm/lib/services/UsrReportsInstanceService.js.map +1 -1
- package/dist/esm/lib/services/UsrReportsService.js +27 -27
- package/dist/esm/lib/services/UsrReportsService.js.map +1 -1
- package/dist/esm/lib/services/UsrRulesService.d.ts +3 -3
- package/dist/esm/lib/services/UsrRulesService.js +32 -32
- package/dist/esm/lib/services/UsrRulesService.js.map +1 -1
- package/dist/esm/lib/services/UsrUserService.d.ts +4 -4
- package/dist/esm/lib/services/UsrUserService.js +1 -1
- package/dist/esm/lib/services/UsrUserService.js.map +1 -1
- package/dist/esm/lib/services/index.d.ts +23 -23
- package/dist/esm/lib/services/index.js +23 -23
- package/dist/esm/lib/services/index.js.map +1 -1
- package/dist/types/lib/model/AIAttributionAssessment.d.ts +1 -1
- package/dist/types/lib/model/AIEventDetail.d.ts +3 -3
- package/dist/types/lib/model/Account.d.ts +1 -1
- package/dist/types/lib/model/AccountDTO.d.ts +1 -1
- package/dist/types/lib/model/AccountReportDTO.d.ts +1 -1
- package/dist/types/lib/model/Alert.d.ts +4 -4
- package/dist/types/lib/model/ApiKey.d.ts +1 -1
- package/dist/types/lib/model/ConfigParams.d.ts +1 -1
- package/dist/types/lib/model/Device.d.ts +2 -2
- package/dist/types/lib/model/DeviceConfig.d.ts +1 -1
- package/dist/types/lib/model/DeviceScoreConfig.d.ts +1 -1
- package/dist/types/lib/model/Event.d.ts +5 -5
- package/dist/types/lib/model/EventWithDevice.d.ts +1 -1
- package/dist/types/lib/model/Feature.d.ts +1 -1
- package/dist/types/lib/model/GraphSeries.d.ts +1 -1
- package/dist/types/lib/model/Insight.d.ts +3 -3
- package/dist/types/lib/model/InsightQuery.d.ts +2 -2
- package/dist/types/lib/model/Integration.d.ts +2 -2
- package/dist/types/lib/model/IntegrationTemplate.d.ts +2 -2
- package/dist/types/lib/model/Node.d.ts +1 -1
- package/dist/types/lib/model/Notification.d.ts +1 -1
- package/dist/types/lib/model/NotificationMessage.d.ts +1 -1
- package/dist/types/lib/model/PrivateNetworkConnection.d.ts +1 -1
- package/dist/types/lib/model/PrivateNetworkEndpoint.d.ts +1 -1
- package/dist/types/lib/model/PrivateTopologyChanges.d.ts +1 -1
- package/dist/types/lib/model/Radius.d.ts +1 -1
- package/dist/types/lib/model/Report.d.ts +1 -1
- package/dist/types/lib/model/ReportInstance.d.ts +2 -2
- package/dist/types/lib/model/Rule.d.ts +3 -3
- package/dist/types/lib/model/Stream.d.ts +1 -1
- package/dist/types/lib/model/StreamConfig.d.ts +5 -5
- package/dist/types/lib/model/TimeSeriesConsumption.d.ts +1 -1
- package/dist/types/lib/model/TokenData.d.ts +4 -7
- package/dist/types/lib/model/UserMembership.d.ts +1 -1
- package/dist/types/lib/model/index.d.ts +170 -170
- package/dist/types/lib/pulse-client.d.ts +50 -48
- package/dist/types/lib/services/SupportStreamAnalyticsConfigService.d.ts +1 -1
- package/dist/types/lib/services/SysAccountsService.d.ts +5 -5
- package/dist/types/lib/services/SysAuditLogService.d.ts +1 -1
- package/dist/types/lib/services/SysCheckpointsService.d.ts +1 -1
- package/dist/types/lib/services/SysFeaturesService.d.ts +2 -2
- package/dist/types/lib/services/SysIdsRulesService.d.ts +1 -1
- package/dist/types/lib/services/SysInsightsService.d.ts +1 -1
- package/dist/types/lib/services/SysIntegrationTemplatesService.d.ts +2 -2
- package/dist/types/lib/services/SysKeysService.d.ts +1 -1
- package/dist/types/lib/services/SysMembersService.d.ts +1 -1
- package/dist/types/lib/services/SysRuleTemplatesService.d.ts +2 -2
- package/dist/types/lib/services/SysRulesService.d.ts +1 -1
- package/dist/types/lib/services/SysUsersService.d.ts +1 -1
- package/dist/types/lib/services/UsrAlertsService.d.ts +10 -10
- package/dist/types/lib/services/UsrDevicesService.d.ts +12 -12
- package/dist/types/lib/services/UsrEventsService.d.ts +10 -10
- package/dist/types/lib/services/UsrInsightsService.d.ts +1 -1
- package/dist/types/lib/services/UsrNetworkService.d.ts +4 -4
- package/dist/types/lib/services/UsrNotificationMessagesService.d.ts +1 -1
- package/dist/types/lib/services/UsrPrivateTopologyService.d.ts +6 -6
- package/dist/types/lib/services/UsrReportsInstanceService.d.ts +1 -1
- package/dist/types/lib/services/UsrRulesService.d.ts +3 -3
- package/dist/types/lib/services/UsrUserService.d.ts +4 -4
- package/dist/types/lib/services/index.d.ts +23 -23
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -50,43 +50,43 @@ export class UsrDevicesService {
|
|
|
50
50
|
find(streamId, search, from, to, type, tag, status, risk, scoreRange, sort, page, size, ids) {
|
|
51
51
|
const params = [];
|
|
52
52
|
if (streamId != null) {
|
|
53
|
-
params.push(`streamId=${streamId}`);
|
|
53
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
54
54
|
}
|
|
55
55
|
if (search != null) {
|
|
56
|
-
params.push(`search=${search}`);
|
|
56
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
57
57
|
}
|
|
58
58
|
if (from != null) {
|
|
59
|
-
params.push(`from=${from}`);
|
|
59
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
60
60
|
}
|
|
61
61
|
if (to != null) {
|
|
62
|
-
params.push(`to=${to}`);
|
|
62
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
63
63
|
}
|
|
64
64
|
if (type != null) {
|
|
65
|
-
params.push(`type=${type}`);
|
|
65
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
66
66
|
}
|
|
67
67
|
if (tag != null) {
|
|
68
|
-
params.push(`tag=${tag}`);
|
|
68
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
69
69
|
}
|
|
70
70
|
if (status != null) {
|
|
71
|
-
params.push(`status=${status}`);
|
|
71
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
72
72
|
}
|
|
73
73
|
if (risk != null) {
|
|
74
|
-
params.push(`risk=${risk}`);
|
|
74
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
75
75
|
}
|
|
76
76
|
if (scoreRange != null) {
|
|
77
|
-
params.push(`scoreRange=${scoreRange}`);
|
|
77
|
+
params.push(`scoreRange=${encodeURIComponent(String(scoreRange))}`);
|
|
78
78
|
}
|
|
79
79
|
if (sort != null) {
|
|
80
|
-
params.push(`sort=${sort}`);
|
|
80
|
+
params.push(`sort=${encodeURIComponent(String(sort))}`);
|
|
81
81
|
}
|
|
82
82
|
if (page != null) {
|
|
83
|
-
params.push(`page=${page}`);
|
|
83
|
+
params.push(`page=${encodeURIComponent(String(page))}`);
|
|
84
84
|
}
|
|
85
85
|
if (size != null) {
|
|
86
|
-
params.push(`size=${size}`);
|
|
86
|
+
params.push(`size=${encodeURIComponent(String(size))}`);
|
|
87
87
|
}
|
|
88
88
|
if (ids != null) {
|
|
89
|
-
params.push(`ids=${ids}`);
|
|
89
|
+
params.push(`ids=${encodeURIComponent(String(ids))}`);
|
|
90
90
|
}
|
|
91
91
|
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
92
92
|
}
|
|
@@ -96,37 +96,37 @@ export class UsrDevicesService {
|
|
|
96
96
|
export(format, streamId, search, from, to, type, tag, status, risk, sort, page, size) {
|
|
97
97
|
const params = [];
|
|
98
98
|
if (streamId != null) {
|
|
99
|
-
params.push(`streamId=${streamId}`);
|
|
99
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
100
100
|
}
|
|
101
101
|
if (search != null) {
|
|
102
|
-
params.push(`search=${search}`);
|
|
102
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
103
103
|
}
|
|
104
104
|
if (from != null) {
|
|
105
|
-
params.push(`from=${from}`);
|
|
105
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
106
106
|
}
|
|
107
107
|
if (to != null) {
|
|
108
|
-
params.push(`to=${to}`);
|
|
108
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
109
109
|
}
|
|
110
110
|
if (type != null) {
|
|
111
|
-
params.push(`type=${type}`);
|
|
111
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
112
112
|
}
|
|
113
113
|
if (tag != null) {
|
|
114
|
-
params.push(`tag=${tag}`);
|
|
114
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
115
115
|
}
|
|
116
116
|
if (status != null) {
|
|
117
|
-
params.push(`status=${status}`);
|
|
117
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
118
118
|
}
|
|
119
119
|
if (risk != null) {
|
|
120
|
-
params.push(`risk=${risk}`);
|
|
120
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
121
121
|
}
|
|
122
122
|
if (sort != null) {
|
|
123
|
-
params.push(`sort=${sort}`);
|
|
123
|
+
params.push(`sort=${encodeURIComponent(String(sort))}`);
|
|
124
124
|
}
|
|
125
125
|
if (page != null) {
|
|
126
|
-
params.push(`page=${page}`);
|
|
126
|
+
params.push(`page=${encodeURIComponent(String(page))}`);
|
|
127
127
|
}
|
|
128
128
|
if (size != null) {
|
|
129
|
-
params.push(`size=${size}`);
|
|
129
|
+
params.push(`size=${encodeURIComponent(String(size))}`);
|
|
130
130
|
}
|
|
131
131
|
return this.rest.download(`usr-devices`, `${this.baseUrl}/export/${format}`, ...params);
|
|
132
132
|
}
|
|
@@ -136,52 +136,52 @@ export class UsrDevicesService {
|
|
|
136
136
|
upload(file, streamId, ip, iccid, imsi, msisdn, imei, name, operator, label, tag, country, city, street, postal, lon, lat) {
|
|
137
137
|
const params = [];
|
|
138
138
|
if (streamId != null) {
|
|
139
|
-
params.push(`streamId=${streamId}`);
|
|
139
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
140
140
|
}
|
|
141
141
|
if (ip != null) {
|
|
142
|
-
params.push(`ip=${ip}`);
|
|
142
|
+
params.push(`ip=${encodeURIComponent(String(ip))}`);
|
|
143
143
|
}
|
|
144
144
|
if (iccid != null) {
|
|
145
|
-
params.push(`iccid=${iccid}`);
|
|
145
|
+
params.push(`iccid=${encodeURIComponent(String(iccid))}`);
|
|
146
146
|
}
|
|
147
147
|
if (imsi != null) {
|
|
148
|
-
params.push(`imsi=${imsi}`);
|
|
148
|
+
params.push(`imsi=${encodeURIComponent(String(imsi))}`);
|
|
149
149
|
}
|
|
150
150
|
if (msisdn != null) {
|
|
151
|
-
params.push(`msisdn=${msisdn}`);
|
|
151
|
+
params.push(`msisdn=${encodeURIComponent(String(msisdn))}`);
|
|
152
152
|
}
|
|
153
153
|
if (imei != null) {
|
|
154
|
-
params.push(`imei=${imei}`);
|
|
154
|
+
params.push(`imei=${encodeURIComponent(String(imei))}`);
|
|
155
155
|
}
|
|
156
156
|
if (name != null) {
|
|
157
|
-
params.push(`name=${name}`);
|
|
157
|
+
params.push(`name=${encodeURIComponent(String(name))}`);
|
|
158
158
|
}
|
|
159
159
|
if (operator != null) {
|
|
160
|
-
params.push(`operator=${operator}`);
|
|
160
|
+
params.push(`operator=${encodeURIComponent(String(operator))}`);
|
|
161
161
|
}
|
|
162
162
|
if (label != null) {
|
|
163
|
-
params.push(`label=${label}`);
|
|
163
|
+
params.push(`label=${encodeURIComponent(String(label))}`);
|
|
164
164
|
}
|
|
165
165
|
if (tag != null) {
|
|
166
|
-
params.push(`tag=${tag}`);
|
|
166
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
167
167
|
}
|
|
168
168
|
if (country != null) {
|
|
169
|
-
params.push(`country=${country}`);
|
|
169
|
+
params.push(`country=${encodeURIComponent(String(country))}`);
|
|
170
170
|
}
|
|
171
171
|
if (city != null) {
|
|
172
|
-
params.push(`city=${city}`);
|
|
172
|
+
params.push(`city=${encodeURIComponent(String(city))}`);
|
|
173
173
|
}
|
|
174
174
|
if (street != null) {
|
|
175
|
-
params.push(`street=${street}`);
|
|
175
|
+
params.push(`street=${encodeURIComponent(String(street))}`);
|
|
176
176
|
}
|
|
177
177
|
if (postal != null) {
|
|
178
|
-
params.push(`postal=${postal}`);
|
|
178
|
+
params.push(`postal=${encodeURIComponent(String(postal))}`);
|
|
179
179
|
}
|
|
180
180
|
if (lon != null) {
|
|
181
|
-
params.push(`lon=${lon}`);
|
|
181
|
+
params.push(`lon=${encodeURIComponent(String(lon))}`);
|
|
182
182
|
}
|
|
183
183
|
if (lat != null) {
|
|
184
|
-
params.push(`lat=${lat}`);
|
|
184
|
+
params.push(`lat=${encodeURIComponent(String(lat))}`);
|
|
185
185
|
}
|
|
186
186
|
return this.rest.post(`${this.baseUrl}/upload`, '', ...params);
|
|
187
187
|
}
|
|
@@ -191,7 +191,7 @@ export class UsrDevicesService {
|
|
|
191
191
|
getTags(streamId) {
|
|
192
192
|
const params = [];
|
|
193
193
|
if (streamId != null) {
|
|
194
|
-
params.push(`streamId=${streamId}`);
|
|
194
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
195
195
|
}
|
|
196
196
|
return this.rest.get(`${this.baseUrl}/tags`, ...params);
|
|
197
197
|
}
|
|
@@ -219,43 +219,43 @@ export class UsrDevicesService {
|
|
|
219
219
|
findTop(streamId, search, from, to, type, tag, status, risk, scoreRange, sort, page, size, ids) {
|
|
220
220
|
const params = [];
|
|
221
221
|
if (streamId != null) {
|
|
222
|
-
params.push(`streamId=${streamId}`);
|
|
222
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
223
223
|
}
|
|
224
224
|
if (search != null) {
|
|
225
|
-
params.push(`search=${search}`);
|
|
225
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
226
226
|
}
|
|
227
227
|
if (from != null) {
|
|
228
|
-
params.push(`from=${from}`);
|
|
228
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
229
229
|
}
|
|
230
230
|
if (to != null) {
|
|
231
|
-
params.push(`to=${to}`);
|
|
231
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
232
232
|
}
|
|
233
233
|
if (type != null) {
|
|
234
|
-
params.push(`type=${type}`);
|
|
234
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
235
235
|
}
|
|
236
236
|
if (tag != null) {
|
|
237
|
-
params.push(`tag=${tag}`);
|
|
237
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
238
238
|
}
|
|
239
239
|
if (status != null) {
|
|
240
|
-
params.push(`status=${status}`);
|
|
240
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
241
241
|
}
|
|
242
242
|
if (risk != null) {
|
|
243
|
-
params.push(`risk=${risk}`);
|
|
243
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
244
244
|
}
|
|
245
245
|
if (scoreRange != null) {
|
|
246
|
-
params.push(`scoreRange=${scoreRange}`);
|
|
246
|
+
params.push(`scoreRange=${encodeURIComponent(String(scoreRange))}`);
|
|
247
247
|
}
|
|
248
248
|
if (sort != null) {
|
|
249
|
-
params.push(`sort=${sort}`);
|
|
249
|
+
params.push(`sort=${encodeURIComponent(String(sort))}`);
|
|
250
250
|
}
|
|
251
251
|
if (page != null) {
|
|
252
|
-
params.push(`page=${page}`);
|
|
252
|
+
params.push(`page=${encodeURIComponent(String(page))}`);
|
|
253
253
|
}
|
|
254
254
|
if (size != null) {
|
|
255
|
-
params.push(`size=${size}`);
|
|
255
|
+
params.push(`size=${encodeURIComponent(String(size))}`);
|
|
256
256
|
}
|
|
257
257
|
if (ids != null) {
|
|
258
|
-
params.push(`ids=${ids}`);
|
|
258
|
+
params.push(`ids=${encodeURIComponent(String(ids))}`);
|
|
259
259
|
}
|
|
260
260
|
return this.rest.get(`${this.baseUrl}/top`, ...params);
|
|
261
261
|
}
|
|
@@ -265,31 +265,31 @@ export class UsrDevicesService {
|
|
|
265
265
|
countByType(streamId, search, from, to, type, tag, status, risk, scoreRange) {
|
|
266
266
|
const params = [];
|
|
267
267
|
if (streamId != null) {
|
|
268
|
-
params.push(`streamId=${streamId}`);
|
|
268
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
269
269
|
}
|
|
270
270
|
if (search != null) {
|
|
271
|
-
params.push(`search=${search}`);
|
|
271
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
272
272
|
}
|
|
273
273
|
if (from != null) {
|
|
274
|
-
params.push(`from=${from}`);
|
|
274
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
275
275
|
}
|
|
276
276
|
if (to != null) {
|
|
277
|
-
params.push(`to=${to}`);
|
|
277
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
278
278
|
}
|
|
279
279
|
if (type != null) {
|
|
280
|
-
params.push(`type=${type}`);
|
|
280
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
281
281
|
}
|
|
282
282
|
if (tag != null) {
|
|
283
|
-
params.push(`tag=${tag}`);
|
|
283
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
284
284
|
}
|
|
285
285
|
if (status != null) {
|
|
286
|
-
params.push(`status=${status}`);
|
|
286
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
287
287
|
}
|
|
288
288
|
if (risk != null) {
|
|
289
|
-
params.push(`risk=${risk}`);
|
|
289
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
290
290
|
}
|
|
291
291
|
if (scoreRange != null) {
|
|
292
|
-
params.push(`scoreRange=${scoreRange}`);
|
|
292
|
+
params.push(`scoreRange=${encodeURIComponent(String(scoreRange))}`);
|
|
293
293
|
}
|
|
294
294
|
return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
|
|
295
295
|
}
|
|
@@ -299,31 +299,31 @@ export class UsrDevicesService {
|
|
|
299
299
|
countByStatus(streamId, search, from, to, type, tag, status, risk, scoreRange) {
|
|
300
300
|
const params = [];
|
|
301
301
|
if (streamId != null) {
|
|
302
|
-
params.push(`streamId=${streamId}`);
|
|
302
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
303
303
|
}
|
|
304
304
|
if (search != null) {
|
|
305
|
-
params.push(`search=${search}`);
|
|
305
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
306
306
|
}
|
|
307
307
|
if (from != null) {
|
|
308
|
-
params.push(`from=${from}`);
|
|
308
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
309
309
|
}
|
|
310
310
|
if (to != null) {
|
|
311
|
-
params.push(`to=${to}`);
|
|
311
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
312
312
|
}
|
|
313
313
|
if (type != null) {
|
|
314
|
-
params.push(`type=${type}`);
|
|
314
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
315
315
|
}
|
|
316
316
|
if (tag != null) {
|
|
317
|
-
params.push(`tag=${tag}`);
|
|
317
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
318
318
|
}
|
|
319
319
|
if (status != null) {
|
|
320
|
-
params.push(`status=${status}`);
|
|
320
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
321
321
|
}
|
|
322
322
|
if (risk != null) {
|
|
323
|
-
params.push(`risk=${risk}`);
|
|
323
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
324
324
|
}
|
|
325
325
|
if (scoreRange != null) {
|
|
326
|
-
params.push(`scoreRange=${scoreRange}`);
|
|
326
|
+
params.push(`scoreRange=${encodeURIComponent(String(scoreRange))}`);
|
|
327
327
|
}
|
|
328
328
|
return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
|
|
329
329
|
}
|
|
@@ -333,31 +333,31 @@ export class UsrDevicesService {
|
|
|
333
333
|
countByAction(streamId, search, from, to, type, tag, status, risk, scoreRange) {
|
|
334
334
|
const params = [];
|
|
335
335
|
if (streamId != null) {
|
|
336
|
-
params.push(`streamId=${streamId}`);
|
|
336
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
337
337
|
}
|
|
338
338
|
if (search != null) {
|
|
339
|
-
params.push(`search=${search}`);
|
|
339
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
340
340
|
}
|
|
341
341
|
if (from != null) {
|
|
342
|
-
params.push(`from=${from}`);
|
|
342
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
343
343
|
}
|
|
344
344
|
if (to != null) {
|
|
345
|
-
params.push(`to=${to}`);
|
|
345
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
346
346
|
}
|
|
347
347
|
if (type != null) {
|
|
348
|
-
params.push(`type=${type}`);
|
|
348
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
349
349
|
}
|
|
350
350
|
if (tag != null) {
|
|
351
|
-
params.push(`tag=${tag}`);
|
|
351
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
352
352
|
}
|
|
353
353
|
if (status != null) {
|
|
354
|
-
params.push(`status=${status}`);
|
|
354
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
355
355
|
}
|
|
356
356
|
if (risk != null) {
|
|
357
|
-
params.push(`risk=${risk}`);
|
|
357
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
358
358
|
}
|
|
359
359
|
if (scoreRange != null) {
|
|
360
|
-
params.push(`scoreRange=${scoreRange}`);
|
|
360
|
+
params.push(`scoreRange=${encodeURIComponent(String(scoreRange))}`);
|
|
361
361
|
}
|
|
362
362
|
return this.rest.get(`${this.baseUrl}/count/by-action`, ...params);
|
|
363
363
|
}
|
|
@@ -367,31 +367,31 @@ export class UsrDevicesService {
|
|
|
367
367
|
getNetworkMap(streamId, from, to, type, tag, id, mapType, ips, limit) {
|
|
368
368
|
const params = [];
|
|
369
369
|
if (streamId != null) {
|
|
370
|
-
params.push(`streamId=${streamId}`);
|
|
370
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
371
371
|
}
|
|
372
372
|
if (from != null) {
|
|
373
|
-
params.push(`from=${from}`);
|
|
373
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
374
374
|
}
|
|
375
375
|
if (to != null) {
|
|
376
|
-
params.push(`to=${to}`);
|
|
376
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
377
377
|
}
|
|
378
378
|
if (type != null) {
|
|
379
|
-
params.push(`type=${type}`);
|
|
379
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
380
380
|
}
|
|
381
381
|
if (tag != null) {
|
|
382
|
-
params.push(`tag=${tag}`);
|
|
382
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
383
383
|
}
|
|
384
384
|
if (id != null) {
|
|
385
|
-
params.push(`id=${id}`);
|
|
385
|
+
params.push(`id=${encodeURIComponent(String(id))}`);
|
|
386
386
|
}
|
|
387
387
|
if (mapType != null) {
|
|
388
|
-
params.push(`mapType=${mapType}`);
|
|
388
|
+
params.push(`mapType=${encodeURIComponent(String(mapType))}`);
|
|
389
389
|
}
|
|
390
390
|
if (ips != null) {
|
|
391
|
-
params.push(`ips=${ips}`);
|
|
391
|
+
params.push(`ips=${encodeURIComponent(String(ips))}`);
|
|
392
392
|
}
|
|
393
393
|
if (limit != null) {
|
|
394
|
-
params.push(`limit=${limit}`);
|
|
394
|
+
params.push(`limit=${encodeURIComponent(String(limit))}`);
|
|
395
395
|
}
|
|
396
396
|
return this.rest.get(`${this.baseUrl}/network-map`, ...params);
|
|
397
397
|
}
|
|
@@ -407,13 +407,13 @@ export class UsrDevicesService {
|
|
|
407
407
|
getDeviceReportTimeline(streamId, from, to) {
|
|
408
408
|
const params = [];
|
|
409
409
|
if (streamId != null) {
|
|
410
|
-
params.push(`streamId=${streamId}`);
|
|
410
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
411
411
|
}
|
|
412
412
|
if (from != null) {
|
|
413
|
-
params.push(`from=${from}`);
|
|
413
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
414
414
|
}
|
|
415
415
|
if (to != null) {
|
|
416
|
-
params.push(`to=${to}`);
|
|
416
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
417
417
|
}
|
|
418
418
|
return this.rest.get(`${this.baseUrl}/report/timeline`, ...params);
|
|
419
419
|
}
|
|
@@ -423,22 +423,22 @@ export class UsrDevicesService {
|
|
|
423
423
|
getConsumptionTimeline(streamId, from, to, type, tag, id) {
|
|
424
424
|
const params = [];
|
|
425
425
|
if (streamId != null) {
|
|
426
|
-
params.push(`streamId=${streamId}`);
|
|
426
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
427
427
|
}
|
|
428
428
|
if (from != null) {
|
|
429
|
-
params.push(`from=${from}`);
|
|
429
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
430
430
|
}
|
|
431
431
|
if (to != null) {
|
|
432
|
-
params.push(`to=${to}`);
|
|
432
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
433
433
|
}
|
|
434
434
|
if (type != null) {
|
|
435
|
-
params.push(`type=${type}`);
|
|
435
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
436
436
|
}
|
|
437
437
|
if (tag != null) {
|
|
438
|
-
params.push(`tag=${tag}`);
|
|
438
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
439
439
|
}
|
|
440
440
|
if (id != null) {
|
|
441
|
-
params.push(`id=${id}`);
|
|
441
|
+
params.push(`id=${encodeURIComponent(String(id))}`);
|
|
442
442
|
}
|
|
443
443
|
return this.rest.get(`${this.baseUrl}/consumption/timeline`, ...params);
|
|
444
444
|
}
|
|
@@ -448,22 +448,22 @@ export class UsrDevicesService {
|
|
|
448
448
|
getConsumptionTrend(streamId, from, to, type, tag, id) {
|
|
449
449
|
const params = [];
|
|
450
450
|
if (streamId != null) {
|
|
451
|
-
params.push(`streamId=${streamId}`);
|
|
451
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
452
452
|
}
|
|
453
453
|
if (from != null) {
|
|
454
|
-
params.push(`from=${from}`);
|
|
454
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
455
455
|
}
|
|
456
456
|
if (to != null) {
|
|
457
|
-
params.push(`to=${to}`);
|
|
457
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
458
458
|
}
|
|
459
459
|
if (type != null) {
|
|
460
|
-
params.push(`type=${type}`);
|
|
460
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
461
461
|
}
|
|
462
462
|
if (tag != null) {
|
|
463
|
-
params.push(`tag=${tag}`);
|
|
463
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
464
464
|
}
|
|
465
465
|
if (id != null) {
|
|
466
|
-
params.push(`id=${id}`);
|
|
466
|
+
params.push(`id=${encodeURIComponent(String(id))}`);
|
|
467
467
|
}
|
|
468
468
|
return this.rest.get(`${this.baseUrl}/consumption/trend`, ...params);
|
|
469
469
|
}
|
|
@@ -473,25 +473,25 @@ export class UsrDevicesService {
|
|
|
473
473
|
findByInsightContext(streamId, tag, from, to, sort, page, size) {
|
|
474
474
|
const params = [];
|
|
475
475
|
if (streamId != null) {
|
|
476
|
-
params.push(`streamId=${streamId}`);
|
|
476
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
477
477
|
}
|
|
478
478
|
if (tag != null) {
|
|
479
|
-
params.push(`tag=${tag}`);
|
|
479
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
480
480
|
}
|
|
481
481
|
if (from != null) {
|
|
482
|
-
params.push(`from=${from}`);
|
|
482
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
483
483
|
}
|
|
484
484
|
if (to != null) {
|
|
485
|
-
params.push(`to=${to}`);
|
|
485
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
486
486
|
}
|
|
487
487
|
if (sort != null) {
|
|
488
|
-
params.push(`sort=${sort}`);
|
|
488
|
+
params.push(`sort=${encodeURIComponent(String(sort))}`);
|
|
489
489
|
}
|
|
490
490
|
if (page != null) {
|
|
491
|
-
params.push(`page=${page}`);
|
|
491
|
+
params.push(`page=${encodeURIComponent(String(page))}`);
|
|
492
492
|
}
|
|
493
493
|
if (size != null) {
|
|
494
|
-
params.push(`size=${size}`);
|
|
494
|
+
params.push(`size=${encodeURIComponent(String(size))}`);
|
|
495
495
|
}
|
|
496
496
|
return this.rest.get(`${this.baseUrl}/find-by-insight-context`, ...params);
|
|
497
497
|
}
|
|
@@ -501,34 +501,34 @@ export class UsrDevicesService {
|
|
|
501
501
|
findDevicesMap(streamId, search, type, tag, status, risk, scoreRange, sort, page, size, mapBounds) {
|
|
502
502
|
const params = [];
|
|
503
503
|
if (streamId != null) {
|
|
504
|
-
params.push(`streamId=${streamId}`);
|
|
504
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
505
505
|
}
|
|
506
506
|
if (search != null) {
|
|
507
|
-
params.push(`search=${search}`);
|
|
507
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
508
508
|
}
|
|
509
509
|
if (type != null) {
|
|
510
|
-
params.push(`type=${type}`);
|
|
510
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
511
511
|
}
|
|
512
512
|
if (tag != null) {
|
|
513
|
-
params.push(`tag=${tag}`);
|
|
513
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
514
514
|
}
|
|
515
515
|
if (status != null) {
|
|
516
|
-
params.push(`status=${status}`);
|
|
516
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
517
517
|
}
|
|
518
518
|
if (risk != null) {
|
|
519
|
-
params.push(`risk=${risk}`);
|
|
519
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
520
520
|
}
|
|
521
521
|
if (scoreRange != null) {
|
|
522
|
-
params.push(`scoreRange=${scoreRange}`);
|
|
522
|
+
params.push(`scoreRange=${encodeURIComponent(String(scoreRange))}`);
|
|
523
523
|
}
|
|
524
524
|
if (sort != null) {
|
|
525
|
-
params.push(`sort=${sort}`);
|
|
525
|
+
params.push(`sort=${encodeURIComponent(String(sort))}`);
|
|
526
526
|
}
|
|
527
527
|
if (page != null) {
|
|
528
|
-
params.push(`page=${page}`);
|
|
528
|
+
params.push(`page=${encodeURIComponent(String(page))}`);
|
|
529
529
|
}
|
|
530
530
|
if (size != null) {
|
|
531
|
-
params.push(`size=${size}`);
|
|
531
|
+
params.push(`size=${encodeURIComponent(String(size))}`);
|
|
532
532
|
}
|
|
533
533
|
return this.rest.put(`${this.baseUrl}/find-devices-map`, typeof mapBounds === 'object' ? JSON.stringify(mapBounds) : mapBounds, ...params);
|
|
534
534
|
}
|
|
@@ -538,28 +538,28 @@ export class UsrDevicesService {
|
|
|
538
538
|
countByRisk(streamId, search, from, to, type, tag, status, risk) {
|
|
539
539
|
const params = [];
|
|
540
540
|
if (streamId != null) {
|
|
541
|
-
params.push(`streamId=${streamId}`);
|
|
541
|
+
params.push(`streamId=${encodeURIComponent(String(streamId))}`);
|
|
542
542
|
}
|
|
543
543
|
if (search != null) {
|
|
544
|
-
params.push(`search=${search}`);
|
|
544
|
+
params.push(`search=${encodeURIComponent(String(search))}`);
|
|
545
545
|
}
|
|
546
546
|
if (from != null) {
|
|
547
|
-
params.push(`from=${from}`);
|
|
547
|
+
params.push(`from=${encodeURIComponent(String(from))}`);
|
|
548
548
|
}
|
|
549
549
|
if (to != null) {
|
|
550
|
-
params.push(`to=${to}`);
|
|
550
|
+
params.push(`to=${encodeURIComponent(String(to))}`);
|
|
551
551
|
}
|
|
552
552
|
if (type != null) {
|
|
553
|
-
params.push(`type=${type}`);
|
|
553
|
+
params.push(`type=${encodeURIComponent(String(type))}`);
|
|
554
554
|
}
|
|
555
555
|
if (tag != null) {
|
|
556
|
-
params.push(`tag=${tag}`);
|
|
556
|
+
params.push(`tag=${encodeURIComponent(String(tag))}`);
|
|
557
557
|
}
|
|
558
558
|
if (status != null) {
|
|
559
|
-
params.push(`status=${status}`);
|
|
559
|
+
params.push(`status=${encodeURIComponent(String(status))}`);
|
|
560
560
|
}
|
|
561
561
|
if (risk != null) {
|
|
562
|
-
params.push(`risk=${risk}`);
|
|
562
|
+
params.push(`risk=${encodeURIComponent(String(risk))}`);
|
|
563
563
|
}
|
|
564
564
|
return this.rest.get(`${this.baseUrl}/count/by-risk`, ...params);
|
|
565
565
|
}
|