Built motion from commit e1ea3531f.|1.0.19
[motion.git] / server / api / report_call / report_call.controller.js
index 68760bb..879bf6a 100644 (file)
@@ -1 +1 @@
-var _0xf767=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\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","\x6C\x6F\x67","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\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","\x75\x70\x64\x61\x74\x65","\x69\x64","\x62\x6F\x64\x79","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x68\x6F\x77","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x74\x6F\x74\x61\x6C","\x6C\x65\x6E\x67\x74\x68","\x61\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x6F\x75\x6E\x74\x42\x79","\x73\x75\x6D\x44\x75\x72\x61\x74\x69\x6F\x6E","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x73\x75\x6D\x42\x79","\x61\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x72\x6F\x75\x6E\x64","\x61\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x6F\x75\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xf767[0];var _=require(_0xf767[1]);var sequelize=require(_0xf767[3])[_0xf767[2]];var ReportCall=require(_0xf767[3])[_0xf767[4]];var ReportCallHistory=require(_0xf767[3])[_0xf767[6]][_0xf767[5]];var Util=require(_0xf767[7]);function handleError(_0x9879x7,_0x9879x8){_0x9879x8= _0x9879x8|| 500;return function(_0x9879x9){console[_0xf767[8]](_0x9879x9);_0x9879x7[_0xf767[10]](_0x9879x8)[_0xf767[9]](_0x9879x9)}}function responseWithResult(_0x9879x7,_0x9879x8){_0x9879x8= _0x9879x8|| 200;return function(_0x9879xb){if(_0x9879xb){_0x9879x7[_0xf767[10]](_0x9879x8)[_0xf767[11]](_0x9879xb)}}}function handleEntityNotFound(_0x9879x7){return function(_0x9879xb){if(!_0x9879xb){_0x9879x7[_0xf767[10]](404)[_0xf767[12]]();return null};return _0x9879xb}}function saveUpdates(_0x9879xe){return function(_0x9879xb){return _0x9879xb[_0xf767[14]](_0x9879xe)[_0xf767[13]](function(_0x9879xf){return _0x9879xf})}}function removeEntity(_0x9879x7){return function(_0x9879xb){if(_0x9879xb){return _0x9879xb[_0xf767[15]]()[_0xf767[13]](function(){_0x9879x7[_0xf767[10]](204)[_0xf767[12]]()})}}}exports[_0xf767[16]]= function(_0x9879x11,_0x9879x7,_0x9879x12){return ReportCall[_0xf767[20]](Util[_0xf767[19]](_0x9879x11[_0xf767[18]]))[_0xf767[13]](function(_0x9879x13){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]](_0x9879x13)})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[21]]= function(_0x9879x11,_0x9879x7){if(_0x9879x11[_0xf767[23]][_0xf767[22]]){delete _0x9879x11[_0xf767[23]][_0xf767[22]]};return ReportCall[_0xf767[26]]({where:{uniqueid:_0x9879x11[_0xf767[25]][_0xf767[24]]}})[_0xf767[13]](handleEntityNotFound(_0x9879x7))[_0xf767[13]](saveUpdates(_0x9879x11[_0xf767[23]]))[_0xf767[13]](responseWithResult(_0x9879x7))[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[27]]= function(_0x9879x11,_0x9879x7){return ReportCall[_0xf767[26]]({where:{uniqueid:_0x9879x11[_0xf767[25]][_0xf767[24]]}})[_0xf767[13]](handleEntityNotFound(_0x9879x7))[_0xf767[13]](responseWithResult(_0x9879x7))[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[28]]= function(_0x9879x11,_0x9879x7){return ReportCall[_0xf767[43]]({where:{type:_0xf767[41]},attributes:[_0xf767[42],_0xf767[33],_0xf767[36]],raw:true})[_0xf767[13]](function(_0x9879x14){var _0x9879x15={};_0x9879x15[_0xf767[29]]= _0x9879x14[_0xf767[30]];_0x9879x15[_0xf767[31]]= _[_0xf767[34]](_0x9879x14,_0xf767[33])[_0xf767[32]]|| 0;_0x9879x15[_0xf767[35]]= _[_0xf767[37]](_0x9879x14,_0xf767[36]);if(_0x9879x15[_0xf767[31]]){_0x9879x15[_0xf767[38]]= _[_0xf767[39]]((_[_0xf767[37]](_0x9879x14,_0xf767[36])/ _0x9879x15[_0xf767[31]]));_0x9879x15[_0xf767[40]]= _[_0xf767[39]](_0x9879x15[_0xf767[31]]/ _0x9879x15[_0xf767[29]]* 100,1)};return _0x9879x7[_0xf767[10]](200)[_0xf767[9]](_0x9879x15)})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[44]]= function(_0x9879x11,_0x9879x7){return ReportCall[_0xf767[45]]({where:{type:_0xf767[41]}})[_0xf767[13]](function(_0x9879x14){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]]({value:_0x9879x14})})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[46]]= function(_0x9879x11,_0x9879x7){return sequelize[_0xf767[18]](_0xf767[48],{type:sequelize[_0xf767[50]][_0xf767[49]]})[_0xf767[13]](function(_0x9879x14){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]]({value:_0x9879x14[0][_0xf767[47]]})})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[51]]= function(_0x9879x11,_0x9879x7){return sequelize[_0xf767[18]](_0xf767[52],{type:sequelize[_0xf767[50]][_0xf767[49]]})[_0xf767[13]](function(_0x9879x14){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]]({value:_0x9879x14[0][_0xf767[47]]})})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[53]]= function(_0x9879x11,_0x9879x7){return ReportCall[_0xf767[45]]({where:{disposition:_0xf767[32],type:_0xf767[41]}})[_0xf767[13]](function(_0x9879x14){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]]({value:_0x9879x14})})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[54]]= function(_0x9879x11,_0x9879x7){return sequelize[_0xf767[18]](_0xf767[55],{type:sequelize[_0xf767[50]][_0xf767[49]]})[_0xf767[13]](function(_0x9879x14){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]]({value:_0x9879x14[0][_0xf767[47]]})})[_0xf767[17]](handleError(_0x9879x7))};exports[_0xf767[56]]= function(_0x9879x11,_0x9879x7){return ReportCallHistory[_0xf767[56]]()[_0xf767[13]](function(_0x9879x16){return _0x9879x7[_0xf767[10]](200)[_0xf767[9]](_0x9879x16)})[_0xf767[17]](handleError(_0x9879x7))}
\ No newline at end of file
+var _0xd2c5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\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","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\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","\x75\x70\x64\x61\x74\x65","\x69\x64","\x62\x6F\x64\x79","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x68\x6F\x77","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x66\x69\x6C\x74\x65\x72","\x74\x69\x67\x65\x72\x64\x69\x61\x6C","\x74\x6F\x74\x61\x6C","\x6C\x65\x6E\x67\x74\x68","\x61\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x6F\x75\x6E\x74\x42\x79","\x73\x75\x6D\x44\x75\x72\x61\x74\x69\x6F\x6E","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x73\x75\x6D\x42\x79","\x61\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x72\x6F\x75\x6E\x64","\x61\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x64\x61\x79","\x73\x74\x61\x72\x74\x4F\x66","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x6F\x75\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xd2c5[0];var _=require(_0xd2c5[1]);var logger=require(_0xd2c5[3])(_0xd2c5[2]);var sequelize=require(_0xd2c5[5])[_0xd2c5[4]];var ReportCall=require(_0xd2c5[5])[_0xd2c5[6]];var ReportCallHistory=require(_0xd2c5[5])[_0xd2c5[8]][_0xd2c5[7]];var Util=require(_0xd2c5[9]);var moment=require(_0xd2c5[10]);function handleError(_0x7b20x9,_0x7b20xa){_0x7b20xa= _0x7b20xa|| 500;return function(_0x7b20xb){logger[_0xd2c5[12]](_0x7b20xb[_0xd2c5[11]]);_0x7b20x9[_0xd2c5[14]](_0x7b20xa)[_0xd2c5[13]](_0x7b20xb)}}function responseWithResult(_0x7b20x9,_0x7b20xa){_0x7b20xa= _0x7b20xa|| 200;return function(_0x7b20xd){if(_0x7b20xd){_0x7b20x9[_0xd2c5[14]](_0x7b20xa)[_0xd2c5[15]](_0x7b20xd)}}}function handleEntityNotFound(_0x7b20x9){return function(_0x7b20xd){if(!_0x7b20xd){_0x7b20x9[_0xd2c5[14]](404)[_0xd2c5[16]]();return null};return _0x7b20xd}}function saveUpdates(_0x7b20x10){return function(_0x7b20xd){return _0x7b20xd[_0xd2c5[18]](_0x7b20x10)[_0xd2c5[17]](function(_0x7b20x11){return _0x7b20x11})}}function removeEntity(_0x7b20x9){return function(_0x7b20xd){if(_0x7b20xd){return _0x7b20xd[_0xd2c5[19]]()[_0xd2c5[17]](function(){_0x7b20x9[_0xd2c5[14]](204)[_0xd2c5[16]]()})}}}exports[_0xd2c5[20]]= function(_0x7b20x13,_0x7b20x9,_0x7b20x14){return ReportCall[_0xd2c5[24]](Util[_0xd2c5[23]](_0x7b20x13[_0xd2c5[22]]))[_0xd2c5[17]](function(_0x7b20x15){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]](_0x7b20x15)})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[25]]= function(_0x7b20x13,_0x7b20x9){if(_0x7b20x13[_0xd2c5[27]][_0xd2c5[26]]){delete _0x7b20x13[_0xd2c5[27]][_0xd2c5[26]]};return ReportCall[_0xd2c5[30]]({where:{uniqueid:_0x7b20x13[_0xd2c5[29]][_0xd2c5[28]]}})[_0xd2c5[17]](handleEntityNotFound(_0x7b20x9))[_0xd2c5[17]](saveUpdates(_0x7b20x13[_0xd2c5[27]]))[_0xd2c5[17]](responseWithResult(_0x7b20x9))[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[31]]= function(_0x7b20x13,_0x7b20x9){return ReportCall[_0xd2c5[30]]({where:{uniqueid:_0x7b20x13[_0xd2c5[29]][_0xd2c5[28]]}})[_0xd2c5[17]](handleEntityNotFound(_0x7b20x9))[_0xd2c5[17]](responseWithResult(_0x7b20x9))[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[32]]= function(_0x7b20x13,_0x7b20x9){return ReportCall[_0xd2c5[51]]({where:{type:[_0xd2c5[33],_0xd2c5[35]],createdAt:{$gte:moment()[_0xd2c5[49]](_0xd2c5[48])}},attributes:[_0xd2c5[50],_0xd2c5[40],_0xd2c5[43]],raw:true})[_0xd2c5[17]](function(_0x7b20x16){var _0x7b20x17={};var _0x7b20x18=_[_0xd2c5[34]](_0x7b20x16,{type:_0xd2c5[33]});var _0x7b20x19=_[_0xd2c5[34]](_0x7b20x16,{type:_0xd2c5[35]});_0x7b20x17[_0xd2c5[36]]= _0x7b20x18[_0xd2c5[37]];_0x7b20x17[_0xd2c5[35]]= _0x7b20x19[_0xd2c5[37]];_0x7b20x17[_0xd2c5[38]]= _[_0xd2c5[41]](_0x7b20x18,_0xd2c5[40])[_0xd2c5[39]]|| 0;_0x7b20x17[_0xd2c5[42]]= _[_0xd2c5[44]](_0x7b20x18,_0xd2c5[43]);if(_0x7b20x17[_0xd2c5[38]]){_0x7b20x17[_0xd2c5[45]]= _[_0xd2c5[46]]((_[_0xd2c5[44]](_0x7b20x18,_0xd2c5[43])/ _0x7b20x17[_0xd2c5[38]]));_0x7b20x17[_0xd2c5[47]]= _[_0xd2c5[46]](_0x7b20x17[_0xd2c5[38]]/ _0x7b20x17[_0xd2c5[36]]* 100,1)};return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]](_0x7b20x17)})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[52]]= function(_0x7b20x13,_0x7b20x9){return ReportCall[_0xd2c5[53]]({where:{type:_0xd2c5[33]}})[_0xd2c5[17]](function(_0x7b20x16){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]]({value:_0x7b20x16})})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[54]]= function(_0x7b20x13,_0x7b20x9){return sequelize[_0xd2c5[22]](_0xd2c5[56],{type:sequelize[_0xd2c5[58]][_0xd2c5[57]]})[_0xd2c5[17]](function(_0x7b20x16){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]]({value:_0x7b20x16[0][_0xd2c5[55]]})})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[59]]= function(_0x7b20x13,_0x7b20x9){return sequelize[_0xd2c5[22]](_0xd2c5[60],{type:sequelize[_0xd2c5[58]][_0xd2c5[57]]})[_0xd2c5[17]](function(_0x7b20x16){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]]({value:_0x7b20x16[0][_0xd2c5[55]]})})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[61]]= function(_0x7b20x13,_0x7b20x9){return ReportCall[_0xd2c5[53]]({where:{disposition:_0xd2c5[39],type:_0xd2c5[33]}})[_0xd2c5[17]](function(_0x7b20x16){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]]({value:_0x7b20x16})})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[62]]= function(_0x7b20x13,_0x7b20x9){return sequelize[_0xd2c5[22]](_0xd2c5[63],{type:sequelize[_0xd2c5[58]][_0xd2c5[57]]})[_0xd2c5[17]](function(_0x7b20x16){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]]({value:_0x7b20x16[0][_0xd2c5[55]]})})[_0xd2c5[21]](handleError(_0x7b20x9))};exports[_0xd2c5[64]]= function(_0x7b20x13,_0x7b20x9){return ReportCallHistory[_0xd2c5[64]]()[_0xd2c5[17]](function(_0x7b20x1a){return _0x7b20x9[_0xd2c5[14]](200)[_0xd2c5[13]](_0x7b20x1a)})[_0xd2c5[21]](handleError(_0x7b20x9))}
\ No newline at end of file