Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / services / ami / fax / rpcDb.js
index f897026..13fc4f4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf9f4=['inspect','notify','resolve','then','util','bluebird','../../../config/logger','lodash','../rpc/faxAccount','error'];(function(_0x35885a,_0x42fed7){var _0xe86249=function(_0x98edb3){while(--_0x98edb3){_0x35885a['push'](_0x35885a['shift']());}};_0xe86249(++_0x42fed7);}(_0xf9f4,0x144));var _0x4f9f=function(_0x4ff714,_0x201a1d){_0x4ff714=_0x4ff714-0x0;var _0x255d8e=_0xf9f4[_0x4ff714];return _0x255d8e;};'use strict';var util=require(_0x4f9f('0x0'));var BPromise=require(_0x4f9f('0x1'));var logger=require(_0x4f9f('0x2'))('preview');var _=require(_0x4f9f('0x3'));var faxAccount=require(_0x4f9f('0x4'));function loggerCatch(_0x526c4c){return function(_0x784617){logger[_0x4f9f('0x5')](_0x526c4c,util[_0x4f9f('0x6')](_0x784617,{'showHidden':![],'depth':null}));};}exports[_0x4f9f('0x7')]=function(_0x3e8749,_0x3596cb){return BPromise[_0x4f9f('0x8')]()[_0x4f9f('0x9')](faxAccount[_0x4f9f('0x7')](_0x3e8749,_0x3596cb))['catch'](loggerCatch('[Notify]\x20'));};
\ No newline at end of file
+var _0xbc22=['resolve','then','notify','catch','[Notify]\x20','../../../config/logger','preview','../rpc/faxAccount','error'];(function(_0x33154d,_0x854047){var _0x3b2f03=function(_0x35f7a6){while(--_0x35f7a6){_0x33154d['push'](_0x33154d['shift']());}};_0x3b2f03(++_0x854047);}(_0xbc22,0xb9));var _0x2bc2=function(_0x4fa291,_0x56e289){_0x4fa291=_0x4fa291-0x0;var _0x506d9b=_0xbc22[_0x4fa291];return _0x506d9b;};'use strict';var util=require('util');var BPromise=require('bluebird');var logger=require(_0x2bc2('0x0'))(_0x2bc2('0x1'));var _=require('lodash');var faxAccount=require(_0x2bc2('0x2'));function loggerCatch(_0x3d3516){return function(_0xfd4cc6){logger[_0x2bc2('0x3')](_0x3d3516,util['inspect'](_0xfd4cc6,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x2e9248,_0x5234aa){return BPromise[_0x2bc2('0x4')]()[_0x2bc2('0x5')](faxAccount[_0x2bc2('0x6')](_0x2e9248,_0x5234aa))[_0x2bc2('0x7')](loggerCatch(_0x2bc2('0x8')));};
\ No newline at end of file