Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index ab715d5..925ae38 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x373d=['startOf','day','endOf','YYYY-MM-DD\x20HH:mm:ss','ivr','GetCampaignHopperHistory','../client','createHistory','campaign','queue','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','subtract','minutes','format','Request'];(function(_0x495b11,_0x513156){var _0x59f4ec=function(_0x2be3e9){while(--_0x2be3e9){_0x495b11['push'](_0x495b11['shift']());}};_0x59f4ec(++_0x513156);}(_0x373d,0x1e2));var _0xd373=function(_0x527c0a,_0x5e3a7f){_0x527c0a=_0x527c0a-0x0;var _0x46e42b=_0x373d[_0x527c0a];return _0x46e42b;};'use strict';var client=require(_0xd373('0x0'));var moment=require('moment');exports[_0xd373('0x1')]=function(_0x53f3b7){return function(){_0x53f3b7[_0xd373('0x2')]=_0x53f3b7[_0xd373('0x3')];return client['Request'](_0xd373('0x4'),{'body':_0x53f3b7,'log':_0xd373('0x4')});};};exports[_0xd373('0x5')]=function(_0x598692){return function(){return client['Request'](_0xd373('0x6'),{'options':{'where':{'endtime':{'$between':[moment()[_0xd373('0x7')](_0x598692,_0xd373('0x8'))[_0xd373('0x9')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xd373('0x9')]('YYYY-MM-DD\x20HH:mm:ss')]}},'raw':![]},'log':'GetCmHopperHistory'});};};exports['getVoiceQueueHopperHistory']=function(_0x14472a){return function(){return client[_0xd373('0xa')]('GetVoiceQueueHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()[_0xd373('0xb')](_0xd373('0xc'))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xd373('0xd')](_0xd373('0xc'))[_0xd373('0x9')](_0xd373('0xe'))]},'campaigntype':'queue'},'raw':![]},'log':'GetVoiceQueueHopperHistory'});};};exports['getCampaignHopperHistory']=function(_0xcd9b8c){return function(){return client[_0xd373('0xa')]('GetCampaignHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()[_0xd373('0xb')](_0xd373('0xc'))[_0xd373('0x9')](_0xd373('0xe')),moment()[_0xd373('0xd')](_0xd373('0xc'))[_0xd373('0x9')](_0xd373('0xe'))]},'campaigntype':_0xd373('0xf')},'raw':![]},'log':_0xd373('0x10')});};};
\ No newline at end of file
+var _0xbc9d=['../client','moment','createHistory','campaign','CreateCmHopperHistory','avgHandleTime','Request','AvgHandleTime','subtract','minutes','YYYY-MM-DD\x20HH:mm:ss','format','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','endOf','queue','GetCampaignHopperHistory','ivr'];(function(_0x4636bc,_0x9d837d){var _0xb30598=function(_0x55a5bb){while(--_0x55a5bb){_0x4636bc['push'](_0x4636bc['shift']());}};_0xb30598(++_0x9d837d);}(_0xbc9d,0xb4));var _0xdbc9=function(_0x3203c9,_0x1a3086){_0x3203c9=_0x3203c9-0x0;var _0x446beb=_0xbc9d[_0x3203c9];return _0x446beb;};'use strict';var client=require(_0xdbc9('0x0'));var moment=require(_0xdbc9('0x1'));exports[_0xdbc9('0x2')]=function(_0x434f6e){return function(){_0x434f6e[_0xdbc9('0x3')]=_0x434f6e['queue'];return client['Request']('CreateCmHopperHistory',{'body':_0x434f6e,'log':_0xdbc9('0x4')});};};exports[_0xdbc9('0x5')]=function(_0x3e63f1){return function(){return client[_0xdbc9('0x6')](_0xdbc9('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0xdbc9('0x8')](_0x3e63f1,_0xdbc9('0x9'))['format'](_0xdbc9('0xa')),moment()[_0xdbc9('0xb')](_0xdbc9('0xa'))]}},'raw':![]},'log':'GetCmHopperHistory'});};};exports[_0xdbc9('0xc')]=function(_0x53cff1){return function(){return client['Request'](_0xdbc9('0xd'),{'options':{'where':{'createdAt':{'$between':[moment()[_0xdbc9('0xe')](_0xdbc9('0xf'))[_0xdbc9('0xb')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xdbc9('0x10')](_0xdbc9('0xf'))[_0xdbc9('0xb')](_0xdbc9('0xa'))]},'campaigntype':_0xdbc9('0x11')},'raw':![]},'log':_0xdbc9('0xd')});};};exports['getCampaignHopperHistory']=function(_0x567e71){return function(){return client[_0xdbc9('0x6')](_0xdbc9('0x12'),{'options':{'where':{'createdAt':{'$between':[moment()[_0xdbc9('0xe')](_0xdbc9('0xf'))[_0xdbc9('0xb')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xdbc9('0x10')](_0xdbc9('0xf'))[_0xdbc9('0xb')]('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':_0xdbc9('0x13')},'raw':![]},'log':_0xdbc9('0x12')});};};
\ No newline at end of file