Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 08f58c6..20c5bf0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4aa8=['duration','billableseconds','moment','lodash','../client','create','Request','CreateVoiceCallReport','merge','calleridnum','context','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','endOf','type'];(function(_0x131415,_0x28607d){var _0x2b4605=function(_0x560bf3){while(--_0x560bf3){_0x131415['push'](_0x131415['shift']());}};_0x2b4605(++_0x28607d);}(_0x4aa8,0x162));var _0x84aa=function(_0x50007c,_0x1cbf11){_0x50007c=_0x50007c-0x0;var _0x5c1ec7=_0x4aa8[_0x50007c];return _0x5c1ec7;};'use strict';var moment=require(_0x84aa('0x0'));var util=require('util');var _=require(_0x84aa('0x1'));var client=require(_0x84aa('0x2'));exports[_0x84aa('0x3')]=function(_0x13e73f){return client[_0x84aa('0x4')](_0x84aa('0x5'),{'body':_[_0x84aa('0x6')](_0x13e73f,{'source':_0x13e73f[_0x84aa('0x7')],'destinationcontext':_0x13e73f[_0x84aa('0x8')],'callerid':_0x13e73f[_0x84aa('0x9')],'amaflags':_0x84aa('0xa')}),'log':'CreateVoiceCallReport'});};exports[_0x84aa('0xb')]=function(){return function(){return client[_0x84aa('0x4')](_0x84aa('0xc'),{'options':{'where':{'type':[_0x84aa('0xd')],'createdAt':{'$between':[moment()[_0x84aa('0xe')](_0x84aa('0xf'))[_0x84aa('0x10')](_0x84aa('0x11')),moment()[_0x84aa('0x12')]('day')[_0x84aa('0x10')](_0x84aa('0x11'))]}},'attributes':[_0x84aa('0x13'),'disposition',_0x84aa('0x14'),_0x84aa('0x15')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file
+var _0x7e92=['lodash','../client','create','Request','CreateVoiceCallReport','merge','calleridnum','context','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','day','format','YYYY-MM-DD\x20HH:mm:ss','disposition','billableseconds','GetVoiceCallReports'];(function(_0x4e594c,_0xbe926){var _0x10e116=function(_0x4952dc){while(--_0x4952dc){_0x4e594c['push'](_0x4e594c['shift']());}};_0x10e116(++_0xbe926);}(_0x7e92,0xd1));var _0x27e9=function(_0x4c32cc,_0x3aafc7){_0x4c32cc=_0x4c32cc-0x0;var _0x1332dc=_0x7e92[_0x4c32cc];return _0x1332dc;};'use strict';var moment=require('moment');var util=require('util');var _=require(_0x27e9('0x0'));var client=require(_0x27e9('0x1'));exports[_0x27e9('0x2')]=function(_0x2138da){return client[_0x27e9('0x3')](_0x27e9('0x4'),{'body':_[_0x27e9('0x5')](_0x2138da,{'source':_0x2138da[_0x27e9('0x6')],'destinationcontext':_0x2138da[_0x27e9('0x7')],'callerid':_0x2138da[_0x27e9('0x8')],'amaflags':_0x27e9('0x9')}),'log':_0x27e9('0x4')});};exports[_0x27e9('0xa')]=function(){return function(){return client['Request'](_0x27e9('0xb'),{'options':{'where':{'type':[_0x27e9('0xc')],'createdAt':{'$between':[moment()['startOf'](_0x27e9('0xd'))[_0x27e9('0xe')](_0x27e9('0xf')),moment()['endOf'](_0x27e9('0xd'))['format'](_0x27e9('0xf'))]}},'attributes':['type',_0x27e9('0x10'),'duration',_0x27e9('0x11')]},'log':_0x27e9('0x12')});};};
\ No newline at end of file