Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 1ef6ecc..a56734e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc9c3=['getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','day','endOf','GetCampaignHopperHistory','ivr','createHistory','campaign','queue','Request','CreateCmHopperHistory','avgHandleTime','minutes','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory'];(function(_0x4404ff,_0x13d7a9){var _0x5e7b19=function(_0x13847a){while(--_0x13847a){_0x4404ff['push'](_0x4404ff['shift']());}};_0x5e7b19(++_0x13d7a9);}(_0xc9c3,0x96));var _0x3c9c=function(_0x443255,_0x595cb5){_0x443255=_0x443255-0x0;var _0x466ec6=_0xc9c3[_0x443255];return _0x466ec6;};'use strict';var client=require('../client');var moment=require('moment');exports[_0x3c9c('0x0')]=function(_0x4f6ca7){return function(){_0x4f6ca7[_0x3c9c('0x1')]=_0x4f6ca7[_0x3c9c('0x2')];return client[_0x3c9c('0x3')](_0x3c9c('0x4'),{'body':_0x4f6ca7,'log':_0x3c9c('0x4')});};};exports[_0x3c9c('0x5')]=function(_0x143bfe){return function(){return client['Request']('AvgHandleTime',{'options':{'where':{'endtime':{'$between':[moment()['subtract'](_0x143bfe,_0x3c9c('0x6'))[_0x3c9c('0x7')](_0x3c9c('0x8')),moment()[_0x3c9c('0x7')](_0x3c9c('0x8'))]}},'raw':![]},'log':_0x3c9c('0x9')});};};exports[_0x3c9c('0xa')]=function(_0x302ab7){return function(){return client[_0x3c9c('0x3')](_0x3c9c('0xb'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x3c9c('0xc'))[_0x3c9c('0x7')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x3c9c('0xd')]('day')[_0x3c9c('0x7')](_0x3c9c('0x8'))]},'campaigntype':_0x3c9c('0x2')},'raw':![]},'log':_0x3c9c('0xb')});};};exports['getCampaignHopperHistory']=function(_0x50cf96){return function(){return client['Request'](_0x3c9c('0xe'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf']('day')['format'](_0x3c9c('0x8')),moment()['endOf'](_0x3c9c('0xc'))[_0x3c9c('0x7')](_0x3c9c('0x8'))]},'campaigntype':_0x3c9c('0xf')},'raw':![]},'log':'GetCampaignHopperHistory'});};};
\ No newline at end of file
+var _0x9148=['format','GetCmHopperHistory','GetVoiceQueueHopperHistory','startOf','day','endOf','getCampaignHopperHistory','ivr','GetCampaignHopperHistory','../client','moment','createHistory','campaign','queue','Request','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','minutes','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x5914a3,_0x22e240){var _0x25af13=function(_0x33c161){while(--_0x33c161){_0x5914a3['push'](_0x5914a3['shift']());}};_0x25af13(++_0x22e240);}(_0x9148,0x10d));var _0x8914=function(_0x43dfc6,_0x33974e){_0x43dfc6=_0x43dfc6-0x0;var _0x1a209c=_0x9148[_0x43dfc6];return _0x1a209c;};'use strict';var client=require(_0x8914('0x0'));var moment=require(_0x8914('0x1'));exports[_0x8914('0x2')]=function(_0xf85939){return function(){_0xf85939[_0x8914('0x3')]=_0xf85939[_0x8914('0x4')];return client[_0x8914('0x5')](_0x8914('0x6'),{'body':_0xf85939,'log':_0x8914('0x6')});};};exports[_0x8914('0x7')]=function(_0x37f630){return function(){return client['Request'](_0x8914('0x8'),{'options':{'where':{'endtime':{'$between':[moment()['subtract'](_0x37f630,_0x8914('0x9'))['format'](_0x8914('0xa')),moment()[_0x8914('0xb')](_0x8914('0xa'))]}},'raw':![]},'log':_0x8914('0xc')});};};exports['getVoiceQueueHopperHistory']=function(_0x2e7aac){return function(){return client[_0x8914('0x5')](_0x8914('0xd'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x8914('0xe')](_0x8914('0xf'))['format'](_0x8914('0xa')),moment()[_0x8914('0x10')]('day')['format'](_0x8914('0xa'))]},'campaigntype':_0x8914('0x4')},'raw':![]},'log':_0x8914('0xd')});};};exports[_0x8914('0x11')]=function(_0x4528ce){return function(){return client[_0x8914('0x5')]('GetCampaignHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()[_0x8914('0xe')](_0x8914('0xf'))['format'](_0x8914('0xa')),moment()[_0x8914('0x10')](_0x8914('0xf'))[_0x8914('0xb')](_0x8914('0xa'))]},'campaigntype':_0x8914('0x12')},'raw':![]},'log':_0x8914('0x13')});};};
\ No newline at end of file