@webex/cc-task 1.28.0-ccwidgets.40 → 1.28.0-ccwidgets.42
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/dist/index.js +3 -3
- package/dist/types/helper.d.ts +7 -2
- package/dist/types/task.types.d.ts +6 -1
- package/package.json +3 -3
package/dist/types/helper.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export declare const useIncomingTask: (props: UseTaskProps) => {
|
|
|
16
16
|
};
|
|
17
17
|
export declare const useCallControl: (props: useCallControlProps) => {
|
|
18
18
|
currentTask: ControlProps;
|
|
19
|
-
audioRef: import("react").MutableRefObject<HTMLAudioElement>;
|
|
20
19
|
endCall: () => void;
|
|
21
20
|
toggleHold: (hold: boolean) => void;
|
|
22
21
|
toggleRecording: () => void;
|
|
@@ -28,7 +27,13 @@ export declare const useCallControl: (props: useCallControlProps) => {
|
|
|
28
27
|
buddyAgents: BuddyDetails[];
|
|
29
28
|
loadBuddyAgents: () => Promise<void>;
|
|
30
29
|
transferCall: (transferDestination: string, destinationType: DestinationType) => Promise<void>;
|
|
31
|
-
consultCall: () => Promise<void>;
|
|
30
|
+
consultCall: (consultDestination: string, destinationType: DestinationType) => Promise<void>;
|
|
31
|
+
endConsultCall: () => Promise<void>;
|
|
32
|
+
consultTransfer: (transferDestination: string, destinationType: DestinationType) => Promise<void>;
|
|
33
|
+
consultAgentName: string;
|
|
34
|
+
setConsultAgentName: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
35
|
+
consultAgentId: string;
|
|
36
|
+
setConsultAgentId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
32
37
|
};
|
|
33
38
|
export declare const useOutdialCall: (props: useOutdialCallProps) => {
|
|
34
39
|
startOutdial: (destination: string) => void;
|
|
@@ -4,5 +4,10 @@ export type UseTaskListProps = Pick<TaskProps, 'cc' | 'taskList' | 'deviceType'
|
|
|
4
4
|
export type IncomingTaskProps = Pick<TaskProps, 'onAccepted' | 'onDeclined'>;
|
|
5
5
|
export type TaskListProps = Pick<TaskProps, 'onTaskAccepted' | 'onTaskDeclined'>;
|
|
6
6
|
export type CallControlProps = Pick<ControlProps, 'onHoldResume' | 'onEnd' | 'onWrapUp'>;
|
|
7
|
-
export type useCallControlProps = Pick<ControlProps, 'currentTask' | 'onHoldResume' | 'onEnd' | 'onWrapUp' | 'logger' | '
|
|
7
|
+
export type useCallControlProps = Pick<ControlProps, 'currentTask' | 'onHoldResume' | 'onEnd' | 'onWrapUp' | 'logger' | 'consultInitiated'>;
|
|
8
|
+
export type Participant = {
|
|
9
|
+
id: string;
|
|
10
|
+
pType: 'Customer' | 'Agent' | string;
|
|
11
|
+
name?: string;
|
|
12
|
+
};
|
|
8
13
|
export type useOutdialCallProps = Pick<OutdialCallProps, 'cc' | 'logger'>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/cc-task",
|
|
3
3
|
"description": "Webex Contact Center Widgets: Task",
|
|
4
|
-
"version": "1.28.0-ccwidgets.
|
|
4
|
+
"version": "1.28.0-ccwidgets.42",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"test:styles": "eslint"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@webex/cc-components": "1.28.0-ccwidgets.
|
|
24
|
-
"@webex/cc-store": "1.28.0-ccwidgets.
|
|
23
|
+
"@webex/cc-components": "1.28.0-ccwidgets.42",
|
|
24
|
+
"@webex/cc-store": "1.28.0-ccwidgets.42",
|
|
25
25
|
"mobx-react-lite": "^4.1.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|