Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index 373d3f5..fec75a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x81d8=['error','inspect','resolve','then','notify','catch','util','bluebird','../../../config/logger','preview','lodash'];(function(_0x10df18,_0x13338c){var _0x1f9a1d=function(_0x3157f4){while(--_0x3157f4){_0x10df18['push'](_0x10df18['shift']());}};_0x1f9a1d(++_0x13338c);}(_0x81d8,0x1df));var _0x881d=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x81d8[_0x19e35c];return _0x3e1fe8;};'use strict';var util=require(_0x881d('0x0'));var BPromise=require(_0x881d('0x1'));var logger=require(_0x881d('0x2'))(_0x881d('0x3'));var _=require(_0x881d('0x4'));var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x166d26){return function(_0x4ddd9e){logger[_0x881d('0x5')](_0x166d26,util[_0x881d('0x6')](_0x4ddd9e,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x1c2377,_0x17e4df){return BPromise[_0x881d('0x7')]()[_0x881d('0x8')](faxAccount[_0x881d('0x9')](_0x1c2377,_0x17e4df))[_0x881d('0xa')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file
+var _0x5f53=['notify','resolve','catch','util','../../../config/logger','../rpc/faxAccount','error'];(function(_0x2d7886,_0xeb9063){var _0x8e97d7=function(_0x258d5e){while(--_0x258d5e){_0x2d7886['push'](_0x2d7886['shift']());}};_0x8e97d7(++_0xeb9063);}(_0x5f53,0x81));var _0x35f5=function(_0x222214,_0x5c3279){_0x222214=_0x222214-0x0;var _0x303520=_0x5f53[_0x222214];return _0x303520;};'use strict';var util=require(_0x35f5('0x0'));var BPromise=require('bluebird');var logger=require(_0x35f5('0x1'))('preview');var _=require('lodash');var faxAccount=require(_0x35f5('0x2'));function loggerCatch(_0x25c0d0){return function(_0x1beea6){logger[_0x35f5('0x3')](_0x25c0d0,util['inspect'](_0x1beea6,{'showHidden':![],'depth':null}));};}exports[_0x35f5('0x4')]=function(_0x18a421,_0x452cd0){return BPromise[_0x35f5('0x5')]()['then'](faxAccount[_0x35f5('0x4')](_0x18a421,_0x452cd0))[_0x35f5('0x6')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file