Built motion from commit 95c3d5ad5.|1.0.29
[motion.git] / server / api / report_integration / report_integration.controller.js
index 88ba7ef..fc057ba 100644 (file)
@@ -1 +1 @@
-var _0xb201=["\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","\x6D\x6F\x6D\x65\x6E\x74","\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","\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","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x74\x69\x6D\x65\x73\x74\x61\x6D\x70","\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73"];_0xb201[0];var _=require(_0xb201[1]);var ReportIntegration=require(_0xb201[3])[_0xb201[2]];var ReportIntegrationHistory=require(_0xb201[3])[_0xb201[5]][_0xb201[4]];var Util=require(_0xb201[6]);const moment=require(_0xb201[7]);exports[_0xb201[8]]= function(_0xac47x6,_0xac47x7,_0xac47x8){return ReportIntegration[_0xb201[15]](Util[_0xb201[14]](_0xac47x6[_0xb201[13]]))[_0xb201[12]](function(_0xac47xa){return _0xac47x7[_0xb201[11]](200)[_0xb201[10]](_0xac47xa)})[_0xb201[9]](function(_0xac47x9){return handleError(_0xac47x7,_0xac47x9)})};exports[_0xb201[16]]= function(_0xac47x6,_0xac47x7){return ReportIntegrationHistory[_0xb201[16]]()[_0xb201[12]](function(_0xac47xb){return _0xac47x7[_0xb201[11]](200)[_0xb201[10]](_0xac47xb)})[_0xb201[9]](function(_0xac47x9){return handleError(_0xac47x7,_0xac47x9)})};exports[_0xb201[17]]= function(_0xac47x6,_0xac47x7){if(_0xac47x6[_0xb201[19]][_0xb201[18]]){_0xac47x6[_0xb201[20]][_0xb201[18]]= _0xac47x6[_0xb201[19]][_0xb201[18]];switch(_0xac47x6[_0xb201[19]][_0xb201[18]]){case _0xb201[32]:_0xac47x6[_0xb201[20]][_0xb201[21]]= _0xac47x6[_0xb201[20]][_0xb201[22]];_0xac47x6[_0xb201[20]][_0xb201[23]]= _0xb201[24];_0xac47x6[_0xb201[20]][_0xb201[25]]= _0xac47x6[_0xb201[20]][_0xb201[26]];_0xac47x6[_0xb201[20]][_0xb201[27]]= _0xac47x6[_0xb201[20]][_0xb201[28]]?_0xac47x6[_0xb201[20]][_0xb201[28]][_0xb201[29]](/\/|-/)[1]:null;_0xac47x6[_0xb201[20]][_0xb201[30]]= moment(_0xac47x6[_0xb201[20]][_0xb201[31]]);break;default:return _0xac47x7[_0xb201[33]](404)}};return ReportIntegration[_0xb201[17]](_0xac47x6[_0xb201[20]])[_0xb201[12]](function(_0xac47xc){return _0xac47x7[_0xb201[11]](201)[_0xb201[10]](_0xac47xc)})[_0xb201[9]](function(_0xac47x9){return handleError(_0xac47x7,_0xac47x9)})};function handleError(_0xac47x7,_0xac47x9){return _0xac47x7[_0xb201[11]](500)[_0xb201[10]](_0xac47x9)}
\ No newline at end of file
+var _0x399c=["\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"];_0x399c[0];var _=require(_0x399c[1]);var ReportIntegration=require(_0x399c[3])[_0x399c[2]];var ReportIntegrationHistory=require(_0x399c[3])[_0x399c[5]][_0x399c[4]];var Util=require(_0x399c[6]);var util=require(_0x399c[7]);var moment=require(_0x399c[8]);var logger=require(_0x399c[10])(_0x399c[9]);exports[_0x399c[11]]= function(_0xbd1dx8,_0xbd1dx9,_0xbd1dxa){return ReportIntegration[_0x399c[18]](Util[_0x399c[17]](_0xbd1dx8[_0x399c[16]]))[_0x399c[15]](function(_0xbd1dxc){return _0xbd1dx9[_0x399c[14]](200)[_0x399c[13]](_0xbd1dxc)})[_0x399c[12]](function(_0xbd1dxb){return handleError(_0xbd1dx9,_0xbd1dxb)})};exports[_0x399c[19]]= function(_0xbd1dx8,_0xbd1dx9){return ReportIntegrationHistory[_0x399c[19]]()[_0x399c[15]](function(_0xbd1dxd){return _0xbd1dx9[_0x399c[14]](200)[_0x399c[13]](_0xbd1dxd)})[_0x399c[12]](function(_0xbd1dxb){return handleError(_0xbd1dx9,_0xbd1dxb)})};exports[_0x399c[20]]= function(_0xbd1dx8,_0xbd1dx9){if(_0xbd1dx8[_0x399c[22]][_0x399c[21]]){_0xbd1dx8[_0x399c[23]][_0x399c[21]]= _0xbd1dx8[_0x399c[22]][_0x399c[21]];switch(_0xbd1dx8[_0x399c[22]][_0x399c[21]]){case _0x399c[45]:_0xbd1dx8[_0x399c[23]][_0x399c[24]]= _0xbd1dx8[_0x399c[23]][_0x399c[25]];_0xbd1dx8[_0x399c[23]][_0x399c[26]]= _0x399c[27];_0xbd1dx8[_0x399c[23]][_0x399c[28]]= _0xbd1dx8[_0x399c[23]][_0x399c[29]];if(_0xbd1dx8[_0x399c[23]][_0x399c[30]]){_0xbd1dx8[_0x399c[23]][_0x399c[31]]= _0xbd1dx8[_0x399c[23]][_0x399c[32]]?_0xbd1dx8[_0x399c[23]][_0x399c[32]][_0x399c[33]](/\/|-/)[1]:null}else {_0xbd1dx8[_0x399c[23]][_0x399c[31]]= _0xbd1dx8[_0x399c[23]][_0x399c[34]]?_0xbd1dx8[_0x399c[23]][_0x399c[34]][_0x399c[33]](/\/|-/)[1]:null};_0xbd1dx8[_0x399c[23]][_0x399c[35]]= moment(_0xbd1dx8[_0x399c[23]][_0x399c[36]]);_0xbd1dx8[_0x399c[44]][_0x399c[43]][_0x399c[42]][_0x399c[41]](util[_0x399c[40]](_0x399c[39],_0xbd1dx8[_0x399c[23]][_0x399c[31]]))[_0x399c[38]](_0x399c[37],_0xbd1dx8[_0x399c[23]]);break;default:return _0xbd1dx9[_0x399c[46]](404)}};return ReportIntegration[_0x399c[20]](_0xbd1dx8[_0x399c[23]])[_0x399c[15]](function(_0xbd1dxe){return _0xbd1dx9[_0x399c[14]](201)[_0x399c[13]](_0xbd1dxe)})[_0x399c[12]](function(_0xbd1dxb){return handleError(_0xbd1dx9,_0xbd1dxb)})};function handleError(_0xbd1dx9,_0xbd1dxb){logger[_0x399c[48]](_0xbd1dxb[_0x399c[47]]);return _0xbd1dx9[_0x399c[14]](500)[_0x399c[13]](_0xbd1dxb)}
\ No newline at end of file