1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xec39=['length','voiceQueueReport:','./voiceQueueReport.events','save','remove','update','removeListener'];(function(_0x38d825,_0x357fd6){var _0xc39a03=function(_0x10e2de){while(--_0x10e2de){_0x38d825['push'](_0x38d825['shift']());}};_0xc39a03(++_0x357fd6);}(_0xec39,0x19f));var _0x9ec3=function(_0x55adfb,_0x21e12d){_0x55adfb=_0x55adfb-0x0;var _0x30e19b=_0xec39[_0x55adfb];return _0x30e19b;};'use strict';var VoiceQueueReportEvents=require(_0x9ec3('0x0'));var events=[_0x9ec3('0x1'),_0x9ec3('0x2'),_0x9ec3('0x3')];function createListener(_0x1fc7a7,_0xb3d117){return function(_0x3d481c){_0xb3d117['emit'](_0x1fc7a7,_0x3d481c);};}function removeListener(_0x1f43fb,_0x1c944d){return function(){VoiceQueueReportEvents[_0x9ec3('0x4')](_0x1f43fb,_0x1c944d);};}exports['register']=function(_0x49ddff){for(var _0x55adba=0x0,_0x3742c5=events[_0x9ec3('0x5')];_0x55adba<_0x3742c5;_0x55adba++){var _0x29a6a2=events[_0x55adba];var _0x595e3a=createListener(_0x9ec3('0x6')+_0x29a6a2,_0x49ddff);VoiceQueueReportEvents['on'](_0x29a6a2,_0x595e3a);}};