Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 4281366..fce86c1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7172=['outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','disposition','billableseconds','moment','lodash','merge','calleridnum','context','callerid','DOCUMENTATION','CreateVoiceCallReport','Request'];(function(_0x4cef95,_0x361d19){var _0x1d72e9=function(_0x310d06){while(--_0x310d06){_0x4cef95['push'](_0x4cef95['shift']());}};_0x1d72e9(++_0x361d19);}(_0x7172,0x167));var _0x2717=function(_0x11aa9c,_0x2e9dd9){_0x11aa9c=_0x11aa9c-0x0;var _0x14f952=_0x7172[_0x11aa9c];return _0x14f952;};'use strict';var moment=require(_0x2717('0x0'));var util=require('util');var _=require(_0x2717('0x1'));var client=require('../client');exports['create']=function(_0x222542){return client['Request']('CreateVoiceCallReport',{'body':_[_0x2717('0x2')](_0x222542,{'source':_0x222542[_0x2717('0x3')],'destinationcontext':_0x222542[_0x2717('0x4')],'callerid':_0x222542[_0x2717('0x5')],'amaflags':_0x2717('0x6')}),'log':_0x2717('0x7')});};exports['getVoiceCallReports']=function(){return function(){return client[_0x2717('0x8')]('GetVoiceCallReport',{'options':{'where':{'type':[_0x2717('0x9')],'createdAt':{'$between':[moment()[_0x2717('0xa')](_0x2717('0xb'))[_0x2717('0xc')](_0x2717('0xd')),moment()['endOf'](_0x2717('0xb'))[_0x2717('0xc')](_0x2717('0xd'))]}},'attributes':['type',_0x2717('0xe'),'duration',_0x2717('0xf')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file
+var _0x4e03=['YYYY-MM-DD\x20HH:mm:ss','type','disposition','GetVoiceCallReports','moment','util','lodash','create','Request','CreateVoiceCallReport','calleridnum','callerid','DOCUMENTATION','outbound','startOf','day','format','endOf'];(function(_0x1d9333,_0xe1a4e4){var _0x4ea612=function(_0x468edc){while(--_0x468edc){_0x1d9333['push'](_0x1d9333['shift']());}};_0x4ea612(++_0xe1a4e4);}(_0x4e03,0x82));var _0x34e0=function(_0x18d7d1,_0x7d2e7d){_0x18d7d1=_0x18d7d1-0x0;var _0x140009=_0x4e03[_0x18d7d1];return _0x140009;};'use strict';var moment=require(_0x34e0('0x0'));var util=require(_0x34e0('0x1'));var _=require(_0x34e0('0x2'));var client=require('../client');exports[_0x34e0('0x3')]=function(_0x2cc572){return client[_0x34e0('0x4')](_0x34e0('0x5'),{'body':_['merge'](_0x2cc572,{'source':_0x2cc572[_0x34e0('0x6')],'destinationcontext':_0x2cc572['context'],'callerid':_0x2cc572[_0x34e0('0x7')],'amaflags':_0x34e0('0x8')}),'log':_0x34e0('0x5')});};exports['getVoiceCallReports']=function(){return function(){return client['Request']('GetVoiceCallReport',{'options':{'where':{'type':[_0x34e0('0x9')],'createdAt':{'$between':[moment()[_0x34e0('0xa')](_0x34e0('0xb'))[_0x34e0('0xc')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x34e0('0xd')](_0x34e0('0xb'))[_0x34e0('0xc')](_0x34e0('0xe'))]}},'attributes':[_0x34e0('0xf'),_0x34e0('0x10'),'duration','billableseconds']},'log':_0x34e0('0x11')});};};
\ No newline at end of file