Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / services / ami / rpc / cmHopperHistory.js
index 8ef3945..3ae5be6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x282b=['YYYY-MM-DD\x20HH:mm:ss','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','endOf','day','getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment','createHistory','campaign','CreateCmHopperHistory','avgHandleTime','Request','AvgHandleTime','subtract','minutes','format'];(function(_0x2d99ae,_0x158827){var _0x2f5671=function(_0x46eddd){while(--_0x46eddd){_0x2d99ae['push'](_0x2d99ae['shift']());}};_0x2f5671(++_0x158827);}(_0x282b,0xec));var _0xb282=function(_0x3b99ba,_0x41ade2){_0x3b99ba=_0x3b99ba-0x0;var _0x3e3388=_0x282b[_0x3b99ba];return _0x3e3388;};'use strict';var client=require(_0xb282('0x0'));var moment=require(_0xb282('0x1'));exports[_0xb282('0x2')]=function(_0x2251b5){return function(){_0x2251b5[_0xb282('0x3')]=_0x2251b5['queue'];return client['Request'](_0xb282('0x4'),{'body':_0x2251b5,'log':'CreateCmHopperHistory'});};};exports[_0xb282('0x5')]=function(_0x175c83){return function(){return client[_0xb282('0x6')](_0xb282('0x7'),{'options':{'where':{'endtime':{'$between':[moment()[_0xb282('0x8')](_0x175c83,_0xb282('0x9'))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xb282('0xa')](_0xb282('0xb'))]}},'raw':![]},'log':'GetCmHopperHistory'});};};exports[_0xb282('0xc')]=function(_0x20f517){return function(){return client[_0xb282('0x6')](_0xb282('0xd'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf']('day')[_0xb282('0xa')](_0xb282('0xb')),moment()[_0xb282('0xe')](_0xb282('0xf'))[_0xb282('0xa')]('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':'queue'},'raw':![]},'log':_0xb282('0xd')});};};exports[_0xb282('0x10')]=function(_0x40d7b8){return function(){return client[_0xb282('0x6')](_0xb282('0x11'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0xb282('0xf'))['format'](_0xb282('0xb')),moment()[_0xb282('0xe')]('day')['format']('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':_0xb282('0x12')},'raw':![]},'log':_0xb282('0x11')});};};
\ No newline at end of file
+var _0x3c81=['campaign','avgHandleTime','Request','AvgHandleTime','subtract','minutes','format','GetCmHopperHistory','getVoiceQueueHopperHistory','GetVoiceQueueHopperHistory','startOf','day','YYYY-MM-DD\x20HH:mm:ss','endOf','queue','getCampaignHopperHistory','GetCampaignHopperHistory','ivr','../client','moment'];(function(_0x5ad050,_0x1c64c9){var _0x500e4f=function(_0x29c4b0){while(--_0x29c4b0){_0x5ad050['push'](_0x5ad050['shift']());}};_0x500e4f(++_0x1c64c9);}(_0x3c81,0x102));var _0x13c8=function(_0x497f50,_0x2b4396){_0x497f50=_0x497f50-0x0;var _0x3db1a6=_0x3c81[_0x497f50];return _0x3db1a6;};'use strict';var client=require(_0x13c8('0x0'));var moment=require(_0x13c8('0x1'));exports['createHistory']=function(_0x252f26){return function(){_0x252f26[_0x13c8('0x2')]=_0x252f26['queue'];return client['Request']('CreateCmHopperHistory',{'body':_0x252f26,'log':'CreateCmHopperHistory'});};};exports[_0x13c8('0x3')]=function(_0x3ec886){return function(){return client[_0x13c8('0x4')](_0x13c8('0x5'),{'options':{'where':{'endtime':{'$between':[moment()[_0x13c8('0x6')](_0x3ec886,_0x13c8('0x7'))[_0x13c8('0x8')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x13c8('0x8')]('YYYY-MM-DD\x20HH:mm:ss')]}},'raw':![]},'log':_0x13c8('0x9')});};};exports[_0x13c8('0xa')]=function(_0x189ce6){return function(){return client[_0x13c8('0x4')](_0x13c8('0xb'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x13c8('0xc')](_0x13c8('0xd'))[_0x13c8('0x8')](_0x13c8('0xe')),moment()[_0x13c8('0xf')](_0x13c8('0xd'))[_0x13c8('0x8')](_0x13c8('0xe'))]},'campaigntype':_0x13c8('0x10')},'raw':![]},'log':'GetVoiceQueueHopperHistory'});};};exports[_0x13c8('0x11')]=function(_0x7b6da8){return function(){return client[_0x13c8('0x4')](_0x13c8('0x12'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x13c8('0xd'))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf'](_0x13c8('0xd'))['format'](_0x13c8('0xe'))]},'campaigntype':_0x13c8('0x13')},'raw':![]},'log':_0x13c8('0x12')});};};
\ No newline at end of file