@shieldiot/ngx-pulseiot-lib 2.18.1120 → 2.18.1122

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.
@@ -1,10 +1,10 @@
1
1
  import { RestUtils } from '../../rest-utils';
2
2
  import { AppConfig } from '../../config';
3
- import { Feature } from '../model';
4
3
  import { FeaturesGroup } from '../model';
5
4
  import { EntityResponse } from '../model';
6
5
  import { ActionResponse } from '../model';
7
6
  import { EntitiesResponse } from '../model';
7
+ import { Feature } from '../model';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class SysFeaturesService {
10
10
  private config;
@@ -30,11 +30,11 @@ export declare class SysFeaturesService {
30
30
  /**
31
31
  * Get a single features group by id
32
32
  */
33
- getGroup(id?: string): import("rxjs").Observable<EntityResponse<Feature>>;
33
+ getGroup(id?: string): import("rxjs").Observable<EntityResponse<FeaturesGroup>>;
34
34
  /**
35
35
  * Find features groups by query
36
36
  */
37
- findGroup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Feature>>;
37
+ findGroup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FeaturesGroup>>;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<SysFeaturesService, never>;
39
39
  static ɵprov: i0.ɵɵInjectableDeclaration<SysFeaturesService>;
40
40
  }
@@ -1,9 +1,13 @@
1
1
  import { RestUtils } from '../../rest-utils';
2
2
  import { AppConfig } from '../../config';
3
- import { Rule } from '../model';
3
+ import { EventTypeCode } from '../model';
4
4
  import { EntityResponse } from '../model';
5
5
  import { ActionResponse } from '../model';
6
+ import { SeverityTypeCode } from '../model';
6
7
  import { EntitiesResponse } from '../model';
8
+ import { Rule } from '../model';
9
+ import { IdsRule } from '../model';
10
+ import { RuleActivityStatusCode } from '../model';
7
11
  import * as i0 from "@angular/core";
8
12
  export declare class SysIdsRulesService {
9
13
  private config;
@@ -14,11 +18,11 @@ export declare class SysIdsRulesService {
14
18
  * region Endpoint REST handlers ---------------------------------------------------------------------------------------
15
19
  * Create new rule configuration
16
20
  */
17
- create(body?: Rule): import("rxjs").Observable<EntityResponse<Rule>>;
21
+ create(body?: Rule): import("rxjs").Observable<EntityResponse<IdsRule>>;
18
22
  /**
19
23
  * Update existing rule configuration
20
24
  */
21
- update(body?: Rule): import("rxjs").Observable<EntityResponse<Rule>>;
25
+ update(body?: Rule): import("rxjs").Observable<EntityResponse<IdsRule>>;
22
26
  /**
23
27
  * Delete rule configuration
24
28
  */
@@ -26,11 +30,11 @@ export declare class SysIdsRulesService {
26
30
  /**
27
31
  * Get a single rule by id
28
32
  */
29
- get(id?: string): import("rxjs").Observable<EntityResponse<Rule>>;
33
+ get(id?: string): import("rxjs").Observable<EntityResponse<IdsRule>>;
30
34
  /**
31
35
  * Find rules by query
32
36
  */
33
- find(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Rule>>;
37
+ find(streamId?: string, search?: string, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IdsRule>>;
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<SysIdsRulesService, never>;
35
39
  static ɵprov: i0.ɵɵInjectableDeclaration<SysIdsRulesService>;
36
40
  }
@@ -1,22 +1,22 @@
1
1
  import { RestUtils } from '../../rest-utils';
2
2
  import { AppConfig } from '../../config';
3
- import { EventWithDevice } from '../model';
4
- import { MaliciousIPData } from '../model';
5
- import { Distribution } from '../model';
6
3
  import { TimeSeries } from '../model';
7
- import { Device } from '../model';
8
- import { EntityResponse } from '../model';
4
+ import { Tuple } from '../model';
5
+ import { EventTypeCode } from '../model';
6
+ import { SimpleEntity } from '../model';
7
+ import { Event } from '../model';
9
8
  import { EventCategoryCode } from '../model';
9
+ import { EventStatusCode } from '../model';
10
10
  import { ActionResponse } from '../model';
11
11
  import { MaliciousIpCard } from '../model';
12
- import { Event } from '../model';
13
- import { EventTypeCode } from '../model';
14
- import { EventStatusCode } from '../model';
15
- import { RuleTypeCode } from '../model';
16
- import { SimpleEntity } from '../model';
12
+ import { EventWithDevice } from '../model';
13
+ import { Device } from '../model';
14
+ import { EntityResponse } from '../model';
17
15
  import { SeverityTypeCode } from '../model';
16
+ import { RuleTypeCode } from '../model';
18
17
  import { EntitiesResponse } from '../model';
19
- import { Tuple } from '../model';
18
+ import { MaliciousIPData } from '../model';
19
+ import { Distribution } from '../model';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class UsrEventsService {
22
22
  private config;
@@ -46,7 +46,7 @@ export declare class UsrEventsService {
46
46
  /**
47
47
  * Get top 10 events by their severity and time
48
48
  */
49
- findTopMaliciousIPs(streamId?: string, top?: number, from?: number, to?: number): import("rxjs").Observable<EntityResponse<MaliciousIPData>>;
49
+ findTopMaliciousIPs(streamId?: string, top?: number, from?: number, to?: number): import("rxjs").Observable<EntitiesResponse<MaliciousIPData>>;
50
50
  /**
51
51
  * Get events distribution by type filtered by query
52
52
  */
@@ -1,11 +1,11 @@
1
1
  import { RestUtils } from '../../rest-utils';
2
2
  import { AppConfig } from '../../config';
3
- import { EntitiesResponse } from '../model';
4
- import { Insight } from '../model';
5
3
  import { InsightTypeCode } from '../model';
6
4
  import { SeverityTypeCode } from '../model';
7
5
  import { EntityResponse } from '../model';
8
6
  import { Distribution } from '../model';
7
+ import { EntitiesResponse } from '../model';
8
+ import { Insight } from '../model';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class UsrInsightsService {
11
11
  private config;
@@ -15,7 +15,7 @@ export declare class UsrInsightsService {
15
15
  /**
16
16
  * Find daily insights
17
17
  */
18
- getDailyInsights(dayId?: number): import("rxjs").Observable<EntitiesResponse<Insight>>;
18
+ getDailyInsights(dayId?: string): import("rxjs").Observable<EntitiesResponse<Insight>>;
19
19
  /**
20
20
  * Find insights by query
21
21
  */
@@ -1,10 +1,10 @@
1
1
  import { RestUtils } from '../../rest-utils';
2
2
  import { AppConfig } from '../../config';
3
+ import { ReportSourceCode } from '../model';
4
+ import { EntitiesResponse } from '../model';
3
5
  import { ReportInstance } from '../model';
4
6
  import { EntityResponse } from '../model';
5
7
  import { ActionResponse } from '../model';
6
- import { ReportSourceCode } from '../model';
7
- import { EntitiesResponse } from '../model';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class UsrReportsInstanceService {
10
10
  private config;
@@ -26,7 +26,7 @@ export declare class UsrReportsInstanceService {
26
26
  /**
27
27
  * Find reports by query
28
28
  */
29
- find(accountId?: string, search?: string, sort?: string, page?: number, size?: number, from?: number, to?: number, reportTriggerSource?: ReportSourceCode): import("rxjs").Observable<EntitiesResponse<ReportInstance>>;
29
+ find(accountId?: string, search?: string, sort?: string, page?: number, size?: number, from?: number, to?: number, reportTriggerSource?: ReportSourceCode[]): import("rxjs").Observable<EntitiesResponse<ReportInstance>>;
30
30
  /**
31
31
  * Download report file as stream of PDF
32
32
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shieldiot/ngx-pulseiot-lib",
3
- "version": "2.18.1120",
3
+ "version": "2.18.1122",
4
4
  "description": "Angular client library for PulseIoT backend",
5
5
  "publishConfig": {
6
6
  "access": "public"