@webex/cc-components 1.28.0-ccwidgets.90 → 1.28.0-ccwidgets.92
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.
|
@@ -12,6 +12,8 @@ export declare const WRAP_UP_INTERACTION = "Wrap up interaction";
|
|
|
12
12
|
export declare const WRAP_UP_REASON = "Wrap-up reason";
|
|
13
13
|
export declare const SELECT = "Select";
|
|
14
14
|
export declare const SUBMIT_WRAP_UP = "Submit & Wrap up";
|
|
15
|
+
export declare const MUTE_CALL = "Mute";
|
|
16
|
+
export declare const UNMUTE_CALL = "Unmute";
|
|
15
17
|
export declare const NO_CUSTOMER_NAME = "No Customer Name";
|
|
16
18
|
export declare const NO_CALLER_ID = "No Caller ID";
|
|
17
19
|
export declare const NO_PHONE_NUMBER = "No Phone Number";
|
|
@@ -126,6 +126,16 @@ export interface ControlProps {
|
|
|
126
126
|
isRecording: boolean;
|
|
127
127
|
task: ITask;
|
|
128
128
|
}) => void;
|
|
129
|
+
/**
|
|
130
|
+
* Function to handle mute/unmute toggle actions.
|
|
131
|
+
* @param isMuted - Boolean indicating whether the task is muted.
|
|
132
|
+
* @param task - The current task being handled.
|
|
133
|
+
* @returns void
|
|
134
|
+
*/
|
|
135
|
+
onToggleMute?: ({ isMuted, task }: {
|
|
136
|
+
isMuted: boolean;
|
|
137
|
+
task: ITask;
|
|
138
|
+
}) => void;
|
|
129
139
|
/**
|
|
130
140
|
* Function to handle ending the task.
|
|
131
141
|
* @param task - The current task being handled.
|
|
@@ -166,6 +176,10 @@ export interface ControlProps {
|
|
|
166
176
|
* Function to handle pause/resume recording actions.
|
|
167
177
|
*/
|
|
168
178
|
toggleRecording: () => void;
|
|
179
|
+
/**
|
|
180
|
+
* Function to handle mute/unmute actions.
|
|
181
|
+
*/
|
|
182
|
+
toggleMute: () => void;
|
|
169
183
|
/**
|
|
170
184
|
* Function to handle ending the call.
|
|
171
185
|
*/
|
|
@@ -198,6 +212,10 @@ export interface ControlProps {
|
|
|
198
212
|
* @param isRecording - Boolean indicating whether the task is being recorded.
|
|
199
213
|
*/
|
|
200
214
|
setIsRecording: (isRecording: boolean) => void;
|
|
215
|
+
/**
|
|
216
|
+
* Flag to determine if the task is muted.
|
|
217
|
+
*/
|
|
218
|
+
isMuted: boolean;
|
|
201
219
|
/**
|
|
202
220
|
* List of buddy agents available for consult
|
|
203
221
|
*/
|
|
@@ -334,7 +352,7 @@ export interface ControlProps {
|
|
|
334
352
|
*/
|
|
335
353
|
cancelAutoWrapup: () => void;
|
|
336
354
|
}
|
|
337
|
-
export type CallControlComponentProps = Pick<ControlProps, 'currentTask' | 'wrapupCodes' | 'toggleHold' | 'toggleRecording' | 'endCall' | 'wrapupCall' | 'isHeld' | 'setIsHeld' | 'isRecording' | 'setIsRecording' | 'buddyAgents' | 'loadBuddyAgents' | 'transferCall' | 'consultCall' | 'endConsultCall' | 'consultInitiated' | 'consultTransfer' | 'consultCompleted' | 'consultAccepted' | 'consultStartTimeStamp' | 'callControlAudio' | 'consultAgentName' | 'setConsultAgentName' | 'consultAgentId' | 'setConsultAgentId' | 'holdTime' | 'callControlClassName' | 'callControlConsultClassName' | 'startTimestamp' | 'queues' | 'loadQueues' | 'isEndConsultEnabled' | 'allowConsultToQueue' | 'lastTargetType' | 'setLastTargetType' | 'controlVisibility' | 'logger' | 'secondsUntilAutoWrapup' | 'cancelAutoWrapup'>;
|
|
355
|
+
export type CallControlComponentProps = Pick<ControlProps, 'currentTask' | 'wrapupCodes' | 'toggleHold' | 'toggleRecording' | 'toggleMute' | 'isMuted' | 'endCall' | 'wrapupCall' | 'isHeld' | 'setIsHeld' | 'isRecording' | 'setIsRecording' | 'buddyAgents' | 'loadBuddyAgents' | 'transferCall' | 'consultCall' | 'endConsultCall' | 'consultInitiated' | 'consultTransfer' | 'consultCompleted' | 'consultAccepted' | 'consultStartTimeStamp' | 'callControlAudio' | 'consultAgentName' | 'setConsultAgentName' | 'consultAgentId' | 'setConsultAgentId' | 'holdTime' | 'callControlClassName' | 'callControlConsultClassName' | 'startTimestamp' | 'queues' | 'loadQueues' | 'isEndConsultEnabled' | 'allowConsultToQueue' | 'lastTargetType' | 'setLastTargetType' | 'controlVisibility' | 'logger' | 'secondsUntilAutoWrapup' | 'cancelAutoWrapup'>;
|
|
338
356
|
/**
|
|
339
357
|
* Interface representing the properties for OutdialCall component.
|
|
340
358
|
*/
|
|
@@ -389,6 +407,9 @@ export interface CallControlConsultComponentsProps {
|
|
|
389
407
|
isAgentBeingConsulted: boolean;
|
|
390
408
|
isEndConsultEnabled: boolean;
|
|
391
409
|
logger: ILogger;
|
|
410
|
+
muteUnmute: boolean;
|
|
411
|
+
isMuted: boolean;
|
|
412
|
+
onToggleConsultMute: () => void;
|
|
392
413
|
}
|
|
393
414
|
/**
|
|
394
415
|
* Type representing the possible menu types in call control.
|