Built motion from commit 4d4d9a88.|2.6.26
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 701a3d7..08dd7fa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1394=['merge','calleridnum','context','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','disposition','duration','billableseconds','GetVoiceCallReports','moment','util','../client','create','Request','CreateVoiceCallReport'];(function(_0xb7ce31,_0x13168d){var _0x3101c4=function(_0x4a8427){while(--_0x4a8427){_0xb7ce31['push'](_0xb7ce31['shift']());}};_0x3101c4(++_0x13168d);}(_0x1394,0x170));var _0x4139=function(_0x5d6704,_0x599319){_0x5d6704=_0x5d6704-0x0;var _0x416fd9=_0x1394[_0x5d6704];return _0x416fd9;};'use strict';var moment=require(_0x4139('0x0'));var util=require(_0x4139('0x1'));var _=require('lodash');var client=require(_0x4139('0x2'));exports[_0x4139('0x3')]=function(_0x1945df){return client[_0x4139('0x4')](_0x4139('0x5'),{'body':_[_0x4139('0x6')](_0x1945df,{'source':_0x1945df[_0x4139('0x7')],'destinationcontext':_0x1945df[_0x4139('0x8')],'callerid':_0x1945df[_0x4139('0x9')],'amaflags':_0x4139('0xa')}),'log':_0x4139('0x5')});};exports[_0x4139('0xb')]=function(){return function(){return client[_0x4139('0x4')](_0x4139('0xc'),{'options':{'where':{'type':[_0x4139('0xd')],'createdAt':{'$between':[moment()[_0x4139('0xe')](_0x4139('0xf'))[_0x4139('0x10')](_0x4139('0x11')),moment()['endOf'](_0x4139('0xf'))[_0x4139('0x10')](_0x4139('0x11'))]}},'attributes':['type',_0x4139('0x12'),_0x4139('0x13'),_0x4139('0x14')]},'log':_0x4139('0x15')});};};
\ No newline at end of file
+var _0xb2fc=['getVoiceCallReports','startOf','format','YYYY-MM-DD\x20HH:mm:ss','type','disposition','duration','billableseconds','GetVoiceCallReports','moment','util','lodash','create','Request','CreateVoiceCallReport','merge','calleridnum','context','DOCUMENTATION'];(function(_0x2269c9,_0x25b537){var _0x2a60fe=function(_0x5df817){while(--_0x5df817){_0x2269c9['push'](_0x2269c9['shift']());}};_0x2a60fe(++_0x25b537);}(_0xb2fc,0x1d1));var _0xcb2f=function(_0x46c187,_0x5185f8){_0x46c187=_0x46c187-0x0;var _0x5d93ff=_0xb2fc[_0x46c187];return _0x5d93ff;};'use strict';var moment=require(_0xcb2f('0x0'));var util=require(_0xcb2f('0x1'));var _=require(_0xcb2f('0x2'));var client=require('../client');exports[_0xcb2f('0x3')]=function(_0x561495){return client[_0xcb2f('0x4')](_0xcb2f('0x5'),{'body':_[_0xcb2f('0x6')](_0x561495,{'source':_0x561495[_0xcb2f('0x7')],'destinationcontext':_0x561495[_0xcb2f('0x8')],'callerid':_0x561495['callerid'],'amaflags':_0xcb2f('0x9')}),'log':_0xcb2f('0x5')});};exports[_0xcb2f('0xa')]=function(){return function(){return client[_0xcb2f('0x4')]('GetVoiceCallReport',{'options':{'where':{'type':['outbound'],'createdAt':{'$between':[moment()[_0xcb2f('0xb')]('day')[_0xcb2f('0xc')]('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf']('day')[_0xcb2f('0xc')](_0xcb2f('0xd'))]}},'attributes':[_0xcb2f('0xe'),_0xcb2f('0xf'),_0xcb2f('0x10'),_0xcb2f('0x11')]},'log':_0xcb2f('0x12')});};};
\ No newline at end of file