Built motion from commit 351e7f9c.|2.6.31
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 6384a75..5629ccd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1018=['../client','Request','CreateVoiceCallReport','merge','calleridnum','context','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','YYYY-MM-DD\x20HH:mm:ss','endOf','disposition','duration','billableseconds','GetVoiceCallReports','moment','util','lodash'];(function(_0x3cc9d9,_0x69ed38){var _0x1a425d=function(_0x44d109){while(--_0x44d109){_0x3cc9d9['push'](_0x3cc9d9['shift']());}};_0x1a425d(++_0x69ed38);}(_0x1018,0x123));var _0x8101=function(_0x5a55cd,_0x268f6c){_0x5a55cd=_0x5a55cd-0x0;var _0x787ae=_0x1018[_0x5a55cd];return _0x787ae;};'use strict';var moment=require(_0x8101('0x0'));var util=require(_0x8101('0x1'));var _=require(_0x8101('0x2'));var client=require(_0x8101('0x3'));exports['create']=function(_0x5bf10c){return client[_0x8101('0x4')](_0x8101('0x5'),{'body':_[_0x8101('0x6')](_0x5bf10c,{'source':_0x5bf10c[_0x8101('0x7')],'destinationcontext':_0x5bf10c[_0x8101('0x8')],'callerid':_0x5bf10c['callerid'],'amaflags':_0x8101('0x9')}),'log':_0x8101('0x5')});};exports[_0x8101('0xa')]=function(){return function(){return client[_0x8101('0x4')](_0x8101('0xb'),{'options':{'where':{'type':[_0x8101('0xc')],'createdAt':{'$between':[moment()[_0x8101('0xd')](_0x8101('0xe'))['format'](_0x8101('0xf')),moment()[_0x8101('0x10')](_0x8101('0xe'))['format'](_0x8101('0xf'))]}},'attributes':['type',_0x8101('0x11'),_0x8101('0x12'),_0x8101('0x13')]},'log':_0x8101('0x14')});};};
\ No newline at end of file
+var _0x9991=['duration','billableseconds','GetVoiceCallReports','moment','util','lodash','../client','Request','CreateVoiceCallReport','calleridnum','context','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','type','disposition'];(function(_0x238b9d,_0x117380){var _0xc65a3b=function(_0x1c7ca1){while(--_0x1c7ca1){_0x238b9d['push'](_0x238b9d['shift']());}};_0xc65a3b(++_0x117380);}(_0x9991,0x137));var _0x1999=function(_0x3cdc9e,_0x2e930e){_0x3cdc9e=_0x3cdc9e-0x0;var _0x154255=_0x9991[_0x3cdc9e];return _0x154255;};'use strict';var moment=require(_0x1999('0x0'));var util=require(_0x1999('0x1'));var _=require(_0x1999('0x2'));var client=require(_0x1999('0x3'));exports['create']=function(_0x3bfc0c){return client[_0x1999('0x4')](_0x1999('0x5'),{'body':_['merge'](_0x3bfc0c,{'source':_0x3bfc0c[_0x1999('0x6')],'destinationcontext':_0x3bfc0c[_0x1999('0x7')],'callerid':_0x3bfc0c[_0x1999('0x8')],'amaflags':_0x1999('0x9')}),'log':_0x1999('0x5')});};exports[_0x1999('0xa')]=function(){return function(){return client[_0x1999('0x4')](_0x1999('0xb'),{'options':{'where':{'type':[_0x1999('0xc')],'createdAt':{'$between':[moment()[_0x1999('0xd')](_0x1999('0xe'))[_0x1999('0xf')](_0x1999('0x10')),moment()['endOf'](_0x1999('0xe'))[_0x1999('0xf')](_0x1999('0x10'))]}},'attributes':[_0x1999('0x11'),_0x1999('0x12'),_0x1999('0x13'),_0x1999('0x14')]},'log':_0x1999('0x15')});};};
\ No newline at end of file