@webitel/api-services 0.0.34 → 0.0.35
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/gen/_docs/html/assets/navigation.js +1 -1
- package/src/gen/_docs/html/assets/search.js +1 -1
- package/src/gen/_docs/html/functions/user-helper-service_user-helper-service.api.gen.getUserHelperService.html +1 -1
- package/src/gen/_docs/html/functions/user-helper-service_user-helper-service.msw.api.gen.getOpenedWebSocketsMockHandler.html +1 -0
- package/src/gen/_docs/html/functions/user-helper-service_user-helper-service.msw.api.gen.getOpenedWebSocketsResponseMock.html +1 -0
- package/src/gen/_docs/html/index.html +1 -1
- package/src/gen/_docs/html/interfaces/_models_engineAgent.EngineAgent.html +4 -2
- package/src/gen/_docs/html/interfaces/_models_engineAgentServicePatchAgentBody.EngineAgentServicePatchAgentBody.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineAgentServiceUpdateAgentBody.EngineAgentServiceUpdateAgentBody.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineAgentTeam.EngineAgentTeam.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineAgentTeamServiceUpdateAgentTeamBody.EngineAgentTeamServiceUpdateAgentTeamBody.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineCreateAgentRequest.EngineCreateAgentRequest.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineCreateAgentTeamRequest.EngineCreateAgentTeamRequest.html +3 -2
- package/src/gen/_docs/html/interfaces/_models_engineListOpenedWebSocket.EngineListOpenedWebSocket.html +3 -0
- package/src/gen/_docs/html/interfaces/_models_engineOpenedWebSocket.EngineOpenedWebSocket.html +13 -0
- package/src/gen/_docs/html/interfaces/_models_webitelCasesCase.WebitelCasesCase.html +2 -2
- package/src/gen/_docs/html/modules/_models.html +1 -1
- package/src/gen/_docs/html/modules/_models_engineListOpenedWebSocket.html +1 -0
- package/src/gen/_docs/html/modules/_models_engineOpenedWebSocket.html +1 -0
- package/src/gen/_docs/html/modules/_models_openedWebSocketsParams.html +1 -0
- package/src/gen/_docs/html/modules/index.html +1 -1
- package/src/gen/_docs/html/modules/user-helper-service_user-helper-service.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/user-helper-service_user-helper-service.msw.api.gen.html +1 -1
- package/src/gen/_docs/html/modules/user-helper-service_user-helper-service.zod.gen.html +1 -1
- package/src/gen/_docs/html/types/_models_openedWebSocketsParams.OpenedWebSocketsParams.html +10 -0
- package/src/gen/_docs/html/types/user-helper-service_user-helper-service.api.gen.OpenedWebSocketsResult.html +1 -0
- package/src/gen/_docs/html/variables/_models_engineSystemSettingName.EngineSystemSettingName.html +1 -1
- package/src/gen/_docs/html/variables/_models_searchSystemSettingNameItem.SearchSystemSettingNameItem.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.createAgentBody.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.createAgentResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.deleteAgentResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.patchAgentBody.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.patchAgentResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.readAgentResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.searchAgentResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.updateAgentBody.html +1 -1
- package/src/gen/_docs/html/variables/agent-service_agent-service.zod.gen.updateAgentResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.createAgentTeamBody.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.createAgentTeamResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.deleteAgentTeamResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.readAgentTeamResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.searchAgentTeamResponse.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.updateAgentTeamBody.html +1 -1
- package/src/gen/_docs/html/variables/agent-team-service_agent-team-service.zod.gen.updateAgentTeamResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.createCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.deleteCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.locateCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCases2Response.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.searchCasesResponse.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.updateCase2Response.html +1 -1
- package/src/gen/_docs/html/variables/cases_cases.zod.gen.updateCaseResponse.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.createSystemSettingBody.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.createSystemSettingResponse.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.deleteSystemSettingResponse.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.patchSystemSettingResponse.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.readSystemSettingResponse.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.searchSystemSettingQueryParams.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.searchSystemSettingResponse.html +1 -1
- package/src/gen/_docs/html/variables/system-setting-service_system-setting-service.zod.gen.updateSystemSettingResponse.html +1 -1
- package/src/gen/_docs/html/variables/user-helper-service_user-helper-service.zod.gen.openedWebSocketsParams.html +1 -0
- package/src/gen/_docs/html/variables/user-helper-service_user-helper-service.zod.gen.openedWebSocketsQueryParams.html +1 -0
- package/src/gen/_docs/html/variables/user-helper-service_user-helper-service.zod.gen.openedWebSocketsResponse.html +1 -0
- package/src/gen/_models/engineAgent.ts +2 -0
- package/src/gen/_models/engineAgentServicePatchAgentBody.ts +1 -0
- package/src/gen/_models/engineAgentServiceUpdateAgentBody.ts +1 -0
- package/src/gen/_models/engineAgentTeam.ts +1 -0
- package/src/gen/_models/engineAgentTeamServiceUpdateAgentTeamBody.ts +1 -0
- package/src/gen/_models/engineCreateAgentRequest.ts +1 -0
- package/src/gen/_models/engineCreateAgentTeamRequest.ts +1 -0
- package/src/gen/_models/engineListOpenedWebSocket.ts +12 -0
- package/src/gen/_models/engineOpenedWebSocket.ts +17 -0
- package/src/gen/_models/engineSystemSettingName.ts +1 -0
- package/src/gen/_models/index.ts +3 -0
- package/src/gen/_models/openedWebSocketsParams.ts +14 -0
- package/src/gen/_models/searchSystemSettingNameItem.ts +1 -0
- package/src/gen/_models/webitelCasesCase.ts +2 -1
- package/src/gen/agent-service/agent-service.msw.api.gen.ts +48 -0
- package/src/gen/agent-service/agent-service.zod.gen.ts +15 -0
- package/src/gen/agent-team-service/agent-team-service.msw.api.gen.ts +20 -0
- package/src/gen/agent-team-service/agent-team-service.zod.gen.ts +7 -0
- package/src/gen/cases/cases.msw.api.gen.ts +736 -31
- package/src/gen/cases/cases.zod.gen.ts +280 -0
- package/src/gen/system-setting-service/system-setting-service.zod.gen.ts +8 -0
- package/src/gen/user-helper-service/user-helper-service.api.gen.ts +16 -1
- package/src/gen/user-helper-service/user-helper-service.msw.api.gen.ts +72 -0
- package/src/gen/user-helper-service/user-helper-service.zod.gen.ts +30 -0
- package/types/gen/_models/engineAgent.d.ts +2 -0
- package/types/gen/_models/engineAgentServicePatchAgentBody.d.ts +1 -0
- package/types/gen/_models/engineAgentServiceUpdateAgentBody.d.ts +1 -0
- package/types/gen/_models/engineAgentTeam.d.ts +1 -0
- package/types/gen/_models/engineAgentTeamServiceUpdateAgentTeamBody.d.ts +1 -0
- package/types/gen/_models/engineCreateAgentRequest.d.ts +1 -0
- package/types/gen/_models/engineCreateAgentTeamRequest.d.ts +1 -0
- package/types/gen/_models/engineListOpenedWebSocket.d.ts +11 -0
- package/types/gen/_models/engineOpenedWebSocket.d.ts +16 -0
- package/types/gen/_models/engineSystemSettingName.d.ts +1 -0
- package/types/gen/_models/openedWebSocketsParams.d.ts +13 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +1 -0
- package/types/gen/_models/webitelCasesCase.d.ts +2 -1
- package/types/gen/agent-service/agent-service.zod.gen.d.ts +15 -0
- package/types/gen/agent-team-service/agent-team-service.zod.gen.d.ts +7 -0
- package/types/gen/system-setting-service/system-setting-service.zod.gen.d.ts +8 -0
- package/types/gen/user-helper-service/user-helper-service.api.gen.d.ts +3 -1
- package/types/gen/user-helper-service/user-helper-service.msw.api.gen.d.ts +3 -1
- package/types/gen/user-helper-service/user-helper-service.zod.gen.d.ts +23 -0
|
@@ -12,6 +12,7 @@ import type { WebitelCasesCaseFileList } from './webitelCasesCaseFileList';
|
|
|
12
12
|
import type { WebitelCasesCaseLinkList } from './webitelCasesCaseLinkList';
|
|
13
13
|
import type { WebitelCasesPriority } from './webitelCasesPriority';
|
|
14
14
|
import type { WebitelCasesRelatedCaseList } from './webitelCasesRelatedCaseList';
|
|
15
|
+
import type { WebitelCasesService } from './webitelCasesService';
|
|
15
16
|
import type { WebitelCasesSourceTypeLookup } from './webitelCasesSourceTypeLookup';
|
|
16
17
|
import type { WebitelCasesStatusCondition } from './webitelCasesStatusCondition';
|
|
17
18
|
/**
|
|
@@ -71,7 +72,7 @@ export interface WebitelCasesCase {
|
|
|
71
72
|
resolvedAt?: string;
|
|
72
73
|
roleIds?: string[];
|
|
73
74
|
/** Service associated with the case. */
|
|
74
|
-
service?:
|
|
75
|
+
service?: WebitelCasesService;
|
|
75
76
|
/** SLA associated with the case. */
|
|
76
77
|
sla?: GeneralLookup;
|
|
77
78
|
/** List of SLA conditions. */
|
|
@@ -32,6 +32,7 @@ export declare const searchAgentQueryParams: zod.ZodObject<{
|
|
|
32
32
|
export declare const searchAgentResponse: zod.ZodObject<{
|
|
33
33
|
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
34
34
|
allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
35
|
+
allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
35
36
|
auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
36
37
|
id: zod.ZodOptional<zod.ZodString>;
|
|
37
38
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -58,6 +59,7 @@ export declare const searchAgentResponse: zod.ZodObject<{
|
|
|
58
59
|
id: zod.ZodOptional<zod.ZodString>;
|
|
59
60
|
name: zod.ZodOptional<zod.ZodString>;
|
|
60
61
|
}, zod.core.$strip>>;
|
|
62
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
61
63
|
skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
62
64
|
id: zod.ZodOptional<zod.ZodString>;
|
|
63
65
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -102,6 +104,7 @@ export declare const createAgentBody: zod.ZodObject<{
|
|
|
102
104
|
id: zod.ZodOptional<zod.ZodString>;
|
|
103
105
|
name: zod.ZodOptional<zod.ZodString>;
|
|
104
106
|
}, zod.core.$strip>>;
|
|
107
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
105
108
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
106
109
|
id: zod.ZodOptional<zod.ZodString>;
|
|
107
110
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -118,6 +121,7 @@ export declare const createAgentBody: zod.ZodObject<{
|
|
|
118
121
|
}, zod.core.$strip>;
|
|
119
122
|
export declare const createAgentResponse: zod.ZodObject<{
|
|
120
123
|
allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
124
|
+
allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
121
125
|
auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
122
126
|
id: zod.ZodOptional<zod.ZodString>;
|
|
123
127
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -144,6 +148,7 @@ export declare const createAgentResponse: zod.ZodObject<{
|
|
|
144
148
|
id: zod.ZodOptional<zod.ZodString>;
|
|
145
149
|
name: zod.ZodOptional<zod.ZodString>;
|
|
146
150
|
}, zod.core.$strip>>;
|
|
151
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
147
152
|
skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
148
153
|
id: zod.ZodOptional<zod.ZodString>;
|
|
149
154
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -457,6 +462,7 @@ export declare const deleteAgentQueryParams: zod.ZodObject<{
|
|
|
457
462
|
}, zod.core.$strip>;
|
|
458
463
|
export declare const deleteAgentResponse: zod.ZodObject<{
|
|
459
464
|
allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
465
|
+
allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
460
466
|
auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
461
467
|
id: zod.ZodOptional<zod.ZodString>;
|
|
462
468
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -483,6 +489,7 @@ export declare const deleteAgentResponse: zod.ZodObject<{
|
|
|
483
489
|
id: zod.ZodOptional<zod.ZodString>;
|
|
484
490
|
name: zod.ZodOptional<zod.ZodString>;
|
|
485
491
|
}, zod.core.$strip>>;
|
|
492
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
486
493
|
skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
487
494
|
id: zod.ZodOptional<zod.ZodString>;
|
|
488
495
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -514,6 +521,7 @@ export declare const readAgentQueryParams: zod.ZodObject<{
|
|
|
514
521
|
}, zod.core.$strip>;
|
|
515
522
|
export declare const readAgentResponse: zod.ZodObject<{
|
|
516
523
|
allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
524
|
+
allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
517
525
|
auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
518
526
|
id: zod.ZodOptional<zod.ZodString>;
|
|
519
527
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -540,6 +548,7 @@ export declare const readAgentResponse: zod.ZodObject<{
|
|
|
540
548
|
id: zod.ZodOptional<zod.ZodString>;
|
|
541
549
|
name: zod.ZodOptional<zod.ZodString>;
|
|
542
550
|
}, zod.core.$strip>>;
|
|
551
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
543
552
|
skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
544
553
|
id: zod.ZodOptional<zod.ZodString>;
|
|
545
554
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -585,6 +594,7 @@ export declare const patchAgentBody: zod.ZodObject<{
|
|
|
585
594
|
id: zod.ZodOptional<zod.ZodString>;
|
|
586
595
|
name: zod.ZodOptional<zod.ZodString>;
|
|
587
596
|
}, zod.core.$strip>>;
|
|
597
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
588
598
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
589
599
|
id: zod.ZodOptional<zod.ZodString>;
|
|
590
600
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -600,6 +610,7 @@ export declare const patchAgentBody: zod.ZodObject<{
|
|
|
600
610
|
}, zod.core.$strip>;
|
|
601
611
|
export declare const patchAgentResponse: zod.ZodObject<{
|
|
602
612
|
allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
613
|
+
allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
603
614
|
auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
604
615
|
id: zod.ZodOptional<zod.ZodString>;
|
|
605
616
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -626,6 +637,7 @@ export declare const patchAgentResponse: zod.ZodObject<{
|
|
|
626
637
|
id: zod.ZodOptional<zod.ZodString>;
|
|
627
638
|
name: zod.ZodOptional<zod.ZodString>;
|
|
628
639
|
}, zod.core.$strip>>;
|
|
640
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
629
641
|
skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
630
642
|
id: zod.ZodOptional<zod.ZodString>;
|
|
631
643
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -671,6 +683,7 @@ export declare const updateAgentBody: zod.ZodObject<{
|
|
|
671
683
|
id: zod.ZodOptional<zod.ZodString>;
|
|
672
684
|
name: zod.ZodOptional<zod.ZodString>;
|
|
673
685
|
}, zod.core.$strip>>;
|
|
686
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
674
687
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
675
688
|
id: zod.ZodOptional<zod.ZodString>;
|
|
676
689
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -687,6 +700,7 @@ export declare const updateAgentBody: zod.ZodObject<{
|
|
|
687
700
|
}, zod.core.$strip>;
|
|
688
701
|
export declare const updateAgentResponse: zod.ZodObject<{
|
|
689
702
|
allowChannels: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
703
|
+
allowSetScreenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
690
704
|
auditor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
691
705
|
id: zod.ZodOptional<zod.ZodString>;
|
|
692
706
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -713,6 +727,7 @@ export declare const updateAgentResponse: zod.ZodObject<{
|
|
|
713
727
|
id: zod.ZodOptional<zod.ZodString>;
|
|
714
728
|
name: zod.ZodOptional<zod.ZodString>;
|
|
715
729
|
}, zod.core.$strip>>;
|
|
730
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
716
731
|
skills: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
717
732
|
id: zod.ZodOptional<zod.ZodString>;
|
|
718
733
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -36,6 +36,7 @@ export declare const searchAgentTeamResponse: zod.ZodObject<{
|
|
|
36
36
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
37
37
|
name: zod.ZodOptional<zod.ZodString>;
|
|
38
38
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
39
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
39
40
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
40
41
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
41
42
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -62,6 +63,7 @@ export declare const createAgentTeamBody: zod.ZodObject<{
|
|
|
62
63
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
63
64
|
name: zod.ZodOptional<zod.ZodString>;
|
|
64
65
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
66
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
65
67
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
66
68
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
67
69
|
wrapUpTime: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -83,6 +85,7 @@ export declare const createAgentTeamResponse: zod.ZodObject<{
|
|
|
83
85
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
84
86
|
name: zod.ZodOptional<zod.ZodString>;
|
|
85
87
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
88
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
86
89
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
87
90
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
88
91
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -114,6 +117,7 @@ export declare const deleteAgentTeamResponse: zod.ZodObject<{
|
|
|
114
117
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
115
118
|
name: zod.ZodOptional<zod.ZodString>;
|
|
116
119
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
120
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
117
121
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
118
122
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
119
123
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -145,6 +149,7 @@ export declare const readAgentTeamResponse: zod.ZodObject<{
|
|
|
145
149
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
146
150
|
name: zod.ZodOptional<zod.ZodString>;
|
|
147
151
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
152
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
148
153
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
149
154
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
150
155
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -172,6 +177,7 @@ export declare const updateAgentTeamBody: zod.ZodObject<{
|
|
|
172
177
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
173
178
|
name: zod.ZodOptional<zod.ZodString>;
|
|
174
179
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
180
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
175
181
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
176
182
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
177
183
|
wrapUpTime: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -193,6 +199,7 @@ export declare const updateAgentTeamResponse: zod.ZodObject<{
|
|
|
193
199
|
maxNoAnswer: zod.ZodOptional<zod.ZodNumber>;
|
|
194
200
|
name: zod.ZodOptional<zod.ZodString>;
|
|
195
201
|
noAnswerDelayTime: zod.ZodOptional<zod.ZodNumber>;
|
|
202
|
+
screenControl: zod.ZodOptional<zod.ZodBoolean>;
|
|
196
203
|
strategy: zod.ZodOptional<zod.ZodString>;
|
|
197
204
|
taskAcceptTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
198
205
|
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
@@ -39,6 +39,7 @@ export declare const searchSystemSettingQueryParams: zod.ZodObject<{
|
|
|
39
39
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
40
40
|
new_message_sound_notification: "new_message_sound_notification";
|
|
41
41
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
42
|
+
screenshot_interval: "screenshot_interval";
|
|
42
43
|
}>>>;
|
|
43
44
|
}, zod.core.$strip>;
|
|
44
45
|
export declare const searchSystemSettingResponseItemsItemNameDefault = "empty_system_settings_name";
|
|
@@ -73,6 +74,7 @@ export declare const searchSystemSettingResponse: zod.ZodObject<{
|
|
|
73
74
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
74
75
|
new_message_sound_notification: "new_message_sound_notification";
|
|
75
76
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
77
|
+
screenshot_interval: "screenshot_interval";
|
|
76
78
|
}>>;
|
|
77
79
|
}, zod.core.$strip>>>;
|
|
78
80
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -107,6 +109,7 @@ export declare const createSystemSettingBody: zod.ZodObject<{
|
|
|
107
109
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
108
110
|
new_message_sound_notification: "new_message_sound_notification";
|
|
109
111
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
112
|
+
screenshot_interval: "screenshot_interval";
|
|
110
113
|
}>>;
|
|
111
114
|
}, zod.core.$strip>;
|
|
112
115
|
export declare const createSystemSettingResponseNameDefault = "empty_system_settings_name";
|
|
@@ -140,6 +143,7 @@ export declare const createSystemSettingResponse: zod.ZodObject<{
|
|
|
140
143
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
141
144
|
new_message_sound_notification: "new_message_sound_notification";
|
|
142
145
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
146
|
+
screenshot_interval: "screenshot_interval";
|
|
143
147
|
}>>;
|
|
144
148
|
}, zod.core.$strip>;
|
|
145
149
|
export declare const searchAvailableSystemSettingQueryParams: zod.ZodObject<{
|
|
@@ -189,6 +193,7 @@ export declare const deleteSystemSettingResponse: zod.ZodObject<{
|
|
|
189
193
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
190
194
|
new_message_sound_notification: "new_message_sound_notification";
|
|
191
195
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
196
|
+
screenshot_interval: "screenshot_interval";
|
|
192
197
|
}>>;
|
|
193
198
|
}, zod.core.$strip>;
|
|
194
199
|
export declare const readSystemSettingParams: zod.ZodObject<{
|
|
@@ -225,6 +230,7 @@ export declare const readSystemSettingResponse: zod.ZodObject<{
|
|
|
225
230
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
226
231
|
new_message_sound_notification: "new_message_sound_notification";
|
|
227
232
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
233
|
+
screenshot_interval: "screenshot_interval";
|
|
228
234
|
}>>;
|
|
229
235
|
}, zod.core.$strip>;
|
|
230
236
|
export declare const patchSystemSettingParams: zod.ZodObject<{
|
|
@@ -264,6 +270,7 @@ export declare const patchSystemSettingResponse: zod.ZodObject<{
|
|
|
264
270
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
265
271
|
new_message_sound_notification: "new_message_sound_notification";
|
|
266
272
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
273
|
+
screenshot_interval: "screenshot_interval";
|
|
267
274
|
}>>;
|
|
268
275
|
}, zod.core.$strip>;
|
|
269
276
|
export declare const updateSystemSettingParams: zod.ZodObject<{
|
|
@@ -301,5 +308,6 @@ export declare const updateSystemSettingResponse: zod.ZodObject<{
|
|
|
301
308
|
autolink_mail_to_contact: "autolink_mail_to_contact";
|
|
302
309
|
new_message_sound_notification: "new_message_sound_notification";
|
|
303
310
|
new_chat_sound_notification: "new_chat_sound_notification";
|
|
311
|
+
screenshot_interval: "screenshot_interval";
|
|
304
312
|
}>>;
|
|
305
313
|
}, zod.core.$strip>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { ActivityWorkspaceWidgetParams, EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse } from '.././_models';
|
|
2
|
+
import type { ActivityWorkspaceWidgetParams, EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse, EngineListOpenedWebSocket, OpenedWebSocketsParams } from '.././_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getUserHelperService: () => {
|
|
5
5
|
defaultDeviceConfig: <TData = AxiosResponse<EngineDefaultDeviceConfigResponse, any>>(type: string, options?: AxiosRequestConfig) => Promise<TData>;
|
|
6
6
|
activityWorkspaceWidget: <TData = AxiosResponse<EngineActivityWorkspaceWidgetResponse, any>>(params?: ActivityWorkspaceWidgetParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
|
+
openedWebSockets: <TData = AxiosResponse<EngineListOpenedWebSocket, any>>(userId: string[], params?: OpenedWebSocketsParams, options?: AxiosRequestConfig) => Promise<TData>;
|
|
7
8
|
};
|
|
8
9
|
export type DefaultDeviceConfigResult = AxiosResponse<EngineDefaultDeviceConfigResponse>;
|
|
9
10
|
export type ActivityWorkspaceWidgetResult = AxiosResponse<EngineActivityWorkspaceWidgetResponse>;
|
|
11
|
+
export type OpenedWebSocketsResult = AxiosResponse<EngineListOpenedWebSocket>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse } from '.././_models';
|
|
2
|
+
import type { EngineActivityWorkspaceWidgetResponse, EngineDefaultDeviceConfigResponse, EngineListOpenedWebSocket } from '.././_models';
|
|
3
3
|
export declare const getDefaultDeviceConfigResponseMock: (overrideResponse?: Partial<EngineDefaultDeviceConfigResponse>) => EngineDefaultDeviceConfigResponse;
|
|
4
4
|
export declare const getActivityWorkspaceWidgetResponseMock: (overrideResponse?: Partial<EngineActivityWorkspaceWidgetResponse>) => EngineActivityWorkspaceWidgetResponse;
|
|
5
|
+
export declare const getOpenedWebSocketsResponseMock: (overrideResponse?: Partial<EngineListOpenedWebSocket>) => EngineListOpenedWebSocket;
|
|
5
6
|
export declare const getDefaultDeviceConfigMockHandler: (overrideResponse?: EngineDefaultDeviceConfigResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineDefaultDeviceConfigResponse> | EngineDefaultDeviceConfigResponse)) => import("msw").HttpHandler;
|
|
6
7
|
export declare const getActivityWorkspaceWidgetMockHandler: (overrideResponse?: EngineActivityWorkspaceWidgetResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineActivityWorkspaceWidgetResponse> | EngineActivityWorkspaceWidgetResponse)) => import("msw").HttpHandler;
|
|
8
|
+
export declare const getOpenedWebSocketsMockHandler: (overrideResponse?: EngineListOpenedWebSocket | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EngineListOpenedWebSocket> | EngineListOpenedWebSocket)) => import("msw").HttpHandler;
|
|
7
9
|
export declare const getUserHelperServiceMock: () => import("msw").HttpHandler[];
|
|
@@ -57,3 +57,26 @@ export declare const activityWorkspaceWidgetResponse: zod.ZodObject<{
|
|
|
57
57
|
utilization: zod.ZodOptional<zod.ZodNumber>;
|
|
58
58
|
voiceMail: zod.ZodOptional<zod.ZodNumber>;
|
|
59
59
|
}, zod.core.$strip>;
|
|
60
|
+
export declare const openedWebSocketsParams: zod.ZodObject<{
|
|
61
|
+
user_id: zod.ZodArray<zod.ZodString>;
|
|
62
|
+
}, zod.core.$strip>;
|
|
63
|
+
export declare const openedWebSocketsQueryParams: zod.ZodObject<{
|
|
64
|
+
page: zod.ZodOptional<zod.ZodNumber>;
|
|
65
|
+
size: zod.ZodOptional<zod.ZodNumber>;
|
|
66
|
+
q: zod.ZodOptional<zod.ZodString>;
|
|
67
|
+
sort: zod.ZodOptional<zod.ZodString>;
|
|
68
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
69
|
+
}, zod.core.$strip>;
|
|
70
|
+
export declare const openedWebSocketsResponse: zod.ZodObject<{
|
|
71
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
72
|
+
client: zod.ZodOptional<zod.ZodString>;
|
|
73
|
+
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
74
|
+
duration: zod.ZodOptional<zod.ZodString>;
|
|
75
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
76
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
77
|
+
pong: zod.ZodOptional<zod.ZodString>;
|
|
78
|
+
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
79
|
+
userAgent: zod.ZodOptional<zod.ZodString>;
|
|
80
|
+
}, zod.core.$strip>>>;
|
|
81
|
+
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
82
|
+
}, zod.core.$strip>;
|