NTP-19782 | call state type fix
This commit is contained in:
@@ -45,7 +45,7 @@ class AmeyoAdapter implements IAdapter {
|
||||
onAgentsForCallTransfer: (data: GenericObject) => void
|
||||
onCallTransferStatus: (data: GenericObject) => void;
|
||||
};
|
||||
private currentCallState: string;
|
||||
private currentCallState: CALL_STATES;
|
||||
private eventListenerUrl: string;
|
||||
private baseUrl: string;
|
||||
private sessionId: string;
|
||||
|
||||
@@ -28,7 +28,7 @@ class IAdapter {
|
||||
|
||||
getAgentAvailability(): boolean {return false}
|
||||
|
||||
getLatestCallState() {return CALL_STATES.IDLE}
|
||||
getLatestCallState(): CALL_STATES {return CALL_STATES.IDLE}
|
||||
getAvailableAgentsForCallTransfer() {}
|
||||
transferCallToAgent(data: GenericObject) {console.log("transfer call", data)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user