Built motion from commit b387bb7c7.|1.0.28
[motion.git] / server / api / report_integration / report_integration.controller.js
index 2c2f763..b5dba5c 100644 (file)
@@ -1 +1 @@
-var _0xefac=["\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","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6E\x75\x6D\x62\x65\x72","\x71\x75\x65\x75\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","\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x74\x69\x6D\x65\x73\x74\x61\x6D\x70","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x74\x6F","\x69\x6F","\x6C\x6F\x63\x61\x6C\x73","\x61\x70\x70","\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xefac[0];var _=require(_0xefac[1]);var ReportIntegration=require(_0xefac[3])[_0xefac[2]];var ReportIntegrationHistory=require(_0xefac[3])[_0xefac[5]][_0xefac[4]];var Util=require(_0xefac[6]);var util=require(_0xefac[7]);var moment=require(_0xefac[8]);var logger=require(_0xefac[10])(_0xefac[9]);exports[_0xefac[11]]= function(_0x23dfx8,_0x23dfx9,_0x23dfxa){return ReportIntegration[_0xefac[18]](Util[_0xefac[17]](_0x23dfx8[_0xefac[16]]))[_0xefac[15]](function(_0x23dfxc){return _0x23dfx9[_0xefac[14]](200)[_0xefac[13]](_0x23dfxc)})[_0xefac[12]](function(_0x23dfxb){return handleError(_0x23dfx9,_0x23dfxb)})};exports[_0xefac[19]]= function(_0x23dfx8,_0x23dfx9){return ReportIntegrationHistory[_0xefac[19]]()[_0xefac[15]](function(_0x23dfxd){return _0x23dfx9[_0xefac[14]](200)[_0xefac[13]](_0x23dfxd)})[_0xefac[12]](function(_0x23dfxb){return handleError(_0x23dfx9,_0x23dfxb)})};exports[_0xefac[20]]= function(_0x23dfx8,_0x23dfx9){if(_0x23dfx8[_0xefac[22]][_0xefac[21]]){_0x23dfx8[_0xefac[23]][_0xefac[21]]= _0x23dfx8[_0xefac[22]][_0xefac[21]];switch(_0x23dfx8[_0xefac[22]][_0xefac[21]]){case _0xefac[45]:_0x23dfx8[_0xefac[23]][_0xefac[24]]= _0x23dfx8[_0xefac[23]][_0xefac[25]];_0x23dfx8[_0xefac[23]][_0xefac[26]]= _0xefac[27];_0x23dfx8[_0xefac[23]][_0xefac[28]]= _0x23dfx8[_0xefac[23]][_0xefac[29]];if(_0x23dfx8[_0xefac[23]][_0xefac[30]]){_0x23dfx8[_0xefac[23]][_0xefac[31]]= _0x23dfx8[_0xefac[23]][_0xefac[32]]?_0x23dfx8[_0xefac[23]][_0xefac[32]][_0xefac[33]](/\/|-/)[1]:null}else {_0x23dfx8[_0xefac[23]][_0xefac[31]]= _0x23dfx8[_0xefac[23]][_0xefac[34]]?_0x23dfx8[_0xefac[23]][_0xefac[34]][_0xefac[33]](/\/|-/)[1]:null};_0x23dfx8[_0xefac[23]][_0xefac[35]]= moment(_0x23dfx8[_0xefac[23]][_0xefac[36]]);_0x23dfx8[_0xefac[44]][_0xefac[43]][_0xefac[42]][_0xefac[41]](util[_0xefac[40]](_0xefac[39],_0x23dfx8[_0xefac[23]][_0xefac[31]]))[_0xefac[38]](_0xefac[37],_0x23dfx8[_0xefac[23]]);break;default:return _0x23dfx9[_0xefac[46]](404)}};return ReportIntegration[_0xefac[20]](_0x23dfx8[_0xefac[23]])[_0xefac[15]](function(_0x23dfxe){return _0x23dfx9[_0xefac[14]](201)[_0xefac[13]](_0x23dfxe)})[_0xefac[12]](function(_0x23dfxb){return handleError(_0x23dfx9,_0x23dfxb)})};function handleError(_0x23dfx9,_0x23dfxb){logger[_0xefac[48]](_0x23dfxb[_0xefac[47]]);return _0x23dfx9[_0xefac[14]](500)[_0xefac[13]](_0x23dfxb)}
\ No newline at end of file
+var _0xb840=["\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","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6E\x75\x6D\x62\x65\x72","\x71\x75\x65\x75\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","\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x74\x69\x6D\x65\x73\x74\x61\x6D\x70","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x74\x6F","\x69\x6F","\x6C\x6F\x63\x61\x6C\x73","\x61\x70\x70","\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xb840[0];var _=require(_0xb840[1]);var ReportIntegration=require(_0xb840[3])[_0xb840[2]];var ReportIntegrationHistory=require(_0xb840[3])[_0xb840[5]][_0xb840[4]];var Util=require(_0xb840[6]);var util=require(_0xb840[7]);var moment=require(_0xb840[8]);var logger=require(_0xb840[10])(_0xb840[9]);exports[_0xb840[11]]= function(_0x1245x8,_0x1245x9,_0x1245xa){return ReportIntegration[_0xb840[18]](Util[_0xb840[17]](_0x1245x8[_0xb840[16]]))[_0xb840[15]](function(_0x1245xc){return _0x1245x9[_0xb840[14]](200)[_0xb840[13]](_0x1245xc)})[_0xb840[12]](function(_0x1245xb){return handleError(_0x1245x9,_0x1245xb)})};exports[_0xb840[19]]= function(_0x1245x8,_0x1245x9){return ReportIntegrationHistory[_0xb840[19]]()[_0xb840[15]](function(_0x1245xd){return _0x1245x9[_0xb840[14]](200)[_0xb840[13]](_0x1245xd)})[_0xb840[12]](function(_0x1245xb){return handleError(_0x1245x9,_0x1245xb)})};exports[_0xb840[20]]= function(_0x1245x8,_0x1245x9){if(_0x1245x8[_0xb840[22]][_0xb840[21]]){_0x1245x8[_0xb840[23]][_0xb840[21]]= _0x1245x8[_0xb840[22]][_0xb840[21]];switch(_0x1245x8[_0xb840[22]][_0xb840[21]]){case _0xb840[45]:_0x1245x8[_0xb840[23]][_0xb840[24]]= _0x1245x8[_0xb840[23]][_0xb840[25]];_0x1245x8[_0xb840[23]][_0xb840[26]]= _0xb840[27];_0x1245x8[_0xb840[23]][_0xb840[28]]= _0x1245x8[_0xb840[23]][_0xb840[29]];if(_0x1245x8[_0xb840[23]][_0xb840[30]]){_0x1245x8[_0xb840[23]][_0xb840[31]]= _0x1245x8[_0xb840[23]][_0xb840[32]]?_0x1245x8[_0xb840[23]][_0xb840[32]][_0xb840[33]](/\/|-/)[1]:null}else {_0x1245x8[_0xb840[23]][_0xb840[31]]= _0x1245x8[_0xb840[23]][_0xb840[34]]?_0x1245x8[_0xb840[23]][_0xb840[34]][_0xb840[33]](/\/|-/)[1]:null};_0x1245x8[_0xb840[23]][_0xb840[35]]= moment(_0x1245x8[_0xb840[23]][_0xb840[36]]);_0x1245x8[_0xb840[44]][_0xb840[43]][_0xb840[42]][_0xb840[41]](util[_0xb840[40]](_0xb840[39],_0x1245x8[_0xb840[23]][_0xb840[31]]))[_0xb840[38]](_0xb840[37],_0x1245x8[_0xb840[23]]);break;default:return _0x1245x9[_0xb840[46]](404)}};return ReportIntegration[_0xb840[20]](_0x1245x8[_0xb840[23]])[_0xb840[15]](function(_0x1245xe){return _0x1245x9[_0xb840[14]](201)[_0xb840[13]](_0x1245xe)})[_0xb840[12]](function(_0x1245xb){return handleError(_0x1245x9,_0x1245xb)})};function handleError(_0x1245x9,_0x1245xb){logger[_0xb840[48]](_0x1245xb[_0xb840[47]]);return _0x1245x9[_0xb840[14]](500)[_0xb840[13]](_0x1245xb)}
\ No newline at end of file