Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / email / client.js
index 1e6e9a4..f79945b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6286=['client','http','Request','request','then','rpc','error','message','result','catch','exports','jayson/promise','bluebird','../../config/logger','routing'];(function(_0x2f572b,_0x295fe0){var _0x1579d5=function(_0x1b1ef8){while(--_0x1b1ef8){_0x2f572b['push'](_0x2f572b['shift']());}};_0x1579d5(++_0x295fe0);}(_0x6286,0x128));var _0x6628=function(_0x3bf6cb,_0x931865){_0x3bf6cb=_0x3bf6cb-0x0;var _0x416d27=_0x6286[_0x3bf6cb];return _0x416d27;};'use strict';var jayson=require(_0x6628('0x0'));var BPromise=require(_0x6628('0x1'));var logger=require(_0x6628('0x2'))(_0x6628('0x3'));var client=jayson[_0x6628('0x4')][_0x6628('0x5')]({'port':0x2329});client[_0x6628('0x6')]=function(_0x72838,_0x3c78ba){return new BPromise(function(_0x2a17c2,_0xf9e26a){return client[_0x6628('0x7')](_0x72838,_0x3c78ba)[_0x6628('0x8')](function(_0x4f66b5){logger['debug'](_0x6628('0x9'),_0x6628('0x3'),_0x72838,_0x3c78ba,_0x4f66b5);if(_0x4f66b5[_0x6628('0xa')]){logger[_0x6628('0xa')](_0x6628('0x9'),'routing',_0x72838,_0x4f66b5['error'][_0x6628('0xb')],_0x3c78ba);return _0xf9e26a(_0x4f66b5['error'][_0x6628('0xb')]);}else{return _0x2a17c2(_0x4f66b5[_0x6628('0xc')]);}})[_0x6628('0xd')](function(_0x4f21b9){logger['error'](_0x6628('0x9'),'routing',_0x72838,_0x4f21b9,_0x3c78ba);return _0xf9e26a(_0x4f21b9);});});};module[_0x6628('0xe')]=client;
\ No newline at end of file
+var _0xa286=['then','debug','rpc','error','message','catch','exports','jayson/promise','routing','http','Request','request'];(function(_0x4180c6,_0x642cf3){var _0xe0e5aa=function(_0x37f4e8){while(--_0x37f4e8){_0x4180c6['push'](_0x4180c6['shift']());}};_0xe0e5aa(++_0x642cf3);}(_0xa286,0x103));var _0x6a28=function(_0x22ee1e,_0x3eff80){_0x22ee1e=_0x22ee1e-0x0;var _0x49a5c9=_0xa286[_0x22ee1e];return _0x49a5c9;};'use strict';var jayson=require(_0x6a28('0x0'));var BPromise=require('bluebird');var logger=require('../../config/logger')(_0x6a28('0x1'));var client=jayson['client'][_0x6a28('0x2')]({'port':0x2329});client[_0x6a28('0x3')]=function(_0x3c8fcb,_0x12bd3c){return new BPromise(function(_0x43aaa6,_0x52b888){return client[_0x6a28('0x4')](_0x3c8fcb,_0x12bd3c)[_0x6a28('0x5')](function(_0x538604){logger[_0x6a28('0x6')](_0x6a28('0x7'),_0x6a28('0x1'),_0x3c8fcb,_0x12bd3c,_0x538604);if(_0x538604[_0x6a28('0x8')]){logger[_0x6a28('0x8')](_0x6a28('0x7'),_0x6a28('0x1'),_0x3c8fcb,_0x538604[_0x6a28('0x8')][_0x6a28('0x9')],_0x12bd3c);return _0x52b888(_0x538604[_0x6a28('0x8')][_0x6a28('0x9')]);}else{return _0x43aaa6(_0x538604['result']);}})[_0x6a28('0xa')](function(_0x9508a1){logger[_0x6a28('0x8')](_0x6a28('0x7'),_0x6a28('0x1'),_0x3c8fcb,_0x9508a1,_0x12bd3c);return _0x52b888(_0x9508a1);});});};module[_0x6a28('0xb')]=client;
\ No newline at end of file