Built motion from commit 0c5f406c.|2.6.29
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 16d6dc8..d6b839a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8718=['lodash','../client','create','CreateVoiceCallReport','merge','calleridnum','getVoiceCallReports','Request','GetVoiceCallReport','outbound','day','endOf','format','duration','billableseconds','moment','util'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8718,0x130));var _0x8871=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x8718[_0x2641f9];return _0x585741;};'use strict';var moment=require(_0x8871('0x0'));var util=require(_0x8871('0x1'));var _=require(_0x8871('0x2'));var client=require(_0x8871('0x3'));exports[_0x8871('0x4')]=function(_0x4b1583){return client['Request'](_0x8871('0x5'),{'body':_[_0x8871('0x6')](_0x4b1583,{'source':_0x4b1583[_0x8871('0x7')],'destinationcontext':_0x4b1583['context'],'callerid':_0x4b1583['callerid'],'amaflags':'DOCUMENTATION'}),'log':_0x8871('0x5')});};exports[_0x8871('0x8')]=function(){return function(){return client[_0x8871('0x9')](_0x8871('0xa'),{'options':{'where':{'type':[_0x8871('0xb')],'createdAt':{'$between':[moment()['startOf'](_0x8871('0xc'))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x8871('0xd')](_0x8871('0xc'))[_0x8871('0xe')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':['type','disposition',_0x8871('0xf'),_0x8871('0x10')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file
+var _0xecc7=['calleridnum','context','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','type','disposition','duration','billableseconds','moment','util','lodash','create','Request','CreateVoiceCallReport','merge'];(function(_0x7f5123,_0x3062c5){var _0x10a02a=function(_0x48d0c9){while(--_0x48d0c9){_0x7f5123['push'](_0x7f5123['shift']());}};_0x10a02a(++_0x3062c5);}(_0xecc7,0xd5));var _0x7ecc=function(_0x32ed80,_0x3db315){_0x32ed80=_0x32ed80-0x0;var _0x212659=_0xecc7[_0x32ed80];return _0x212659;};'use strict';var moment=require(_0x7ecc('0x0'));var util=require(_0x7ecc('0x1'));var _=require(_0x7ecc('0x2'));var client=require('../client');exports[_0x7ecc('0x3')]=function(_0x1dc5a6){return client[_0x7ecc('0x4')](_0x7ecc('0x5'),{'body':_[_0x7ecc('0x6')](_0x1dc5a6,{'source':_0x1dc5a6[_0x7ecc('0x7')],'destinationcontext':_0x1dc5a6[_0x7ecc('0x8')],'callerid':_0x1dc5a6[_0x7ecc('0x9')],'amaflags':_0x7ecc('0xa')}),'log':_0x7ecc('0x5')});};exports[_0x7ecc('0xb')]=function(){return function(){return client[_0x7ecc('0x4')](_0x7ecc('0xc'),{'options':{'where':{'type':[_0x7ecc('0xd')],'createdAt':{'$between':[moment()[_0x7ecc('0xe')](_0x7ecc('0xf'))[_0x7ecc('0x10')](_0x7ecc('0x11')),moment()['endOf'](_0x7ecc('0xf'))['format'](_0x7ecc('0x11'))]}},'attributes':[_0x7ecc('0x12'),_0x7ecc('0x13'),_0x7ecc('0x14'),_0x7ecc('0x15')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file