Built motion from commit 16cc8f1.|1.0.14
[motion.git] / server / api / report_call / report_call.controller.js
index f8d0e77..de17ad6 100644 (file)
@@ -1 +1 @@
-var _0x8f02=["\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"];_0x8f02[0];var _=require(_0x8f02[1]);var sequelize=require(_0x8f02[3])[_0x8f02[2]];var ReportCall=require(_0x8f02[3])[_0x8f02[4]];var ReportCallHistory=require(_0x8f02[3])[_0x8f02[6]][_0x8f02[5]];var Util=require(_0x8f02[7]);function handleError(_0x9188x7,_0x9188x8){_0x9188x8= _0x9188x8|| 500;return function(_0x9188x9){console[_0x8f02[8]](_0x9188x9);_0x9188x7[_0x8f02[10]](_0x9188x8)[_0x8f02[9]](_0x9188x9)}}function responseWithResult(_0x9188x7,_0x9188x8){_0x9188x8= _0x9188x8|| 200;return function(_0x9188xb){if(_0x9188xb){_0x9188x7[_0x8f02[10]](_0x9188x8)[_0x8f02[11]](_0x9188xb)}}}function handleEntityNotFound(_0x9188x7){return function(_0x9188xb){if(!_0x9188xb){_0x9188x7[_0x8f02[10]](404)[_0x8f02[12]]();return null};return _0x9188xb}}function saveUpdates(_0x9188xe){return function(_0x9188xb){return _0x9188xb[_0x8f02[14]](_0x9188xe)[_0x8f02[13]](function(_0x9188xf){return _0x9188xf})}}function removeEntity(_0x9188x7){return function(_0x9188xb){if(_0x9188xb){return _0x9188xb[_0x8f02[15]]()[_0x8f02[13]](function(){_0x9188x7[_0x8f02[10]](204)[_0x8f02[12]]()})}}}exports[_0x8f02[16]]= function(_0x9188x11,_0x9188x7,_0x9188x12){return ReportCall[_0x8f02[20]](Util[_0x8f02[19]](_0x9188x11[_0x8f02[18]]))[_0x8f02[13]](function(_0x9188x13){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]](_0x9188x13)})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[21]]= function(_0x9188x11,_0x9188x7){if(_0x9188x11[_0x8f02[23]][_0x8f02[22]]){delete _0x9188x11[_0x8f02[23]][_0x8f02[22]]};return ReportCall[_0x8f02[26]]({where:{uniqueid:_0x9188x11[_0x8f02[25]][_0x8f02[24]]}})[_0x8f02[13]](handleEntityNotFound(_0x9188x7))[_0x8f02[13]](saveUpdates(_0x9188x11[_0x8f02[23]]))[_0x8f02[13]](responseWithResult(_0x9188x7))[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[27]]= function(_0x9188x11,_0x9188x7){return ReportCall[_0x8f02[26]]({where:{uniqueid:_0x9188x11[_0x8f02[25]][_0x8f02[24]]}})[_0x8f02[13]](handleEntityNotFound(_0x9188x7))[_0x8f02[13]](responseWithResult(_0x9188x7))[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[28]]= function(_0x9188x11,_0x9188x7){return ReportCall[_0x8f02[43]]({where:{type:_0x8f02[41]},attributes:[_0x8f02[42],_0x8f02[33],_0x8f02[36]],raw:true})[_0x8f02[13]](function(_0x9188x14){var _0x9188x15={};_0x9188x15[_0x8f02[29]]= _0x9188x14[_0x8f02[30]];_0x9188x15[_0x8f02[31]]= _[_0x8f02[34]](_0x9188x14,_0x8f02[33])[_0x8f02[32]]|| 0;_0x9188x15[_0x8f02[35]]= _[_0x8f02[37]](_0x9188x14,_0x8f02[36]);if(_0x9188x15[_0x8f02[31]]){_0x9188x15[_0x8f02[38]]= _[_0x8f02[39]]((_[_0x8f02[37]](_0x9188x14,_0x8f02[36])/ _0x9188x15[_0x8f02[31]]));_0x9188x15[_0x8f02[40]]= _[_0x8f02[39]](_0x9188x15[_0x8f02[31]]/ _0x9188x15[_0x8f02[29]]* 100,1)};return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]](_0x9188x15)})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[44]]= function(_0x9188x11,_0x9188x7){return ReportCall[_0x8f02[45]]({where:{type:_0x8f02[41]}})[_0x8f02[13]](function(_0x9188x14){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]]({value:_0x9188x14})})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[46]]= function(_0x9188x11,_0x9188x7){return sequelize[_0x8f02[18]](_0x8f02[48],{type:sequelize[_0x8f02[50]][_0x8f02[49]]})[_0x8f02[13]](function(_0x9188x14){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]]({value:_0x9188x14[0][_0x8f02[47]]})})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[51]]= function(_0x9188x11,_0x9188x7){return sequelize[_0x8f02[18]](_0x8f02[52],{type:sequelize[_0x8f02[50]][_0x8f02[49]]})[_0x8f02[13]](function(_0x9188x14){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]]({value:_0x9188x14[0][_0x8f02[47]]})})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[53]]= function(_0x9188x11,_0x9188x7){return ReportCall[_0x8f02[45]]({where:{disposition:_0x8f02[32],type:_0x8f02[41]}})[_0x8f02[13]](function(_0x9188x14){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]]({value:_0x9188x14})})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[54]]= function(_0x9188x11,_0x9188x7){return sequelize[_0x8f02[18]](_0x8f02[55],{type:sequelize[_0x8f02[50]][_0x8f02[49]]})[_0x8f02[13]](function(_0x9188x14){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]]({value:_0x9188x14[0][_0x8f02[47]]})})[_0x8f02[17]](handleError(_0x9188x7))};exports[_0x8f02[56]]= function(_0x9188x11,_0x9188x7){return ReportCallHistory[_0x8f02[56]]()[_0x8f02[13]](function(_0x9188x16){return _0x9188x7[_0x8f02[10]](200)[_0x8f02[9]](_0x9188x16)})[_0x8f02[17]](handleError(_0x9188x7))}
\ No newline at end of file
+var _0x231a=["\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","\x6D\x6F\x6D\x65\x6E\x74","\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","\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"];_0x231a[0];var _=require(_0x231a[1]);var sequelize=require(_0x231a[3])[_0x231a[2]];var ReportCall=require(_0x231a[3])[_0x231a[4]];var ReportCallHistory=require(_0x231a[3])[_0x231a[6]][_0x231a[5]];var Util=require(_0x231a[7]);var moment=require(_0x231a[8]);function handleError(_0xbbf0x8,_0xbbf0x9){_0xbbf0x9= _0xbbf0x9|| 500;return function(_0xbbf0xa){console[_0x231a[9]](_0xbbf0xa);_0xbbf0x8[_0x231a[11]](_0xbbf0x9)[_0x231a[10]](_0xbbf0xa)}}function responseWithResult(_0xbbf0x8,_0xbbf0x9){_0xbbf0x9= _0xbbf0x9|| 200;return function(_0xbbf0xc){if(_0xbbf0xc){_0xbbf0x8[_0x231a[11]](_0xbbf0x9)[_0x231a[12]](_0xbbf0xc)}}}function handleEntityNotFound(_0xbbf0x8){return function(_0xbbf0xc){if(!_0xbbf0xc){_0xbbf0x8[_0x231a[11]](404)[_0x231a[13]]();return null};return _0xbbf0xc}}function saveUpdates(_0xbbf0xf){return function(_0xbbf0xc){return _0xbbf0xc[_0x231a[15]](_0xbbf0xf)[_0x231a[14]](function(_0xbbf0x10){return _0xbbf0x10})}}function removeEntity(_0xbbf0x8){return function(_0xbbf0xc){if(_0xbbf0xc){return _0xbbf0xc[_0x231a[16]]()[_0x231a[14]](function(){_0xbbf0x8[_0x231a[11]](204)[_0x231a[13]]()})}}}exports[_0x231a[17]]= function(_0xbbf0x12,_0xbbf0x8,_0xbbf0x13){return ReportCall[_0x231a[21]](Util[_0x231a[20]](_0xbbf0x12[_0x231a[19]]))[_0x231a[14]](function(_0xbbf0x14){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]](_0xbbf0x14)})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[22]]= function(_0xbbf0x12,_0xbbf0x8){if(_0xbbf0x12[_0x231a[24]][_0x231a[23]]){delete _0xbbf0x12[_0x231a[24]][_0x231a[23]]};return ReportCall[_0x231a[27]]({where:{uniqueid:_0xbbf0x12[_0x231a[26]][_0x231a[25]]}})[_0x231a[14]](handleEntityNotFound(_0xbbf0x8))[_0x231a[14]](saveUpdates(_0xbbf0x12[_0x231a[24]]))[_0x231a[14]](responseWithResult(_0xbbf0x8))[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[28]]= function(_0xbbf0x12,_0xbbf0x8){return ReportCall[_0x231a[27]]({where:{uniqueid:_0xbbf0x12[_0x231a[26]][_0x231a[25]]}})[_0x231a[14]](handleEntityNotFound(_0xbbf0x8))[_0x231a[14]](responseWithResult(_0xbbf0x8))[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[29]]= function(_0xbbf0x12,_0xbbf0x8){return ReportCall[_0x231a[48]]({where:{type:[_0x231a[30],_0x231a[32]],createdAt:{$gte:moment()[_0x231a[46]](_0x231a[45])}},attributes:[_0x231a[47],_0x231a[37],_0x231a[40]],raw:true})[_0x231a[14]](function(_0xbbf0x15){var _0xbbf0x16={};var _0xbbf0x17=_[_0x231a[31]](_0xbbf0x15,{type:_0x231a[30]});var _0xbbf0x18=_[_0x231a[31]](_0xbbf0x15,{type:_0x231a[32]});_0xbbf0x16[_0x231a[33]]= _0xbbf0x17[_0x231a[34]];_0xbbf0x16[_0x231a[32]]= _0xbbf0x18[_0x231a[34]];_0xbbf0x16[_0x231a[35]]= _[_0x231a[38]](_0xbbf0x17,_0x231a[37])[_0x231a[36]]|| 0;_0xbbf0x16[_0x231a[39]]= _[_0x231a[41]](_0xbbf0x17,_0x231a[40]);if(_0xbbf0x16[_0x231a[35]]){_0xbbf0x16[_0x231a[42]]= _[_0x231a[43]]((_[_0x231a[41]](_0xbbf0x17,_0x231a[40])/ _0xbbf0x16[_0x231a[35]]));_0xbbf0x16[_0x231a[44]]= _[_0x231a[43]](_0xbbf0x16[_0x231a[35]]/ _0xbbf0x16[_0x231a[33]]* 100,1)};return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]](_0xbbf0x16)})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[49]]= function(_0xbbf0x12,_0xbbf0x8){return ReportCall[_0x231a[50]]({where:{type:_0x231a[30]}})[_0x231a[14]](function(_0xbbf0x15){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]]({value:_0xbbf0x15})})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[51]]= function(_0xbbf0x12,_0xbbf0x8){return sequelize[_0x231a[19]](_0x231a[53],{type:sequelize[_0x231a[55]][_0x231a[54]]})[_0x231a[14]](function(_0xbbf0x15){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]]({value:_0xbbf0x15[0][_0x231a[52]]})})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[56]]= function(_0xbbf0x12,_0xbbf0x8){return sequelize[_0x231a[19]](_0x231a[57],{type:sequelize[_0x231a[55]][_0x231a[54]]})[_0x231a[14]](function(_0xbbf0x15){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]]({value:_0xbbf0x15[0][_0x231a[52]]})})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[58]]= function(_0xbbf0x12,_0xbbf0x8){return ReportCall[_0x231a[50]]({where:{disposition:_0x231a[36],type:_0x231a[30]}})[_0x231a[14]](function(_0xbbf0x15){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]]({value:_0xbbf0x15})})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[59]]= function(_0xbbf0x12,_0xbbf0x8){return sequelize[_0x231a[19]](_0x231a[60],{type:sequelize[_0x231a[55]][_0x231a[54]]})[_0x231a[14]](function(_0xbbf0x15){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]]({value:_0xbbf0x15[0][_0x231a[52]]})})[_0x231a[18]](handleError(_0xbbf0x8))};exports[_0x231a[61]]= function(_0xbbf0x12,_0xbbf0x8){return ReportCallHistory[_0x231a[61]]()[_0x231a[14]](function(_0xbbf0x19){return _0xbbf0x8[_0x231a[11]](200)[_0x231a[10]](_0xbbf0x19)})[_0x231a[18]](handleError(_0xbbf0x8))}
\ No newline at end of file