@webitel/api-services 26.8.56 → 26.8.57
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/agents/__tests__/agentStatusStatistics.spec.ts +45 -0
- package/src/api/clients/agents/agents.ts +56 -11
- package/src/api/clients/fileServices/fileServices.ts +21 -1
- package/src/api/clients/pdfServices/pdfServices.ts +21 -1
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/fileServices/fileServices.d.ts +3 -0
- package/types/api/clients/pdfServices/pdfServices.d.ts +3 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { SearchFilesByCallParams, SearchFilesParams, SearchScreenRecordingsByAgentParams, SearchScreenRecordingsParams } from '@webitel/api-services/gen/models';
|
|
2
|
+
import type { DatetimeRangeValue, NormalizeDatetimeValueParam } from '../../../scripts';
|
|
2
3
|
import type { ApiId } from '../_shared/types';
|
|
3
4
|
export declare const FileServicesAPI: {
|
|
4
5
|
getList: (params: SearchFilesParams & {
|
|
@@ -22,6 +23,8 @@ export declare const FileServicesAPI: {
|
|
|
22
23
|
getScreenRecordingsByAgent: (params: SearchScreenRecordingsByAgentParams & {
|
|
23
24
|
agentId: ApiId;
|
|
24
25
|
search?: string;
|
|
26
|
+
/** the datalist store's uploadedAt date-range filter sends this combined value */
|
|
27
|
+
uploadedAt?: DatetimeRangeValue | NormalizeDatetimeValueParam;
|
|
25
28
|
}) => Promise<{
|
|
26
29
|
items: any;
|
|
27
30
|
next: any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ListCallExportsParams, ListScreenrecordingExportsParams } from '@webitel/api-services/gen/models';
|
|
2
|
+
import type { DatetimeRangeValue, NormalizeDatetimeValueParam } from '../../../scripts';
|
|
2
3
|
import type { ApiId, ApiParams } from '../_shared/types';
|
|
3
4
|
export declare const PdfServicesAPI: {
|
|
4
5
|
createScreenrecordingExport: ({ agentId, itemInstance, }: {
|
|
@@ -7,6 +8,8 @@ export declare const PdfServicesAPI: {
|
|
|
7
8
|
}) => Promise<any>;
|
|
8
9
|
getList: (params: ListScreenrecordingExportsParams & {
|
|
9
10
|
agentId: ApiId;
|
|
11
|
+
/** the datalist store's uploadedAt date-range filter sends this combined value */
|
|
12
|
+
uploadedAt?: DatetimeRangeValue | NormalizeDatetimeValueParam;
|
|
10
13
|
}) => Promise<{
|
|
11
14
|
items: any;
|
|
12
15
|
next: any;
|