Built motion from commit 945d615.|1.0.13
[motion.git] / server / api / voice_queue / voice_queue.controller.js
index 9953917..b8172ae 100644 (file)
@@ -1 +1 @@
-var _0x1a8d=["\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","\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","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\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","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x69\x64","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x1a8d[0];var _=require(_0x1a8d[1]);var util=require(_0x1a8d[2]);var Util=require(_0x1a8d[3]);var sequelize=require(_0x1a8d[5])[_0x1a8d[4]];var User=require(_0x1a8d[5])[_0x1a8d[6]];var VoiceQueue=require(_0x1a8d[5])[_0x1a8d[7]];var UserHasVoiceQueue=require(_0x1a8d[5])[_0x1a8d[8]];var VoiceExtension=require(_0x1a8d[5])[_0x1a8d[9]];exports[_0x1a8d[10]]=function(_0xbe34x9,_0xbe34xa){return VoiceQueue[_0x1a8d[17]](Util[_0x1a8d[16]](_0xbe34x9[_0x1a8d[15]]))[_0x1a8d[14]](function(_0xbe34xc){_0xbe34xa[_0x1a8d[13]](200)[_0x1a8d[12]](_0xbe34xc)})[_0x1a8d[11]](function(_0xbe34xb){return handleError(_0xbe34xa,_0xbe34xb)})};exports[_0x1a8d[18]]=function(_0xbe34x9,_0xbe34xa){return VoiceQueue[_0x1a8d[22]](_0xbe34x9[_0x1a8d[21]][_0x1a8d[20]])[_0x1a8d[14]](function(_0xbe34xd){if(!_0xbe34xd){return _0xbe34xa[_0x1a8d[19]](404)};return _0xbe34xa[_0x1a8d[12]](_0xbe34xd)})[_0x1a8d[11]](function(_0xbe34xb){return handleError(_0xbe34xa,_0xbe34xb)})};exports[_0x1a8d[23]]=function(_0xbe34x9,_0xbe34xa){return VoiceQueue[_0x1a8d[22]](_0xbe34x9[_0x1a8d[21]][_0x1a8d[20]])[_0x1a8d[14]](function(_0xbe34xf){if(!_0xbe34xf){return _0xbe34xa[_0x1a8d[19]](404)};return _0xbe34xf[_0x1a8d[29]]({where:{role:_0x1a8d[25]},attributes:[_0x1a8d[26],_0x1a8d[20],_0x1a8d[27],_0x1a8d[28]]})})[_0x1a8d[14]](function(_0xbe34xe){return _0xbe34xa[_0x1a8d[13]](200)[_0x1a8d[12]]({rows:_0xbe34xe,count:_0xbe34xe[_0x1a8d[24]]})})[_0x1a8d[11]](function(_0xbe34xb){return handleError(_0xbe34xa,_0xbe34xb)})};exports[_0x1a8d[30]]=function(_0xbe34x9,_0xbe34xa){return VoiceQueue[_0x1a8d[30]](_0xbe34x9[_0x1a8d[41]])[_0x1a8d[14]](function(_0xbe34xd){return _0xbe34xa[_0x1a8d[13]](201)[_0x1a8d[12]](_0xbe34xd)})[_0x1a8d[11]](sequelize.UniqueConstraintError,function(_0xbe34xb){var _0xbe34x10=[];_0xbe34xb[_0x1a8d[35]][_0x1a8d[34]](function(_0xbe34x11){switch(_0xbe34x11[_0x1a8d[33]]){case _0x1a8d[32]:_0xbe34x10[_0x1a8d[31]](_0x1a8d[20]);break;default:_0xbe34x10[_0x1a8d[31]](_0xbe34x11[_0x1a8d[33]])}});_0xbe34x10[_0x1a8d[31]](_0x1a8d[36]);_0xbe34xb[_0x1a8d[37]]=_0xbe34x10[_0x1a8d[38]]();_0xbe34xb[_0x1a8d[39]]=_0x1a8d[40];return _0xbe34xa[_0x1a8d[13]](500)[_0x1a8d[12]](_0xbe34xb)})[_0x1a8d[11]](function(_0xbe34xb){return handleError(_0xbe34xa,_0xbe34xb)})};exports[_0x1a8d[42]]=function(_0xbe34x9,_0xbe34xa){if(_0xbe34x9[_0x1a8d[41]][_0x1a8d[20]]){delete _0xbe34x9[_0x1a8d[41]][_0x1a8d[20]]};return VoiceQueue[_0x1a8d[22]](_0xbe34x9[_0x1a8d[21]][_0x1a8d[20]])[_0x1a8d[14]](function(_0xbe34xd){if(!_0xbe34xd){return _0xbe34xa[_0x1a8d[19]](404)};var _0xbe34x12=_[_0x1a8d[44]](_0xbe34xd,_0xbe34x9[_0x1a8d[41]]);return _0xbe34x12[_0x1a8d[45]]()})[_0x1a8d[14]](function(_0xbe34xd){return _0xbe34xa[_0x1a8d[13]](200)[_0x1a8d[12]](_0xbe34xd)})[_0x1a8d[11]](function(_0xbe34xb){console[_0x1a8d[43]](_0xbe34xb);return handleError(_0xbe34xa,_0xbe34xb)})};exports[_0x1a8d[46]]=function(_0xbe34x9,_0xbe34xa,_0xbe34x13){return User[_0x1a8d[53]]({where:{id:{$in:_0xbe34x9[_0x1a8d[41]][_0x1a8d[52]]}}})[_0x1a8d[14]](function(_0xbe34x14){var _0xbe34x15=_[_0x1a8d[50]](_0xbe34x14,function(_0xbe34x16){return {queue:_0xbe34x9[_0x1a8d[21]][_0x1a8d[20]],location:util[_0x1a8d[48]](_0x1a8d[47],_0xbe34x16[_0x1a8d[20]]),membername:_0xbe34x16[_0x1a8d[20]],UserId:_0xbe34x16[_0x1a8d[26]],penalty:_0xbe34x9[_0x1a8d[41]][_0x1a8d[49]]}});return UserHasVoiceQueue[_0x1a8d[51]](_0xbe34x15,{individualHooks:true})})[_0x1a8d[14]](function(){return _0xbe34xa[_0x1a8d[19]](200)})[_0x1a8d[11]](function(_0xbe34xb){console[_0x1a8d[43]](_0xbe34xb);return _0xbe34x13(_0xbe34xb)})};exports[_0x1a8d[54]]=function(_0xbe34x9,_0xbe34xa,_0xbe34x13){return UserHasVoiceQueue[_0x1a8d[55]]({where:{UserId:_0xbe34x9[_0x1a8d[15]][_0x1a8d[52]],queue:_0xbe34x9[_0x1a8d[21]][_0x1a8d[20]]},individualHooks:true})[_0x1a8d[14]](function(){return _0xbe34xa[_0x1a8d[19]](202)})[_0x1a8d[11]](function(_0xbe34xb){return _0xbe34x13(_0xbe34xb)})};exports[_0x1a8d[55]]=function(_0xbe34x9,_0xbe34xa){return VoiceQueue[_0x1a8d[55]]({where:{name:_0xbe34x9[_0x1a8d[21]][_0x1a8d[20]]},individualHooks:true})[_0x1a8d[14]](function(){return _0xbe34xa[_0x1a8d[19]](204)})[_0x1a8d[11]](function(_0xbe34xb){return handleError(_0xbe34xa,_0xbe34xb)})};exports[_0x1a8d[56]]=function(_0xbe34x9,_0xbe34xa){return VoiceQueue[_0x1a8d[55]]({where:{name:_0xbe34x9[_0x1a8d[15]][_0x1a8d[57]]},individualHooks:true})[_0x1a8d[14]](function(){return _0xbe34xa[_0x1a8d[19]](204)})[_0x1a8d[11]](function(_0xbe34xb){return handleError(_0xbe34xa,_0xbe34xb)})};function handleError(_0xbe34xa,_0xbe34xb){return _0xbe34xa[_0x1a8d[13]](500)[_0x1a8d[12]](_0xbe34xb)}
\ No newline at end of file
+var _0xe281=["\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","\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","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\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\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6C\x6F\x67","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x67\x65\x74\x52\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x73","\x61\x6D\x69","\x6C\x6F\x63\x61\x6C\x73","\x61\x70\x70","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xe281[0];var _=require(_0xe281[1]);var util=require(_0xe281[2]);var Util=require(_0xe281[3]);var sequelize=require(_0xe281[5])[_0xe281[4]];var User=require(_0xe281[5])[_0xe281[6]];var VoiceQueue=require(_0xe281[5])[_0xe281[7]];var UserHasVoiceQueue=require(_0xe281[5])[_0xe281[8]];var VoiceExtension=require(_0xe281[5])[_0xe281[9]];exports[_0xe281[10]]= function(_0x4ce9x9,_0x4ce9xa){switch(_0x4ce9x9[_0xe281[18]][_0xe281[23]]){case _0xe281[18]:return User[_0xe281[19]](_0x4ce9x9[_0xe281[18]][_0xe281[17]],{attributes:[_0xe281[17]]})[_0xe281[14]](Util[_0xe281[16]](_0x4ce9x9[_0xe281[15]]))[_0xe281[14]](function(_0x4ce9xc){_0x4ce9xa[_0xe281[13]](200)[_0xe281[12]](_0x4ce9xc)})[_0xe281[11]](function(_0x4ce9xb){return handleError(_0x4ce9xa,_0x4ce9xb)});default:return VoiceQueue[_0xe281[22]](Util[_0xe281[21]](_0x4ce9x9[_0xe281[15]]))[_0xe281[14]](function(_0x4ce9xc){_0x4ce9xa[_0xe281[13]](200)[_0xe281[12]](_0x4ce9xc)})[_0xe281[11]](function(_0x4ce9xb){console[_0xe281[20]](_0x4ce9xb);return handleError(_0x4ce9xa,_0x4ce9xb)})}};exports[_0xe281[24]]= function(_0x4ce9x9,_0x4ce9xa,_0x4ce9xd){var _0x4ce9xe;switch(_0x4ce9x9[_0xe281[18]][_0xe281[23]]){case _0xe281[18]:var _0x4ce9xf=[];return User[_0xe281[19]](_0x4ce9x9[_0xe281[18]][_0xe281[17]],{attributes:[_0xe281[17]]})[_0xe281[14]](Util[_0xe281[16]]({},{attributes:[_0xe281[30]],include:[{raw:true,model:User,attributes:[_0xe281[17]]}]}))[_0xe281[14]](function(_0x4ce9x10){_0x4ce9xe= _[_0xe281[31]](_0x4ce9x10[_0xe281[29]],_0xe281[30]);_0x4ce9x10[_0xe281[29]][_0xe281[33]](function(_0x4ce9x11){_0x4ce9xf= _[_0xe281[32]](_0x4ce9xf,_[_0xe281[31]](_0x4ce9x11.Users,_0xe281[17]))});return VoiceQueue[_0xe281[22]](_[_0xe281[34]](Util[_0xe281[21]](_0x4ce9x9[_0xe281[15]],{name:_0x4ce9xe}),{include:[{model:User,where:{id:_0x4ce9xf},required:false}]}))})[_0xe281[14]](function(_0x4ce9xc){_0x4ce9x9[_0xe281[28]][_0xe281[27]][_0xe281[26]][_0xe281[12]]({message:_0xe281[25],queues:_0x4ce9xe});return _0x4ce9xa[_0xe281[13]](200)[_0xe281[12]](_0x4ce9xc)})[_0xe281[11]](function(_0x4ce9xb){console[_0xe281[20]](_0x4ce9xb);return handleError(_0x4ce9xa,_0x4ce9xb)});default:return VoiceQueue[_0xe281[22]](_[_0xe281[34]](Util[_0xe281[21]](_0x4ce9x9[_0xe281[15]]),{include:[{model:User,required:false}]}))[_0xe281[14]](function(_0x4ce9xc){_0x4ce9xe= _[_0xe281[31]](_0x4ce9xc[_0xe281[29]],_0xe281[30]);_0x4ce9x9[_0xe281[28]][_0xe281[27]][_0xe281[26]][_0xe281[12]]({message:_0xe281[25],queues:_0x4ce9xe});return _0x4ce9xa[_0xe281[13]](200)[_0xe281[12]](_0x4ce9xc)})[_0xe281[11]](function(_0x4ce9xb){console[_0xe281[20]](_0x4ce9xb);return handleError(_0x4ce9xa,_0x4ce9xb)})}};exports[_0xe281[35]]= function(_0x4ce9x9,_0x4ce9xa){return VoiceQueue[_0xe281[19]](_0x4ce9x9[_0xe281[37]][_0xe281[30]])[_0xe281[14]](function(_0x4ce9x12){if(!_0x4ce9x12){return _0x4ce9xa[_0xe281[36]](404)};return _0x4ce9xa[_0xe281[12]](_0x4ce9x12)})[_0xe281[11]](function(_0x4ce9xb){return handleError(_0x4ce9xa,_0x4ce9xb)})};exports[_0xe281[38]]= function(_0x4ce9x9,_0x4ce9xa){return VoiceQueue[_0xe281[19]](_0x4ce9x9[_0xe281[37]][_0xe281[30]])[_0xe281[14]](function(_0x4ce9x11){if(!_0x4ce9x11){return _0x4ce9xa[_0xe281[36]](404)};return _0x4ce9x11[_0xe281[41]]({where:{role:_0xe281[40]}})})[_0xe281[14]](function(_0x4ce9xf){return _0x4ce9xa[_0xe281[13]](200)[_0xe281[12]]({rows:_0x4ce9xf,count:_0x4ce9xf[_0xe281[39]]})})[_0xe281[11]](function(_0x4ce9xb){return handleError(_0x4ce9xa,_0x4ce9xb)})};exports[_0xe281[42]]= function(_0x4ce9x9,_0x4ce9xa){var _0x4ce9x13;return VoiceQueue[_0xe281[42]](_0x4ce9x9[_0xe281[52]])[_0xe281[14]](function(_0x4ce9x12){_0x4ce9x13= _0x4ce9x12})[_0xe281[14]](addAgents(_0x4ce9x9,_0x4ce9x9[_0xe281[52]][_0xe281[30]]))[_0xe281[14]](function(){return _0x4ce9xa[_0xe281[13]](201)[_0xe281[12]](_0x4ce9x13)})[_0xe281[11]](sequelize.UniqueConstraintError,function(_0x4ce9xb){var _0x4ce9x14=[];_0x4ce9xb[_0xe281[46]][_0xe281[33]](function(_0x4ce9x15){switch(_0x4ce9x15[_0xe281[45]]){case _0xe281[44]:_0x4ce9x14[_0xe281[43]](_0xe281[30]);break;default:_0x4ce9x14[_0xe281[43]](_0x4ce9x15[_0xe281[45]])}});_0x4ce9x14[_0xe281[43]](_0xe281[47]);_0x4ce9xb[_0xe281[48]]= _0x4ce9x14[_0xe281[49]]();_0x4ce9xb[_0xe281[50]]= _0xe281[51];return _0x4ce9xa[_0xe281[13]](500)[_0xe281[12]](_0x4ce9xb)})[_0xe281[11]](function(_0x4ce9xb){return handleError(_0x4ce9xa,_0x4ce9xb)})};exports[_0xe281[53]]= function(_0x4ce9x9,_0x4ce9xa){if(_0x4ce9x9[_0xe281[52]][_0xe281[30]]){delete _0x4ce9x9[_0xe281[52]][_0xe281[30]]};return VoiceQueue[_0xe281[19]](_0x4ce9x9[_0xe281[37]][_0xe281[30]])[_0xe281[14]](function(_0x4ce9x12){if(!_0x4ce9x12){return _0x4ce9xa[_0xe281[36]](404)};var _0x4ce9x16=_[_0xe281[34]](_0x4ce9x12,_0x4ce9x9[_0xe281[52]]);return _0x4ce9x16[_0xe281[54]]()})[_0xe281[14]](function(_0x4ce9x12){return _0x4ce9xa[_0xe281[13]](200)[_0xe281[12]](_0x4ce9x12)})[_0xe281[11]](function(_0x4ce9xb){console[_0xe281[20]](_0x4ce9xb);return handleError(_0x4ce9xa,_0x4ce9xb)})};function addAgents(_0x4ce9x9,_0x4ce9x11){return function(){return User[_0xe281[60]]({where:{id:_0x4ce9x9[_0xe281[52]][_0xe281[59]]},raw:true})[_0xe281[14]](function(_0x4ce9x18){var _0x4ce9x19=_[_0xe281[31]](_0x4ce9x18,function(_0x4ce9x1a){return {queue:_0x4ce9x11,interface:util[_0xe281[56]](_0xe281[55],_0x4ce9x1a[_0xe281[30]]),stateinterface:util[_0xe281[56]](_0xe281[55],_0x4ce9x1a[_0xe281[30]]),membername:_0x4ce9x1a[_0xe281[30]],UserId:_0x4ce9x1a[_0xe281[17]],penalty:_0x4ce9x9[_0xe281[52]][_0xe281[57]]}});return UserHasVoiceQueue[_0xe281[58]](_0x4ce9x19,{individualHooks:true})})}}exports[_0xe281[61]]= function(_0x4ce9x9,_0x4ce9xa,_0x4ce9xd){return Promise[_0xe281[62]]([])[_0xe281[14]](addAgents(_0x4ce9x9,_0x4ce9x9[_0xe281[37]][_0xe281[30]]))[_0xe281[14]](function(){return _0x4ce9xa[_0xe281[36]](200)})[_0xe281[11]](function(_0x4ce9xb){console[_0xe281[20]](_0x4ce9xb);return _0x4ce9xd(_0x4ce9xb)})};exports[_0xe281[63]]= function(_0x4ce9x9,_0x4ce9xa,_0x4ce9xd){return UserHasVoiceQueue[_0xe281[64]]({where:{UserId:_0x4ce9x9[_0xe281[15]][_0xe281[59]],queue:_0x4ce9x9[_0xe281[37]][_0xe281[30]]},individualHooks:true})[_0xe281[14]](function(){return _0x4ce9xa[_0xe281[36]](202)})[_0xe281[11]](function(_0x4ce9xb){return _0x4ce9xd(_0x4ce9xb)})};exports[_0xe281[64]]= function(_0x4ce9x9,_0x4ce9xa){return VoiceQueue[_0xe281[64]]({where:{name:_0x4ce9x9[_0xe281[37]][_0xe281[30]]},individualHooks:true})[_0xe281[14]](function(){return _0x4ce9xa[_0xe281[36]](204)})[_0xe281[11]](function(_0x4ce9xb){return handleError(_0x4ce9xa,_0x4ce9xb)})};exports[_0xe281[65]]= function(_0x4ce9x9,_0x4ce9xa){return VoiceQueue[_0xe281[64]]({where:{name:_0x4ce9x9[_0xe281[15]][_0xe281[66]]},individualHooks:true})[_0xe281[14]](function(){return _0x4ce9xa[_0xe281[36]](204)})[_0xe281[11]](function(_0x4ce9xb){return handleError(_0x4ce9xa,_0x4ce9xb)})};function handleError(_0x4ce9xa,_0x4ce9xb){return _0x4ce9xa[_0xe281[13]](500)[_0xe281[12]](_0x4ce9xb)}
\ No newline at end of file