Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / agi / mailRpc / index.js
index 572f954..de4168d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xae82=['result','catch','sendMailMessage','SendMail','bluebird','client','http','request','then','error','message'];(function(_0x3e25c1,_0x1d15f9){var _0x52e7f2=function(_0x597a5a){while(--_0x597a5a){_0x3e25c1['push'](_0x3e25c1['shift']());}};_0x52e7f2(++_0x1d15f9);}(_0xae82,0x93));var _0x2ae8=function(_0x543b7e,_0x3e1448){_0x543b7e=_0x543b7e-0x0;var _0x49e0d1=_0xae82[_0x543b7e];return _0x49e0d1;};'use strict';var BPromise=require(_0x2ae8('0x0'));var jayson=require('jayson/promise');var client=jayson[_0x2ae8('0x1')][_0x2ae8('0x2')]({'port':0x232b});function request(_0x3b87be,_0x506bf5){return new BPromise(function(_0x588874,_0x57837d){return client[_0x2ae8('0x3')](_0x3b87be,_0x506bf5)[_0x2ae8('0x4')](function(_0x4a5a3a){if(_0x4a5a3a[_0x2ae8('0x5')]){return _0x57837d(_0x4a5a3a[_0x2ae8('0x5')][_0x2ae8('0x6')]);}else{return _0x588874(_0x4a5a3a[_0x2ae8('0x7')]);}})[_0x2ae8('0x8')](function(_0x4f241c){return _0x57837d(_0x4f241c);});});}exports[_0x2ae8('0x9')]=function(_0x4caaf5,_0x4edc6d){return request(_0x2ae8('0xa'),{'account':_0x4caaf5,'message':_0x4edc6d});};
\ No newline at end of file
+var _0xbf1a=['request','then','error','message','result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','http'];(function(_0x333714,_0x3370ac){var _0x4c211e=function(_0x34219b){while(--_0x34219b){_0x333714['push'](_0x333714['shift']());}};_0x4c211e(++_0x3370ac);}(_0xbf1a,0x11c));var _0xabf1=function(_0x9618cc,_0x16cc5e){_0x9618cc=_0x9618cc-0x0;var _0x55a1f9=_0xbf1a[_0x9618cc];return _0x55a1f9;};'use strict';var BPromise=require(_0xabf1('0x0'));var jayson=require(_0xabf1('0x1'));var client=jayson[_0xabf1('0x2')][_0xabf1('0x3')]({'port':0x232b});function request(_0x8db232,_0x349fdd){return new BPromise(function(_0xb8088f,_0x5b8500){return client[_0xabf1('0x4')](_0x8db232,_0x349fdd)[_0xabf1('0x5')](function(_0x2f981e){if(_0x2f981e['error']){return _0x5b8500(_0x2f981e[_0xabf1('0x6')][_0xabf1('0x7')]);}else{return _0xb8088f(_0x2f981e[_0xabf1('0x8')]);}})[_0xabf1('0x9')](function(_0x147e72){return _0x5b8500(_0x147e72);});});}exports[_0xabf1('0xa')]=function(_0x360621,_0xa6f47c){return request(_0xabf1('0xb'),{'account':_0x360621,'message':_0xa6f47c});};
\ No newline at end of file