Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / ami / fax / rpcDb.js
index 55b6b9c..6b69acc 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 _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