Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 1abc45e..db172c4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeb74=['moment','createHistory','campaign','queue','Request','CreateCmHopperHistory','avgHandleTime','AvgHandleTime','minutes','YYYY-MM-DD\x20HH:mm:ss','format','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','day','getCampaignHopperHistory','endOf','ivr','GetCampaignHopperHistory','../client'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xeb74,0xe3));var _0x4eb7=function(_0x1e3aaf,_0x4e51fa){_0x1e3aaf=_0x1e3aaf-0x0;var _0x597a4e=_0xeb74[_0x1e3aaf];return _0x597a4e;};'use strict';var client=require(_0x4eb7('0x0'));var moment=require(_0x4eb7('0x1'));exports[_0x4eb7('0x2')]=function(_0x9b674c){return function(){_0x9b674c[_0x4eb7('0x3')]=_0x9b674c[_0x4eb7('0x4')];return client[_0x4eb7('0x5')]('CreateCmHopperHistory',{'body':_0x9b674c,'log':_0x4eb7('0x6')});};};exports[_0x4eb7('0x7')]=function(_0x29b666){return function(){return client[_0x4eb7('0x5')](_0x4eb7('0x8'),{'options':{'where':{'endtime':{'$between':[moment()['subtract'](_0x29b666,_0x4eb7('0x9'))['format'](_0x4eb7('0xa')),moment()[_0x4eb7('0xb')]('YYYY-MM-DD\x20HH:mm:ss')]}},'raw':![]},'log':'GetCmHopperHistory'});};};exports[_0x4eb7('0xc')]=function(_0x2f8296){return function(){return client['Request'](_0x4eb7('0xd'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x4eb7('0xe'))[_0x4eb7('0xb')](_0x4eb7('0xa')),moment()['endOf'](_0x4eb7('0xe'))[_0x4eb7('0xb')](_0x4eb7('0xa'))]},'campaigntype':_0x4eb7('0x4')},'raw':![]},'log':_0x4eb7('0xd')});};};exports[_0x4eb7('0xf')]=function(_0x3c9f45){return function(){return client['Request']('GetCampaignHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x4eb7('0xe'))['format'](_0x4eb7('0xa')),moment()[_0x4eb7('0x10')](_0x4eb7('0xe'))[_0x4eb7('0xb')](_0x4eb7('0xa'))]},'campaigntype':_0x4eb7('0x11')},'raw':![]},'log':_0x4eb7('0x12')});};};
\ No newline at end of file
+var _0xcf66=['getVoiceQueueHopperHistory','startOf','endOf','day','GetVoiceQueueHopperHistory','getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment','createHistory','campaign','queue','CreateCmHopperHistory','avgHandleTime','Request','AvgHandleTime','subtract','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory'];(function(_0x1f71d8,_0x278518){var _0x10b045=function(_0x57aea4){while(--_0x57aea4){_0x1f71d8['push'](_0x1f71d8['shift']());}};_0x10b045(++_0x278518);}(_0xcf66,0x71));var _0x6cf6=function(_0x4e04c5,_0xfd032e){_0x4e04c5=_0x4e04c5-0x0;var _0x2f0fc2=_0xcf66[_0x4e04c5];return _0x2f0fc2;};'use strict';var client=require(_0x6cf6('0x0'));var moment=require(_0x6cf6('0x1'));exports[_0x6cf6('0x2')]=function(_0x56f1fd){return function(){_0x56f1fd[_0x6cf6('0x3')]=_0x56f1fd[_0x6cf6('0x4')];return client['Request']('CreateCmHopperHistory',{'body':_0x56f1fd,'log':_0x6cf6('0x5')});};};exports[_0x6cf6('0x6')]=function(_0x57f22f){return function(){return client[_0x6cf6('0x7')](_0x6cf6('0x8'),{'options':{'where':{'endtime':{'$between':[moment()[_0x6cf6('0x9')](_0x57f22f,'minutes')[_0x6cf6('0xa')](_0x6cf6('0xb')),moment()[_0x6cf6('0xa')](_0x6cf6('0xb'))]}},'raw':![]},'log':_0x6cf6('0xc')});};};exports[_0x6cf6('0xd')]=function(_0x5b3827){return function(){return client['Request']('GetVoiceQueueHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()[_0x6cf6('0xe')]('day')[_0x6cf6('0xa')](_0x6cf6('0xb')),moment()[_0x6cf6('0xf')](_0x6cf6('0x10'))['format']('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':'queue'},'raw':![]},'log':_0x6cf6('0x11')});};};exports[_0x6cf6('0x12')]=function(_0x372d12){return function(){return client[_0x6cf6('0x7')](_0x6cf6('0x13'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x6cf6('0xe')]('day')[_0x6cf6('0xa')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x6cf6('0xf')](_0x6cf6('0x10'))['format'](_0x6cf6('0xb'))]},'campaigntype':_0x6cf6('0x14')},'raw':![]},'log':_0x6cf6('0x13')});};};
\ No newline at end of file