Built motion from commit 6fa6f14.|1.0.18
[motion.git] / server / api / dashboard / dashboard.controller.js
index c18f528..d539538 100644 (file)
@@ -1 +1 @@
-var _0x29d7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\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","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\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","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x56\x61\x6C\x75\x65\x73","\x63\x75\x73\x74\x6F\x6D\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x56\x61\x6C\x75\x65\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x75\x73\x65\x72","\x61\x6D\x69","\x6C\x6F\x63\x61\x6C\x73","\x61\x70\x70","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x6E\x69\x74","\x61\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x61\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x61\x6E\x73\x77\x65\x72\x65\x64","\x67\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x20\x61\x73\x20\x61\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E\x20\x0A\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\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","\x53\x45\x4C\x45\x43\x54\x20\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x20\x61\x73\x20\x67\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x20\x3D\x20\x27\x6F\x75\x74\x62\x6F\x75\x6E\x64\x27\x3B","\x53\x45\x4C\x45\x43\x54\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x20\x3D\x20\x27\x6F\x75\x74\x62\x6F\x75\x6E\x64\x27\x3B","\x71\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x73","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x20\x3D\x20\x27\x41\x4E\x53\x57\x45\x52\x27\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x74\x79\x70\x65\x20\x3D\x20\x27\x6F\x75\x74\x62\x6F\x75\x6E\x64\x27\x3B","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x20\x3D\x20\x31\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x63\x61\x6C\x6C\x73\x2C\x20\x53\x55\x4D\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x0A\x20\x20\x20\x20\x20\x20\x20\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\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x63\x61\x6C\x6C\x73\x2C\x20\x53\x55\x4D\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x0A\x20\x20\x20\x20\x20\x20\x20\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\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x61\x62\x61\x6E\x64\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x61\x63\x74\x69\x76\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x61\x62\x61\x6E\x64\x6F\x6E\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x20\x3D\x20\x31\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x77\x61\x69\x74\x69\x6E\x67","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x61\x63\x74\x69\x76\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x20\x3D\x20\x30\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x20\x3D\x20\x30\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x30\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x49\x53\x20\x4E\x4F\x54\x20\x4E\x55\x4C\x4C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x6E\x61\x6D\x65","\x6B\x65\x79\x42\x79","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x77\x61\x69\x74\x69\x6E\x67\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x61\x6E\x64\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x20\x3D\x20\x66\x61\x6C\x73\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C","\x73\x68\x6F\x77","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x6C\x6F\x6E\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x65\x64\x69\x74\x61\x62\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x6D\x6F\x64\x65\x6C","\x70\x61\x72\x73\x65","\x74\x69\x74\x6C\x65","\x5F\x63\x6F\x70\x79\x5F","\x67\x65\x74\x55\x54\x43\x4D\x69\x6C\x6C\x69\x73\x65\x63\x6F\x6E\x64\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0x29d7[0];var _=require(_0x29d7[1]);var util=require(_0x29d7[2]);var Util=require(_0x29d7[3]);var logger=require(_0x29d7[5])(_0x29d7[4]);var Dashboard=require(_0x29d7[7])[_0x29d7[6]];var VoiceQueue=require(_0x29d7[7])[_0x29d7[8]];var sequelize=require(_0x29d7[7])[_0x29d7[9]];exports[_0x29d7[10]]= function(_0xe9d8x8,_0xe9d8x9,_0xe9d8xa){return Dashboard[_0x29d7[17]](Util[_0x29d7[16]](_0xe9d8x8[_0x29d7[15]]))[_0x29d7[14]](function(_0xe9d8xc){_0xe9d8x9[_0x29d7[13]](200)[_0x29d7[12]](_0xe9d8xc)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[18]]= function(_0xe9d8x8,_0xe9d8x9,_0xe9d8xa){_0xe9d8x8[_0x29d7[25]][_0x29d7[24]][_0x29d7[23]][_0x29d7[12]]({message:_0x29d7[19],id:_0xe9d8x8[_0x29d7[21]][_0x29d7[20]],user:_0xe9d8x8[_0x29d7[22]]});return _0xe9d8x9[_0x29d7[26]](201)};exports[_0x29d7[27]]= function(_0xe9d8x8,_0xe9d8x9,_0xe9d8xa){var _0xe9d8xd={queues:{},outbound:{}};return VoiceQueue[_0x29d7[59]]({attributes:[_0x29d7[56]],raw:true})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xd[_0x29d7[40]]= _[_0x29d7[57]](_0xe9d8xe,_0x29d7[56]);return sequelize[_0x29d7[15]](_0x29d7[58],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[54]]= _0xe9d8xf[_0x29d7[54]]}});return sequelize[_0x29d7[15]](_0x29d7[55],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[52]]= _0xe9d8xf[_0x29d7[52]]}});return sequelize[_0x29d7[15]](_0x29d7[53],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[50]]= _0xe9d8xf[_0x29d7[50]]}});return sequelize[_0x29d7[15]](_0x29d7[51],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[48]]= _0xe9d8xf[_0x29d7[48]]}});return sequelize[_0x29d7[15]](_0x29d7[49],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[46]]= _0xe9d8xf[_0x29d7[46]]}});return sequelize[_0x29d7[15]](_0x29d7[47],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[44]]= _0xe9d8xf[_0x29d7[44]]}});return sequelize[_0x29d7[15]](_0x29d7[45],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xe[_0x29d7[42]](function(_0xe9d8xf){if(_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]]){_0xe9d8xd[_0x29d7[40]][_0xe9d8xf[_0x29d7[39]]][_0x29d7[41]]= _0xe9d8xf[_0x29d7[41]]}});return sequelize[_0x29d7[15]](_0x29d7[43],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xd[_0x29d7[29]][_0x29d7[31]]= _0xe9d8xe[0][_0x29d7[31]];return sequelize[_0x29d7[15]](_0x29d7[38],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xd[_0x29d7[29]][_0x29d7[36]]= _0xe9d8xe[0][_0x29d7[36]];return sequelize[_0x29d7[15]](_0x29d7[37],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xd[_0x29d7[29]][_0x29d7[32]]= _0xe9d8xe[0][_0x29d7[32]]|| 0;return sequelize[_0x29d7[15]](_0x29d7[33],{type:sequelize[_0x29d7[35]][_0x29d7[34]]})})[_0x29d7[14]](function(_0xe9d8xe){_0xe9d8xd[_0x29d7[29]][_0x29d7[28]]= _0xe9d8xe[0][_0x29d7[28]]|| 0;_0xe9d8xd[_0x29d7[29]][_0x29d7[30]]= _0xe9d8xd[_0x29d7[29]][_0x29d7[28]]?((_0xe9d8xd[_0x29d7[29]][_0x29d7[31]]/ _0xe9d8xd[_0x29d7[29]][_0x29d7[32]])* 100):0;return _0xe9d8x9[_0x29d7[13]](200)[_0x29d7[12]](_0xe9d8xd)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[60]]= function(_0xe9d8x8,_0xe9d8x9){return Dashboard[_0x29d7[59]]()[_0x29d7[14]](function(_0xe9d8x10){if(!_0xe9d8x10){return _0xe9d8x9[_0x29d7[26]](404)};return _0xe9d8x9[_0x29d7[13]](200)[_0x29d7[12]](_0xe9d8x10)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[61]]= function(_0xe9d8x8,_0xe9d8x9){return Dashboard[_0x29d7[62]](_0xe9d8x8[_0x29d7[21]][_0x29d7[20]])[_0x29d7[14]](function(_0xe9d8x11){if(!_0xe9d8x11){return _0xe9d8x9[_0x29d7[26]](404)};return _0xe9d8x9[_0x29d7[12]](_0xe9d8x11)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[63]]= function(_0xe9d8x8,_0xe9d8x9){return Dashboard[_0x29d7[63]](_0xe9d8x8[_0x29d7[64]])[_0x29d7[14]](function(_0xe9d8x11){return _0xe9d8x9[_0x29d7[13]](201)[_0x29d7[12]](_0xe9d8x11)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[65]]= function(_0xe9d8x8,_0xe9d8x9){return Dashboard[_0x29d7[62]](_0xe9d8x8[_0x29d7[21]][_0x29d7[20]])[_0x29d7[14]](function(_0xe9d8x11){var _0xe9d8x12=_0xe9d8x11[_0x29d7[66]];delete _0xe9d8x12[_0x29d7[20]];_0xe9d8x12[_0x29d7[67]]= true;_0xe9d8x12[_0x29d7[68]]= false;var _0xe9d8x13=JSON[_0x29d7[70]](_0xe9d8x12[_0x29d7[69]]);if(_0xe9d8x8[_0x29d7[64]][_0x29d7[56]]){_0xe9d8x12[_0x29d7[56]]= _0xe9d8x8[_0x29d7[64]][_0x29d7[56]];_0xe9d8x13[_0x29d7[71]]= _0xe9d8x8[_0x29d7[64]][_0x29d7[56]]}else {_0xe9d8x12[_0x29d7[56]]= _0xe9d8x13[_0x29d7[71]]= _0xe9d8x12[_0x29d7[56]]+ _0x29d7[72]+  new Date()[_0x29d7[73]]()};_0xe9d8x12[_0x29d7[69]]= JSON[_0x29d7[74]](_0xe9d8x13);return Dashboard[_0x29d7[63]](_0xe9d8x12)})[_0x29d7[14]](function(_0xe9d8x11){return _0xe9d8x9[_0x29d7[13]](201)[_0x29d7[12]](_0xe9d8x11)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[75]]= function(_0xe9d8x8,_0xe9d8x9){if(_0xe9d8x8[_0x29d7[64]][_0x29d7[20]]){delete _0xe9d8x8[_0x29d7[64]][_0x29d7[20]]};return Dashboard[_0x29d7[62]](_0xe9d8x8[_0x29d7[21]][_0x29d7[20]])[_0x29d7[14]](function(_0xe9d8x11){if(!_0xe9d8x11){return _0xe9d8x9[_0x29d7[26]](404)};if(_0xe9d8x8[_0x29d7[64]][_0x29d7[56]]){var _0xe9d8x13=JSON[_0x29d7[70]](_0xe9d8x11[_0x29d7[69]]);_0xe9d8x13[_0x29d7[71]]= _0xe9d8x8[_0x29d7[64]][_0x29d7[56]];_0xe9d8x11[_0x29d7[69]]= JSON[_0x29d7[74]](_0xe9d8x13)};var _0xe9d8x14=_[_0x29d7[76]](_0xe9d8x11,_0xe9d8x8[_0x29d7[64]]);return _0xe9d8x14[_0x29d7[77]]()})[_0x29d7[14]](function(_0xe9d8x11){return _0xe9d8x9[_0x29d7[13]](200)[_0x29d7[12]](_0xe9d8x11)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[78]]= function(_0xe9d8x8,_0xe9d8x9){return Dashboard[_0x29d7[62]](_0xe9d8x8[_0x29d7[21]][_0x29d7[20]])[_0x29d7[14]](function(_0xe9d8x11){if(!_0xe9d8x11){return _0xe9d8x9[_0x29d7[26]](404)};return _0xe9d8x11[_0x29d7[78]]()})[_0x29d7[14]](function(){return _0xe9d8x9[_0x29d7[26]](204)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};exports[_0x29d7[79]]= function(_0xe9d8x8,_0xe9d8x9){return Dashboard[_0x29d7[78]]({where:{id:_0xe9d8x8[_0x29d7[15]][_0x29d7[80]]},individualHooks:true})[_0x29d7[14]](function(){return _0xe9d8x9[_0x29d7[26]](204)})[_0x29d7[11]](function(_0xe9d8xb){return handleError(_0xe9d8x9,_0xe9d8xb)})};function handleError(_0xe9d8x9,_0xe9d8xb){logger[_0x29d7[82]](_0xe9d8xb[_0x29d7[81]]);return _0xe9d8x9[_0x29d7[13]](500)[_0x29d7[12]](_0xe9d8xb)}
\ No newline at end of file
+var _0xc674=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\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","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\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","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x56\x61\x6C\x75\x65\x73","\x63\x75\x73\x74\x6F\x6D\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x56\x61\x6C\x75\x65\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x75\x73\x65\x72","\x61\x6D\x69","\x6C\x6F\x63\x61\x6C\x73","\x61\x70\x70","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x6E\x69\x74","\x61\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x61\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x61\x6E\x73\x77\x65\x72\x65\x64","\x67\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x20\x61\x73\x20\x61\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E\x20\x0A\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\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","\x53\x45\x4C\x45\x43\x54\x20\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x20\x61\x73\x20\x67\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x20\x3D\x20\x27\x6F\x75\x74\x62\x6F\x75\x6E\x64\x27\x3B","\x53\x45\x4C\x45\x43\x54\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x20\x3D\x20\x27\x6F\x75\x74\x62\x6F\x75\x6E\x64\x27\x3B","\x71\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x73","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x20\x3D\x20\x27\x41\x4E\x53\x57\x45\x52\x27\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x74\x79\x70\x65\x20\x3D\x20\x27\x6F\x75\x74\x62\x6F\x75\x6E\x64\x27\x3B","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x20\x3D\x20\x31\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x63\x61\x6C\x6C\x73\x2C\x20\x53\x55\x4D\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x0A\x20\x20\x20\x20\x20\x20\x20\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\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x63\x61\x6C\x6C\x73\x2C\x20\x53\x55\x4D\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x0A\x20\x20\x20\x20\x20\x20\x20\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\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x61\x62\x61\x6E\x64\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x61\x63\x74\x69\x76\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x61\x62\x61\x6E\x64\x6F\x6E\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x20\x3D\x20\x31\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x77\x61\x69\x74\x69\x6E\x67","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x61\x63\x74\x69\x76\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x20\x3D\x20\x30\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x20\x3D\x20\x30\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x30\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x49\x53\x20\x4E\x4F\x54\x20\x4E\x55\x4C\x4C\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x6E\x61\x6D\x65","\x6B\x65\x79\x42\x79","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x2C\x20\x63\x6F\x75\x6E\x74\x28\x2A\x29\x20\x61\x73\x20\x77\x61\x69\x74\x69\x6E\x67\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x61\x6E\x64\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x20\x3D\x20\x66\x61\x6C\x73\x65\x20\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65\x3B","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C","\x73\x68\x6F\x77","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x6C\x6F\x6E\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x65\x64\x69\x74\x61\x62\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x6D\x6F\x64\x65\x6C","\x70\x61\x72\x73\x65","\x74\x69\x74\x6C\x65","\x5F\x63\x6F\x70\x79\x5F","\x67\x65\x74\x55\x54\x43\x4D\x69\x6C\x6C\x69\x73\x65\x63\x6F\x6E\x64\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xc674[0];var _=require(_0xc674[1]);var util=require(_0xc674[2]);var Util=require(_0xc674[3]);var logger=require(_0xc674[5])(_0xc674[4]);var Dashboard=require(_0xc674[7])[_0xc674[6]];var VoiceQueue=require(_0xc674[7])[_0xc674[8]];var sequelize=require(_0xc674[7])[_0xc674[9]];exports[_0xc674[10]]= function(_0xebccx8,_0xebccx9,_0xebccxa){return Dashboard[_0xc674[17]](Util[_0xc674[16]](_0xebccx8[_0xc674[15]]))[_0xc674[14]](function(_0xebccxc){_0xebccx9[_0xc674[13]](200)[_0xc674[12]](_0xebccxc)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[18]]= function(_0xebccx8,_0xebccx9,_0xebccxa){_0xebccx8[_0xc674[25]][_0xc674[24]][_0xc674[23]][_0xc674[12]]({message:_0xc674[19],id:_0xebccx8[_0xc674[21]][_0xc674[20]],user:_0xebccx8[_0xc674[22]]});return _0xebccx9[_0xc674[26]](201)};exports[_0xc674[27]]= function(_0xebccx8,_0xebccx9,_0xebccxa){var _0xebccxd={queues:{},outbound:{}};return VoiceQueue[_0xc674[59]]({attributes:[_0xc674[56]],raw:true})[_0xc674[14]](function(_0xebccxe){_0xebccxd[_0xc674[40]]= _[_0xc674[57]](_0xebccxe,_0xc674[56]);return sequelize[_0xc674[15]](_0xc674[58],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[54]]= _0xebccxf[_0xc674[54]]}});return sequelize[_0xc674[15]](_0xc674[55],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[52]]= _0xebccxf[_0xc674[52]]}});return sequelize[_0xc674[15]](_0xc674[53],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[50]]= _0xebccxf[_0xc674[50]]}});return sequelize[_0xc674[15]](_0xc674[51],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[48]]= _0xebccxf[_0xc674[48]]}});return sequelize[_0xc674[15]](_0xc674[49],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[46]]= _0xebccxf[_0xc674[46]]}});return sequelize[_0xc674[15]](_0xc674[47],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[44]]= _0xebccxf[_0xc674[44]]}});return sequelize[_0xc674[15]](_0xc674[45],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxe[_0xc674[42]](function(_0xebccxf){if(_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]]){_0xebccxd[_0xc674[40]][_0xebccxf[_0xc674[39]]][_0xc674[41]]= _0xebccxf[_0xc674[41]]}});return sequelize[_0xc674[15]](_0xc674[43],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxd[_0xc674[29]][_0xc674[31]]= _0xebccxe[0][_0xc674[31]];return sequelize[_0xc674[15]](_0xc674[38],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxd[_0xc674[29]][_0xc674[36]]= _0xebccxe[0][_0xc674[36]];return sequelize[_0xc674[15]](_0xc674[37],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxd[_0xc674[29]][_0xc674[32]]= _0xebccxe[0][_0xc674[32]]|| 0;return sequelize[_0xc674[15]](_0xc674[33],{type:sequelize[_0xc674[35]][_0xc674[34]]})})[_0xc674[14]](function(_0xebccxe){_0xebccxd[_0xc674[29]][_0xc674[28]]= _0xebccxe[0][_0xc674[28]]|| 0;_0xebccxd[_0xc674[29]][_0xc674[30]]= _0xebccxd[_0xc674[29]][_0xc674[28]]?((_0xebccxd[_0xc674[29]][_0xc674[31]]/ _0xebccxd[_0xc674[29]][_0xc674[32]])* 100):0;return _0xebccx9[_0xc674[13]](200)[_0xc674[12]](_0xebccxd)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[60]]= function(_0xebccx8,_0xebccx9){return Dashboard[_0xc674[59]]()[_0xc674[14]](function(_0xebccx10){if(!_0xebccx10){return _0xebccx9[_0xc674[26]](404)};return _0xebccx9[_0xc674[13]](200)[_0xc674[12]](_0xebccx10)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[61]]= function(_0xebccx8,_0xebccx9){return Dashboard[_0xc674[62]](_0xebccx8[_0xc674[21]][_0xc674[20]])[_0xc674[14]](function(_0xebccx11){if(!_0xebccx11){return _0xebccx9[_0xc674[26]](404)};return _0xebccx9[_0xc674[12]](_0xebccx11)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[63]]= function(_0xebccx8,_0xebccx9){return Dashboard[_0xc674[63]](_0xebccx8[_0xc674[64]])[_0xc674[14]](function(_0xebccx11){return _0xebccx9[_0xc674[13]](201)[_0xc674[12]](_0xebccx11)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[65]]= function(_0xebccx8,_0xebccx9){return Dashboard[_0xc674[62]](_0xebccx8[_0xc674[21]][_0xc674[20]])[_0xc674[14]](function(_0xebccx11){var _0xebccx12=_0xebccx11[_0xc674[66]];delete _0xebccx12[_0xc674[20]];_0xebccx12[_0xc674[67]]= true;_0xebccx12[_0xc674[68]]= false;var _0xebccx13=JSON[_0xc674[70]](_0xebccx12[_0xc674[69]]);if(_0xebccx8[_0xc674[64]][_0xc674[56]]){_0xebccx12[_0xc674[56]]= _0xebccx8[_0xc674[64]][_0xc674[56]];_0xebccx13[_0xc674[71]]= _0xebccx8[_0xc674[64]][_0xc674[56]]}else {_0xebccx12[_0xc674[56]]= _0xebccx13[_0xc674[71]]= _0xebccx12[_0xc674[56]]+ _0xc674[72]+  new Date()[_0xc674[73]]()};_0xebccx12[_0xc674[69]]= JSON[_0xc674[74]](_0xebccx13);return Dashboard[_0xc674[63]](_0xebccx12)})[_0xc674[14]](function(_0xebccx11){return _0xebccx9[_0xc674[13]](201)[_0xc674[12]](_0xebccx11)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[75]]= function(_0xebccx8,_0xebccx9){if(_0xebccx8[_0xc674[64]][_0xc674[20]]){delete _0xebccx8[_0xc674[64]][_0xc674[20]]};return Dashboard[_0xc674[62]](_0xebccx8[_0xc674[21]][_0xc674[20]])[_0xc674[14]](function(_0xebccx11){if(!_0xebccx11){return _0xebccx9[_0xc674[26]](404)};if(_0xebccx8[_0xc674[64]][_0xc674[56]]){var _0xebccx13=JSON[_0xc674[70]](_0xebccx11[_0xc674[69]]);_0xebccx13[_0xc674[71]]= _0xebccx8[_0xc674[64]][_0xc674[56]];_0xebccx11[_0xc674[69]]= JSON[_0xc674[74]](_0xebccx13)};var _0xebccx14=_[_0xc674[76]](_0xebccx11,_0xebccx8[_0xc674[64]]);return _0xebccx14[_0xc674[77]]()})[_0xc674[14]](function(_0xebccx11){return _0xebccx9[_0xc674[13]](200)[_0xc674[12]](_0xebccx11)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[78]]= function(_0xebccx8,_0xebccx9){return Dashboard[_0xc674[62]](_0xebccx8[_0xc674[21]][_0xc674[20]])[_0xc674[14]](function(_0xebccx11){if(!_0xebccx11){return _0xebccx9[_0xc674[26]](404)};return _0xebccx11[_0xc674[78]]()})[_0xc674[14]](function(){return _0xebccx9[_0xc674[26]](204)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};exports[_0xc674[79]]= function(_0xebccx8,_0xebccx9){return Dashboard[_0xc674[78]]({where:{id:_0xebccx8[_0xc674[15]][_0xc674[80]]},individualHooks:true})[_0xc674[14]](function(){return _0xebccx9[_0xc674[26]](204)})[_0xc674[11]](function(_0xebccxb){return handleError(_0xebccx9,_0xebccxb)})};function handleError(_0xebccx9,_0xebccxb){logger[_0xc674[82]](_0xebccxb[_0xc674[81]]);return _0xebccx9[_0xc674[13]](500)[_0xc674[12]](_0xebccxb)}
\ No newline at end of file