@shieldiot/ngx-pulseiot-lib 2.18.1115 → 2.18.1116
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,9 +1,9 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
3
4
|
import { AuditLog } from '../model';
|
|
4
5
|
import { EntitiesResponse } from '../model';
|
|
5
6
|
import { TimeSeries } from '../model';
|
|
6
|
-
import { EntityResponse } from '../model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SysAuditLogService {
|
|
9
9
|
private config;
|
|
@@ -17,11 +17,11 @@ export declare class SysAuditLogService {
|
|
|
17
17
|
/**
|
|
18
18
|
* Find log entries by query
|
|
19
19
|
*/
|
|
20
|
-
find(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<AuditLog>>;
|
|
20
|
+
find(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string[], itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<AuditLog>>;
|
|
21
21
|
/**
|
|
22
22
|
* Get histogram of audit log entries over time
|
|
23
23
|
*/
|
|
24
|
-
timeline(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
24
|
+
timeline(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string[], itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SysAuditLogService, never>;
|
|
26
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysAuditLogService>;
|
|
27
27
|
}
|
|
@@ -2,13 +2,15 @@ import { RestUtils } from '../../rest-utils';
|
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
3
|
import { EntityResponse } from '../model';
|
|
4
4
|
import { AccountDTO } from '../model';
|
|
5
|
-
import { Feature } from '../model';
|
|
6
|
-
import { Stream } from '../model';
|
|
7
|
-
import { ConfigParam } from '../model';
|
|
8
|
-
import { ActionResponse } from '../model';
|
|
9
5
|
import { Image } from '../model';
|
|
10
6
|
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { Feature } from '../model';
|
|
8
|
+
import { Stream } from '../model';
|
|
9
|
+
import { LoginParams } from '../model';
|
|
10
|
+
import { User } from '../model';
|
|
11
11
|
import { UserMemberships } from '../model';
|
|
12
|
+
import { ActionResponse } from '../model';
|
|
13
|
+
import { ConfigParam } from '../model';
|
|
12
14
|
import * as i0 from "@angular/core";
|
|
13
15
|
export declare class UsrUserService {
|
|
14
16
|
private config;
|
|
@@ -19,7 +21,7 @@ export declare class UsrUserService {
|
|
|
19
21
|
* Authorize user, verify user against account
|
|
20
22
|
* The response includes access token valid for 20 minutes. The client side should renew the token before expiration using refresh-token method
|
|
21
23
|
*/
|
|
22
|
-
authorize(body?:
|
|
24
|
+
authorize(body?: LoginParams): import("rxjs").Observable<EntityResponse<User>>;
|
|
23
25
|
/**
|
|
24
26
|
* Refresh token (set new expiration time) and associate with new account if required
|
|
25
27
|
* The response includes the newly refreshed token both in the HTTP header and the new account details
|