@shieldiot/ngx-pulseiot-lib 2.18.1229 → 2.18.1232
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/esm2022/lib/services/UsrAiExplainService.mjs +34 -0
- package/esm2022/lib/services/index.mjs +2 -1
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +30 -1
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/services/UsrAiExplainService.d.ts +17 -0
- package/lib/services/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { AIEventDetail } from '../model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UsrAiExplainService {
|
|
7
|
+
private config;
|
|
8
|
+
private rest;
|
|
9
|
+
private baseUrl;
|
|
10
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
11
|
+
/**
|
|
12
|
+
* Explain returns cached AI analysis for a suspicious IP, or triggers async analysis if not cached.
|
|
13
|
+
*/
|
|
14
|
+
explain(ip?: string): import("rxjs").Observable<EntityResponse<AIEventDetail>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UsrAiExplainService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UsrAiExplainService>;
|
|
17
|
+
}
|
package/lib/services/index.d.ts
CHANGED