Built motion from commit fa8c70b.|0.0.144
[motion.git] / server / api / report_integration / report_integration.controller.js
1 var _0xf0d2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x63\x72\x65\x61\x74\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x70\x61\x72\x61\x6D\x73","\x62\x6F\x64\x79","\x74\x69\x63\x6B\x65\x74\x49\x64","\x69\x64\x5F\x73\x70\x6F\x6F\x6C\x65\x72","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x76\x6F\x69\x63\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6C\x69\x6E\x6B\x65\x64\x5F\x63\x68\x61\x6E\x6E\x65\x6C","\x73\x70\x6C\x69\x74","\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73"];_0xf0d2[0];var _=require(_0xf0d2[1]);var ReportIntegration=require(_0xf0d2[3])[_0xf0d2[2]];var ReportIntegrationHistory=require(_0xf0d2[3])[_0xf0d2[5]][_0xf0d2[4]];var Util=require(_0xf0d2[6]);exports[_0xf0d2[7]]= function(_0x7eccx5,_0x7eccx6,_0x7eccx7){return ReportIntegration[_0xf0d2[14]](Util[_0xf0d2[13]](_0x7eccx5[_0xf0d2[12]]))[_0xf0d2[11]](function(_0x7eccx9){return _0x7eccx6[_0xf0d2[10]](200)[_0xf0d2[9]](_0x7eccx9)})[_0xf0d2[8]](function(_0x7eccx8){return handleError(_0x7eccx6,_0x7eccx8)})};exports[_0xf0d2[15]]= function(_0x7eccx5,_0x7eccx6){return ReportIntegrationHistory[_0xf0d2[15]]()[_0xf0d2[11]](function(_0x7eccxa){return _0x7eccx6[_0xf0d2[10]](200)[_0xf0d2[9]](_0x7eccxa)})[_0xf0d2[8]](function(_0x7eccx8){return handleError(_0x7eccx6,_0x7eccx8)})};exports[_0xf0d2[16]]= function(_0x7eccx5,_0x7eccx6){if(_0x7eccx5[_0xf0d2[18]][_0xf0d2[17]]){_0x7eccx5[_0xf0d2[19]][_0xf0d2[17]]= _0x7eccx5[_0xf0d2[18]][_0xf0d2[17]];switch(_0x7eccx5[_0xf0d2[18]][_0xf0d2[17]]){case _0xf0d2[27]:_0x7eccx5[_0xf0d2[19]][_0xf0d2[20]]= _0x7eccx5[_0xf0d2[19]][_0xf0d2[21]];_0x7eccx5[_0xf0d2[19]][_0xf0d2[22]]= _0xf0d2[23];_0x7eccx5[_0xf0d2[19]][_0xf0d2[24]]= _0x7eccx5[_0xf0d2[19]][_0xf0d2[25]]?_0x7eccx5[_0xf0d2[19]][_0xf0d2[25]][_0xf0d2[26]](/\/|-/)[1]:null;break;default:return _0x7eccx6[_0xf0d2[28]](404)}};return ReportIntegration[_0xf0d2[16]](_0x7eccx5[_0xf0d2[19]])[_0xf0d2[11]](function(_0x7eccxb){return _0x7eccx6[_0xf0d2[10]](201)[_0xf0d2[9]](_0x7eccxb)})[_0xf0d2[8]](function(_0x7eccx8){return handleError(_0x7eccx6,_0x7eccx8)})};function handleError(_0x7eccx6,_0x7eccx8){return _0x7eccx6[_0xf0d2[10]](500)[_0xf0d2[9]](_0x7eccx8)}