Built motion from commit (unavailable).|2.0.78
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 776bba0..908041d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb428=['util','lodash','../client','create','Request','CreateVoiceCallReport','calleridnum','context','DOCUMENTATION','outbound','day','format','YYYY-MM-DD\x20HH:mm:ss','endOf','type','disposition','duration','billableseconds','GetVoiceCallReports','moment'];(function(_0x2f8088,_0x5711d8){var _0x34c2a3=function(_0x327c49){while(--_0x327c49){_0x2f8088['push'](_0x2f8088['shift']());}};_0x34c2a3(++_0x5711d8);}(_0xb428,0xef));var _0x8b42=function(_0x2763f2,_0x416af8){_0x2763f2=_0x2763f2-0x0;var _0x3ef471=_0xb428[_0x2763f2];return _0x3ef471;};'use strict';var moment=require(_0x8b42('0x0'));var util=require(_0x8b42('0x1'));var _=require(_0x8b42('0x2'));var client=require(_0x8b42('0x3'));exports[_0x8b42('0x4')]=function(_0xa5054c){return client[_0x8b42('0x5')](_0x8b42('0x6'),{'body':_['merge'](_0xa5054c,{'source':_0xa5054c[_0x8b42('0x7')],'destinationcontext':_0xa5054c[_0x8b42('0x8')],'callerid':_0xa5054c['callerid'],'amaflags':_0x8b42('0x9')}),'log':_0x8b42('0x6')});};exports['getVoiceCallReports']=function(){return function(){return client[_0x8b42('0x5')]('GetVoiceCallReport',{'options':{'where':{'type':[_0x8b42('0xa')],'createdAt':{'$between':[moment()['startOf'](_0x8b42('0xb'))[_0x8b42('0xc')](_0x8b42('0xd')),moment()[_0x8b42('0xe')](_0x8b42('0xb'))[_0x8b42('0xc')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':[_0x8b42('0xf'),_0x8b42('0x10'),_0x8b42('0x11'),_0x8b42('0x12')]},'log':_0x8b42('0x13')});};};
\ No newline at end of file
+var _0xf721=['billableseconds','moment','util','../client','create','Request','merge','context','callerid','DOCUMENTATION','getVoiceCallReports','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','type','disposition'];(function(_0x53c256,_0x382a24){var _0x25feb6=function(_0x2652fd){while(--_0x2652fd){_0x53c256['push'](_0x53c256['shift']());}};_0x25feb6(++_0x382a24);}(_0xf721,0x121));var _0x1f72=function(_0x117f4c,_0x36a9b1){_0x117f4c=_0x117f4c-0x0;var _0x2b24e9=_0xf721[_0x117f4c];return _0x2b24e9;};'use strict';var moment=require(_0x1f72('0x0'));var util=require(_0x1f72('0x1'));var _=require('lodash');var client=require(_0x1f72('0x2'));exports[_0x1f72('0x3')]=function(_0xf360d5){return client[_0x1f72('0x4')]('CreateVoiceCallReport',{'body':_[_0x1f72('0x5')](_0xf360d5,{'source':_0xf360d5['calleridnum'],'destinationcontext':_0xf360d5[_0x1f72('0x6')],'callerid':_0xf360d5[_0x1f72('0x7')],'amaflags':_0x1f72('0x8')}),'log':'CreateVoiceCallReport'});};exports[_0x1f72('0x9')]=function(){return function(){return client[_0x1f72('0x4')]('GetVoiceCallReport',{'options':{'where':{'type':[_0x1f72('0xa')],'createdAt':{'$between':[moment()[_0x1f72('0xb')](_0x1f72('0xc'))[_0x1f72('0xd')](_0x1f72('0xe')),moment()['endOf']('day')['format'](_0x1f72('0xe'))]}},'attributes':[_0x1f72('0xf'),_0x1f72('0x10'),'duration',_0x1f72('0x11')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file