Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 29270f5..d143101 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfe42=['YYYY-MM-DD\x20HH:mm:ss','format','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','endOf','queue','getCampaignHopperHistory','GetCampaignHopperHistory','../client','moment','createHistory','Request','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','subtract','minutes'];(function(_0x494d1f,_0x3f72ff){var _0x457b6e=function(_0x38cb16){while(--_0x38cb16){_0x494d1f['push'](_0x494d1f['shift']());}};_0x457b6e(++_0x3f72ff);}(_0xfe42,0x101));var _0x2fe4=function(_0x419779,_0x2a3ecc){_0x419779=_0x419779-0x0;var _0x15f3ed=_0xfe42[_0x419779];return _0x15f3ed;};'use strict';var client=require(_0x2fe4('0x0'));var moment=require(_0x2fe4('0x1'));exports[_0x2fe4('0x2')]=function(_0x57ada9){_0x57ada9['campaign']=_0x57ada9['queue'];return client[_0x2fe4('0x3')](_0x2fe4('0x4'),{'body':_0x57ada9,'log':_0x2fe4('0x4')});};exports[_0x2fe4('0x5')]=function(_0x29c866){return client['Request'](_0x2fe4('0x6'),{'options':{'where':{'endtime':{'$between':[moment()[_0x2fe4('0x7')](_0x29c866,_0x2fe4('0x8'))['format'](_0x2fe4('0x9')),moment()[_0x2fe4('0xa')](_0x2fe4('0x9'))]}},'raw':![]},'log':'GetCmHopperHistory'});};exports[_0x2fe4('0xb')]=function(){return function(){return client[_0x2fe4('0x3')](_0x2fe4('0xc'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x2fe4('0xd')](_0x2fe4('0xe'))[_0x2fe4('0xa')](_0x2fe4('0x9')),moment()[_0x2fe4('0xf')](_0x2fe4('0xe'))[_0x2fe4('0xa')](_0x2fe4('0x9'))]},'campaigntype':_0x2fe4('0x10')},'raw':![]},'log':'GetVoiceQueueHopperHistory'});};};exports[_0x2fe4('0x11')]=function(){return function(){return client[_0x2fe4('0x3')](_0x2fe4('0x12'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x2fe4('0xd')](_0x2fe4('0xe'))[_0x2fe4('0xa')](_0x2fe4('0x9')),moment()[_0x2fe4('0xf')](_0x2fe4('0xe'))[_0x2fe4('0xa')]('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':'ivr'},'raw':![]},'log':'GetCampaignHopperHistory'});};};
\ No newline at end of file
+var _0xe895=['getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','GetCampaignHopperHistory','ivr','../client','moment','createHistory','campaign','queue','Request','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','subtract','minutes','YYYY-MM-DD\x20HH:mm:ss','format'];(function(_0x4835f2,_0x28ba7){var _0x578ea8=function(_0x328494){while(--_0x328494){_0x4835f2['push'](_0x4835f2['shift']());}};_0x578ea8(++_0x28ba7);}(_0xe895,0x1bb));var _0x5e89=function(_0x40dfda,_0x4cc1b5){_0x40dfda=_0x40dfda-0x0;var _0x4e6be7=_0xe895[_0x40dfda];return _0x4e6be7;};'use strict';var client=require(_0x5e89('0x0'));var moment=require(_0x5e89('0x1'));exports[_0x5e89('0x2')]=function(_0x6bdb4c){_0x6bdb4c[_0x5e89('0x3')]=_0x6bdb4c[_0x5e89('0x4')];return client[_0x5e89('0x5')](_0x5e89('0x6'),{'body':_0x6bdb4c,'log':_0x5e89('0x6')});};exports[_0x5e89('0x7')]=function(_0x1f6e23){return client['Request'](_0x5e89('0x8'),{'options':{'where':{'endtime':{'$between':[moment()[_0x5e89('0x9')](_0x1f6e23,_0x5e89('0xa'))['format'](_0x5e89('0xb')),moment()[_0x5e89('0xc')](_0x5e89('0xb'))]}},'raw':![]},'log':'GetCmHopperHistory'});};exports[_0x5e89('0xd')]=function(){return function(){return client[_0x5e89('0x5')](_0x5e89('0xe'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x5e89('0xf')]('day')[_0x5e89('0xc')]('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf'](_0x5e89('0x10'))['format'](_0x5e89('0xb'))]},'campaigntype':_0x5e89('0x4')},'raw':![]},'log':_0x5e89('0xe')});};};exports['getCampaignHopperHistory']=function(){return function(){return client[_0x5e89('0x5')](_0x5e89('0x11'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x5e89('0xf')](_0x5e89('0x10'))[_0x5e89('0xc')](_0x5e89('0xb')),moment()['endOf'](_0x5e89('0x10'))['format'](_0x5e89('0xb'))]},'campaigntype':_0x5e89('0x12')},'raw':![]},'log':_0x5e89('0x11')});};};
\ No newline at end of file