Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / fax / rpcDb.js
index 4a6010f..4d1a88e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5e70=['lodash','error','resolve','notify','catch','[Notify]\x20','util','bluebird','preview'];(function(_0x350182,_0x2a9feb){var _0x4a0892=function(_0x2c994d){while(--_0x2c994d){_0x350182['push'](_0x350182['shift']());}};_0x4a0892(++_0x2a9feb);}(_0x5e70,0x114));var _0x05e7=function(_0xb8f08e,_0x3542cb){_0xb8f08e=_0xb8f08e-0x0;var _0x397344=_0x5e70[_0xb8f08e];return _0x397344;};'use strict';var util=require(_0x05e7('0x0'));var BPromise=require(_0x05e7('0x1'));var logger=require('../../../config/logger')(_0x05e7('0x2'));var _=require(_0x05e7('0x3'));var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0xf177d8){return function(_0x4699a5){logger[_0x05e7('0x4')](_0xf177d8,util['inspect'](_0x4699a5,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x10885b,_0x5bae12){return BPromise[_0x05e7('0x5')]()['then'](faxAccount[_0x05e7('0x6')](_0x10885b,_0x5bae12))[_0x05e7('0x7')](loggerCatch(_0x05e7('0x8')));};
\ 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