@shieldiot/pulse-lib 1.0.11 → 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.
- package/README.md +9 -3
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/lib/index.js +0 -1
- package/dist/cjs/lib/pulse-client.js +25 -29
- package/dist/cjs/lib/services/supportStreamAnalyticsConfig.js +3 -3
- package/dist/cjs/lib/services/sysAccountsService.js +3 -3
- package/dist/cjs/lib/services/sysAuditLogService.js +3 -3
- package/dist/cjs/lib/services/sysCheckpointsService.js +3 -3
- package/dist/cjs/lib/services/sysConfigService.js +3 -3
- package/dist/cjs/lib/services/sysFeaturesService.js +3 -3
- package/dist/cjs/lib/services/sysGroupsService.js +3 -3
- package/dist/cjs/lib/services/sysInsightsService.js +3 -3
- package/dist/cjs/lib/services/sysKeysService.js +3 -3
- package/dist/cjs/lib/services/sysMembersService.js +3 -3
- package/dist/cjs/lib/services/sysRuleTemplatesService.js +3 -3
- package/dist/cjs/lib/services/sysRulesService.js +3 -3
- package/dist/cjs/lib/services/sysStatisticsService.js +3 -3
- package/dist/cjs/lib/services/sysStreamsService.js +3 -3
- package/dist/cjs/lib/services/sysUsersService.js +3 -3
- package/dist/cjs/lib/services/usrAlertsService.js +3 -3
- package/dist/cjs/lib/services/usrDevicesService.js +3 -3
- package/dist/cjs/lib/services/usrEventsService.js +3 -3
- package/dist/cjs/lib/services/usrInsightsService.js +3 -3
- package/dist/cjs/lib/services/usrIntegrationsService.js +3 -3
- package/dist/cjs/lib/services/usrMembersService.js +3 -3
- package/dist/cjs/lib/services/usrNetworkService.js +3 -3
- package/dist/cjs/lib/services/usrReportsService.js +3 -3
- package/dist/cjs/lib/services/usrRulesService.js +3 -3
- package/dist/cjs/lib/services/usrUserService.js +3 -3
- package/dist/esm/index.js +0 -1
- package/dist/esm/lib/index.js +0 -1
- package/dist/esm/lib/pulse-client.js +31 -35
- package/dist/esm/lib/services/supportStreamAnalyticsConfig.js +3 -3
- package/dist/esm/lib/services/sysAccountsService.js +3 -3
- package/dist/esm/lib/services/sysAuditLogService.js +3 -3
- package/dist/esm/lib/services/sysCheckpointsService.js +3 -3
- package/dist/esm/lib/services/sysConfigService.js +3 -3
- package/dist/esm/lib/services/sysFeaturesService.js +3 -3
- package/dist/esm/lib/services/sysGroupsService.js +3 -3
- package/dist/esm/lib/services/sysInsightsService.js +3 -3
- package/dist/esm/lib/services/sysKeysService.js +3 -3
- package/dist/esm/lib/services/sysMembersService.js +3 -3
- package/dist/esm/lib/services/sysRuleTemplatesService.js +3 -3
- package/dist/esm/lib/services/sysRulesService.js +3 -3
- package/dist/esm/lib/services/sysStatisticsService.js +3 -3
- package/dist/esm/lib/services/sysStreamsService.js +3 -3
- package/dist/esm/lib/services/sysUsersService.js +3 -3
- package/dist/esm/lib/services/usrAlertsService.js +3 -3
- package/dist/esm/lib/services/usrDevicesService.js +3 -3
- package/dist/esm/lib/services/usrEventsService.js +3 -3
- package/dist/esm/lib/services/usrInsightsService.js +3 -3
- package/dist/esm/lib/services/usrIntegrationsService.js +3 -3
- package/dist/esm/lib/services/usrMembersService.js +3 -3
- package/dist/esm/lib/services/usrNetworkService.js +3 -3
- package/dist/esm/lib/services/usrReportsService.js +3 -3
- package/dist/esm/lib/services/usrRulesService.js +3 -3
- package/dist/esm/lib/services/usrUserService.js +3 -3
- package/dist/types/index.d.ts +0 -1
- package/dist/types/lib/common/TokenData.d.ts +1 -1
- package/dist/types/lib/entities/Account.d.ts +2 -2
- package/dist/types/lib/entities/Action.d.ts +1 -1
- package/dist/types/lib/entities/Alert.d.ts +5 -5
- package/dist/types/lib/entities/AlertWithDevice.d.ts +7 -7
- package/dist/types/lib/entities/Device.d.ts +2 -2
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/types/lib/entities/Event.d.ts +4 -4
- package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
- package/dist/types/lib/entities/Insight.d.ts +2 -2
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/Radius.d.ts +1 -1
- package/dist/types/lib/entities/Rule.d.ts +3 -3
- package/dist/types/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/types/lib/entities/User.d.ts +2 -2
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/types/lib/index.d.ts +0 -1
- package/dist/types/lib/pulse-client.d.ts +13 -14
- package/dist/types/lib/services/supportStreamAnalyticsConfig.d.ts +2 -3
- package/dist/types/lib/services/sysAccountsService.d.ts +2 -3
- package/dist/types/lib/services/sysAuditLogService.d.ts +2 -3
- package/dist/types/lib/services/sysCheckpointsService.d.ts +2 -3
- package/dist/types/lib/services/sysConfigService.d.ts +2 -3
- package/dist/types/lib/services/sysFeaturesService.d.ts +3 -4
- package/dist/types/lib/services/sysGroupsService.d.ts +2 -3
- package/dist/types/lib/services/sysInsightsService.d.ts +2 -3
- package/dist/types/lib/services/sysKeysService.d.ts +2 -3
- package/dist/types/lib/services/sysMembersService.d.ts +2 -3
- package/dist/types/lib/services/sysRuleTemplatesService.d.ts +2 -3
- package/dist/types/lib/services/sysRulesService.d.ts +2 -3
- package/dist/types/lib/services/sysStatisticsService.d.ts +2 -3
- package/dist/types/lib/services/sysStreamsService.d.ts +2 -3
- package/dist/types/lib/services/sysUsersService.d.ts +2 -3
- package/dist/types/lib/services/usrAlertsService.d.ts +11 -12
- package/dist/types/lib/services/usrDevicesService.d.ts +9 -10
- package/dist/types/lib/services/usrEventsService.d.ts +10 -11
- package/dist/types/lib/services/usrInsightsService.d.ts +2 -3
- package/dist/types/lib/services/usrIntegrationsService.d.ts +2 -3
- package/dist/types/lib/services/usrMembersService.d.ts +2 -3
- package/dist/types/lib/services/usrNetworkService.d.ts +2 -3
- package/dist/types/lib/services/usrReportsService.d.ts +2 -3
- package/dist/types/lib/services/usrRulesService.d.ts +4 -5
- package/dist/types/lib/services/usrUserService.d.ts +4 -5
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/config.js +0 -11
- package/dist/esm/config.js +0 -7
- package/dist/types/config.d.ts +0 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventOccurrence } from '../entities';
|
|
2
1
|
import { EventTypeCode } from '../enums';
|
|
3
|
-
import { SeverityTypeCode } from '../enums';
|
|
4
2
|
import { GeoData } from '../common';
|
|
5
|
-
import {
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
6
4
|
import { TrafficDirectionCode } from '../enums';
|
|
7
5
|
import { BaseEntity } from '../base';
|
|
6
|
+
import { EventOccurrence } from '../entities';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
8
|
import { EventStatusCode } from '../enums';
|
|
9
9
|
import { Indicator } from '../common';
|
|
10
10
|
import { RuleTypeCode } from '../enums';
|
|
11
|
-
import {
|
|
11
|
+
import { EventCategoryCode } from '../enums';
|
|
12
12
|
export declare class Event extends BaseEntity {
|
|
13
13
|
accountId: string;
|
|
14
14
|
streamId: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EventCategoryCode } from '../enums';
|
|
2
|
-
import { TrafficDirectionCode } from '../enums';
|
|
3
|
-
import { EventTypeCode } from '../enums';
|
|
4
1
|
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { EventStatusCode } from '../enums';
|
|
5
3
|
import { RuleTypeCode } from '../enums';
|
|
6
4
|
import { GeoData } from '../common';
|
|
7
|
-
import {
|
|
5
|
+
import { EventOccurrence } from '../entities';
|
|
8
6
|
import { BaseEntity } from '../base';
|
|
9
|
-
import {
|
|
7
|
+
import { EventTypeCode } from '../enums';
|
|
10
8
|
import { Indicator } from '../common';
|
|
11
9
|
import { StringKeyValue } from '../common';
|
|
12
|
-
import {
|
|
10
|
+
import { EventCategoryCode } from '../enums';
|
|
11
|
+
import { TrafficDirectionCode } from '../enums';
|
|
12
|
+
import { Device } from '../entities';
|
|
13
13
|
export declare class EventWithDevice extends BaseEntity {
|
|
14
14
|
accountId: string;
|
|
15
15
|
streamId: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InsightTypeCode } from '../enums';
|
|
2
|
-
import { InsightStatusCode } from '../enums';
|
|
3
1
|
import { SeverityTypeCode } from '../enums';
|
|
4
2
|
import { DirectionContextCode } from '../enums';
|
|
5
3
|
import { BaseEntity } from '../base';
|
|
4
|
+
import { InsightTypeCode } from '../enums';
|
|
5
|
+
import { InsightStatusCode } from '../enums';
|
|
6
6
|
export declare class Insight extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
streamId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IntegrationTypeCode } from '../enums';
|
|
2
|
-
import { IntegrationTriggerCode } from '../enums';
|
|
3
|
-
import { HttpMethodCode } from '../enums';
|
|
4
1
|
import { StringKeyValue } from '../common';
|
|
5
2
|
import { EventTypeCode } from '../enums';
|
|
6
3
|
import { SeverityTypeCode } from '../enums';
|
|
7
4
|
import { DeviceActionCode } from '../enums';
|
|
8
5
|
import { BaseEntity } from '../base';
|
|
6
|
+
import { IntegrationTypeCode } from '../enums';
|
|
7
|
+
import { IntegrationTriggerCode } from '../enums';
|
|
8
|
+
import { HttpMethodCode } from '../enums';
|
|
9
9
|
export declare class Integration extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RuleTypeCode } from '../enums';
|
|
2
|
-
import { DataSourceCode } from '../enums';
|
|
3
|
-
import { Condition } from '../entities';
|
|
4
1
|
import { DeviceTypeCode } from '../enums';
|
|
5
2
|
import { EventTypeCode } from '../enums';
|
|
6
3
|
import { SeverityTypeCode } from '../enums';
|
|
7
4
|
import { BaseEntity } from '../base';
|
|
5
|
+
import { RuleTypeCode } from '../enums';
|
|
6
|
+
import { DataSourceCode } from '../enums';
|
|
7
|
+
import { Condition } from '../entities';
|
|
8
8
|
export declare class Rule extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { DataSourceCode } from '../enums';
|
|
2
3
|
import { EventTypeCode } from '../enums';
|
|
3
4
|
import { SeverityTypeCode } from '../enums';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class RuleTemplate extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StringKeyValue } from '../common';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { UserTypeCode } from '../enums';
|
|
4
2
|
import { UserStatusCode } from '../enums';
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class User extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
externalId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { UserTypeCode } from '../enums';
|
|
3
2
|
import { UserStatusCode } from '../enums';
|
|
4
3
|
import { AccountRole } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class UserMembership extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { UserTypeCode } from '../enums';
|
|
2
3
|
import { UserStatusCode } from '../enums';
|
|
3
4
|
import { AccountRole } from '../common';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class UserMemberships extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { UsrAlertsService } from "./services";
|
|
2
|
+
import { UsrDevicesService } from "./services";
|
|
3
|
+
import { UsrEventsService } from "./services";
|
|
4
|
+
import { UsrNetworkService } from "./services";
|
|
5
|
+
import { UsrReportsService } from "./services";
|
|
6
|
+
import { UsrRulesService } from "./services";
|
|
1
7
|
import { SupportStreamAnalyticsConfig } from "./services";
|
|
2
8
|
import { SysAccountsService } from "./services";
|
|
3
9
|
import { SysAuditLogService } from "./services";
|
|
@@ -17,17 +23,16 @@ import { UsrInsightsService } from "./services";
|
|
|
17
23
|
import { UsrIntegrationsService } from "./services";
|
|
18
24
|
import { UsrMembersService } from "./services";
|
|
19
25
|
import { UsrUserService } from "./services";
|
|
20
|
-
import { UsrAlertsService } from "./services";
|
|
21
|
-
import { UsrDevicesService } from "./services";
|
|
22
|
-
import { UsrEventsService } from "./services";
|
|
23
|
-
import { UsrNetworkService } from "./services";
|
|
24
|
-
import { UsrReportsService } from "./services";
|
|
25
|
-
import { UsrRulesService } from "./services";
|
|
26
26
|
export declare class PulseClient {
|
|
27
|
-
private config;
|
|
28
27
|
private restSvc;
|
|
29
28
|
private axiosInst;
|
|
30
|
-
constructor(apiUrl: string, apiKey
|
|
29
|
+
constructor(apiUrl: string, apiKey?: string, accessToken?: string);
|
|
30
|
+
readonly UsrAlertsService: UsrAlertsService;
|
|
31
|
+
readonly UsrDevicesService: UsrDevicesService;
|
|
32
|
+
readonly UsrEventsService: UsrEventsService;
|
|
33
|
+
readonly UsrNetworkService: UsrNetworkService;
|
|
34
|
+
readonly UsrReportsService: UsrReportsService;
|
|
35
|
+
readonly UsrRulesService: UsrRulesService;
|
|
31
36
|
readonly SupportStreamAnalyticsConfig: SupportStreamAnalyticsConfig;
|
|
32
37
|
readonly SysAccountsService: SysAccountsService;
|
|
33
38
|
readonly SysAuditLogService: SysAuditLogService;
|
|
@@ -47,10 +52,4 @@ export declare class PulseClient {
|
|
|
47
52
|
readonly UsrIntegrationsService: UsrIntegrationsService;
|
|
48
53
|
readonly UsrMembersService: UsrMembersService;
|
|
49
54
|
readonly UsrUserService: UsrUserService;
|
|
50
|
-
readonly UsrAlertsService: UsrAlertsService;
|
|
51
|
-
readonly UsrDevicesService: UsrDevicesService;
|
|
52
|
-
readonly UsrEventsService: UsrEventsService;
|
|
53
|
-
readonly UsrNetworkService: UsrNetworkService;
|
|
54
|
-
readonly UsrReportsService: UsrReportsService;
|
|
55
|
-
readonly UsrRulesService: UsrRulesService;
|
|
56
55
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { StreamAnalyticsConfig } from '../entities';
|
|
4
3
|
export declare class SupportStreamAnalyticsConfig {
|
|
5
|
-
private
|
|
4
|
+
private apiUrl;
|
|
6
5
|
private rest;
|
|
7
6
|
private baseUrl;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
8
|
/**
|
|
10
9
|
* Create new stream analytics configuration
|
|
11
10
|
*/
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Account } from '../entities';
|
|
4
3
|
import { AccountSettings } from '../entities';
|
|
5
4
|
import { AccountTypeCode } from '../enums';
|
|
6
5
|
import { AccountStatusCode } from '../enums';
|
|
7
6
|
import { Image } from '../entities';
|
|
8
7
|
export declare class SysAccountsService {
|
|
9
|
-
private
|
|
8
|
+
private apiUrl;
|
|
10
9
|
private rest;
|
|
11
10
|
private baseUrl;
|
|
12
|
-
constructor(
|
|
11
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
13
12
|
/**
|
|
14
13
|
* Create new account
|
|
15
14
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { AuditLog } from '../entities';
|
|
4
3
|
import { TimeSeriesOfFloat } from '../common';
|
|
5
4
|
export declare class SysAuditLogService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Get single log entry by id
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Checkpoint } from '../entities';
|
|
4
3
|
import { TimeSeriesOfFloat } from '../common';
|
|
5
4
|
export declare class SysCheckpointsService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Get a single checkpoint entry by id
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { ConfigParam } from '../entities';
|
|
4
3
|
import { ConfigParams } from '../entities';
|
|
5
4
|
export declare class SysConfigService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new configuration parameter
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
|
-
import { Feature } from '../entities';
|
|
4
2
|
import { FeaturesGroup } from '../entities';
|
|
3
|
+
import { Feature } from '../entities';
|
|
5
4
|
export declare class SysFeaturesService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Find list of feature
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { User } from '../entities';
|
|
4
3
|
import { Group } from '../entities';
|
|
5
4
|
export declare class SysGroupsService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new groups
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { InsightQuery } from '../entities';
|
|
4
3
|
import { InsightSpec } from '../entities';
|
|
5
4
|
export declare class SysInsightsService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new insight query
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { StringIntValue } from '../common';
|
|
4
3
|
import { ApiKey } from '../entities';
|
|
5
4
|
export declare class SysKeysService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new API key
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Member } from '../entities';
|
|
4
3
|
import { MemberRoleCode } from '../enums';
|
|
5
4
|
export declare class SysMembersService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new member
|
|
12
11
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { RuleTemplate } from '../entities';
|
|
4
3
|
export declare class SysRuleTemplatesService {
|
|
5
|
-
private
|
|
4
|
+
private apiUrl;
|
|
6
5
|
private rest;
|
|
7
6
|
private baseUrl;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
8
|
/**
|
|
10
9
|
* Create new rule template
|
|
11
10
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Rule } from '../entities';
|
|
4
3
|
import { TimeSeriesOfFloat } from '../common';
|
|
5
4
|
export declare class SysRulesService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new rule
|
|
12
11
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Distribution } from '../entities';
|
|
4
3
|
export declare class SysStatisticsService {
|
|
5
|
-
private
|
|
4
|
+
private apiUrl;
|
|
6
5
|
private rest;
|
|
7
6
|
private baseUrl;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
8
|
/**
|
|
10
9
|
* Get accounts distribution by field
|
|
11
10
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Stream } from '../entities';
|
|
4
3
|
export declare class SysStreamsService {
|
|
5
|
-
private
|
|
4
|
+
private apiUrl;
|
|
6
5
|
private rest;
|
|
7
6
|
private baseUrl;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
8
|
/**
|
|
10
9
|
* Create new stream
|
|
11
10
|
*/
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { User } from '../entities';
|
|
4
3
|
import { UserTypeCode } from '../enums';
|
|
5
4
|
import { UserStatusCode } from '../enums';
|
|
6
5
|
import { UserMemberships } from '../entities';
|
|
7
6
|
export declare class SysUsersService {
|
|
8
|
-
private
|
|
7
|
+
private apiUrl;
|
|
9
8
|
private rest;
|
|
10
9
|
private baseUrl;
|
|
11
|
-
constructor(
|
|
10
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
12
11
|
/**
|
|
13
12
|
* Create new user
|
|
14
13
|
*/
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
|
-
import { TimeSeriesOf2D } from '../common';
|
|
4
|
-
import { TimeSeriesOfFloat } from '../common';
|
|
5
2
|
import { MaliciousIPCard } from '../common';
|
|
6
|
-
import {
|
|
3
|
+
import { Alert } from '../entities';
|
|
4
|
+
import { EventCategoryCode } from '../enums';
|
|
7
5
|
import { EventStatusCode } from '../enums';
|
|
8
|
-
import {
|
|
6
|
+
import { IntDistribution } from '../entities';
|
|
7
|
+
import { TimeSeriesOf2D } from '../common';
|
|
9
8
|
import { SeverityTypeCode } from '../enums';
|
|
10
|
-
import { EventCategoryCode } from '../enums';
|
|
11
|
-
import { MaliciousIPData } from '../common';
|
|
12
|
-
import { Alert } from '../entities';
|
|
13
9
|
import { DeviceActionCode } from '../enums';
|
|
14
|
-
import {
|
|
15
|
-
import { IntDistribution } from '../entities';
|
|
10
|
+
import { StringKeyValue } from '../common';
|
|
16
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';
|
|
17
16
|
export declare class UsrAlertsService {
|
|
18
|
-
private
|
|
17
|
+
private apiUrl;
|
|
19
18
|
private rest;
|
|
20
19
|
private baseUrl;
|
|
21
|
-
constructor(
|
|
20
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
22
21
|
/**
|
|
23
22
|
* Get single alert by id
|
|
24
23
|
*/
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { DeviceReport } from '../entities';
|
|
3
|
+
import { Device } from '../entities';
|
|
4
|
+
import { BulkDevices } from '../entities';
|
|
5
|
+
import { SeverityTypeCode } from '../enums';
|
|
6
|
+
import { DeviceWithEvents } from '../entities';
|
|
7
|
+
import { DeviceActionCode } from '../enums';
|
|
3
8
|
import { NetworkMapTypeCode } from '../enums';
|
|
4
9
|
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
5
|
-
import { BulkDevices } from '../entities';
|
|
6
10
|
import { DeviceTypeCode } from '../enums';
|
|
7
|
-
import {
|
|
8
|
-
import { DeviceWithEvents } from '../entities';
|
|
11
|
+
import { DeviceStatusCode } from '../enums';
|
|
9
12
|
import { IntDistribution } from '../entities';
|
|
10
13
|
import { NetworkMap } from '../common';
|
|
11
|
-
import { DeviceReport } from '../entities';
|
|
12
14
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
13
|
-
import { Device } from '../entities';
|
|
14
|
-
import { DeviceStatusCode } from '../enums';
|
|
15
|
-
import { SeverityTypeCode } from '../enums';
|
|
16
15
|
export declare class UsrDevicesService {
|
|
17
|
-
private
|
|
16
|
+
private apiUrl;
|
|
18
17
|
private rest;
|
|
19
18
|
private baseUrl;
|
|
20
|
-
constructor(
|
|
19
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
21
20
|
/**
|
|
22
21
|
* Create new device
|
|
23
22
|
*/
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { EventWithDevice } from '../entities';
|
|
3
|
+
import { MaliciousIPData } from '../common';
|
|
4
|
+
import { IntDistribution } from '../entities';
|
|
5
|
+
import { EventTypeCode } from '../enums';
|
|
3
6
|
import { SeverityTypeCode } from '../enums';
|
|
4
7
|
import { EventCategoryCode } from '../enums';
|
|
5
|
-
import {
|
|
8
|
+
import { EventStatusCode } from '../enums';
|
|
9
|
+
import { RuleTypeCode } from '../enums';
|
|
6
10
|
import { TimeSeriesOf2D } from '../common';
|
|
7
|
-
import {
|
|
11
|
+
import { MaliciousIPCard } from '../common';
|
|
8
12
|
import { StringKeyValue } from '../common';
|
|
9
13
|
import { Event } from '../entities';
|
|
10
|
-
import {
|
|
11
|
-
import { EventWithDevice } from '../entities';
|
|
12
|
-
import { MaliciousIPData } from '../common';
|
|
13
|
-
import { MaliciousIPCard } from '../common';
|
|
14
|
-
import { EventStatusCode } from '../enums';
|
|
15
|
-
import { RuleTypeCode } from '../enums';
|
|
14
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
16
15
|
export declare class UsrEventsService {
|
|
17
|
-
private
|
|
16
|
+
private apiUrl;
|
|
18
17
|
private rest;
|
|
19
18
|
private baseUrl;
|
|
20
|
-
constructor(
|
|
19
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
21
20
|
/**
|
|
22
21
|
* Get single event by id
|
|
23
22
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Insight } from '../entities';
|
|
4
3
|
export declare class UsrInsightsService {
|
|
5
|
-
private
|
|
4
|
+
private apiUrl;
|
|
6
5
|
private rest;
|
|
7
6
|
private baseUrl;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
8
|
/**
|
|
10
9
|
* Find list of insights by day
|
|
11
10
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Integration } from '../entities';
|
|
4
3
|
export declare class UsrIntegrationsService {
|
|
5
|
-
private
|
|
4
|
+
private apiUrl;
|
|
6
5
|
private rest;
|
|
7
6
|
private baseUrl;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
9
8
|
/**
|
|
10
9
|
* Create new integration
|
|
11
10
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Member } from '../entities';
|
|
4
3
|
import { MemberRoleCode } from '../enums';
|
|
5
4
|
export declare class UsrMembersService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Create new member
|
|
12
11
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { UsageRecord } from '../entities';
|
|
4
3
|
import { SessionRecord } from '../entities';
|
|
5
4
|
export declare class UsrNetworkService {
|
|
6
|
-
private
|
|
5
|
+
private apiUrl;
|
|
7
6
|
private rest;
|
|
8
7
|
private baseUrl;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
10
9
|
/**
|
|
11
10
|
* Find list of usage records by query
|
|
12
11
|
*/
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { PulseConfig } from '../../config';
|
|
3
2
|
import { Report } from '../entities';
|
|
4
3
|
import { TimeSeries } from '../common';
|
|
5
4
|
import { GraphSeries } from '../common';
|
|
6
5
|
export declare class UsrReportsService {
|
|
7
|
-
private
|
|
6
|
+
private apiUrl;
|
|
8
7
|
private rest;
|
|
9
8
|
private baseUrl;
|
|
10
|
-
constructor(
|
|
9
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
11
10
|
/**
|
|
12
11
|
* Create new report
|
|
13
12
|
*/
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { RuleActivityStatusCode } from '../enums';
|
|
3
|
+
import { EventTypeCode } from '../enums';
|
|
3
4
|
import { TimeSeriesOfFloat } from '../common';
|
|
4
5
|
import { IntDistribution } from '../entities';
|
|
5
6
|
import { Distribution } from '../entities';
|
|
6
7
|
import { Rule } from '../entities';
|
|
7
8
|
import { SeverityTypeCode } from '../enums';
|
|
8
|
-
import { RuleActivityStatusCode } from '../enums';
|
|
9
|
-
import { EventTypeCode } from '../enums';
|
|
10
9
|
export declare class UsrRulesService {
|
|
11
|
-
private
|
|
10
|
+
private apiUrl;
|
|
12
11
|
private rest;
|
|
13
12
|
private baseUrl;
|
|
14
|
-
constructor(
|
|
13
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
15
14
|
/**
|
|
16
15
|
* Create new rule
|
|
17
16
|
*/
|