@shieldiot/ngx-pulseiot-lib 2.18.1113 → 2.18.1114

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,22 +1,22 @@
1
1
  import { RestUtils } from '../../rest-utils';
2
2
  import { AppConfig } from '../../config';
3
- import { SeverityTypeCode } from '../model';
4
- import { EventStatusCode } from '../model';
5
- import { RuleTypeCode } from '../model';
3
+ import { StringIntValue } from '../model';
4
+ import { Distribution } from '../model';
6
5
  import { DeviceActionCode } from '../model';
6
+ import { SeverityTypeCode } from '../model';
7
7
  import { Alert } from '../model';
8
+ import { EventStatusCode } from '../model';
9
+ import { EntitiesResponse } from '../model';
8
10
  import { AlertWithDevice } from '../model';
9
- import { MaliciousIpCard } from '../model';
11
+ import { Tuple } from '../model';
12
+ import { StringKeyValue } from '../model';
10
13
  import { EventTypeCode } from '../model';
11
- import { StringIntValue } from '../model';
12
- import { EntitiesResponse } from '../model';
14
+ import { TimeSeries } from '../model';
15
+ import { MaliciousIpCard } from '../model';
13
16
  import { EntityResponse } from '../model';
14
17
  import { EventCategoryCode } from '../model';
18
+ import { RuleTypeCode } from '../model';
15
19
  import { ActionResponse } from '../model';
16
- import { Distribution } from '../model';
17
- import { TimeSeries } from '../model';
18
- import { Tuple } from '../model';
19
- import { StringKeyValue } from '../model';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class UsrAlertsService {
22
22
  private config;
@@ -27,6 +27,10 @@ export declare class UsrAlertsService {
27
27
  * Get a single alert by id
28
28
  */
29
29
  get(id?: string): import("rxjs").Observable<EntityResponse<Alert>>;
30
+ /**
31
+ * Find alerts by query
32
+ */
33
+ 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, ids?: string[]): import("rxjs").Observable<EntitiesResponse<Alert>>;
30
34
  /**
31
35
  * Export alerts by query to a file
32
36
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shieldiot/ngx-pulseiot-lib",
3
- "version": "2.18.1113",
3
+ "version": "2.18.1114",
4
4
  "description": "Angular client library for PulseIoT backend",
5
5
  "publishConfig": {
6
6
  "access": "public"