Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / ami / fax / rpcDb.js
index 4b62a8e..6b69acc 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 _0x6189=['inspect','notify','resolve','then','catch','[Notify]\x20','bluebird','preview','lodash','../rpc/faxAccount'];(function(_0x5b12cc,_0x20fcef){var _0xc4067=function(_0x4ae535){while(--_0x4ae535){_0x5b12cc['push'](_0x5b12cc['shift']());}};_0xc4067(++_0x20fcef);}(_0x6189,0x178));var _0x9618=function(_0x3fb822,_0x1c048b){_0x3fb822=_0x3fb822-0x0;var _0x5da1c7=_0x6189[_0x3fb822];return _0x5da1c7;};'use strict';var util=require('util');var BPromise=require(_0x9618('0x0'));var logger=require('../../../config/logger')(_0x9618('0x1'));var _=require(_0x9618('0x2'));var faxAccount=require(_0x9618('0x3'));function loggerCatch(_0x33ae8f){return function(_0x2e0843){logger['error'](_0x33ae8f,util[_0x9618('0x4')](_0x2e0843,{'showHidden':![],'depth':null}));};}exports[_0x9618('0x5')]=function(_0x562672,_0x2ea614){return BPromise[_0x9618('0x6')]()[_0x9618('0x7')](faxAccount[_0x9618('0x5')](_0x562672,_0x2ea614))[_0x9618('0x8')](loggerCatch(_0x9618('0x9')));};
\ No newline at end of file