Built motion from commit f623a78c.|2.6.31
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 7ff8a0c..8f72c95 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9374=['getCampaignHopperHistory','GetCampaignHopperHistory','endOf','moment','createHistory','queue','CreateCmHopperHistory','Request','subtract','minutes','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day'];(function(_0x163040,_0x38a58c){var _0x364667=function(_0x3b104f){while(--_0x3b104f){_0x163040['push'](_0x163040['shift']());}};_0x364667(++_0x38a58c);}(_0x9374,0x1ac));var _0x4937=function(_0xe9a431,_0x1e7009){_0xe9a431=_0xe9a431-0x0;var _0x591b10=_0x9374[_0xe9a431];return _0x591b10;};'use strict';var client=require('../client');var moment=require(_0x4937('0x0'));exports[_0x4937('0x1')]=function(_0x7ae017){_0x7ae017['campaign']=_0x7ae017[_0x4937('0x2')];return client['Request'](_0x4937('0x3'),{'body':_0x7ae017,'log':_0x4937('0x3')});};exports['avgHandleTime']=function(_0x540db6){return client[_0x4937('0x4')]('AvgHandleTime',{'options':{'where':{'endtime':{'$between':[moment()[_0x4937('0x5')](_0x540db6,_0x4937('0x6'))[_0x4937('0x7')](_0x4937('0x8')),moment()[_0x4937('0x7')](_0x4937('0x8'))]}},'raw':![]},'log':_0x4937('0x9')});};exports[_0x4937('0xa')]=function(){return function(){return client[_0x4937('0x4')](_0x4937('0xb'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x4937('0xc')](_0x4937('0xd'))[_0x4937('0x7')](_0x4937('0x8')),moment()['endOf'](_0x4937('0xd'))[_0x4937('0x7')]('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':_0x4937('0x2')},'raw':![]},'log':_0x4937('0xb')});};};exports[_0x4937('0xe')]=function(){return function(){return client[_0x4937('0x4')](_0x4937('0xf'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x4937('0xd'))[_0x4937('0x7')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x4937('0x10')](_0x4937('0xd'))[_0x4937('0x7')](_0x4937('0x8'))]},'campaigntype':'ivr'},'raw':![]},'log':_0x4937('0xf')});};};
\ No newline at end of file
+var _0x692c=['AvgHandleTime','format','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','getVoiceQueueHopperHistory','startOf','day','endOf','getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment','createHistory','campaign','queue','CreateCmHopperHistory','avgHandleTime','Request'];(function(_0x482463,_0x1dbc31){var _0x5bc262=function(_0x2bec8f){while(--_0x2bec8f){_0x482463['push'](_0x482463['shift']());}};_0x5bc262(++_0x1dbc31);}(_0x692c,0x6a));var _0xc692=function(_0x2a61ad,_0x52b6d8){_0x2a61ad=_0x2a61ad-0x0;var _0x3b347=_0x692c[_0x2a61ad];return _0x3b347;};'use strict';var client=require(_0xc692('0x0'));var moment=require(_0xc692('0x1'));exports[_0xc692('0x2')]=function(_0x44dc0e){_0x44dc0e[_0xc692('0x3')]=_0x44dc0e[_0xc692('0x4')];return client['Request'](_0xc692('0x5'),{'body':_0x44dc0e,'log':_0xc692('0x5')});};exports[_0xc692('0x6')]=function(_0x2096b7){return client[_0xc692('0x7')](_0xc692('0x8'),{'options':{'where':{'endtime':{'$between':[moment()['subtract'](_0x2096b7,'minutes')[_0xc692('0x9')](_0xc692('0xa')),moment()[_0xc692('0x9')](_0xc692('0xa'))]}},'raw':![]},'log':_0xc692('0xb')});};exports[_0xc692('0xc')]=function(){return function(){return client[_0xc692('0x7')]('GetVoiceQueueHopperHistory',{'options':{'where':{'createdAt':{'$between':[moment()[_0xc692('0xd')](_0xc692('0xe'))[_0xc692('0x9')](_0xc692('0xa')),moment()[_0xc692('0xf')]('day')[_0xc692('0x9')](_0xc692('0xa'))]},'campaigntype':_0xc692('0x4')},'raw':![]},'log':'GetVoiceQueueHopperHistory'});};};exports[_0xc692('0x10')]=function(){return function(){return client['Request'](_0xc692('0x11'),{'options':{'where':{'createdAt':{'$between':[moment()[_0xc692('0xd')]('day')[_0xc692('0x9')](_0xc692('0xa')),moment()[_0xc692('0xf')](_0xc692('0xe'))[_0xc692('0x9')](_0xc692('0xa'))]},'campaigntype':_0xc692('0x12')},'raw':![]},'log':_0xc692('0x11')});};};
\ No newline at end of file