Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index f89f5c5..bca37b0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2444=['util','create','Request','CreateVoiceCallReport','merge','calleridnum','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','day','format','YYYY-MM-DD\x20HH:mm:ss','endOf','disposition','duration','billableseconds','moment'];(function(_0x32e745,_0x24a98c){var _0x570bec=function(_0x10ed53){while(--_0x10ed53){_0x32e745['push'](_0x32e745['shift']());}};_0x570bec(++_0x24a98c);}(_0x2444,0x142));var _0x4244=function(_0x18034b,_0x9826e2){_0x18034b=_0x18034b-0x0;var _0x36b57e=_0x2444[_0x18034b];return _0x36b57e;};'use strict';var moment=require(_0x4244('0x0'));var util=require(_0x4244('0x1'));var _=require('lodash');var client=require('../client');exports[_0x4244('0x2')]=function(_0xde5be4){return client[_0x4244('0x3')](_0x4244('0x4'),{'body':_[_0x4244('0x5')](_0xde5be4,{'source':_0xde5be4[_0x4244('0x6')],'destinationcontext':_0xde5be4['context'],'callerid':_0xde5be4[_0x4244('0x7')],'amaflags':_0x4244('0x8')}),'log':_0x4244('0x4')});};exports[_0x4244('0x9')]=function(){return function(){return client[_0x4244('0x3')](_0x4244('0xa'),{'options':{'where':{'type':[_0x4244('0xb')],'createdAt':{'$between':[moment()['startOf'](_0x4244('0xc'))[_0x4244('0xd')](_0x4244('0xe')),moment()[_0x4244('0xf')](_0x4244('0xc'))['format']('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':['type',_0x4244('0x10'),_0x4244('0x11'),_0x4244('0x12')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file
+var _0x4bfc=['billableseconds','GetVoiceCallReports','util','lodash','../client','create','Request','calleridnum','context','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','type','disposition'];(function(_0xce1d6c,_0x3f597b){var _0x5a38e6=function(_0x20cd06){while(--_0x20cd06){_0xce1d6c['push'](_0xce1d6c['shift']());}};_0x5a38e6(++_0x3f597b);}(_0x4bfc,0x80));var _0xc4bf=function(_0x234aec,_0x4dde42){_0x234aec=_0x234aec-0x0;var _0x249db3=_0x4bfc[_0x234aec];return _0x249db3;};'use strict';var moment=require('moment');var util=require(_0xc4bf('0x0'));var _=require(_0xc4bf('0x1'));var client=require(_0xc4bf('0x2'));exports[_0xc4bf('0x3')]=function(_0x5d3b11){return client[_0xc4bf('0x4')]('CreateVoiceCallReport',{'body':_['merge'](_0x5d3b11,{'source':_0x5d3b11[_0xc4bf('0x5')],'destinationcontext':_0x5d3b11[_0xc4bf('0x6')],'callerid':_0x5d3b11['callerid'],'amaflags':'DOCUMENTATION'}),'log':'CreateVoiceCallReport'});};exports[_0xc4bf('0x7')]=function(){return function(){return client['Request'](_0xc4bf('0x8'),{'options':{'where':{'type':[_0xc4bf('0x9')],'createdAt':{'$between':[moment()[_0xc4bf('0xa')](_0xc4bf('0xb'))[_0xc4bf('0xc')]('YYYY-MM-DD\x20HH:mm:ss'),moment()['endOf'](_0xc4bf('0xb'))[_0xc4bf('0xc')](_0xc4bf('0xd'))]}},'attributes':[_0xc4bf('0xe'),_0xc4bf('0xf'),'duration',_0xc4bf('0x10')]},'log':_0xc4bf('0x11')});};};
\ No newline at end of file