Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 20626a4..e0389c2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4f06=['endOf','format','duration','GetVoiceCallReports','moment','util','lodash','../client','create','Request','calleridnum','context','callerid','CreateVoiceCallReport','getVoiceCallReports','outbound','startOf','day','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x1ead3e,_0x188ac7){var _0x502a9d=function(_0x1bea4a){while(--_0x1bea4a){_0x1ead3e['push'](_0x1ead3e['shift']());}};_0x502a9d(++_0x188ac7);}(_0x4f06,0x1f2));var _0x64f0=function(_0x5d13f3,_0x2dd840){_0x5d13f3=_0x5d13f3-0x0;var _0x56a338=_0x4f06[_0x5d13f3];return _0x56a338;};'use strict';var moment=require(_0x64f0('0x0'));var util=require(_0x64f0('0x1'));var _=require(_0x64f0('0x2'));var client=require(_0x64f0('0x3'));exports[_0x64f0('0x4')]=function(_0x5d0843){return client[_0x64f0('0x5')]('CreateVoiceCallReport',{'body':_['merge'](_0x5d0843,{'source':_0x5d0843[_0x64f0('0x6')],'destinationcontext':_0x5d0843[_0x64f0('0x7')],'callerid':_0x5d0843[_0x64f0('0x8')],'amaflags':'DOCUMENTATION'}),'log':_0x64f0('0x9')});};exports[_0x64f0('0xa')]=function(){return function(){return client[_0x64f0('0x5')]('GetVoiceCallReport',{'options':{'where':{'type':[_0x64f0('0xb')],'createdAt':{'$between':[moment()[_0x64f0('0xc')](_0x64f0('0xd'))['format'](_0x64f0('0xe')),moment()[_0x64f0('0xf')](_0x64f0('0xd'))[_0x64f0('0x10')](_0x64f0('0xe'))]}},'attributes':['type','disposition',_0x64f0('0x11'),'billableseconds']},'log':_0x64f0('0x12')});};};
\ No newline at end of file
+var _0xa8b8=['day','format','YYYY-MM-DD\x20HH:mm:ss','disposition','GetVoiceCallReports','moment','util','../client','create','Request','CreateVoiceCallReport','calleridnum','context','callerid','DOCUMENTATION','GetVoiceCallReport','outbound'];(function(_0xbb091,_0x3fe7ee){var _0x467a04=function(_0x3a978d){while(--_0x3a978d){_0xbb091['push'](_0xbb091['shift']());}};_0x467a04(++_0x3fe7ee);}(_0xa8b8,0xaf));var _0x8a8b=function(_0x319209,_0x5913f0){_0x319209=_0x319209-0x0;var _0x2c1e3a=_0xa8b8[_0x319209];return _0x2c1e3a;};'use strict';var moment=require(_0x8a8b('0x0'));var util=require(_0x8a8b('0x1'));var _=require('lodash');var client=require(_0x8a8b('0x2'));exports[_0x8a8b('0x3')]=function(_0x2260d0){return client[_0x8a8b('0x4')](_0x8a8b('0x5'),{'body':_['merge'](_0x2260d0,{'source':_0x2260d0[_0x8a8b('0x6')],'destinationcontext':_0x2260d0[_0x8a8b('0x7')],'callerid':_0x2260d0[_0x8a8b('0x8')],'amaflags':_0x8a8b('0x9')}),'log':_0x8a8b('0x5')});};exports['getVoiceCallReports']=function(){return function(){return client['Request'](_0x8a8b('0xa'),{'options':{'where':{'type':[_0x8a8b('0xb')],'createdAt':{'$between':[moment()['startOf'](_0x8a8b('0xc'))[_0x8a8b('0xd')]('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf']('day')[_0x8a8b('0xd')](_0x8a8b('0xe'))]}},'attributes':['type',_0x8a8b('0xf'),'duration','billableseconds']},'log':_0x8a8b('0x10')});};};
\ No newline at end of file