@webex/cc-task 1.28.0-ccwidgets.123 → 1.28.0-ccwidgets.124
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,4 +2,3 @@ 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 const MAX_PARTICIPANTS_IN_THREE_PARTY_CONFERENCE = 2;
|
|
@@ -37,19 +37,15 @@ export declare function getTransferButtonVisibility(isTransferVisibility: boolea
|
|
|
37
37
|
/**
|
|
38
38
|
* Get visibility for Conference button
|
|
39
39
|
*/
|
|
40
|
-
export declare function getConferenceButtonVisibility(isBrowser: boolean, webRtcEnabled: boolean, isCall: boolean, isChat: boolean, isBeingConsulted: boolean): Visibility;
|
|
41
|
-
/**
|
|
42
|
-
* Get visibility for Conference In Progress indicator
|
|
43
|
-
*/
|
|
44
|
-
export declare function getConferenceInProgressVisibility(task: ITask): boolean;
|
|
40
|
+
export declare function getConferenceButtonVisibility(isBrowser: boolean, webRtcEnabled: boolean, isCall: boolean, isChat: boolean, isBeingConsulted: boolean, conferenceEnabled: boolean): Visibility;
|
|
45
41
|
/**
|
|
46
42
|
* Get visibility for Exit Conference button
|
|
47
43
|
*/
|
|
48
|
-
export declare function getExitConferenceButtonVisibility(isConferenceInProgress: boolean, isConsultInitiatedOrAccepted: boolean, consultCallHeld: boolean, isHeld: boolean, isConsultCompleted: boolean): Visibility;
|
|
44
|
+
export declare function getExitConferenceButtonVisibility(isConferenceInProgress: boolean, isConsultInitiatedOrAccepted: boolean, consultCallHeld: boolean, isHeld: boolean, isConsultCompleted: boolean, conferenceEnabled: boolean): Visibility;
|
|
49
45
|
/**
|
|
50
46
|
* Get visibility for Merge Conference button
|
|
51
47
|
*/
|
|
52
|
-
export declare function getMergeConferenceButtonVisibility(isConsultInitiatedOrAccepted: boolean, isConsultAccepted: boolean, consultCallHeld: boolean, isConferenceInProgress: boolean, isCustomerInCall: boolean): Visibility;
|
|
48
|
+
export declare function getMergeConferenceButtonVisibility(isConsultInitiatedOrAccepted: boolean, isConsultAccepted: boolean, consultCallHeld: boolean, isConferenceInProgress: boolean, isCustomerInCall: boolean, conferenceEnabled: boolean): Visibility;
|
|
53
49
|
/**
|
|
54
50
|
* Get visibility for Consult button
|
|
55
51
|
*/
|
|
@@ -65,7 +61,7 @@ export declare function getConsultTransferButtonVisibility(isConsultInitiatedOrA
|
|
|
65
61
|
/**
|
|
66
62
|
* Get visibility for Merge Conference Consult button
|
|
67
63
|
*/
|
|
68
|
-
export declare function getMergeConferenceConsultButtonVisibility(isConsultAccepted: boolean, isConsultInitiated: boolean, consultCallHeld: boolean, isCustomerInCall: boolean): Visibility;
|
|
64
|
+
export declare function getMergeConferenceConsultButtonVisibility(isConsultAccepted: boolean, isConsultInitiated: boolean, consultCallHeld: boolean, isCustomerInCall: boolean, conferenceEnabled: boolean): Visibility;
|
|
69
65
|
/**
|
|
70
66
|
* Get visibility for Consult Transfer Consult button
|
|
71
67
|
*/
|
|
@@ -92,13 +88,13 @@ export declare function getWrapupButtonVisibility(task: ITask): Visibility;
|
|
|
92
88
|
* @param featureFlags Feature flags configuration object
|
|
93
89
|
* @param task The task object
|
|
94
90
|
* @param agentId The agent ID
|
|
95
|
-
* @param
|
|
91
|
+
* @param conferenceEnabled Whether conference is enabled
|
|
96
92
|
* @param logger Optional logger instance
|
|
97
93
|
* @returns An object containing the visibility and state of various controls
|
|
98
94
|
*/
|
|
99
95
|
export declare function getControlsVisibility(deviceType: string, featureFlags: {
|
|
100
96
|
[key: string]: boolean;
|
|
101
|
-
}, task: ITask, agentId: string,
|
|
97
|
+
}, task: ITask, agentId: string, conferenceEnabled: boolean, logger?: ILogger): {
|
|
102
98
|
accept: Visibility;
|
|
103
99
|
decline: Visibility;
|
|
104
100
|
end: Visibility;
|
|
@@ -3,8 +3,8 @@ export type UseTaskProps = Pick<TaskProps, 'incomingTask' | 'deviceType' | 'logg
|
|
|
3
3
|
export type UseTaskListProps = Pick<TaskProps, 'cc' | 'taskList' | 'deviceType' | 'logger'> & Partial<Pick<TaskProps, 'onTaskAccepted' | 'onTaskDeclined' | 'onTaskSelected'>>;
|
|
4
4
|
export type IncomingTaskProps = Pick<TaskProps, 'incomingTask'> & Partial<Pick<TaskProps, 'onAccepted' | 'onRejected'>>;
|
|
5
5
|
export type TaskListProps = Partial<Pick<TaskProps, 'onTaskAccepted' | 'onTaskDeclined' | 'onTaskSelected'>>;
|
|
6
|
-
export type CallControlProps = Partial<Pick<ControlProps, 'onHoldResume' | 'onEnd' | 'onWrapUp' | 'onRecordingToggle' | 'callControlClassName' | 'callControlConsultClassName' | 'onToggleMute' | '
|
|
7
|
-
export type useCallControlProps = Pick<ControlProps, 'currentTask' | 'logger' | 'deviceType' | 'featureFlags' | 'isMuted' | '
|
|
6
|
+
export type CallControlProps = Partial<Pick<ControlProps, 'onHoldResume' | 'onEnd' | 'onWrapUp' | 'onRecordingToggle' | 'callControlClassName' | 'callControlConsultClassName' | 'onToggleMute' | 'conferenceEnabled' | 'consultTransferOptions'>>;
|
|
7
|
+
export type useCallControlProps = Pick<ControlProps, 'currentTask' | 'logger' | 'deviceType' | 'featureFlags' | 'isMuted' | 'conferenceEnabled' | 'agentId'> & Partial<Pick<ControlProps, 'onHoldResume' | 'onEnd' | 'onWrapUp' | 'onRecordingToggle' | 'onToggleMute'>>;
|
|
8
8
|
export type useOutdialCallProps = Pick<OutdialCallProps, 'cc' | 'logger'>;
|
|
9
9
|
/**
|
|
10
10
|
* Helper interface for device type checks
|
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-ccwidgets.
|
|
5
|
+
"version": "1.28.0-ccwidgets.124",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"test:styles": "eslint"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@webex/cc-components": "1.28.0-ccwidgets.
|
|
26
|
-
"@webex/cc-store": "1.28.0-ccwidgets.
|
|
25
|
+
"@webex/cc-components": "1.28.0-ccwidgets.124",
|
|
26
|
+
"@webex/cc-store": "1.28.0-ccwidgets.124",
|
|
27
27
|
"mobx-react-lite": "^4.1.0",
|
|
28
28
|
"react-error-boundary": "^6.0.0"
|
|
29
29
|
},
|