Built motion from commit (unavailable).|2.5.3
[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 _0xdb7c=['remove','update','emit','removeListener','length','voiceQueueReport:','./voiceQueueReport.events','save'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0xdb7c,0x15e));var _0xcdb7=function(_0x108831,_0x5e4f70){_0x108831=_0x108831-0x0;var _0x4da77a=_0xdb7c[_0x108831];return _0x4da77a;};'use strict';var VoiceQueueReportEvents=require(_0xcdb7('0x0'));var events=[_0xcdb7('0x1'),_0xcdb7('0x2'),_0xcdb7('0x3')];function createListener(_0x3de567,_0x1a86e3){return function(_0x1c96cd){_0x1a86e3[_0xcdb7('0x4')](_0x3de567,_0x1c96cd);};}function removeListener(_0x1c4ff7,_0x1bf9a9){return function(){VoiceQueueReportEvents[_0xcdb7('0x5')](_0x1c4ff7,_0x1bf9a9);};}exports['register']=function(_0x21a9bd){for(var _0x4d26fe=0x0,_0xc9ad3a=events[_0xcdb7('0x6')];_0x4d26fe<_0xc9ad3a;_0x4d26fe++){var _0x5463ca=events[_0x4d26fe];var _0x2bbedd=createListener(_0xcdb7('0x7')+_0x5463ca,_0x21a9bd);VoiceQueueReportEvents['on'](_0x5463ca,_0x2bbedd);}};