X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Freport_integration%2Freport_integration.controller.js;h=15867d928cfe4dbc1b5cc72d57fe382dab769c2f;hb=17143d22d02311c1ea51406fd71d21af759712e8;hp=216422156d56e8d58e5d8e3963409d08f65b5aca;hpb=01ba20ce84161b0e932ee0c48188fff4d2209c37;p=motion.git diff --git a/server/api/report_integration/report_integration.controller.js b/server/api/report_integration/report_integration.controller.js index 2164221..15867d9 100644 --- a/server/api/report_integration/report_integration.controller.js +++ b/server/api/report_integration/report_integration.controller.js @@ -1 +1 @@ -var _0xb614=["\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","\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","\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"];_0xb614[0];var _=require(_0xb614[1]);var ReportIntegration=require(_0xb614[3])[_0xb614[2]];var ReportIntegrationHistory=require(_0xb614[3])[_0xb614[5]][_0xb614[4]];var Util=require(_0xb614[6]);var util=require(_0xb614[7]);const moment=require(_0xb614[8]);exports[_0xb614[9]]= function(_0x840bx7,_0x840bx8,_0x840bx9){return ReportIntegration[_0xb614[16]](Util[_0xb614[15]](_0x840bx7[_0xb614[14]]))[_0xb614[13]](function(_0x840bxb){return _0x840bx8[_0xb614[12]](200)[_0xb614[11]](_0x840bxb)})[_0xb614[10]](function(_0x840bxa){return handleError(_0x840bx8,_0x840bxa)})};exports[_0xb614[17]]= function(_0x840bx7,_0x840bx8){return ReportIntegrationHistory[_0xb614[17]]()[_0xb614[13]](function(_0x840bxc){return _0x840bx8[_0xb614[12]](200)[_0xb614[11]](_0x840bxc)})[_0xb614[10]](function(_0x840bxa){return handleError(_0x840bx8,_0x840bxa)})};exports[_0xb614[18]]= function(_0x840bx7,_0x840bx8){if(_0x840bx7[_0xb614[20]][_0xb614[19]]){_0x840bx7[_0xb614[21]][_0xb614[19]]= _0x840bx7[_0xb614[20]][_0xb614[19]];switch(_0x840bx7[_0xb614[20]][_0xb614[19]]){case _0xb614[41]:_0x840bx7[_0xb614[21]][_0xb614[22]]= _0x840bx7[_0xb614[21]][_0xb614[23]];_0x840bx7[_0xb614[21]][_0xb614[24]]= _0xb614[25];_0x840bx7[_0xb614[21]][_0xb614[26]]= _0x840bx7[_0xb614[21]][_0xb614[27]];_0x840bx7[_0xb614[21]][_0xb614[28]]= _0x840bx7[_0xb614[21]][_0xb614[29]]?_0x840bx7[_0xb614[21]][_0xb614[29]][_0xb614[30]](/\/|-/)[1]:null;_0x840bx7[_0xb614[21]][_0xb614[31]]= moment(_0x840bx7[_0xb614[21]][_0xb614[32]]);_0x840bx7[_0xb614[40]][_0xb614[39]][_0xb614[38]][_0xb614[37]](util[_0xb614[36]](_0xb614[35],_0x840bx7[_0xb614[21]][_0xb614[28]]))[_0xb614[34]](_0xb614[33],_0x840bx7[_0xb614[21]]);break;default:return _0x840bx8[_0xb614[42]](404)}};return ReportIntegration[_0xb614[18]](_0x840bx7[_0xb614[21]])[_0xb614[13]](function(_0x840bxd){return _0x840bx8[_0xb614[12]](201)[_0xb614[11]](_0x840bxd)})[_0xb614[10]](function(_0x840bxa){return handleError(_0x840bx8,_0x840bxa)})};function handleError(_0x840bx8,_0x840bxa){return _0x840bx8[_0xb614[12]](500)[_0xb614[11]](_0x840bxa)} \ No newline at end of file +var _0x18cc=["\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","\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","\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"];_0x18cc[0];var _=require(_0x18cc[1]);var ReportIntegration=require(_0x18cc[3])[_0x18cc[2]];var ReportIntegrationHistory=require(_0x18cc[3])[_0x18cc[5]][_0x18cc[4]];var Util=require(_0x18cc[6]);var util=require(_0x18cc[7]);const moment=require(_0x18cc[8]);exports[_0x18cc[9]]= function(_0x4686x7,_0x4686x8,_0x4686x9){return ReportIntegration[_0x18cc[16]](Util[_0x18cc[15]](_0x4686x7[_0x18cc[14]]))[_0x18cc[13]](function(_0x4686xb){return _0x4686x8[_0x18cc[12]](200)[_0x18cc[11]](_0x4686xb)})[_0x18cc[10]](function(_0x4686xa){return handleError(_0x4686x8,_0x4686xa)})};exports[_0x18cc[17]]= function(_0x4686x7,_0x4686x8){return ReportIntegrationHistory[_0x18cc[17]]()[_0x18cc[13]](function(_0x4686xc){return _0x4686x8[_0x18cc[12]](200)[_0x18cc[11]](_0x4686xc)})[_0x18cc[10]](function(_0x4686xa){return handleError(_0x4686x8,_0x4686xa)})};exports[_0x18cc[18]]= function(_0x4686x7,_0x4686x8){if(_0x4686x7[_0x18cc[20]][_0x18cc[19]]){_0x4686x7[_0x18cc[21]][_0x18cc[19]]= _0x4686x7[_0x18cc[20]][_0x18cc[19]];switch(_0x4686x7[_0x18cc[20]][_0x18cc[19]]){case _0x18cc[41]:_0x4686x7[_0x18cc[21]][_0x18cc[22]]= _0x4686x7[_0x18cc[21]][_0x18cc[23]];_0x4686x7[_0x18cc[21]][_0x18cc[24]]= _0x18cc[25];_0x4686x7[_0x18cc[21]][_0x18cc[26]]= _0x4686x7[_0x18cc[21]][_0x18cc[27]];_0x4686x7[_0x18cc[21]][_0x18cc[28]]= _0x4686x7[_0x18cc[21]][_0x18cc[29]]?_0x4686x7[_0x18cc[21]][_0x18cc[29]][_0x18cc[30]](/\/|-/)[1]:null;_0x4686x7[_0x18cc[21]][_0x18cc[31]]= moment(_0x4686x7[_0x18cc[21]][_0x18cc[32]]);_0x4686x7[_0x18cc[40]][_0x18cc[39]][_0x18cc[38]][_0x18cc[37]](util[_0x18cc[36]](_0x18cc[35],_0x4686x7[_0x18cc[21]][_0x18cc[28]]))[_0x18cc[34]](_0x18cc[33],_0x4686x7[_0x18cc[21]]);break;default:return _0x4686x8[_0x18cc[42]](404)}};return ReportIntegration[_0x18cc[18]](_0x4686x7[_0x18cc[21]])[_0x18cc[13]](function(_0x4686xd){return _0x4686x8[_0x18cc[12]](201)[_0x18cc[11]](_0x4686xd)})[_0x18cc[10]](function(_0x4686xa){return handleError(_0x4686x8,_0x4686xa)})};function handleError(_0x4686x8,_0x4686xa){return _0x4686x8[_0x18cc[12]](500)[_0x18cc[11]](_0x4686xa)} \ No newline at end of file