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 _0xaa3d=['removeListener','length','voiceQueueReport:','./voiceQueueReport.events','remove','update','emit'];(function(_0x188b3a,_0x4d2348){var _0x37bce4=function(_0x109ec3){while(--_0x109ec3){_0x188b3a['push'](_0x188b3a['shift']());}};_0x37bce4(++_0x4d2348);}(_0xaa3d,0x1c3));var _0xdaa3=function(_0xed0aa,_0x2de297){_0xed0aa=_0xed0aa-0x0;var _0x16d7da=_0xaa3d[_0xed0aa];return _0x16d7da;};'use strict';var VoiceQueueReportEvents=require(_0xdaa3('0x0'));var events=['save',_0xdaa3('0x1'),_0xdaa3('0x2')];function createListener(_0x3c4628,_0x39e9c9){return function(_0x400d94){_0x39e9c9[_0xdaa3('0x3')](_0x3c4628,_0x400d94);};}function removeListener(_0x3de239,_0x6f140c){return function(){VoiceQueueReportEvents[_0xdaa3('0x4')](_0x3de239,_0x6f140c);};}exports['register']=function(_0x596efd){for(var _0x5d8572=0x0,_0x30f622=events[_0xdaa3('0x5')];_0x5d8572<_0x30f622;_0x5d8572++){var _0x5169e3=events[_0x5d8572];var _0x17f1b2=createListener(_0xdaa3('0x6')+_0x5169e3,_0x596efd);VoiceQueueReportEvents['on'](_0x5169e3,_0x17f1b2);}};