Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / services / ami / fax / rpcDb.js
index 4b62a8e..f0812f1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x399f=['then','catch','[Notify]\x20','../../../config/logger','lodash','error','notify'];(function(_0x439410,_0x425a4f){var _0x21003d=function(_0x1927c8){while(--_0x1927c8){_0x439410['push'](_0x439410['shift']());}};_0x21003d(++_0x425a4f);}(_0x399f,0x1ae));var _0xf399=function(_0x5cd65a,_0x3f299c){_0x5cd65a=_0x5cd65a-0x0;var _0x3acd3e=_0x399f[_0x5cd65a];return _0x3acd3e;};'use strict';var util=require('util');var BPromise=require('bluebird');var logger=require(_0xf399('0x0'))('preview');var _=require(_0xf399('0x1'));var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x2576a6){return function(_0x5bd8b3){logger[_0xf399('0x2')](_0x2576a6,util['inspect'](_0x5bd8b3,{'showHidden':![],'depth':null}));};}exports[_0xf399('0x3')]=function(_0x2dd53a,_0x39d20a){return BPromise['resolve']()[_0xf399('0x4')](faxAccount[_0xf399('0x3')](_0x2dd53a,_0x39d20a))[_0xf399('0x5')](loggerCatch(_0xf399('0x6')));};
\ No newline at end of file
+var _0xcecb=['util','bluebird','../../../config/logger','preview','../rpc/faxAccount','error','inspect','notify','resolve','then','catch','[Notify]\x20'];(function(_0x3da982,_0x3b4bee){var _0x46e086=function(_0x53fe4b){while(--_0x53fe4b){_0x3da982['push'](_0x3da982['shift']());}};_0x46e086(++_0x3b4bee);}(_0xcecb,0x1d4));var _0xbcec=function(_0x4fcd70,_0x109348){_0x4fcd70=_0x4fcd70-0x0;var _0x336588=_0xcecb[_0x4fcd70];return _0x336588;};'use strict';var util=require(_0xbcec('0x0'));var BPromise=require(_0xbcec('0x1'));var logger=require(_0xbcec('0x2'))(_0xbcec('0x3'));var _=require('lodash');var faxAccount=require(_0xbcec('0x4'));function loggerCatch(_0x48c0e9){return function(_0x3955ed){logger[_0xbcec('0x5')](_0x48c0e9,util[_0xbcec('0x6')](_0x3955ed,{'showHidden':![],'depth':null}));};}exports[_0xbcec('0x7')]=function(_0x20f5f2,_0x3338c8){return BPromise[_0xbcec('0x8')]()[_0xbcec('0x9')](faxAccount[_0xbcec('0x7')](_0x20f5f2,_0x3338c8))[_0xbcec('0xa')](loggerCatch(_0xbcec('0xb')));};
\ No newline at end of file