Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index a1210df..6c46cf7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc9e=['[Notify]\x20','util','bluebird','../../../config/logger','lodash','error','inspect','resolve','then','notify'];(function(_0x4cc271,_0x13824d){var _0x2e0e8b=function(_0x5ad955){while(--_0x5ad955){_0x4cc271['push'](_0x4cc271['shift']());}};_0x2e0e8b(++_0x13824d);}(_0xbc9e,0x8d));var _0xebc9=function(_0x4fde08,_0x463a36){_0x4fde08=_0x4fde08-0x0;var _0x12e725=_0xbc9e[_0x4fde08];return _0x12e725;};'use strict';var util=require(_0xebc9('0x0'));var BPromise=require(_0xebc9('0x1'));var logger=require(_0xebc9('0x2'))('preview');var _=require(_0xebc9('0x3'));var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x4e4557){return function(_0xcd8971){logger[_0xebc9('0x4')](_0x4e4557,util[_0xebc9('0x5')](_0xcd8971,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x2ee701,_0x4c69df){return BPromise[_0xebc9('0x6')]()[_0xebc9('0x7')](faxAccount[_0xebc9('0x8')](_0x2ee701,_0x4c69df))['catch'](loggerCatch(_0xebc9('0x9')));};
\ No newline at end of file
+var _0x946d=['lodash','../rpc/faxAccount','error','notify','resolve','then','catch','util','../../../config/logger'];(function(_0x1fdb63,_0x38efab){var _0xd842c9=function(_0x5be500){while(--_0x5be500){_0x1fdb63['push'](_0x1fdb63['shift']());}};_0xd842c9(++_0x38efab);}(_0x946d,0x166));var _0xd946=function(_0x43ec1c,_0x8c42ba){_0x43ec1c=_0x43ec1c-0x0;var _0xcb0afb=_0x946d[_0x43ec1c];return _0xcb0afb;};'use strict';var util=require(_0xd946('0x0'));var BPromise=require('bluebird');var logger=require(_0xd946('0x1'))('preview');var _=require(_0xd946('0x2'));var faxAccount=require(_0xd946('0x3'));function loggerCatch(_0x15da48){return function(_0x30eef7){logger[_0xd946('0x4')](_0x15da48,util['inspect'](_0x30eef7,{'showHidden':![],'depth':null}));};}exports[_0xd946('0x5')]=function(_0x112038,_0x415fd0){return BPromise[_0xd946('0x6')]()[_0xd946('0x7')](faxAccount[_0xd946('0x5')](_0x112038,_0x415fd0))[_0xd946('0x8')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file