Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.socket.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xd00b=['length','voiceQueueReport:','./voiceQueueReport.events','save','remove','update','emit','removeListener','register'];(function(_0x5a93e1,_0x353625){var _0x524249=function(_0x3e2f07){while(--_0x3e2f07){_0x5a93e1['push'](_0x5a93e1['shift']());}};_0x524249(++_0x353625);}(_0xd00b,0x107));var _0xbd00=function(_0x3f7e59,_0x1c6293){_0x3f7e59=_0x3f7e59-0x0;var _0x52ff9d=_0xd00b[_0x3f7e59];return _0x52ff9d;};'use strict';var VoiceQueueReportEvents=require(_0xbd00('0x0'));var events=[_0xbd00('0x1'),_0xbd00('0x2'),_0xbd00('0x3')];function createListener(_0x3db048,_0x263637){return function(_0x1eff2f){_0x263637[_0xbd00('0x4')](_0x3db048,_0x1eff2f);};}function removeListener(_0x42aee3,_0x10cef3){return function(){VoiceQueueReportEvents[_0xbd00('0x5')](_0x42aee3,_0x10cef3);};}exports[_0xbd00('0x6')]=function(_0x4ac3da){for(var _0x332ab8=0x0,_0x23d5ff=events[_0xbd00('0x7')];_0x332ab8<_0x23d5ff;_0x332ab8++){var _0x1c3306=events[_0x332ab8];var _0x467300=createListener(_0xbd00('0x8')+_0x1c3306,_0x4ac3da);VoiceQueueReportEvents['on'](_0x1c3306,_0x467300);}};