@webex/cc-components 1.28.0-ccwidgets.67 → 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.
@@ -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;
@@ -85,8 +85,8 @@ export interface TaskProps {
85
85
  */
86
86
  logger: ILogger;
87
87
  }
88
- export type IncomingTaskComponentProps = Pick<TaskProps, 'incomingTask' | 'isBrowser' | 'accept' | 'reject'>;
89
- 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'>;
90
90
  /**
91
91
  * Interface representing the properties for control actions on a task.
92
92
  */
@@ -295,7 +295,7 @@ export interface ControlProps {
295
295
  recordingIndicator: boolean;
296
296
  };
297
297
  }
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'>;
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'>;
299
299
  /**
300
300
  * Interface representing the properties for OutdialCall component.
301
301
  */
@@ -323,6 +323,7 @@ export interface ConsultTransferListComponentProps {
323
323
  buttonIcon: string;
324
324
  onButtonPress: () => void;
325
325
  className?: string;
326
+ logger: ILogger;
326
327
  }
327
328
  /**
328
329
  * Interface representing the properties for ConsultTransferPopover component.
@@ -335,6 +336,7 @@ export interface ConsultTransferPopoverComponentProps {
335
336
  onAgentSelect: (agentId: string, agentName: string) => void;
336
337
  onQueueSelect: (queueId: string, queueName: string) => void;
337
338
  allowConsultToQueue: boolean;
339
+ logger: ILogger;
338
340
  }
339
341
  /**
340
342
  * Interface representing the properties for CallControlConsultComponents component.
@@ -347,6 +349,7 @@ export interface CallControlConsultComponentsProps {
347
349
  consultCompleted: boolean;
348
350
  isAgentBeingConsulted: boolean;
349
351
  isEndConsultEnabled: boolean;
352
+ logger: ILogger;
350
353
  }
351
354
  /**
352
355
  * Type representing the possible menu types in call control.