Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index d8a1e94..fec75a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x009d=['../rpc/faxAccount','error','inspect','notify','resolve','[Notify]\x20','util','preview'];(function(_0x3c4a7c,_0x2f4e3c){var _0xf13d1e=function(_0x24cb78){while(--_0x24cb78){_0x3c4a7c['push'](_0x3c4a7c['shift']());}};_0xf13d1e(++_0x2f4e3c);}(_0x009d,0x1ee));var _0xd009=function(_0x49e123,_0x547830){_0x49e123=_0x49e123-0x0;var _0x1528cf=_0x009d[_0x49e123];return _0x1528cf;};'use strict';var util=require(_0xd009('0x0'));var BPromise=require('bluebird');var logger=require('../../../config/logger')(_0xd009('0x1'));var _=require('lodash');var faxAccount=require(_0xd009('0x2'));function loggerCatch(_0xcfca0){return function(_0x3493e0){logger[_0xd009('0x3')](_0xcfca0,util[_0xd009('0x4')](_0x3493e0,{'showHidden':![],'depth':null}));};}exports[_0xd009('0x5')]=function(_0x106558,_0x52c1bf){return BPromise[_0xd009('0x6')]()['then'](faxAccount[_0xd009('0x5')](_0x106558,_0x52c1bf))['catch'](loggerCatch(_0xd009('0x7')));};
\ 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