Built motion from commit (unavailable).|2.4.14
[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 _0x3454=['./voiceQueueReport.events','save','remove','update','emit','removeListener','length'];(function(_0x2947e5,_0x107632){var _0x14b411=function(_0x3ba049){while(--_0x3ba049){_0x2947e5['push'](_0x2947e5['shift']());}};_0x14b411(++_0x107632);}(_0x3454,0x103));var _0x4345=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x3454[_0x14add3];return _0x4a174f;};'use strict';var VoiceQueueReportEvents=require(_0x4345('0x0'));var events=[_0x4345('0x1'),_0x4345('0x2'),_0x4345('0x3')];function createListener(_0x5f5c7d,_0x4eb626){return function(_0x386777){_0x4eb626[_0x4345('0x4')](_0x5f5c7d,_0x386777);};}function removeListener(_0xbad46a,_0x4a6d16){return function(){VoiceQueueReportEvents[_0x4345('0x5')](_0xbad46a,_0x4a6d16);};}exports['register']=function(_0x3e8233){for(var _0x1ccfe4=0x0,_0x4dcafe=events[_0x4345('0x6')];_0x1ccfe4<_0x4dcafe;_0x1ccfe4++){var _0x32ba98=events[_0x1ccfe4];var _0x4a3007=createListener('voiceQueueReport:'+_0x32ba98,_0x3e8233);VoiceQueueReportEvents['on'](_0x32ba98,_0x4a3007);}};