Built motion from commit (unavailable).|2.0.80
[motion2.git] / server / services / ami / client.js
index e66c6ea..2e73c2b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd30b=['rpc','memberReport','error','message','result','catch','exports','jayson/promise','bluebird','../../config/logger','ami','http','Request','request','debug'];(function(_0x2064e5,_0x4f6fa2){var _0x21a233=function(_0x1b2491){while(--_0x1b2491){_0x2064e5['push'](_0x2064e5['shift']());}};_0x21a233(++_0x4f6fa2);}(_0xd30b,0x9d));var _0xbd30=function(_0x519756,_0x288785){_0x519756=_0x519756-0x0;var _0x37047e=_0xd30b[_0x519756];return _0x37047e;};'use strict';var jayson=require(_0xbd30('0x0'));var BPromise=require(_0xbd30('0x1'));var logger=require(_0xbd30('0x2'))(_0xbd30('0x3'));var client=jayson['client'][_0xbd30('0x4')]({'port':0x2329});client[_0xbd30('0x5')]=function(_0x1fab62,_0xf9720f){return new BPromise(function(_0x4e66ad,_0x4a7b52){return client[_0xbd30('0x6')](_0x1fab62,_0xf9720f)['then'](function(_0x471533){logger[_0xbd30('0x7')](_0xbd30('0x8'),_0xbd30('0x9'),_0x1fab62,_0xf9720f,_0x471533);if(_0x471533['error']){logger[_0xbd30('0xa')](_0xbd30('0x8'),_0xbd30('0x9'),_0x1fab62,_0x471533[_0xbd30('0xa')]['message'],_0xf9720f);return _0x4a7b52(_0x471533[_0xbd30('0xa')][_0xbd30('0xb')]);}else{return _0x4e66ad(_0x471533[_0xbd30('0xc')]);}})[_0xbd30('0xd')](function(_0x56bf9c){logger[_0xbd30('0xa')](_0xbd30('0x8'),_0xbd30('0x9'),_0x1fab62,_0x56bf9c,_0xf9720f);return _0x4a7b52(_0x56bf9c);});});};module[_0xbd30('0xe')]=client;
\ No newline at end of file
+var _0x564f=['result','catch','exports','jayson/promise','bluebird','../../config/logger','ami','client','http','request','debug','rpc','memberReport','error','message'];(function(_0x237abc,_0xf7305a){var _0x2fb890=function(_0x2aac97){while(--_0x2aac97){_0x237abc['push'](_0x237abc['shift']());}};_0x2fb890(++_0xf7305a);}(_0x564f,0xa8));var _0xf564=function(_0x27f139,_0x21f072){_0x27f139=_0x27f139-0x0;var _0x28a1bd=_0x564f[_0x27f139];return _0x28a1bd;};'use strict';var jayson=require(_0xf564('0x0'));var BPromise=require(_0xf564('0x1'));var logger=require(_0xf564('0x2'))(_0xf564('0x3'));var client=jayson[_0xf564('0x4')][_0xf564('0x5')]({'port':0x2329});client['Request']=function(_0x3f9fa3,_0x5af4b9){return new BPromise(function(_0x5c4c4f,_0x1c515c){return client[_0xf564('0x6')](_0x3f9fa3,_0x5af4b9)['then'](function(_0x5d7301){logger[_0xf564('0x7')](_0xf564('0x8'),_0xf564('0x9'),_0x3f9fa3,_0x5af4b9,_0x5d7301);if(_0x5d7301[_0xf564('0xa')]){logger['error']('rpc','memberReport',_0x3f9fa3,_0x5d7301[_0xf564('0xa')]['message'],_0x5af4b9);return _0x1c515c(_0x5d7301[_0xf564('0xa')][_0xf564('0xb')]);}else{return _0x5c4c4f(_0x5d7301[_0xf564('0xc')]);}})[_0xf564('0xd')](function(_0x217d37){logger[_0xf564('0xa')](_0xf564('0x8'),_0xf564('0x9'),_0x3f9fa3,_0x217d37,_0x5af4b9);return _0x1c515c(_0x217d37);});});};module[_0xf564('0xe')]=client;
\ No newline at end of file