NTP-19782 | call state type fix

This commit is contained in:
varnit goyal
2024-12-23 11:37:12 +05:30
parent 34647d573a
commit 9081a02472
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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)}
}