@webitel/api-services 26.8.44 → 26.8.46
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/package.json +1 -1
- package/src/api/clients/logs/logs.ts +15 -1
- package/src/api/clients/wtTypes/sysTypes/__tests__/sysTypes.spec.ts +101 -0
- package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +52 -2
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/logs/logs.d.ts +2 -1
- package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +8 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApiParams } from '../_shared/types';
|
|
1
|
+
import type { ApiParams, GetItemParams } from '../_shared/types';
|
|
2
2
|
/** Audit log of everything one user did. */
|
|
3
3
|
export declare const UserLogsAPI: {
|
|
4
4
|
getList: (params: ApiParams) => Promise<{
|
|
@@ -12,4 +12,5 @@ export declare const ConfigLogsAPI: {
|
|
|
12
12
|
items: any;
|
|
13
13
|
next: any;
|
|
14
14
|
}>;
|
|
15
|
+
get: ({ itemId: id }: GetItemParams) => Promise<any>;
|
|
15
16
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import type { ApiParams } from '../../_shared/types';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Records of a system type at `path`, for lookups. `filters` are pre-built
|
|
4
|
+
* `key=value` query conditions (as form schemas store them) appended as-is.
|
|
5
|
+
*/
|
|
6
|
+
declare const getSysTypeRecordsList: ({ path, display, primary, filters, ...params }: {
|
|
3
7
|
path: string;
|
|
4
8
|
display: string;
|
|
5
9
|
primary: string;
|
|
10
|
+
filters?: string[];
|
|
6
11
|
} & ApiParams) => Promise<{
|
|
7
12
|
items: any;
|
|
8
13
|
next: any;
|
|
9
14
|
}>;
|
|
10
15
|
export declare const SysTypesAPI: {
|
|
11
|
-
getList: ({ path, display, primary, ...params }: {
|
|
16
|
+
getList: ({ path, display, primary, filters, ...params }: {
|
|
12
17
|
path: string;
|
|
13
18
|
display: string;
|
|
14
19
|
primary: string;
|
|
20
|
+
filters?: string[];
|
|
15
21
|
} & ApiParams) => Promise<{
|
|
16
22
|
items: any;
|
|
17
23
|
next: any;
|