Built motion from commit 7158bc59.|2.5.42
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 2e084c3..5832cd7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8360=['Request','AvgHandleTime','subtract','minutes','format','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','day','YYYY-MM-DD\x20HH:mm:ss','getCampaignHopperHistory','GetCampaignHopperHistory','startOf','endOf','moment','createHistory','campaign','queue','CreateCmHopperHistory','avgHandleTime'];(function(_0x58b900,_0x4067f4){var _0x142565=function(_0x475ac2){while(--_0x475ac2){_0x58b900['push'](_0x58b900['shift']());}};_0x142565(++_0x4067f4);}(_0x8360,0xb8));var _0x0836=function(_0x38ee5a,_0x56ede7){_0x38ee5a=_0x38ee5a-0x0;var _0x56acda=_0x8360[_0x38ee5a];return _0x56acda;};'use strict';var client=require('../client');var moment=require(_0x0836('0x0'));exports[_0x0836('0x1')]=function(_0x3aacb7){return function(){_0x3aacb7[_0x0836('0x2')]=_0x3aacb7[_0x0836('0x3')];return client['Request'](_0x0836('0x4'),{'body':_0x3aacb7,'log':_0x0836('0x4')});};};exports[_0x0836('0x5')]=function(_0x24e492){return function(){return client[_0x0836('0x6')](_0x0836('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0x0836('0x8')](_0x24e492,_0x0836('0x9'))[_0x0836('0xa')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x0836('0xa')]('YYYY-MM-DD\x20HH:mm:ss')]}},'raw':![]},'log':'GetCmHopperHistory'});};};exports[_0x0836('0xb')]=function(_0x4ed883){return function(){return client['Request'](_0x0836('0xc'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x0836('0xd'))[_0x0836('0xa')](_0x0836('0xe')),moment()['endOf'](_0x0836('0xd'))[_0x0836('0xa')](_0x0836('0xe'))]},'campaigntype':'queue'},'raw':![]},'log':_0x0836('0xc')});};};exports[_0x0836('0xf')]=function(_0x17e4a2){return function(){return client[_0x0836('0x6')](_0x0836('0x10'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x0836('0x11')](_0x0836('0xd'))[_0x0836('0xa')](_0x0836('0xe')),moment()[_0x0836('0x12')](_0x0836('0xd'))[_0x0836('0xa')](_0x0836('0xe'))]},'campaigntype':'ivr'},'raw':![]},'log':'GetCampaignHopperHistory'});};};
\ No newline at end of file
+var _0x8c00=['campaign','queue','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','subtract','minutes','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','getCampaignHopperHistory','Request','GetCampaignHopperHistory','endOf','ivr','../client','moment','createHistory'];(function(_0x5da4e0,_0x4e560a){var _0x532670=function(_0x14649c){while(--_0x14649c){_0x5da4e0['push'](_0x5da4e0['shift']());}};_0x532670(++_0x4e560a);}(_0x8c00,0x97));var _0x08c0=function(_0x1e88eb,_0x4d031e){_0x1e88eb=_0x1e88eb-0x0;var _0x23fe01=_0x8c00[_0x1e88eb];return _0x23fe01;};'use strict';var client=require(_0x08c0('0x0'));var moment=require(_0x08c0('0x1'));exports[_0x08c0('0x2')]=function(_0x3fc448){return function(){_0x3fc448[_0x08c0('0x3')]=_0x3fc448[_0x08c0('0x4')];return client['Request']('CreateCmHopperHistory',{'body':_0x3fc448,'log':_0x08c0('0x5')});};};exports[_0x08c0('0x6')]=function(_0x4bb1cf){return function(){return client['Request'](_0x08c0('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0x08c0('0x8')](_0x4bb1cf,_0x08c0('0x9'))[_0x08c0('0xa')](_0x08c0('0xb')),moment()[_0x08c0('0xa')](_0x08c0('0xb'))]}},'raw':![]},'log':_0x08c0('0xc')});};};exports[_0x08c0('0xd')]=function(_0x5a525c){return function(){return client['Request'](_0x08c0('0xe'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x08c0('0xf')](_0x08c0('0x10'))[_0x08c0('0xa')](_0x08c0('0xb')),moment()['endOf'](_0x08c0('0x10'))['format'](_0x08c0('0xb'))]},'campaigntype':_0x08c0('0x4')},'raw':![]},'log':_0x08c0('0xe')});};};exports[_0x08c0('0x11')]=function(_0x657816){return function(){return client[_0x08c0('0x12')](_0x08c0('0x13'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x08c0('0x10'))[_0x08c0('0xa')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x08c0('0x14')](_0x08c0('0x10'))[_0x08c0('0xa')](_0x08c0('0xb'))]},'campaigntype':_0x08c0('0x15')},'raw':![]},'log':'GetCampaignHopperHistory'});};};
\ No newline at end of file