Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / fax / rpcDb.js
index ba58ed7..4d1a88e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9ad6=['../rpc/faxAccount','error','inspect','resolve','util','preview','lodash'];(function(_0x2c45a5,_0x5ef843){var _0x291748=function(_0x5e80f3){while(--_0x5e80f3){_0x2c45a5['push'](_0x2c45a5['shift']());}};_0x291748(++_0x5ef843);}(_0x9ad6,0x193));var _0x69ad=function(_0x5580de,_0x223259){_0x5580de=_0x5580de-0x0;var _0x13a6f2=_0x9ad6[_0x5580de];return _0x13a6f2;};'use strict';var util=require(_0x69ad('0x0'));var BPromise=require('bluebird');var logger=require('../../../config/logger')(_0x69ad('0x1'));var _=require(_0x69ad('0x2'));var faxAccount=require(_0x69ad('0x3'));function loggerCatch(_0x55e376){return function(_0x23ea9d){logger[_0x69ad('0x4')](_0x55e376,util[_0x69ad('0x5')](_0x23ea9d,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x3ec750,_0x2aaf6a){return BPromise[_0x69ad('0x6')]()['then'](faxAccount['notify'](_0x3ec750,_0x2aaf6a))['catch'](loggerCatch('[Notify]\x20'));};
\ No newline at end of file
+var _0x1b34=['../../../config/logger','preview','../rpc/faxAccount','error','notify','resolve','then','catch','util'];(function(_0x4dbaad,_0x730318){var _0x226c72=function(_0x501972){while(--_0x501972){_0x4dbaad['push'](_0x4dbaad['shift']());}};_0x226c72(++_0x730318);}(_0x1b34,0x1a6));var _0x41b3=function(_0x1585a4,_0x19d0cb){_0x1585a4=_0x1585a4-0x0;var _0x5a9722=_0x1b34[_0x1585a4];return _0x5a9722;};'use strict';var util=require(_0x41b3('0x0'));var BPromise=require('bluebird');var logger=require(_0x41b3('0x1'))(_0x41b3('0x2'));var _=require('lodash');var faxAccount=require(_0x41b3('0x3'));function loggerCatch(_0x1cff19){return function(_0x2dec15){logger[_0x41b3('0x4')](_0x1cff19,util['inspect'](_0x2dec15,{'showHidden':![],'depth':null}));};}exports[_0x41b3('0x5')]=function(_0x382bf1,_0xf9cd14){return BPromise[_0x41b3('0x6')]()[_0x41b3('0x7')](faxAccount[_0x41b3('0x5')](_0x382bf1,_0xf9cd14))[_0x41b3('0x8')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file