Built motion from commit (unavailable).|2.4.16
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
index 0b25807..a7587e9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9e89=['GetVoiceCallReports','moment','util','lodash','Request','CreateVoiceCallReport','merge','calleridnum','callerid','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','endOf','type','disposition','duration','billableseconds'];(function(_0x527cd7,_0x59ebea){var _0x4589c6=function(_0x419598){while(--_0x419598){_0x527cd7['push'](_0x527cd7['shift']());}};_0x4589c6(++_0x59ebea);}(_0x9e89,0xbe));var _0x99e8=function(_0x591546,_0x2c9050){_0x591546=_0x591546-0x0;var _0x40aa14=_0x9e89[_0x591546];return _0x40aa14;};'use strict';var moment=require(_0x99e8('0x0'));var util=require(_0x99e8('0x1'));var _=require(_0x99e8('0x2'));var client=require('../client');exports['create']=function(_0xeab1c9){return client[_0x99e8('0x3')](_0x99e8('0x4'),{'body':_[_0x99e8('0x5')](_0xeab1c9,{'source':_0xeab1c9[_0x99e8('0x6')],'destinationcontext':_0xeab1c9['context'],'callerid':_0xeab1c9[_0x99e8('0x7')],'amaflags':_0x99e8('0x8')}),'log':'CreateVoiceCallReport'});};exports[_0x99e8('0x9')]=function(){return function(){return client[_0x99e8('0x3')](_0x99e8('0xa'),{'options':{'where':{'type':[_0x99e8('0xb')],'createdAt':{'$between':[moment()[_0x99e8('0xc')](_0x99e8('0xd'))[_0x99e8('0xe')]('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x99e8('0xf')](_0x99e8('0xd'))['format']('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':[_0x99e8('0x10'),_0x99e8('0x11'),_0x99e8('0x12'),_0x99e8('0x13')]},'log':_0x99e8('0x14')});};};
\ No newline at end of file
+var _0xef32=['context','DOCUMENTATION','getVoiceCallReports','startOf','endOf','day','YYYY-MM-DD\x20HH:mm:ss','type','billableseconds','moment','../client','Request','CreateVoiceCallReport','merge','calleridnum'];(function(_0x13889c,_0x5222e0){var _0x2823ce=function(_0x2e78d3){while(--_0x2e78d3){_0x13889c['push'](_0x13889c['shift']());}};_0x2823ce(++_0x5222e0);}(_0xef32,0x126));var _0x2ef3=function(_0x8de54f,_0x271987){_0x8de54f=_0x8de54f-0x0;var _0x14cba4=_0xef32[_0x8de54f];return _0x14cba4;};'use strict';var moment=require(_0x2ef3('0x0'));var util=require('util');var _=require('lodash');var client=require(_0x2ef3('0x1'));exports['create']=function(_0x2b45cc){return client[_0x2ef3('0x2')](_0x2ef3('0x3'),{'body':_[_0x2ef3('0x4')](_0x2b45cc,{'source':_0x2b45cc[_0x2ef3('0x5')],'destinationcontext':_0x2b45cc[_0x2ef3('0x6')],'callerid':_0x2b45cc['callerid'],'amaflags':_0x2ef3('0x7')}),'log':_0x2ef3('0x3')});};exports[_0x2ef3('0x8')]=function(){return function(){return client['Request']('GetVoiceCallReport',{'options':{'where':{'type':['outbound'],'createdAt':{'$between':[moment()[_0x2ef3('0x9')]('day')['format']('YYYY-MM-DD\x20HH:mm:ss'),moment()[_0x2ef3('0xa')](_0x2ef3('0xb'))['format'](_0x2ef3('0xc'))]}},'attributes':[_0x2ef3('0xd'),'disposition','duration',_0x2ef3('0xe')]},'log':'GetVoiceCallReports'});};};
\ No newline at end of file