Built motion from commit 06a208af.|2.6.26
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index eda229a..701a3d7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x543b=['Request','CreateVoiceCallReport','merge','calleridnum','context','callerid','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','format','endOf','day','YYYY-MM-DD\x20HH:mm:ss','type','disposition','GetVoiceCallReports','moment','util','lodash','create'];(function(_0x294fd5,_0x32da17){var _0x3bc562=function(_0x1cefae){while(--_0x1cefae){_0x294fd5['push'](_0x294fd5['shift']());}};_0x3bc562(++_0x32da17);}(_0x543b,0x1f4));var _0xb543=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x543b[_0x2dafbe];return _0x58a45a;};'use strict';var moment=require(_0xb543('0x0'));var util=require(_0xb543('0x1'));var _=require(_0xb543('0x2'));var client=require('../client');exports[_0xb543('0x3')]=function(_0x21e634){return client[_0xb543('0x4')](_0xb543('0x5'),{'body':_[_0xb543('0x6')](_0x21e634,{'source':_0x21e634[_0xb543('0x7')],'destinationcontext':_0x21e634[_0xb543('0x8')],'callerid':_0x21e634[_0xb543('0x9')],'amaflags':'DOCUMENTATION'}),'log':'CreateVoiceCallReport'});};exports[_0xb543('0xa')]=function(){return function(){return client['Request'](_0xb543('0xb'),{'options':{'where':{'type':[_0xb543('0xc')],'createdAt':{'$between':[moment()[_0xb543('0xd')]('day')[_0xb543('0xe')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0xb543('0xf')](_0xb543('0x10'))['format'](_0xb543('0x11'))]}},'attributes':[_0xb543('0x12'),_0xb543('0x13'),'duration','billableseconds']},'log':_0xb543('0x14')});};};
\ No newline at end of file
+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