Built motion from commit (unavailable).|2.4.18
[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 _0x6a31=['register','length','voiceQueueReport:','./voiceQueueReport.events','save','update','emit','removeListener'];(function(_0x26de40,_0x5bd0ae){var _0x4bc6d8=function(_0x22aca1){while(--_0x22aca1){_0x26de40['push'](_0x26de40['shift']());}};_0x4bc6d8(++_0x5bd0ae);}(_0x6a31,0x19b));var _0x16a3=function(_0x56740a,_0x568894){_0x56740a=_0x56740a-0x0;var _0x257144=_0x6a31[_0x56740a];return _0x257144;};'use strict';var VoiceQueueReportEvents=require(_0x16a3('0x0'));var events=[_0x16a3('0x1'),'remove',_0x16a3('0x2')];function createListener(_0x82ccc1,_0x5332fb){return function(_0x1675b4){_0x5332fb[_0x16a3('0x3')](_0x82ccc1,_0x1675b4);};}function removeListener(_0x282391,_0x3272ce){return function(){VoiceQueueReportEvents[_0x16a3('0x4')](_0x282391,_0x3272ce);};}exports[_0x16a3('0x5')]=function(_0x49af03){for(var _0x3e8c83=0x0,_0x1dba59=events[_0x16a3('0x6')];_0x3e8c83<_0x1dba59;_0x3e8c83++){var _0x13994e=events[_0x3e8c83];var _0x222e1c=createListener(_0x16a3('0x7')+_0x13994e,_0x49af03);VoiceQueueReportEvents['on'](_0x13994e,_0x222e1c);}};