import { ObjectMap } from '@ringcentral-integration/core/lib/ObjectMap' ; export const tabManagerEvents = ObjectMap . prefixKeys ( [ 'MUTE' , 'MUTE_STATE_CHANGE' , 'NOTIFY_ACTIVE_TAB_CALL_ACTIVE' , 'SET_MIAN_TAB_ID' , 'MAIN_TAB_WILL_UNLOAD' , 'SET_MAIN_TAB_COMPLETE' , 'AGENT_CONFIG_SUCCESS' , 'RESET_WORKING_STATE' , 'UPDATE_SESSION' , 'UPDATE_SESSION_FAIL' , 'UPDATE_SESSION_SUCCESS' , 'UPDATE_SESSION_SUCCESS_ALERT' , 'ASK_AUDIO_PERMISSION' , 'SIP_RECONNECTING_WHEN_CALL_CONNECTED' , 'SIP_CONNECTING' , 'SIP_RINGING' , 'SIP_RINGING_MODAL' , 'SIP_REGISTERED' , 'SIP_UNREGISTERED' , 'SIP_REGISTRATION_FAILED' , 'SIP_CONNECTED' , 'SIP_ENDED' , 'SIP_REGISTRATION_FAILED_RELOAD' , 'CALL_DISPOSITION_SUCCESS' , 'CALL_LOG_CREATE_SUCCESS' , 'CLOSE_WHEN_CALL_CONNECTED' , 'LOGOUT' , 'LOGGED_OUT' , 'OPEN_SOCKET' , 'RELOGIN' , 'CONFIGURE_FAIL' , 'RE_CHOOSE_ACCOUNT' , 'RECORD_PAUSED' , ] , 'tabManager' ) ; export type TabManagerEvents = keyof typeof tabManagerEvents ;