@webex/cc-components 1.28.0-ccwidgets.66 → 1.28.0-ccwidgets.68
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 +67 -67
- package/dist/types/components/StationLogin/station-login.types.d.ts +1 -1
- package/dist/types/components/UserState/user-state.types.d.ts +5 -1
- package/dist/types/components/task/CallControlCAD/call-control-cad.d.ts +1 -1
- package/dist/types/components/task/task.types.d.ts +10 -3
- package/dist/wc.js +63 -63
- package/package.json +2 -2
|
@@ -99,4 +99,4 @@ export interface IStationLoginProps {
|
|
|
99
99
|
*/
|
|
100
100
|
setTeamId: (teamId: string) => void;
|
|
101
101
|
}
|
|
102
|
-
export type StationLoginComponentProps = Pick<IStationLoginProps, 'teams' | 'loginOptions' | 'login' | 'logout' | 'loginSuccess' | 'loginFailure' | 'logoutSuccess' | 'setDeviceType' | 'setDialNumber' | 'setTeam' | 'isAgentLoggedIn' | 'handleContinue' | 'deviceType' | 'dialNumber' | 'dialNumberRegex' | 'showMultipleLoginAlert' | 'onCCSignOut' | 'teamId' | 'setTeamId'>;
|
|
102
|
+
export type StationLoginComponentProps = Pick<IStationLoginProps, 'teams' | 'loginOptions' | 'login' | 'logout' | 'loginSuccess' | 'loginFailure' | 'logoutSuccess' | 'setDeviceType' | 'setDialNumber' | 'setTeam' | 'isAgentLoggedIn' | 'handleContinue' | 'deviceType' | 'dialNumber' | 'dialNumberRegex' | 'showMultipleLoginAlert' | 'onCCSignOut' | 'teamId' | 'setTeamId' | 'logger'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IdleCode, ICustomState } from '@webex/cc-store';
|
|
1
|
+
import { IdleCode, ICustomState, ILogger } from '@webex/cc-store';
|
|
2
2
|
/**
|
|
3
3
|
* Interface representing the state of a user.
|
|
4
4
|
*/
|
|
@@ -50,6 +50,10 @@ export interface IUserState {
|
|
|
50
50
|
* @returns void
|
|
51
51
|
*/
|
|
52
52
|
onStateChange: (state: string) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Logger instance
|
|
55
|
+
*/
|
|
56
|
+
logger: ILogger;
|
|
53
57
|
}
|
|
54
58
|
export declare enum AgentUserState {
|
|
55
59
|
Available = "Available",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CallControlComponentProps } from '../task.types';
|
|
3
2
|
import './call-control-cad.styles.scss';
|
|
3
|
+
import type { CallControlComponentProps } from '../task.types';
|
|
4
4
|
declare const CallControlCADComponent: React.FC<CallControlComponentProps>;
|
|
5
5
|
export default CallControlCADComponent;
|
|
@@ -36,6 +36,10 @@ export interface TaskProps {
|
|
|
36
36
|
* Handler for task declined in TaskList
|
|
37
37
|
*/
|
|
38
38
|
onTaskDeclined?: (task: ITask) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Handler for task selected in TaskList
|
|
41
|
+
*/
|
|
42
|
+
onTaskSelected?: (task: ITask) => void;
|
|
39
43
|
/**
|
|
40
44
|
* accept incoming task action
|
|
41
45
|
*/
|
|
@@ -81,8 +85,8 @@ export interface TaskProps {
|
|
|
81
85
|
*/
|
|
82
86
|
logger: ILogger;
|
|
83
87
|
}
|
|
84
|
-
export type IncomingTaskComponentProps = Pick<TaskProps, 'incomingTask' | 'isBrowser' | 'accept' | 'reject'>;
|
|
85
|
-
export type TaskListComponentProps = Pick<TaskProps, 'currentTask' | 'taskList' | 'isBrowser' | 'acceptTask' | 'declineTask' | 'onTaskSelect'>;
|
|
88
|
+
export type IncomingTaskComponentProps = Pick<TaskProps, 'incomingTask' | 'isBrowser' | 'accept' | 'reject' | 'logger'>;
|
|
89
|
+
export type TaskListComponentProps = Pick<TaskProps, 'currentTask' | 'taskList' | 'isBrowser' | 'acceptTask' | 'declineTask' | 'onTaskSelect' | 'logger'>;
|
|
86
90
|
/**
|
|
87
91
|
* Interface representing the properties for control actions on a task.
|
|
88
92
|
*/
|
|
@@ -291,7 +295,7 @@ export interface ControlProps {
|
|
|
291
295
|
recordingIndicator: boolean;
|
|
292
296
|
};
|
|
293
297
|
}
|
|
294
|
-
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'>;
|
|
298
|
+
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'>;
|
|
295
299
|
/**
|
|
296
300
|
* Interface representing the properties for OutdialCall component.
|
|
297
301
|
*/
|
|
@@ -319,6 +323,7 @@ export interface ConsultTransferListComponentProps {
|
|
|
319
323
|
buttonIcon: string;
|
|
320
324
|
onButtonPress: () => void;
|
|
321
325
|
className?: string;
|
|
326
|
+
logger: ILogger;
|
|
322
327
|
}
|
|
323
328
|
/**
|
|
324
329
|
* Interface representing the properties for ConsultTransferPopover component.
|
|
@@ -331,6 +336,7 @@ export interface ConsultTransferPopoverComponentProps {
|
|
|
331
336
|
onAgentSelect: (agentId: string, agentName: string) => void;
|
|
332
337
|
onQueueSelect: (queueId: string, queueName: string) => void;
|
|
333
338
|
allowConsultToQueue: boolean;
|
|
339
|
+
logger: ILogger;
|
|
334
340
|
}
|
|
335
341
|
/**
|
|
336
342
|
* Interface representing the properties for CallControlConsultComponents component.
|
|
@@ -343,6 +349,7 @@ export interface CallControlConsultComponentsProps {
|
|
|
343
349
|
consultCompleted: boolean;
|
|
344
350
|
isAgentBeingConsulted: boolean;
|
|
345
351
|
isEndConsultEnabled: boolean;
|
|
352
|
+
logger: ILogger;
|
|
346
353
|
}
|
|
347
354
|
/**
|
|
348
355
|
* Type representing the possible menu types in call control.
|