@webex/cc-task 1.28.0-next.7 → 1.28.0-next.8
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.
|
@@ -2,6 +2,12 @@ export declare const MEDIA_TYPE_TELEPHONY = "telephony";
|
|
|
2
2
|
export declare const MEDIA_TYPE_CHAT = "chat";
|
|
3
3
|
export declare const MEDIA_TYPE_EMAIL = "email";
|
|
4
4
|
export declare const MAX_PARTICIPANTS_IN_MULTIPARTY_CONFERENCE = 7;
|
|
5
|
+
export declare enum DestinationAgentType {
|
|
6
|
+
EP_DN = "EpDn",
|
|
7
|
+
EPDN = "EPDN",
|
|
8
|
+
ENTRY_POINT = "EntryPoint",
|
|
9
|
+
EP = "EP"
|
|
10
|
+
}
|
|
5
11
|
export declare const TIMER_LABEL_WRAP_UP = "Wrap Up";
|
|
6
12
|
export declare const TIMER_LABEL_POST_CALL = "Post Call";
|
|
7
13
|
export declare const TIMER_LABEL_CONSULT_ON_HOLD = "Consult on Hold";
|
|
@@ -11,9 +11,9 @@ export declare function getAcceptButtonVisibility(isBrowser: boolean, isPhoneDev
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function getDeclineButtonVisibility(isBrowser: boolean, webRtcEnabled: boolean, isCall: boolean): Visibility;
|
|
13
13
|
/**
|
|
14
|
-
* Get visibility for End button
|
|
14
|
+
* Get visibility for End button (matches Agent Desktop behavior)
|
|
15
15
|
*/
|
|
16
|
-
export declare function getEndButtonVisibility(isBrowser: boolean, isEndCallEnabled: boolean, isCall: boolean, isConsultInitiatedOrAcceptedOrBeingConsulted: boolean, isConferenceInProgress: boolean, isConsultCompleted: boolean, isHeld: boolean, consultCallHeld: boolean): Visibility;
|
|
16
|
+
export declare function getEndButtonVisibility(isBrowser: boolean, isEndCallEnabled: boolean, isCall: boolean, isConsultInitiatedOrAcceptedOrBeingConsulted: boolean, isConferenceInProgress: boolean, isConsultCompleted: boolean, isHeld: boolean, consultCallHeld: boolean, task?: ITask, agentId?: string): Visibility;
|
|
17
17
|
/**
|
|
18
18
|
* Get visibility for Mute/Unmute button
|
|
19
19
|
*/
|
package/dist/types/helper.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const useCallControl: (props: useCallControlProps) => {
|
|
|
27
27
|
isRecording: boolean;
|
|
28
28
|
setIsRecording: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
29
29
|
buddyAgents: BuddyDetails[];
|
|
30
|
+
loadingBuddyAgents: boolean;
|
|
30
31
|
loadBuddyAgents: () => Promise<void>;
|
|
31
32
|
transferCall: (to: string, type: DestinationType) => Promise<void>;
|
|
32
33
|
consultCall: (consultDestination: string, destinationType: DestinationType, allowParticipantsToInteract: boolean) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@webex/cc-task",
|
|
3
3
|
"description": "Webex Contact Center Widgets: Task",
|
|
4
4
|
"license": "Cisco's General Terms (https://www.cisco.com/site/us/en/about/legal/contract-experience/index.html)",
|
|
5
|
-
"version": "1.28.0-next.
|
|
5
|
+
"version": "1.28.0-next.8",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"deploy:npm": "yarn npm publish"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@webex/cc-components": "1.28.0-next.
|
|
26
|
+
"@webex/cc-components": "1.28.0-next.8",
|
|
27
27
|
"@webex/cc-store": "1.28.0-next.3",
|
|
28
28
|
"mobx-react-lite": "^4.1.0",
|
|
29
29
|
"react-error-boundary": "^6.0.0"
|