// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xce74=['UserFaxQueue,\x20%s,\x20%s','debug','UserFaxQueue,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','catch','util','bluebird','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','client','http','then','info'];(function(_0x1417dc,_0x209c6b){var _0x3c4024=function(_0x4f4a83){while(--_0x4f4a83){_0x1417dc['push'](_0x1417dc['shift']());}};_0x3c4024(++_0x209c6b);}(_0xce74,0x171));var _0x4ce7=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xce74[_0x5b644e];return _0x49c6bf;};'use strict';var _=require('lodash');var util=require(_0x4ce7('0x0'));var moment=require('moment');var BPromise=require(_0x4ce7('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x4ce7('0x2'));var db=require(_0x4ce7('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x4ce7('0x4'))(_0x4ce7('0x5'));var config=require(_0x4ce7('0x6'));var jayson=require('jayson/promise');var client=jayson[_0x4ce7('0x7')][_0x4ce7('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x5b0c8c,_0x2be2c2,_0x5d4ed9){return new BPromise(function(_0x574043,_0x433d63){return client['request'](_0x5b0c8c,_0x5d4ed9)[_0x4ce7('0x9')](function(_0x16b8c3){logger[_0x4ce7('0xa')](_0x4ce7('0xb'),_0x2be2c2,'request\x20sent');logger[_0x4ce7('0xc')](_0x4ce7('0xd'),_0x2be2c2,_0x4ce7('0xe'),JSON['stringify'](_0x16b8c3));if(_0x16b8c3[_0x4ce7('0xf')]){if(_0x16b8c3['error'][_0x4ce7('0x10')]===0x1f4){logger[_0x4ce7('0xf')]('UserFaxQueue,\x20%s,\x20%s',_0x2be2c2,_0x16b8c3[_0x4ce7('0xf')][_0x4ce7('0x11')]);return _0x433d63(_0x16b8c3['error'][_0x4ce7('0x11')]);}logger['error'](_0x4ce7('0xb'),_0x2be2c2,_0x16b8c3[_0x4ce7('0xf')][_0x4ce7('0x11')]);return _0x574043(_0x16b8c3[_0x4ce7('0xf')][_0x4ce7('0x11')]);}else{logger[_0x4ce7('0xa')](_0x4ce7('0xb'),_0x2be2c2,'request\x20sent');_0x574043(_0x16b8c3['result'][_0x4ce7('0x11')]);}})[_0x4ce7('0x12')](function(_0x4d138d){logger['error'](_0x4ce7('0xb'),_0x2be2c2,_0x4d138d);_0x433d63(_0x4d138d);});});}
\ No newline at end of file
+var _0x4528=['code','message','info','result','catch','lodash','util','moment','bluebird','../../mysqldb','rpc','jayson/promise','client','http','request','then','UserFaxQueue,\x20%s,\x20%s','request\x20sent','UserFaxQueue,\x20%s,\x20%s,\x20%s','error'];(function(_0x4dee18,_0x2e6a4c){var _0x4e63c7=function(_0x1b6886){while(--_0x1b6886){_0x4dee18['push'](_0x4dee18['shift']());}};_0x4e63c7(++_0x2e6a4c);}(_0x4528,0x145));var _0x8452=function(_0x2948dc,_0x5a5404){_0x2948dc=_0x2948dc-0x0;var _0x4cbe58=_0x4528[_0x2948dc];return _0x4cbe58;};'use strict';var _=require(_0x8452('0x0'));var util=require(_0x8452('0x1'));var moment=require(_0x8452('0x2'));var BPromise=require(_0x8452('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x8452('0x4'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x8452('0x5'));var config=require('../../config/environment');var jayson=require(_0x8452('0x6'));var client=jayson[_0x8452('0x7')][_0x8452('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x1b6283,_0x48163c,_0x153d96){return new BPromise(function(_0x2516b4,_0x510bd6){return client[_0x8452('0x9')](_0x1b6283,_0x153d96)[_0x8452('0xa')](function(_0x786160){logger['info'](_0x8452('0xb'),_0x48163c,_0x8452('0xc'));logger['debug'](_0x8452('0xd'),_0x48163c,_0x8452('0xc'),JSON['stringify'](_0x786160));if(_0x786160[_0x8452('0xe')]){if(_0x786160[_0x8452('0xe')][_0x8452('0xf')]===0x1f4){logger[_0x8452('0xe')](_0x8452('0xb'),_0x48163c,_0x786160[_0x8452('0xe')][_0x8452('0x10')]);return _0x510bd6(_0x786160[_0x8452('0xe')]['message']);}logger[_0x8452('0xe')](_0x8452('0xb'),_0x48163c,_0x786160[_0x8452('0xe')][_0x8452('0x10')]);return _0x2516b4(_0x786160[_0x8452('0xe')][_0x8452('0x10')]);}else{logger[_0x8452('0x11')](_0x8452('0xb'),_0x48163c,_0x8452('0xc'));_0x2516b4(_0x786160[_0x8452('0x12')][_0x8452('0x10')]);}})[_0x8452('0x13')](function(_0x4cc151){logger[_0x8452('0xe')](_0x8452('0xb'),_0x48163c,_0x4cc151);_0x510bd6(_0x4cc151);});});}
\ No newline at end of file