Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / services / ami / rpc / voiceCallReport.js
index ddf9e9f..f2eda92 100644 (file)
@@ -1 +1 @@
-const a1124_0x56e5=['disposition','billableseconds','merge','endOf','context','calleridnum','CreateVoiceCallReport','YYYY-MM-DD\x20HH:mm:ss','type','format','DOCUMENTATION','moment','Request','outbound','startOf','create','lodash','getVoiceCallReports','day','GetVoiceCallReports'];(function(_0x330261,_0x56e5e4){const _0x12fc19=function(_0x48bf47){while(--_0x48bf47){_0x330261['push'](_0x330261['shift']());}};_0x12fc19(++_0x56e5e4);}(a1124_0x56e5,0xff));const a1124_0x12fc=function(_0x330261,_0x56e5e4){_0x330261=_0x330261-0x0;let _0x12fc19=a1124_0x56e5[_0x330261];return _0x12fc19;};const _0x2d1920=a1124_0x12fc;'use strict';const moment=require(_0x2d1920('0x10')),_=require(_0x2d1920('0x1')),client=require('../client');exports[_0x2d1920('0x0')]=function(_0x48bf47){const _0x1f9701=_0x2d1920;return client[_0x1f9701('0x11')](_0x1f9701('0xb'),{'body':_[_0x1f9701('0x7')](_0x48bf47,{'source':_0x48bf47[_0x1f9701('0xa')],'destinationcontext':_0x48bf47[_0x1f9701('0x9')],'callerid':_0x48bf47['callerid'],'amaflags':_0x1f9701('0xf')}),'log':'CreateVoiceCallReport'});},exports[_0x2d1920('0x2')]=function(){return function(){const _0x50a316=a1124_0x12fc;return client[_0x50a316('0x11')]('GetVoiceCallReport',{'options':{'where':{'type':[_0x50a316('0x12')],'createdAt':{'$between':[moment()[_0x50a316('0x13')](_0x50a316('0x3'))[_0x50a316('0xe')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x50a316('0x8')]('day')[_0x50a316('0xe')](_0x50a316('0xc'))]}},'attributes':[_0x50a316('0xd'),_0x50a316('0x5'),'duration',_0x50a316('0x6')]},'log':_0x50a316('0x4')});};};
\ No newline at end of file
+const a1124_0x2488=['type','day','YYYY-MM-DD\x20HH:mm:ss','CreateVoiceCallReport','endOf','billableseconds','outbound','GetVoiceCallReports','context','lodash','merge','create','moment','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','Request','format','duration'];(function(_0x12b5db,_0x248832){const _0x563547=function(_0x556a9f){while(--_0x556a9f){_0x12b5db['push'](_0x12b5db['shift']());}};_0x563547(++_0x248832);}(a1124_0x2488,0x188));const a1124_0x5635=function(_0x12b5db,_0x248832){_0x12b5db=_0x12b5db-0x0;let _0x563547=a1124_0x2488[_0x12b5db];return _0x563547;};const _0x171b65=a1124_0x5635;'use strict';const moment=require(_0x171b65('0x0')),_=require(_0x171b65('0x10')),client=require('../client');exports[_0x171b65('0x12')]=function(_0x556a9f){const _0x3a5d61=_0x171b65;return client['Request'](_0x3a5d61('0xa'),{'body':_[_0x3a5d61('0x11')](_0x556a9f,{'source':_0x556a9f['calleridnum'],'destinationcontext':_0x556a9f[_0x3a5d61('0xf')],'callerid':_0x556a9f['callerid'],'amaflags':_0x3a5d61('0x1')}),'log':'CreateVoiceCallReport'});},exports[_0x171b65('0x2')]=function(){return function(){const _0x108715=a1124_0x5635;return client[_0x108715('0x4')](_0x108715('0x3'),{'options':{'where':{'type':[_0x108715('0xd')],'createdAt':{'$between':[moment()['startOf'](_0x108715('0x8'))[_0x108715('0x5')](_0x108715('0x9')),moment()[_0x108715('0xb')](_0x108715('0x8'))[_0x108715('0x5')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':[_0x108715('0x7'),'disposition',_0x108715('0x6'),_0x108715('0xc')]},'log':_0x108715('0xe')});};};
\ No newline at end of file