Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 3b5cfd0..302ccd9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbbb7=['disposition','duration','billableseconds','GetVoiceCallReports','moment','lodash','create','Request','merge','calleridnum','callerid','CreateVoiceCallReport','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','YYYY-MM-DD\x20HH:mm:ss','endOf','format','type'];(function(_0x15eb63,_0xd3f629){var _0x19fc81=function(_0x4ddaec){while(--_0x4ddaec){_0x15eb63['push'](_0x15eb63['shift']());}};_0x19fc81(++_0xd3f629);}(_0xbbb7,0x13f));var _0x7bbb=function(_0x28ec29,_0x38469d){_0x28ec29=_0x28ec29-0x0;var _0x299910=_0xbbb7[_0x28ec29];return _0x299910;};'use strict';var moment=require(_0x7bbb('0x0'));var util=require('util');var _=require(_0x7bbb('0x1'));var client=require('../client');exports[_0x7bbb('0x2')]=function(_0x2add0e){return client[_0x7bbb('0x3')]('CreateVoiceCallReport',{'body':_[_0x7bbb('0x4')](_0x2add0e,{'source':_0x2add0e[_0x7bbb('0x5')],'destinationcontext':_0x2add0e['context'],'callerid':_0x2add0e[_0x7bbb('0x6')],'amaflags':'DOCUMENTATION'}),'log':_0x7bbb('0x7')});};exports[_0x7bbb('0x8')]=function(){return function(){return client['Request'](_0x7bbb('0x9'),{'options':{'where':{'type':[_0x7bbb('0xa')],'createdAt':{'$between':[moment()[_0x7bbb('0xb')](_0x7bbb('0xc'))['format'](_0x7bbb('0xd')),moment()[_0x7bbb('0xe')](_0x7bbb('0xc'))[_0x7bbb('0xf')](_0x7bbb('0xd'))]}},'attributes':[_0x7bbb('0x10'),_0x7bbb('0x11'),_0x7bbb('0x12'),_0x7bbb('0x13')]},'log':_0x7bbb('0x14')});};};
\ No newline at end of file
+var _0xb463=['create','Request','CreateVoiceCallReport','calleridnum','context','callerid','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','format','YYYY-MM-DD\x20HH:mm:ss','day','disposition','duration','billableseconds','GetVoiceCallReports','moment','util','lodash'];(function(_0x1bec0f,_0x5dd7ba){var _0x7e6b5b=function(_0x262c5b){while(--_0x262c5b){_0x1bec0f['push'](_0x1bec0f['shift']());}};_0x7e6b5b(++_0x5dd7ba);}(_0xb463,0x1dd));var _0x3b46=function(_0x32ab67,_0x9da743){_0x32ab67=_0x32ab67-0x0;var _0x5cb1fa=_0xb463[_0x32ab67];return _0x5cb1fa;};'use strict';var moment=require(_0x3b46('0x0'));var util=require(_0x3b46('0x1'));var _=require(_0x3b46('0x2'));var client=require('../client');exports[_0x3b46('0x3')]=function(_0x1b0c42){return client[_0x3b46('0x4')](_0x3b46('0x5'),{'body':_['merge'](_0x1b0c42,{'source':_0x1b0c42[_0x3b46('0x6')],'destinationcontext':_0x1b0c42[_0x3b46('0x7')],'callerid':_0x1b0c42[_0x3b46('0x8')],'amaflags':'DOCUMENTATION'}),'log':_0x3b46('0x5')});};exports[_0x3b46('0x9')]=function(){return function(){return client[_0x3b46('0x4')](_0x3b46('0xa'),{'options':{'where':{'type':[_0x3b46('0xb')],'createdAt':{'$between':[moment()[_0x3b46('0xc')]('day')[_0x3b46('0xd')](_0x3b46('0xe')),moment()['endOf'](_0x3b46('0xf'))[_0x3b46('0xd')](_0x3b46('0xe'))]}},'attributes':['type',_0x3b46('0x10'),_0x3b46('0x11'),_0x3b46('0x12')]},'log':_0x3b46('0x13')});};};
\ No newline at end of file