Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index afba77c..8e6f387 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3702=['../client','create','Request','merge','context','callerid','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','type','disposition','duration','billableseconds','GetVoiceCallReports','moment','util','lodash'];(function(_0x4670e,_0x19e50c){var _0xab329a=function(_0x4fc5ba){while(--_0x4fc5ba){_0x4670e['push'](_0x4670e['shift']());}};_0xab329a(++_0x19e50c);}(_0x3702,0x165));var _0x2370=function(_0x571727,_0x491caa){_0x571727=_0x571727-0x0;var _0x50e401=_0x3702[_0x571727];return _0x50e401;};'use strict';var moment=require(_0x2370('0x0'));var util=require(_0x2370('0x1'));var _=require(_0x2370('0x2'));var client=require(_0x2370('0x3'));exports[_0x2370('0x4')]=function(_0x489ac2){return client[_0x2370('0x5')]('CreateVoiceCallReport',{'body':_[_0x2370('0x6')](_0x489ac2,{'source':_0x489ac2['calleridnum'],'destinationcontext':_0x489ac2[_0x2370('0x7')],'callerid':_0x489ac2[_0x2370('0x8')],'amaflags':'DOCUMENTATION'}),'log':'CreateVoiceCallReport'});};exports['getVoiceCallReports']=function(){return function(){return client['Request'](_0x2370('0x9'),{'options':{'where':{'type':[_0x2370('0xa')],'createdAt':{'$between':[moment()[_0x2370('0xb')](_0x2370('0xc'))[_0x2370('0xd')](_0x2370('0xe')),moment()['endOf']('day')[_0x2370('0xd')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':[_0x2370('0xf'),_0x2370('0x10'),_0x2370('0x11'),_0x2370('0x12')]},'log':_0x2370('0x13')});};};
\ No newline at end of file
+var _0x1481=['type','duration','billableseconds','moment','lodash','../client','Request','merge','context','callerid','DOCUMENTATION','CreateVoiceCallReport','GetVoiceCallReport','outbound','day','endOf','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x1481,0x16b));var _0x1148=function(_0x588002,_0x52717f){_0x588002=_0x588002-0x0;var _0x544906=_0x1481[_0x588002];return _0x544906;};'use strict';var moment=require(_0x1148('0x0'));var util=require('util');var _=require(_0x1148('0x1'));var client=require(_0x1148('0x2'));exports['create']=function(_0x5f5cea){return client[_0x1148('0x3')]('CreateVoiceCallReport',{'body':_[_0x1148('0x4')](_0x5f5cea,{'source':_0x5f5cea['calleridnum'],'destinationcontext':_0x5f5cea[_0x1148('0x5')],'callerid':_0x5f5cea[_0x1148('0x6')],'amaflags':_0x1148('0x7')}),'log':_0x1148('0x8')});};exports['getVoiceCallReports']=function(){return function(){return client['Request'](_0x1148('0x9'),{'options':{'where':{'type':[_0x1148('0xa')],'createdAt':{'$between':[moment()['startOf'](_0x1148('0xb'))['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x1148('0xc')](_0x1148('0xb'))[_0x1148('0xd')](_0x1148('0xe'))]}},'attributes':[_0x1148('0xf'),'disposition',_0x1148('0x10'),_0x1148('0x11')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file