Built motion from commit (unavailable).|2.5.0
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 1dc9961..4ecd780 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb9be=['campaign','queue','Request','CreateCmHopperHistory','AvgHandleTime','subtract','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','day','endOf','getCampaignHopperHistory','startOf','ivr','GetCampaignHopperHistory','../client','moment','createHistory'];(function(_0x4152fa,_0x6dc7a3){var _0x3c3779=function(_0x13f093){while(--_0x13f093){_0x4152fa['push'](_0x4152fa['shift']());}};_0x3c3779(++_0x6dc7a3);}(_0xb9be,0xc5));var _0xeb9b=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0xb9be[_0x199572];return _0x13cfa3;};'use strict';var client=require(_0xeb9b('0x0'));var moment=require(_0xeb9b('0x1'));exports[_0xeb9b('0x2')]=function(_0x21f8a2){return function(){_0x21f8a2[_0xeb9b('0x3')]=_0x21f8a2[_0xeb9b('0x4')];return client[_0xeb9b('0x5')](_0xeb9b('0x6'),{'body':_0x21f8a2,'log':_0xeb9b('0x6')});};};exports['avgHandleTime']=function(_0x5006b8){return function(){return client[_0xeb9b('0x5')](_0xeb9b('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0xeb9b('0x8')](_0x5006b8,'minutes')[_0xeb9b('0x9')](_0xeb9b('0xa')),moment()[_0xeb9b('0x9')](_0xeb9b('0xa'))]}},'raw':![]},'log':_0xeb9b('0xb')});};};exports[_0xeb9b('0xc')]=function(_0x418204){return function(){return client[_0xeb9b('0x5')](_0xeb9b('0xd'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0xeb9b('0xe'))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xeb9b('0xf')](_0xeb9b('0xe'))['format'](_0xeb9b('0xa'))]},'campaigntype':_0xeb9b('0x4')},'raw':![]},'log':_0xeb9b('0xd')});};};exports[_0xeb9b('0x10')]=function(_0x51598f){return function(){return client['Request']('GetCampaignHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()[_0xeb9b('0x11')](_0xeb9b('0xe'))[_0xeb9b('0x9')]('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf']('day')[_0xeb9b('0x9')](_0xeb9b('0xa'))]},'campaigntype':_0xeb9b('0x12')},'raw':![]},'log':_0xeb9b('0x13')});};};
\ No newline at end of file
+var _0xa571=['getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment','createHistory','queue','Request','avgHandleTime','AvgHandleTime','subtract','minutes','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','endOf'];(function(_0x58dad2,_0x51b6a2){var _0x4042eb=function(_0x2b343f){while(--_0x2b343f){_0x58dad2['push'](_0x58dad2['shift']());}};_0x4042eb(++_0x51b6a2);}(_0xa571,0x107));var _0x1a57=function(_0x414607,_0x2c0c7f){_0x414607=_0x414607-0x0;var _0x38e290=_0xa571[_0x414607];return _0x38e290;};'use strict';var client=require(_0x1a57('0x0'));var moment=require(_0x1a57('0x1'));exports[_0x1a57('0x2')]=function(_0x1067d9){return function(){_0x1067d9['campaign']=_0x1067d9[_0x1a57('0x3')];return client[_0x1a57('0x4')]('CreateCmHopperHistory',{'body':_0x1067d9,'log':'CreateCmHopperHistory'});};};exports[_0x1a57('0x5')]=function(_0x5067fa){return function(){return client[_0x1a57('0x4')](_0x1a57('0x6'),{'options':{'where':{'endtime':{'$between':[moment()[_0x1a57('0x7')](_0x5067fa,_0x1a57('0x8'))[_0x1a57('0x9')](_0x1a57('0xa')),moment()['format'](_0x1a57('0xa'))]}},'raw':![]},'log':_0x1a57('0xb')});};};exports[_0x1a57('0xc')]=function(_0x58e266){return function(){return client[_0x1a57('0x4')](_0x1a57('0xd'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x1a57('0xe')](_0x1a57('0xf'))[_0x1a57('0x9')](_0x1a57('0xa')),moment()[_0x1a57('0x10')](_0x1a57('0xf'))['format']('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':_0x1a57('0x3')},'raw':![]},'log':_0x1a57('0xd')});};};exports[_0x1a57('0x11')]=function(_0x5ae643){return function(){return client[_0x1a57('0x4')](_0x1a57('0x12'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x1a57('0xf'))['format'](_0x1a57('0xa')),moment()[_0x1a57('0x10')](_0x1a57('0xf'))[_0x1a57('0x9')]('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':_0x1a57('0x13')},'raw':![]},'log':'GetCampaignHopperHistory'});};};
\ No newline at end of file