@webex/cc-components 1.28.0-next.23 → 1.28.0-next.25

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 './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
  */
@@ -610,6 +625,15 @@ export interface TaskListItemData {
610
625
  disableDecline: boolean;
611
626
  displayState: string;
612
627
  }
628
+ export declare enum OUTBOUND_TYPE {
629
+ OUTDIAL = "OUTDIAL",
630
+ CALLBACK = "CALLBACK"
631
+ }
632
+ /**
633
+ * Returns the appropriate caller identifier based on outbound type.
634
+ * For outdial calls, the customer's number is in `dn`; for all others it's in `ani`.
635
+ */
636
+ export declare const getCallerIdentifier: (ani: string, dn: string, outboundType?: string) => string;
613
637
  export declare enum TaskState {
614
638
  NEW = "new",
615
639
  ACTIVE = "active",
@@ -5,7 +5,8 @@ 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 RealTimeTranscriptComponent from './components/task/RealTimeTranscript/real-time-transcript';
9
+ export { UserStateComponent, StationLoginComponent, CallControlComponent, CallControlCADComponent, IncomingTaskComponent, TaskListComponent, OutdialCallComponent, RealTimeTranscriptComponent, };
9
10
  export * from './components/StationLogin/constants';
10
11
  export * from './components/StationLogin/station-login.types';
11
12
  export * from './components/UserState/user-state.types';