Built motion from commit (unavailable).|2.5.15
[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 _0x34c2=['register','voiceQueueReport:','./voiceQueueReport.events','save','remove','emit','removeListener'];(function(_0x409ba2,_0x479e82){var _0x445a93=function(_0x1cc7e1){while(--_0x1cc7e1){_0x409ba2['push'](_0x409ba2['shift']());}};_0x445a93(++_0x479e82);}(_0x34c2,0x95));var _0x234c=function(_0xb154af,_0x25de47){_0xb154af=_0xb154af-0x0;var _0x139787=_0x34c2[_0xb154af];return _0x139787;};'use strict';var VoiceQueueReportEvents=require(_0x234c('0x0'));var events=[_0x234c('0x1'),_0x234c('0x2'),'update'];function createListener(_0x4252f0,_0x4ed361){return function(_0x2cad55){_0x4ed361[_0x234c('0x3')](_0x4252f0,_0x2cad55);};}function removeListener(_0x52459e,_0x2049d4){return function(){VoiceQueueReportEvents[_0x234c('0x4')](_0x52459e,_0x2049d4);};}exports[_0x234c('0x5')]=function(_0x5dd23b){for(var _0xa84825=0x0,_0x1e9dd0=events['length'];_0xa84825<_0x1e9dd0;_0xa84825++){var _0x13a10f=events[_0xa84825];var _0x255a8f=createListener(_0x234c('0x6')+_0x13a10f,_0x5dd23b);VoiceQueueReportEvents['on'](_0x13a10f,_0x255a8f);}};