Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 9c26cb3..c7ee869 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x27f7=['format','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','getCampaignHopperHistory','GetCampaignHopperHistory','endOf','ivr','../client','moment','campaign','queue','Request','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','subtract','minutes','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x5207b4,_0x3ad929){var _0x16990f=function(_0x313f35){while(--_0x313f35){_0x5207b4['push'](_0x5207b4['shift']());}};_0x16990f(++_0x3ad929);}(_0x27f7,0x88));var _0x727f=function(_0x15dd1d,_0x34a5a6){_0x15dd1d=_0x15dd1d-0x0;var _0x58054a=_0x27f7[_0x15dd1d];return _0x58054a;};'use strict';var client=require(_0x727f('0x0'));var moment=require(_0x727f('0x1'));exports['createHistory']=function(_0x3b48ac){return function(){_0x3b48ac[_0x727f('0x2')]=_0x3b48ac[_0x727f('0x3')];return client[_0x727f('0x4')]('CreateCmHopperHistory',{'body':_0x3b48ac,'log':_0x727f('0x5')});};};exports[_0x727f('0x6')]=function(_0x362716){return function(){return client['Request'](_0x727f('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0x727f('0x8')](_0x362716,_0x727f('0x9'))['format'](_0x727f('0xa')),moment()[_0x727f('0xb')](_0x727f('0xa'))]}},'raw':![]},'log':_0x727f('0xc')});};};exports[_0x727f('0xd')]=function(_0x578c57){return function(){return client[_0x727f('0x4')](_0x727f('0xe'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x727f('0xf')](_0x727f('0x10'))[_0x727f('0xb')](_0x727f('0xa')),moment()['endOf']('day')[_0x727f('0xb')](_0x727f('0xa'))]},'campaigntype':_0x727f('0x3')},'raw':![]},'log':_0x727f('0xe')});};};exports[_0x727f('0x11')]=function(_0xd51f46){return function(){return client[_0x727f('0x4')](_0x727f('0x12'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x727f('0xf')](_0x727f('0x10'))[_0x727f('0xb')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x727f('0x13')](_0x727f('0x10'))[_0x727f('0xb')](_0x727f('0xa'))]},'campaigntype':_0x727f('0x14')},'raw':![]},'log':_0x727f('0x12')});};};
\ 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