Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / services / ami / fax / rpcDb.js
index 17e9cd6..ebb8ab6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6043=['resolve','then','notify','[Notify]\x20','util','bluebird','../../../config/logger','lodash'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6043,0x16c));var _0x3604=function(_0x59d12e,_0x1128ff){_0x59d12e=_0x59d12e-0x0;var _0x2f5ee4=_0x6043[_0x59d12e];return _0x2f5ee4;};'use strict';var util=require(_0x3604('0x0'));var BPromise=require(_0x3604('0x1'));var logger=require(_0x3604('0x2'))('preview');var _=require(_0x3604('0x3'));var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x50cbf5){return function(_0x5d385f){logger['error'](_0x50cbf5,util['inspect'](_0x5d385f,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x4960d1,_0x48afad){return BPromise[_0x3604('0x4')]()[_0x3604('0x5')](faxAccount[_0x3604('0x6')](_0x4960d1,_0x48afad))['catch'](loggerCatch(_0x3604('0x7')));};
\ No newline at end of file
+var _0x5aa7=['resolve','then','catch','[Notify]\x20','util','bluebird','../../../config/logger','preview','lodash','../rpc/faxAccount','notify'];(function(_0x10d073,_0x563a5f){var _0x4ccff2=function(_0x9cd847){while(--_0x9cd847){_0x10d073['push'](_0x10d073['shift']());}};_0x4ccff2(++_0x563a5f);}(_0x5aa7,0x17a));var _0x75aa=function(_0x5af3e3,_0x1dfd56){_0x5af3e3=_0x5af3e3-0x0;var _0x3caa1a=_0x5aa7[_0x5af3e3];return _0x3caa1a;};'use strict';var util=require(_0x75aa('0x0'));var BPromise=require(_0x75aa('0x1'));var logger=require(_0x75aa('0x2'))(_0x75aa('0x3'));var _=require(_0x75aa('0x4'));var faxAccount=require(_0x75aa('0x5'));function loggerCatch(_0x567075){return function(_0x7176ab){logger['error'](_0x567075,util['inspect'](_0x7176ab,{'showHidden':![],'depth':null}));};}exports[_0x75aa('0x6')]=function(_0x10eb31,_0x3f3095){return BPromise[_0x75aa('0x7')]()[_0x75aa('0x8')](faxAccount[_0x75aa('0x6')](_0x10eb31,_0x3f3095))[_0x75aa('0x9')](loggerCatch(_0x75aa('0xa')));};
\ No newline at end of file