Built motion from commit dde1e88.|2.0.21
[motion2.git] / server / api / voiceDisposition / voiceDisposition.rpc.js
1 var _0xba76=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x79\x73\x71\x6C\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C\x73","\x72\x70\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72","\x6A\x61\x79\x73\x6F\x6E\x2F\x70\x72\x6F\x6D\x69\x73\x65","\x68\x74\x74\x70","\x63\x6C\x69\x65\x6E\x74","\x56\x6F\x69\x63\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2C\x20\x25\x73\x2C\x20\x25\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x72\x65\x71\x75\x65\x73\x74\x20\x73\x65\x6E\x74","\x69\x6E\x66\x6F","\x56\x6F\x69\x63\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2C\x20\x25\x73\x2C\x20\x25\x73\x2C\x20\x25\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x64\x65\x62\x75\x67","\x63\x6F\x64\x65","\x6D\x65\x73\x73\x61\x67\x65","\x72\x65\x73\x75\x6C\x74","\x74\x68\x65\x6E","\x72\x65\x71\x75\x65\x73\x74"];_0xba76[0];var _=require(_0xba76[1]);var util=require(_0xba76[2]);var moment=require(_0xba76[3]);var BPromise=require(_0xba76[4]);var db=require(_0xba76[6])[_0xba76[5]];var utils=require(_0xba76[7]);var logger=require(_0xba76[9])(_0xba76[8]);var jayson=require(_0xba76[10]);var client=jayson[_0xba76[12]][_0xba76[11]]({port:9002});function respondWithRpcPromise(_0x7e00xb,_0x7e00xc,_0x7e00xd){return  new BPromise(function(_0x7e00xe,_0x7e00xf){return client[_0xba76[25]](_0x7e00xb,_0x7e00xd)[_0xba76[24]](function(_0x7e00x11){logger[_0xba76[17]](_0xba76[13],_0x7e00xc,_0xba76[16]);logger[_0xba76[20]](_0xba76[18],_0x7e00xc,_0xba76[16],JSON[_0xba76[19]](_0x7e00x11));if(_0x7e00x11[_0xba76[14]]){if(_0x7e00x11[_0xba76[14]][_0xba76[21]]=== 500){logger[_0xba76[14]](_0xba76[13],_0x7e00xc,_0x7e00x11[_0xba76[14]][_0xba76[22]]);return _0x7e00xf(_0x7e00x11[_0xba76[14]][_0xba76[22]])};logger[_0xba76[14]](_0xba76[13],_0x7e00xc,_0x7e00x11[_0xba76[14]][_0xba76[22]]);return _0x7e00xe(_0x7e00x11[_0xba76[14]][_0xba76[22]])}else {logger[_0xba76[17]](_0xba76[13],_0x7e00xc,_0xba76[16]);_0x7e00xe(_0x7e00x11[_0xba76[23]][_0xba76[22]])}})[_0xba76[15]](function(_0x7e00x10){logger[_0xba76[14]](_0xba76[13],_0x7e00xc,_0x7e00x10);_0x7e00xf(_0x7e00x10)})})}