Built motion from commit 0dbf6b8.|0.0.131
[motion.git] / server / api / report_queue / report_queue.controller.js
index 619a3ac..f8bc673 100644 (file)
@@ -1 +1 @@
-var _0xe948=["\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\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67","\x63\x6F\x75\x6E\x74","\x61\x63\x74\x69\x76\x65","\x61\x6E\x73\x77\x65\x72\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x76\x61\x6C\x75\x65","\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\x68\x6F\x6C\x64\x74\x69\x6D\x65\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\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x71\x75\x65\x72\x79","\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\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\x74\x61\x6C\x6B\x74\x69\x6D\x65\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\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31","\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\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\x71\x75\x65\x75\x65","\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\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\x71\x75\x65\x75\x65","\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xe948[0];var _=require(_0xe948[1]);var sequelize=require(_0xe948[3])[_0xe948[2]];var ReportQueue=require(_0xe948[3])[_0xe948[4]];var ReportQueueHistory=require(_0xe948[3])[_0xe948[6]][_0xe948[5]];exports[_0xe948[7]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[12]]()[_0xe948[11]](function(_0x8e5dx8){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]](_0x8e5dx8)})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[13]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueueHistory[_0xe948[13]]()[_0xe948[11]](function(_0x8e5dx9){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]](_0x8e5dx9)})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[14]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[15]]({where:{queuecallerleaveAt:null}})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[16]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[15]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null}}})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[17]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[15]]({where:{queuecallercomplete:true}})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[18]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[15]]({where:{queuecallerabandon:true}})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[19]]=function(_0x8e5dx5,_0x8e5dx6){return sequelize[_0xe948[24]](_0xe948[21],{type:sequelize[_0xe948[23]][_0xe948[22]]})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa[0][_0xe948[20]]})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[25]]=function(_0x8e5dx5,_0x8e5dx6){return sequelize[_0xe948[24]](_0xe948[26],{type:sequelize[_0xe948[23]][_0xe948[22]]})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa[0][_0xe948[20]]})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[27]]=function(_0x8e5dx5,_0x8e5dx6){return sequelize[_0xe948[24]](_0xe948[28],{type:sequelize[_0xe948[23]][_0xe948[22]]})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa[0][_0xe948[20]]})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[29]]=function(_0x8e5dx5,_0x8e5dx6){return sequelize[_0xe948[24]](_0xe948[30],{type:sequelize[_0xe948[23]][_0xe948[22]]})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa[0][_0xe948[20]]})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[31]]=function(_0x8e5dx5,_0x8e5dx6){return sequelize[_0xe948[24]](_0xe948[32],{type:sequelize[_0xe948[23]][_0xe948[22]]})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa[0][_0xe948[20]]})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[33]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[15]]({where:{queuecallerexit:true}})[_0xe948[11]](function(_0x8e5dxa){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]]({value:_0x8e5dxa})})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[34]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[38]](_0x8e5dx5[_0xe948[37]][_0xe948[36]])[_0xe948[11]](function(_0x8e5dxb){if(!_0x8e5dxb){return _0x8e5dx6[_0xe948[35]](404)};return _0x8e5dx6[_0xe948[9]](_0x8e5dxb)})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[39]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[39]](_0x8e5dx5[_0xe948[40]])[_0xe948[11]](function(_0x8e5dxb){return _0x8e5dx6[_0xe948[10]](201)[_0xe948[9]](_0x8e5dxb)})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[41]]=function(_0x8e5dx5,_0x8e5dx6){if(_0x8e5dx5[_0xe948[40]][_0xe948[36]]){delete _0x8e5dx5[_0xe948[40]][_0xe948[36]]};return ReportQueue[_0xe948[38]](_0x8e5dx5[_0xe948[37]][_0xe948[36]])[_0xe948[11]](function(_0x8e5dxb){if(!_0x8e5dxb){return _0x8e5dx6[_0xe948[35]](404)};var _0x8e5dxc=_[_0xe948[44]](_0x8e5dxb,_0x8e5dx5[_0xe948[40]]);return _0x8e5dxc[_0xe948[45]]()})[_0xe948[11]](function(_0x8e5dxb){return _0x8e5dx6[_0xe948[10]](200)[_0xe948[9]](_0x8e5dxb)})[_0xe948[8]](function(_0x8e5dx7){console[_0xe948[43]](_0xe948[42],_0x8e5dx7);return handleError(_0x8e5dx6,_0x8e5dx7)})};exports[_0xe948[46]]=function(_0x8e5dx5,_0x8e5dx6){return ReportQueue[_0xe948[38]](_0x8e5dx5[_0xe948[37]][_0xe948[36]])[_0xe948[11]](function(_0x8e5dxb){if(!_0x8e5dxb){return _0x8e5dx6[_0xe948[35]](404)};return _0x8e5dxb[_0xe948[46]]()})[_0xe948[11]](function(){return _0x8e5dx6[_0xe948[35]](204)})[_0xe948[8]](function(_0x8e5dx7){return handleError(_0x8e5dx6,_0x8e5dx7)})};function handleError(_0x8e5dx6,_0x8e5dx7){return _0x8e5dx6[_0xe948[10]](500)[_0xe948[9]](_0x8e5dx7)}
\ No newline at end of file
+var _0xf787=["\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","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\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","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\x75\x70\x64\x61\x74\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67","\x63\x6F\x75\x6E\x74","\x75\x73\x65\x72","\x61\x6C\x6C","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x6F\x6C\x65","\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x75\x69\x54\x6F","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x5F\x75\x69\x54\x6F","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x5F\x75\x69\x54\x6F","\x6C\x6F\x67","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64","\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73","\x66\x6F\x72\x45\x61\x63\x68","\x5F\x61\x6E\x73\x77\x65\x72\x65\x64\x46\x72\x6F\x6D","\x61\x6E\x73\x77\x65\x72\x65\x64","\x5F\x61\x6E\x73\x77\x65\x72\x65\x64\x54\x6F","\x5F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x46\x72\x6F\x6D","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x5F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x54\x6F","\x5F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x46\x72\x6F\x6D","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x5F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x54\x6F","\x5F\x6E\x61\x6D\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x72\x65\x64\x75\x63\x65","\x66\x69\x6C\x74\x65\x72","\x5F\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x73\x6C\x69\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x30\x30\x3A\x30\x30\x3A\x30\x30","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x6A\x6F\x69\x6E","\x27\x29\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x71\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54","\x63\x6F\x6C","\x66\x6E","\x61\x63\x74\x69\x76\x65","\x77\x61\x69\x74\x69\x6E\x67\x43\x61\x6C\x6C\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x71\x75\x65\x75\x65\x46\x69\x6C\x74\x65\x72","\x73\x63\x6F\x70\x65","\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\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\x68\x6F\x6C\x64\x74\x69\x6D\x65\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\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x29","\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\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\x74\x61\x6C\x6B\x74\x69\x6D\x65\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\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\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\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\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\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x41\x6C\x6C","\x73\x68\x6F\x77"];_0xf787[0];var _=require(_0xf787[1]);var sequelize=require(_0xf787[3])[_0xf787[2]];var Agent=require(_0xf787[3])[_0xf787[4]];var ReportQueue=require(_0xf787[3])[_0xf787[5]];var VoiceQueue=require(_0xf787[3])[_0xf787[6]];var ReportQueueHistory=require(_0xf787[3])[_0xf787[8]][_0xf787[7]];var Util=require(_0xf787[9]);var Promise=require(_0xf787[10]);exports[_0xf787[11]]= function(_0xa430x9,_0xa430xa,_0xa430xb){return ReportQueue[_0xf787[18]](Util[_0xf787[17]](_0xa430x9[_0xf787[16]]))[_0xf787[15]](function(_0xa430xd){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]](_0xa430xd)})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[19]]= function(_0xa430x9,_0xa430xa){return ReportQueue[_0xf787[26]](_0xa430x9[_0xf787[25]][_0xf787[24]])[_0xf787[15]](function(_0xa430xe){if(!_0xa430xe){return _0xa430xa[_0xf787[20]](404)};var _0xa430xf=_[_0xf787[22]](_0xa430xe,_0xa430x9[_0xf787[21]]);return _0xa430xf[_0xf787[23]]()})[_0xf787[15]](function(_0xa430xe){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]](_0xa430xe)})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[27]]= function(_0xa430x9,_0xa430xa){return ReportQueueHistory[_0xf787[27]]()[_0xf787[15]](function(_0xa430x10){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]](_0xa430x10)})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[28]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[29]]({where:{queuecallerleaveAt:null,queue:_0xa430x12}})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};function getVoiceQueues(_0xa430x14){return function(){switch(_0xa430x14[_0xf787[39]]){case _0xf787[30]:return Agent[_0xf787[26]](_0xa430x14[_0xf787[24]],{attributes:[_0xf787[24]]})[_0xf787[15]](Util[_0xf787[35]]())[_0xf787[15]](function(_0xa430x12){return _[_0xf787[34]](_0xa430x12[_0xf787[32]],_0xf787[33])});case _0xf787[37]:return Agent[_0xf787[26]](_0xa430x14[_0xf787[24]])[_0xf787[15]](function(_0xa430x15){return _0xa430x15[_0xf787[36]]({attributes:[_0xf787[33]]})})[_0xf787[15]](function(_0xa430x12){return _[_0xf787[34]](_0xa430x12,_0xf787[33])});default:return VoiceQueue[_0xf787[38]]()[_0xf787[15]](function(_0xa430x16){return {rows:_0xa430x16}})[_0xf787[15]](function(_0xa430x12){return _[_0xf787[34]](_0xa430x12[_0xf787[32]],_0xf787[33])})}}}exports[_0xf787[40]]= function(_0xa430x9,_0xa430xa){var _0xa430x17={_limit:_0xa430x9[_0xf787[16]][_0xf787[41]]?_0xa430x9[_0xf787[16]][_0xf787[41]]:null,_offset:_0xa430x9[_0xf787[16]][_0xf787[42]]?_0xa430x9[_0xf787[16]][_0xf787[42]]:0,_name:_0xa430x9[_0xf787[16]][_0xf787[33]]|| undefined,_answeredFrom:_0xa430x9[_0xf787[16]][_0xf787[43]]|| _0xa430x9[_0xf787[16]][_0xf787[43]]=== 0?_0xa430x9[_0xf787[16]][_0xf787[43]]:undefined,_answeredTo:_0xa430x9[_0xf787[16]][_0xf787[44]]|| _0xa430x9[_0xf787[16]][_0xf787[44]]=== 0?_0xa430x9[_0xf787[16]][_0xf787[44]]:undefined,_abandonedFrom:_0xa430x9[_0xf787[16]][_0xf787[45]]|| _0xa430x9[_0xf787[16]][_0xf787[45]]=== 0?_0xa430x9[_0xf787[16]][_0xf787[45]]:undefined,_abandonedTo:_0xa430x9[_0xf787[16]][_0xf787[46]]|| _0xa430x9[_0xf787[16]][_0xf787[46]]=== 0?_0xa430x9[_0xf787[16]][_0xf787[46]]:undefined,_unmanagedFrom:_0xa430x9[_0xf787[16]][_0xf787[47]]|| _0xa430x9[_0xf787[16]][_0xf787[47]]=== 0?_0xa430x9[_0xf787[16]][_0xf787[47]]:undefined,_unmanagedTo:_0xa430x9[_0xf787[16]][_0xf787[48]]|| _0xa430x9[_0xf787[16]][_0xf787[48]]=== 0?_0xa430x9[_0xf787[16]][_0xf787[48]]:undefined};console[_0xf787[49]](_0xa430x17);var _0xa430x18,_0xa430x19,_0xa430x1a,_0xa430x1b;delete _0xa430x9[_0xf787[16]][_0xf787[41]];delete _0xa430x9[_0xf787[16]][_0xf787[42]];delete _0xa430x9[_0xf787[16]][_0xf787[43]];delete _0xa430x9[_0xf787[16]][_0xf787[44]];delete _0xa430x9[_0xf787[16]][_0xf787[45]];delete _0xa430x9[_0xf787[16]][_0xf787[46]];delete _0xa430x9[_0xf787[16]][_0xf787[47]];delete _0xa430x9[_0xf787[16]][_0xf787[48]];return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){_0xa430x19= _0xa430x12;_0xa430x18= _[_0xf787[34]](_0xa430x12,function(_0xa430x1f){return {name:_0xa430x1f}});return ReportQueue[_0xf787[38]]({where:{queuecallerleaveAt:null,queue:_0xa430x19},group:_0xf787[84],attributes:[[_0xf787[84],_0xf787[33]],[sequelize[_0xf787[87]](_0xf787[85],sequelize[_0xf787[86]](_0xf787[24])),_0xf787[28]]]})})[_0xf787[15]](function(_0xa430x31){_0xa430x31= _[_0xf787[34]](_0xa430x31,_0xf787[82]);_0xa430x18[_0xf787[53]](function(_0xa430x1f,_0xa430x32){var _0xa430x20=_[_0xf787[51]](_0xa430x31,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[28]]= _0xa430x20?_0xa430x20[_0xf787[28]]:0});return ReportQueue[_0xf787[38]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0xa430x19},group:_0xf787[84],attributes:[[_0xf787[84],_0xf787[33]],[sequelize[_0xf787[87]](_0xf787[85],sequelize[_0xf787[86]](_0xf787[24])),_0xf787[88]]]})})[_0xf787[15]](function(_0xa430x30){_0xa430x30= _[_0xf787[34]](_0xa430x30,_0xf787[82]);_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x30,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[88]]= _0xa430x20?_0xa430x20[_0xf787[88]]:0});return ReportQueue[_0xf787[38]]({where:{queuecallercomplete:true,queue:_0xa430x19},group:_0xf787[84],attributes:[[_0xf787[84],_0xf787[33]],[sequelize[_0xf787[87]](_0xf787[85],sequelize[_0xf787[86]](_0xf787[24])),_0xf787[55]]]})})[_0xf787[15]](function(_0xa430x2f){_0xa430x2f= _[_0xf787[34]](_0xa430x2f,_0xf787[82]);_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x2f,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[55]]= _0xa430x20?_0xa430x20[_0xf787[55]]:0});return ReportQueue[_0xf787[38]]({where:{queuecallerabandon:true,queue:_0xa430x19},group:_0xf787[84],attributes:[[_0xf787[84],_0xf787[33]],[sequelize[_0xf787[87]](_0xf787[85],sequelize[_0xf787[86]](_0xf787[24])),_0xf787[58]]]})})[_0xf787[15]](function(_0xa430x2e){_0xa430x2e= _[_0xf787[34]](_0xa430x2e,_0xf787[82]);_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x2e,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[58]]= _0xa430x20?_0xa430x20[_0xf787[58]]:0});return ReportQueue[_0xf787[38]]({where:{queuecallerexit:true,queue:_0xa430x19},group:_0xf787[84],attributes:[[_0xf787[84],_0xf787[33]],[sequelize[_0xf787[87]](_0xf787[85],sequelize[_0xf787[86]](_0xf787[24])),_0xf787[61]]]})})[_0xf787[15]](function(_0xa430x2d){_0xa430x2d= _[_0xf787[34]](_0xa430x2d,_0xf787[82]);_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x2d,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[61]]= _0xa430x20?_0xa430x20[_0xf787[61]]:0});return sequelize[_0xf787[16]](_0xf787[83]+ _0xa430x19[_0xf787[76]](_0xf787[75])+ _0xf787[77],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x2c){_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x2c,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[80]]= _0xa430x20?_0xa430x20[_0xf787[80]]:_0xf787[73]});return sequelize[_0xf787[16]](_0xf787[81]+ _0xa430x19[_0xf787[76]](_0xf787[75])+ _0xf787[77],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x2b){_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x2b,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[72]]= _0xa430x20?_0xa430x20[_0xf787[72]]:_0xf787[73]});return sequelize[_0xf787[16]](_0xf787[74]+ _0xa430x19[_0xf787[76]](_0xf787[75])+ _0xf787[77],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x1e){_0xa430x18[_0xf787[53]](function(_0xa430x1f){var _0xa430x20=_[_0xf787[51]](_0xa430x1e,{name:_0xa430x1f[_0xf787[33]]});_0xa430x1f[_0xf787[52]]= _0xa430x20?_0xa430x20[_0xf787[52]]:0});var _0xa430x21=_(_[_0xf787[66]](_0xa430x18,function(_0xa430x1f){var _0xa430x22=_0xa430x17[_0xf787[54]]?(_0xa430x1f[_0xf787[55]]>= Number(_0xa430x17._answeredFrom)):true;var _0xa430x23=_0xa430x17[_0xf787[56]]?(_0xa430x1f[_0xf787[55]]<= Number(_0xa430x17._answeredTo)):true;var _0xa430x24=_0xa430x17[_0xf787[57]]?(_0xa430x1f[_0xf787[58]]>= Number(_0xa430x17._abandonedFrom)):true;var _0xa430x25=_0xa430x17[_0xf787[59]]?(_0xa430x1f[_0xf787[58]]<= Number(_0xa430x17._abandonedTo)):true;var _0xa430x26=_0xa430x17[_0xf787[60]]?(_0xa430x1f[_0xf787[61]]>= Number(_0xa430x17._unmanagedFrom)):true;var _0xa430x27=_0xa430x17[_0xf787[62]]?(_0xa430x1f[_0xf787[61]]<= Number(_0xa430x17._unmanagedTo)):true;var _0xa430x28=_0xa430x17[_0xf787[63]]?_[_0xf787[64]](_0xa430x1f[_0xf787[33]],_0xa430x17._name):true;return _[_0xf787[65]]([_0xa430x22,_0xa430x23,_0xa430x24,_0xa430x25,_0xa430x26,_0xa430x27,_0xa430x28],function(_0xa430x29,_0xa430x2a){return _0xa430x29&& _0xa430x2a})}));if(_0xa430x17[_0xf787[67]]){_0xa430x21= _0xa430x21[_0xf787[70]](_0xa430x17._offset)[_0xf787[69]](_0xa430x17._limit)[_0xf787[68]]()};return [_0xa430x18[_0xf787[71]],_0xa430x21]})[_0xf787[50]](function(_0xa430x1c,_0xa430x1d){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({rows:_0xa430x1d,count:_0xa430x1c})})[_0xf787[12]](function(_0xa430xc){console[_0xf787[49]](_0xa430xc);return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[89]]= function(_0xa430x9,_0xa430xa){var _0xa430x33={};if(_0xa430x9[_0xf787[30]][_0xf787[39]]=== _0xf787[37]){_0xa430x33[_0xf787[90]]= _0xa430x9[_0xf787[30]][_0xf787[91]]};return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[93]](_0xf787[28],{method:[_0xf787[92],_0xa430x12]})[_0xf787[38]](Util[_0xf787[17]](_0xa430x9[_0xf787[16]],_0xa430x33))})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({rows:_0xa430x11,count:_0xa430x11[_0xf787[71]]})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[88]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[29]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0xa430x12}})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[55]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[29]]({where:{queuecallercomplete:true,queue:_0xa430x12}})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[58]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[29]]({where:{queuecallerabandon:true,queue:_0xa430x12}})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[94]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return sequelize[_0xf787[16]](_0xf787[95]+ _0xa430x12[_0xf787[76]](_0xf787[75])+ _0xf787[96],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11[0][_0xf787[68]]})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[97]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return sequelize[_0xf787[16]](_0xf787[98]+ _0xa430x12[_0xf787[76]](_0xf787[75])+ _0xf787[96],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11[0][_0xf787[68]]})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[99]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return sequelize[_0xf787[16]](_0xf787[100]+ _0xa430x12[_0xf787[76]](_0xf787[75])+ _0xf787[96],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11[0][_0xf787[68]]})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[101]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return sequelize[_0xf787[16]](_0xf787[102]+ _0xa430x12[_0xf787[76]](_0xf787[75])+ _0xf787[96],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11[0][_0xf787[68]]})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[103]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return sequelize[_0xf787[16]](_0xf787[104]+ _0xa430x12[_0xf787[76]](_0xf787[75])+ _0xf787[96],{type:sequelize[_0xf787[79]][_0xf787[78]]})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11[0][_0xf787[68]]})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[61]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[29]]({where:{queuecallerexit:true,queue:_0xa430x12}})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]]({value:_0xa430x11})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[105]]= function(_0xa430x9,_0xa430xa){return Promise[_0xf787[31]]([])[_0xf787[15]](getVoiceQueues(_0xa430x9[_0xf787[30]]))[_0xf787[15]](function(_0xa430x12){return ReportQueue[_0xf787[18]]({where:{queuecallerabandon:true,queue:_0xa430x12}})})[_0xf787[15]](function(_0xa430x11){return _0xa430xa[_0xf787[14]](200)[_0xf787[13]](_0xa430x11)})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};exports[_0xf787[106]]= function(_0xa430x9,_0xa430xa){return ReportQueue[_0xf787[38]]({where:{queue:_0xa430x9[_0xf787[25]][_0xf787[84]]}})[_0xf787[15]](function(_0xa430x34){if(!_0xa430x34){return _0xa430xa[_0xf787[20]](404)};return _0xa430xa[_0xf787[13]]({count:_0xa430x34[_0xf787[71]],rows:_0xa430x34})})[_0xf787[12]](function(_0xa430xc){return handleError(_0xa430xa,_0xa430xc)})};function handleError(_0xa430xa,_0xa430xc){return _0xa430xa[_0xf787[14]](500)[_0xf787[13]](_0xa430xc)}
\ No newline at end of file