@webex/cc-task 1.28.0-ccwidgets.29 → 1.28.0-ccwidgets.31
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 +43 -43
- package/dist/types/TaskList/index.d.ts +2 -1
- package/dist/types/helper.d.ts +2 -0
- package/dist/types/task.types.d.ts +10 -1
- package/package.json +2 -2
package/dist/types/helper.d.ts
CHANGED
|
@@ -19,4 +19,6 @@ export declare const useCallControl: (props: useCallControlProps) => {
|
|
|
19
19
|
toggleHold: (hold: boolean) => void;
|
|
20
20
|
toggleRecording: (pause: boolean) => void;
|
|
21
21
|
wrapupCall: (wrapUpReason: string, auxCodeId: string) => void;
|
|
22
|
+
isHeld: boolean;
|
|
23
|
+
setIsHeld: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
22
24
|
};
|
|
@@ -139,7 +139,16 @@ export interface ControlProps {
|
|
|
139
139
|
* Selected login option
|
|
140
140
|
*/
|
|
141
141
|
deviceType: string;
|
|
142
|
+
/**
|
|
143
|
+
* Flag to determine if the task is held
|
|
144
|
+
*/
|
|
145
|
+
isHeld: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Function to set the held status of the task.
|
|
148
|
+
* @param isHeld - Boolean indicating whether the task is held.
|
|
149
|
+
*/
|
|
150
|
+
setIsHeld: (isHeld: boolean) => void;
|
|
142
151
|
}
|
|
143
152
|
export type CallControlProps = Pick<ControlProps, 'onHoldResume' | 'onEnd' | 'onWrapUp'>;
|
|
144
|
-
export type CallControlPresentationalProps = Pick<ControlProps, 'currentTask' | 'audioRef' | 'wrapupCodes' | 'wrapupRequired' | 'toggleHold' | 'toggleRecording' | 'endCall' | 'wrapupCall'>;
|
|
153
|
+
export type CallControlPresentationalProps = Pick<ControlProps, 'currentTask' | 'audioRef' | 'wrapupCodes' | 'wrapupRequired' | 'toggleHold' | 'toggleRecording' | 'endCall' | 'wrapupCall' | 'isHeld' | 'setIsHeld'>;
|
|
145
154
|
export type useCallControlProps = Pick<ControlProps, 'currentTask' | 'onHoldResume' | 'onEnd' | 'onWrapUp' | 'logger' | 'deviceType'>;
|
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.31",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"test:styles": "eslint"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@webex/cc-store": "1.28.0-ccwidgets.
|
|
23
|
+
"@webex/cc-store": "1.28.0-ccwidgets.31",
|
|
24
24
|
"mobx-react-lite": "^4.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|