Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 7f9d1d3..c7ee869 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x72fb=['avgHandleTime','AvgHandleTime','subtract','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','endOf','day','getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment','createHistory','campaign','queue','Request','CreateCmHopperHistory'];(function(_0x3b5250,_0x7a0b2c){var _0xc844a1=function(_0x2fbc98){while(--_0x2fbc98){_0x3b5250['push'](_0x3b5250['shift']());}};_0xc844a1(++_0x7a0b2c);}(_0x72fb,0x15e));var _0xb72f=function(_0x597e38,_0x551ac2){_0x597e38=_0x597e38-0x0;var _0x5305d2=_0x72fb[_0x597e38];return _0x5305d2;};'use strict';var client=require(_0xb72f('0x0'));var moment=require(_0xb72f('0x1'));exports[_0xb72f('0x2')]=function(_0x51c775){return function(){_0x51c775[_0xb72f('0x3')]=_0x51c775[_0xb72f('0x4')];return client[_0xb72f('0x5')](_0xb72f('0x6'),{'body':_0x51c775,'log':_0xb72f('0x6')});};};exports[_0xb72f('0x7')]=function(_0x559c5a){return function(){return client[_0xb72f('0x5')](_0xb72f('0x8'),{'options':{'where':{'endtime':{'$between':[moment()[_0xb72f('0x9')](_0x559c5a,'minutes')[_0xb72f('0xa')](_0xb72f('0xb')),moment()[_0xb72f('0xa')](_0xb72f('0xb'))]}},'raw':![]},'log':_0xb72f('0xc')});};};exports[_0xb72f('0xd')]=function(_0x274618){return function(){return client[_0xb72f('0x5')](_0xb72f('0xe'),{'options':{'where':{'createdAt':{'$between':[moment()[_0xb72f('0xf')]('day')[_0xb72f('0xa')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xb72f('0x10')](_0xb72f('0x11'))['format'](_0xb72f('0xb'))]},'campaigntype':_0xb72f('0x4')},'raw':![]},'log':'GetVoiceQueueHopperHistory'});};};exports[_0xb72f('0x12')]=function(_0x16f164){return function(){return client[_0xb72f('0x5')](_0xb72f('0x13'),{'options':{'where':{'createdAt':{'$between':[moment()[_0xb72f('0xf')](_0xb72f('0x11'))[_0xb72f('0xa')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xb72f('0x10')](_0xb72f('0x11'))[_0xb72f('0xa')](_0xb72f('0xb'))]},'campaigntype':_0xb72f('0x14')},'raw':![]},'log':_0xb72f('0x13')});};};
\ No newline at end of file
+var _0x465a=['campaign','queue','Request','CreateCmHopperHistory','AvgHandleTime','subtract','minutes','YYYY-MM-DD\x20HH:mm:ss','format','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment','createHistory'];(function(_0x54d3c6,_0x5390e2){var _0x54466e=function(_0xe4ab95){while(--_0xe4ab95){_0x54d3c6['push'](_0x54d3c6['shift']());}};_0x54466e(++_0x5390e2);}(_0x465a,0x1f1));var _0xa465=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x465a[_0xa464c9];return _0x3d73c4;};'use strict';var client=require(_0xa465('0x0'));var moment=require(_0xa465('0x1'));exports[_0xa465('0x2')]=function(_0x4ad795){return function(){_0x4ad795[_0xa465('0x3')]=_0x4ad795[_0xa465('0x4')];return client[_0xa465('0x5')](_0xa465('0x6'),{'body':_0x4ad795,'log':_0xa465('0x6')});};};exports['avgHandleTime']=function(_0x4c2723){return function(){return client[_0xa465('0x5')](_0xa465('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0xa465('0x8')](_0x4c2723,_0xa465('0x9'))['format'](_0xa465('0xa')),moment()[_0xa465('0xb')]('YYYY-MM-DD\x20HH:mm:ss')]}},'raw':![]},'log':_0xa465('0xc')});};};exports[_0xa465('0xd')]=function(_0x6244fb){return function(){return client[_0xa465('0x5')](_0xa465('0xe'),{'options':{'where':{'createdAt':{'$between':[moment()[_0xa465('0xf')](_0xa465('0x10'))['format'](_0xa465('0xa')),moment()['endOf'](_0xa465('0x10'))[_0xa465('0xb')](_0xa465('0xa'))]},'campaigntype':_0xa465('0x4')},'raw':![]},'log':_0xa465('0xe')});};};exports[_0xa465('0x11')]=function(_0x1b8883){return function(){return client['Request'](_0xa465('0x12'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0xa465('0x10'))[_0xa465('0xb')]('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf'](_0xa465('0x10'))[_0xa465('0xb')](_0xa465('0xa'))]},'campaigntype':_0xa465('0x13')},'raw':![]},'log':'GetCampaignHopperHistory'});};};
\ No newline at end of file