@webex/cc-components 1.28.0-next.24 → 1.28.0-next.26

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.
@@ -0,0 +1,3 @@
1
+ import './campaign-error-dialog.style.scss';
2
+ declare const CampaignErrorDialogWithMetrics: any;
3
+ export default CampaignErrorDialogWithMetrics;
@@ -0,0 +1,8 @@
1
+ export type CampaignErrorType = 'ACCEPT_FAILED' | 'SKIP_FAILED' | 'REMOVE_FAILED';
2
+ export interface CampaignErrorDialogProps {
3
+ errorType: CampaignErrorType;
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ }
7
+ export declare const ERROR_TITLES: Record<CampaignErrorType, string>;
8
+ export declare const ERROR_MESSAGE = "We ran into an issue connecting you with this contact. Check your network connection and try again.";
@@ -0,0 +1,3 @@
1
+ import './real-time-transcript.style.scss';
2
+ declare const RealTimeTranscriptComponentWithMetrics: any;
3
+ export default RealTimeTranscriptComponentWithMetrics;
@@ -116,6 +116,21 @@ export interface TaskProps {
116
116
  }
117
117
  export type IncomingTaskComponentProps = Pick<TaskProps, 'isBrowser' | 'accept' | 'reject' | 'logger'> & Partial<Pick<TaskProps, 'incomingTask' | 'isDeclineButtonEnabled'>>;
118
118
  export type TaskListComponentProps = Pick<TaskProps, 'isBrowser' | 'acceptTask' | 'declineTask' | 'onTaskSelect' | 'logger' | 'agentId'> & Partial<Pick<TaskProps, 'currentTask' | 'taskList'>>;
119
+ export interface RealTimeTranscriptEntry {
120
+ id: string;
121
+ speaker: string;
122
+ message: string;
123
+ timestamp: number;
124
+ displayTime?: string;
125
+ event?: string;
126
+ isCustomer?: boolean;
127
+ avatarUrl?: string;
128
+ initials?: string;
129
+ }
130
+ export interface RealTimeTranscriptComponentProps {
131
+ liveTranscriptEntries?: RealTimeTranscriptEntry[];
132
+ className?: string;
133
+ }
119
134
  /**
120
135
  * Interface representing the properties for control actions on a task.
121
136
  */
@@ -5,8 +5,11 @@ import CallControlCADComponent from './components/task/CallControlCAD/call-contr
5
5
  import IncomingTaskComponent from './components/task/IncomingTask/incoming-task';
6
6
  import TaskListComponent from './components/task/TaskList/task-list';
7
7
  import OutdialCallComponent from './components/task/OutdialCall/outdial-call';
8
- export { UserStateComponent, StationLoginComponent, CallControlComponent, CallControlCADComponent, IncomingTaskComponent, TaskListComponent, OutdialCallComponent, };
8
+ import CampaignErrorDialogComponent from './components/task/CampaignErrorDialog/campaign-error-dialog';
9
+ import RealTimeTranscriptComponent from './components/task/RealTimeTranscript/real-time-transcript';
10
+ export { UserStateComponent, StationLoginComponent, CallControlComponent, CallControlCADComponent, IncomingTaskComponent, TaskListComponent, OutdialCallComponent, CampaignErrorDialogComponent, RealTimeTranscriptComponent, };
9
11
  export * from './components/StationLogin/constants';
10
12
  export * from './components/StationLogin/station-login.types';
11
13
  export * from './components/UserState/user-state.types';
12
14
  export * from './components/task/task.types';
15
+ export * from './components/task/CampaignErrorDialog/campaign-error-dialog.types';