Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index 55b6b9c..6c46cf7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xff36=['notify','[Notify]\x20','util','preview','../rpc/faxAccount','error','inspect','then'];(function(_0x1294d8,_0x4ab444){var _0x3b2c4c=function(_0x105528){while(--_0x105528){_0x1294d8['push'](_0x1294d8['shift']());}};_0x3b2c4c(++_0x4ab444);}(_0xff36,0x192));var _0x6ff3=function(_0x380a9c,_0xc3b6ae){_0x380a9c=_0x380a9c-0x0;var _0x15b947=_0xff36[_0x380a9c];return _0x15b947;};'use strict';var util=require(_0x6ff3('0x0'));var BPromise=require('bluebird');var logger=require('../../../config/logger')(_0x6ff3('0x1'));var _=require('lodash');var faxAccount=require(_0x6ff3('0x2'));function loggerCatch(_0x59307c){return function(_0x290a1d){logger[_0x6ff3('0x3')](_0x59307c,util[_0x6ff3('0x4')](_0x290a1d,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x2cc82d,_0x449a45){return BPromise['resolve']()[_0x6ff3('0x5')](faxAccount[_0x6ff3('0x6')](_0x2cc82d,_0x449a45))['catch'](loggerCatch(_0x6ff3('0x7')));};
\ 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