Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / services / ami / rpc / cmHopperHistory.js
index d4b13f5..1a4590f 100644 (file)
@@ -1 +1 @@
-const a1106_0x5258=['ivr','Request','GetCampaignHopperHistory','avgHandleTime','../client','subtract','queue','CreateCmHopperHistory','GetVoiceQueueHopperHistory','startOf','campaign','minutes','format','createHistory','endOf','AvgHandleTime','YYYY-MM-DD\x20HH:mm:ss','GetCmHopperHistory','day','moment'];(function(_0x346111,_0x525801){const _0x5e2664=function(_0x160cfb){while(--_0x160cfb){_0x346111['push'](_0x346111['shift']());}};_0x5e2664(++_0x525801);}(a1106_0x5258,0x92));const a1106_0x5e26=function(_0x346111,_0x525801){_0x346111=_0x346111-0x0;let _0x5e2664=a1106_0x5258[_0x346111];return _0x5e2664;};const _0x131312=a1106_0x5e26;'use strict';const client=require(_0x131312('0x12')),moment=require(_0x131312('0xd'));exports[_0x131312('0x7')]=function(_0x160cfb){return function(){const _0x5e4e5b=a1106_0x5e26;return _0x160cfb[_0x5e4e5b('0x4')]=_0x160cfb[_0x5e4e5b('0x0')],client[_0x5e4e5b('0xf')](_0x5e4e5b('0x1'),{'body':_0x160cfb,'log':_0x5e4e5b('0x1')});};},exports[_0x131312('0x11')]=function(_0x187e46){return function(){const _0x288cc8=a1106_0x5e26;return client[_0x288cc8('0xf')](_0x288cc8('0x9'),{'options':{'where':{'endtime':{'$between':[moment()[_0x288cc8('0x13')](_0x187e46,_0x288cc8('0x5'))[_0x288cc8('0x6')](_0x288cc8('0xa')),moment()[_0x288cc8('0x6')]('YYYY-MM-DD\x20HH:mm:ss')]}},'raw':![]},'log':_0x288cc8('0xb')});};},exports['getVoiceQueueHopperHistory']=function(){return function(){const _0x185485=a1106_0x5e26;return client[_0x185485('0xf')](_0x185485('0x2'),{'options':{'where':{'createdAt':{'$between':[moment()['startOf'](_0x185485('0xc'))[_0x185485('0x6')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x185485('0x8')](_0x185485('0xc'))[_0x185485('0x6')](_0x185485('0xa'))]},'campaigntype':'queue'},'raw':![]},'log':_0x185485('0x2')});};},exports['getCampaignHopperHistory']=function(){return function(){const _0x15055e=a1106_0x5e26;return client[_0x15055e('0xf')](_0x15055e('0x10'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x15055e('0x3')](_0x15055e('0xc'))[_0x15055e('0x6')](_0x15055e('0xa')),moment()[_0x15055e('0x8')](_0x15055e('0xc'))[_0x15055e('0x6')]('YYYY-MM-DD\x20HH:mm:ss')]},'campaigntype':_0x15055e('0xe')},'raw':![]},'log':_0x15055e('0x10')});};};
\ No newline at end of file
+const a1270_0x3977=['CreateCmHopperHistory','format','day','Request','ivr','queue','endOf','getCampaignHopperHistory','avgHandleTime','GetCampaignHopperHistory','moment','startOf','createHistory','subtract','GetVoiceQueueHopperHistory','minutes','YYYY-MM-DD\x20HH:mm:ss','AvgHandleTime'];(function(_0x4eaf89,_0x422aac){const _0x3977d3=function(_0x59c1f6){while(--_0x59c1f6){_0x4eaf89['push'](_0x4eaf89['shift']());}};_0x3977d3(++_0x422aac);}(a1270_0x3977,0x97));const a1270_0x59c1=function(_0x4eaf89,_0x422aac){_0x4eaf89=_0x4eaf89-0x9e;let _0x3977d3=a1270_0x3977[_0x4eaf89];return _0x3977d3;};const a1270_0x5f109d=a1270_0x59c1;'use strict';const client=require('../client'),moment=require(a1270_0x5f109d(0xa1));exports[a1270_0x5f109d(0xa3)]=function(_0x4899e2){return function(){const _0x132f88=a1270_0x59c1;return _0x4899e2['campaign']=_0x4899e2['queue'],client[_0x132f88(0xac)](_0x132f88(0xa9),{'body':_0x4899e2,'log':_0x132f88(0xa9)});};},exports[a1270_0x5f109d(0x9f)]=function(_0x279e51){return function(){const _0x15ca76=a1270_0x59c1;return client[_0x15ca76(0xac)](_0x15ca76(0xa8),{'options':{'where':{'endtime':{'$between':[moment()[_0x15ca76(0xa4)](_0x279e51,_0x15ca76(0xa6))[_0x15ca76(0xaa)](_0x15ca76(0xa7)),moment()[_0x15ca76(0xaa)](_0x15ca76(0xa7))]}},'raw':![]},'log':'GetCmHopperHistory'});};},exports['getVoiceQueueHopperHistory']=function(){return function(){const _0x437986=a1270_0x59c1;return client[_0x437986(0xac)](_0x437986(0xa5),{'options':{'where':{'createdAt':{'$between':[moment()['startOf']('day')[_0x437986(0xaa)]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x437986(0xaf)](_0x437986(0xab))[_0x437986(0xaa)](_0x437986(0xa7))]},'campaigntype':_0x437986(0xae)},'raw':![]},'log':_0x437986(0xa5)});};},exports[a1270_0x5f109d(0x9e)]=function(){return function(){const _0x5e8fd7=a1270_0x59c1;return client[_0x5e8fd7(0xac)](_0x5e8fd7(0xa0),{'options':{'where':{'createdAt':{'$between':[moment()[_0x5e8fd7(0xa2)](_0x5e8fd7(0xab))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x5e8fd7(0xaf)](_0x5e8fd7(0xab))[_0x5e8fd7(0xaa)](_0x5e8fd7(0xa7))]},'campaigntype':_0x5e8fd7(0xad)},'raw':![]},'log':_0x5e8fd7(0xa0)});};};
\ No newline at end of file