Built motion from commit 54a160d.|0.0.140
[motion.git] / server / api / voice_queue / voice_queue.controller.js
index 880bd70..d1827d9 100644 (file)
@@ -1 +1 @@
-var _0xf80e=["\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","\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","\x71\x75\x65\x75\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x50\x52\x49\x4D\x41\x52\x59","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x4E\x61\x6D\x65\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x75\x70\x64\x61\x74\x65","\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","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x6C\x65\x6E\x67\x74\x68","\x51\x75\x65\x75\x65\x20\x52\x6F\x75\x74\x65\x20\x41\x73\x73\x6F\x63\x69\x61\x74\x65","\x69\x64\x73"];_0xf80e[0];var _=require(_0xf80e[1]);var util=require(_0xf80e[2]);var Util=require(_0xf80e[3]);var sequelize=require(_0xf80e[5])[_0xf80e[4]];var User=require(_0xf80e[5])[_0xf80e[6]];var VoiceQueue=require(_0xf80e[5])[_0xf80e[7]];var UserHasVoiceQueue=require(_0xf80e[5])[_0xf80e[8]];var VoiceExtension=require(_0xf80e[5])[_0xf80e[9]];exports[_0xf80e[10]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[17]](Util[_0xf80e[16]](_0xcc00x9[_0xf80e[15]]))[_0xf80e[14]](function(_0xcc00xc){_0xcc00xa[_0xf80e[13]](200)[_0xf80e[12]](_0xcc00xc)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[18]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[22]](_0xcc00x9[_0xf80e[21]][_0xf80e[20]])[_0xf80e[14]](function(_0xcc00xd){if(!_0xcc00xd){return _0xcc00xa[_0xf80e[19]](404)};return _0xcc00xa[_0xf80e[12]](_0xcc00xd)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[23]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[22]](_0xcc00x9[_0xf80e[21]][_0xf80e[20]])[_0xf80e[14]](function(_0xcc00xf){if(!_0xcc00xf){return _0xcc00xa[_0xf80e[19]](404)};return _0xcc00xf[_0xf80e[28]]({where:{role:_0xf80e[24]},attributes:[_0xf80e[25],_0xf80e[20],_0xf80e[26],_0xf80e[27]]})})[_0xf80e[14]](function(_0xcc00xe){return _0xcc00xa[_0xf80e[13]](200)[_0xf80e[12]](_0xcc00xe)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[29]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[31]]({where:{name:_0xcc00x9[_0xf80e[30]][_0xf80e[20]]}})[_0xf80e[14]](function(_0xcc00xd){if(!_0xcc00xd){return _0xcc00xa[_0xf80e[19]](404)};return _0xcc00xa[_0xf80e[12]](_0xcc00xd)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[32]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[32]](_0xcc00x9[_0xf80e[30]])[_0xf80e[14]](function(_0xcc00xd){return _0xcc00xa[_0xf80e[13]](201)[_0xf80e[12]](_0xcc00xd)})[_0xf80e[11]](sequelize.UniqueConstraintError,function(_0xcc00xb){if(_0xcc00xb[_0xf80e[34]][_0xf80e[33]]){_0xcc00xb[_0xf80e[35]]=_0xf80e[36]};return handleError(_0xcc00xa,_0xcc00xb)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[37]]=function(_0xcc00x9,_0xcc00xa){if(_0xcc00x9[_0xf80e[30]][_0xf80e[20]]){delete _0xcc00x9[_0xf80e[30]][_0xf80e[20]]};return VoiceQueue[_0xf80e[22]](_0xcc00x9[_0xf80e[21]][_0xf80e[20]])[_0xf80e[14]](function(_0xcc00xd){if(!_0xcc00xd){return _0xcc00xa[_0xf80e[19]](404)};var _0xcc00x10=_[_0xf80e[38]](_0xcc00xd,_0xcc00x9[_0xf80e[30]]);return _0xcc00x10[_0xf80e[39]]()})[_0xf80e[14]](function(){return _0xcc00xa[_0xf80e[13]](200)[_0xf80e[12]](voiceQueue)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[40]]=function(_0xcc00x9,_0xcc00xa,_0xcc00x11){return User[_0xf80e[31]]({where:{id:{$in:_0xcc00x9[_0xf80e[30]][_0xf80e[45]]}}})[_0xf80e[14]](function(_0xcc00x12){var _0xcc00x13=_[_0xf80e[43]](_0xcc00x12,function(_0xcc00x14){return {queue:_0xcc00x9[_0xf80e[21]][_0xf80e[20]],location:util[_0xf80e[42]](_0xf80e[41],_0xcc00x14[_0xf80e[20]]),membername:_0xcc00x14[_0xf80e[20]],VoiceQueueName:_0xcc00x9[_0xf80e[21]][_0xf80e[20]],UserId:_0xcc00x14[_0xf80e[25]]}});return UserHasVoiceQueue[_0xf80e[44]](_0xcc00x13,{individualHooks:true})})[_0xf80e[14]](function(){return _0xcc00xa[_0xf80e[19]](200)})[_0xf80e[11]](function(_0xcc00xb){return _0xcc00x11(_0xcc00xb)})};exports[_0xf80e[46]]=function(_0xcc00x9,_0xcc00xa,_0xcc00x11){return VoiceQueue[_0xf80e[22]](_0xcc00x9[_0xf80e[21]][_0xf80e[20]])[_0xf80e[14]](function(_0xcc00xf){if(!_0xcc00xf){return _0xcc00xa[_0xf80e[19]](404)};return _0xcc00xf[_0xf80e[47]](_0xcc00x9[_0xf80e[15]][_0xf80e[45]])})[_0xf80e[14]](function(){return _0xcc00xa[_0xf80e[19]](202)})[_0xf80e[11]](function(_0xcc00xb){return _0xcc00x11(_0xcc00xb)})};exports[_0xf80e[48]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[22]](_0xcc00x9[_0xf80e[21]][_0xf80e[20]])[_0xf80e[14]](function(_0xcc00xd){if(!_0xcc00xd){return _0xcc00xa[_0xf80e[19]](404)};return _0xcc00xd[_0xf80e[48]]()})[_0xf80e[14]](function(){return _0xcc00xa[_0xf80e[19]](204)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};exports[_0xf80e[49]]=function(_0xcc00x9,_0xcc00xa){return VoiceQueue[_0xf80e[31]]({where:{name:_0xcc00x9[_0xf80e[15]][_0xf80e[52]]}})[_0xf80e[14]](function(_0xcc00x16){if(!_0xcc00x16){return _0xcc00xa[_0xf80e[19]](404)};var _0xcc00x17=_[_0xf80e[43]](_0xcc00x16,_0xf80e[20]);return VoiceExtension[_0xf80e[31]]({where:{queue:_0xcc00x17}})})[_0xf80e[14]](function(_0xcc00x15){if(_0xcc00x15[_0xf80e[50]]>0){return _0xcc00xa[_0xf80e[13]](500)[_0xf80e[12]]({message:_0xf80e[51]})};return VoiceQueue[_0xf80e[48]]({where:{name:_0xcc00x9[_0xf80e[15]][_0xf80e[52]]},individualHooks:true})})[_0xf80e[14]](function(){return _0xcc00xa[_0xf80e[19]](204)})[_0xf80e[11]](function(_0xcc00xb){return handleError(_0xcc00xa,_0xcc00xb)})};function handleError(_0xcc00xa,_0xcc00xb){return _0xcc00xa[_0xf80e[13]](500)[_0xf80e[12]](_0xcc00xb)}
\ No newline at end of file
+var _0x84ed=["\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\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","\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","\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","\x61\x67\x65\x6E\x74\x73","\x62\x6F\x64\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x61\x64\x64\x55\x73\x65\x72\x73","\x75\x70\x64\x61\x74\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","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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"];_0x84ed[0];var _=require(_0x84ed[1]);var util=require(_0x84ed[2]);var Util=require(_0x84ed[3]);var sequelize=require(_0x84ed[5])[_0x84ed[4]];var User=require(_0x84ed[5])[_0x84ed[6]];var VoiceQueue=require(_0x84ed[5])[_0x84ed[7]];var UserHasVoiceQueue=require(_0x84ed[5])[_0x84ed[8]];var VoiceExtension=require(_0x84ed[5])[_0x84ed[9]];exports[_0x84ed[10]]= function(_0xb7f1x9,_0xb7f1xa){switch(_0xb7f1x9[_0x84ed[18]][_0x84ed[23]]){case _0x84ed[18]:return User[_0x84ed[19]](_0xb7f1x9[_0x84ed[18]][_0x84ed[17]],{attributes:[_0x84ed[17]]})[_0x84ed[14]](Util[_0x84ed[16]](_0xb7f1x9[_0x84ed[15]]))[_0x84ed[14]](function(_0xb7f1xc){_0xb7f1xa[_0x84ed[13]](200)[_0x84ed[12]](_0xb7f1xc)})[_0x84ed[11]](function(_0xb7f1xb){return handleError(_0xb7f1xa,_0xb7f1xb)});default:return VoiceQueue[_0x84ed[22]](Util[_0x84ed[21]](_0xb7f1x9[_0x84ed[15]]))[_0x84ed[14]](function(_0xb7f1xc){_0xb7f1xa[_0x84ed[13]](200)[_0x84ed[12]](_0xb7f1xc)})[_0x84ed[11]](function(_0xb7f1xb){console[_0x84ed[20]](_0xb7f1xb);return handleError(_0xb7f1xa,_0xb7f1xb)})}};exports[_0x84ed[24]]= function(_0xb7f1x9,_0xb7f1xa,_0xb7f1xd){switch(_0xb7f1x9[_0x84ed[18]][_0x84ed[23]]){case _0x84ed[18]:var _0xb7f1xe=[];return User[_0x84ed[19]](_0xb7f1x9[_0x84ed[18]][_0x84ed[17]],{attributes:[_0x84ed[17]]})[_0x84ed[14]](Util[_0x84ed[16]]({},{attributes:[_0x84ed[26]],include:[{raw:true,model:User,attributes:[_0x84ed[17]]}]}))[_0x84ed[14]](function(_0xb7f1xf){var _0xb7f1x10=_[_0x84ed[27]](_0xb7f1xf[_0x84ed[25]],_0x84ed[26]);_0xb7f1xf[_0x84ed[25]][_0x84ed[29]](function(_0xb7f1x11){_0xb7f1xe= _[_0x84ed[28]](_0xb7f1xe,_[_0x84ed[27]](_0xb7f1x11.Users,_0x84ed[17]))});return VoiceQueue[_0x84ed[22]](_[_0x84ed[30]](Util[_0x84ed[21]](_0xb7f1x9[_0x84ed[15]],{name:_0xb7f1x10}),{include:[{model:User,where:{id:_0xb7f1xe},required:false}]}))})[_0x84ed[14]](function(_0xb7f1xc){return _0xb7f1xa[_0x84ed[13]](200)[_0x84ed[12]](_0xb7f1xc)})[_0x84ed[11]](function(_0xb7f1xb){console[_0x84ed[20]](_0xb7f1xb);return handleError(_0xb7f1xa,_0xb7f1xb)});default:return VoiceQueue[_0x84ed[22]](_[_0x84ed[30]](Util[_0x84ed[21]](_0xb7f1x9[_0x84ed[15]]),{include:[{model:User,required:false}]}))[_0x84ed[14]](function(_0xb7f1xc){return _0xb7f1xa[_0x84ed[13]](200)[_0x84ed[12]](_0xb7f1xc)})[_0x84ed[11]](function(_0xb7f1xb){console[_0x84ed[20]](_0xb7f1xb);return handleError(_0xb7f1xa,_0xb7f1xb)})}};exports[_0x84ed[31]]= function(_0xb7f1x9,_0xb7f1xa){return VoiceQueue[_0x84ed[19]](_0xb7f1x9[_0x84ed[33]][_0x84ed[26]])[_0x84ed[14]](function(_0xb7f1x12){if(!_0xb7f1x12){return _0xb7f1xa[_0x84ed[32]](404)};return _0xb7f1xa[_0x84ed[12]](_0xb7f1x12)})[_0x84ed[11]](function(_0xb7f1xb){return handleError(_0xb7f1xa,_0xb7f1xb)})};exports[_0x84ed[34]]= function(_0xb7f1x9,_0xb7f1xa){return VoiceQueue[_0x84ed[19]](_0xb7f1x9[_0x84ed[33]][_0x84ed[26]])[_0x84ed[14]](function(_0xb7f1x11){if(!_0xb7f1x11){return _0xb7f1xa[_0x84ed[32]](404)};return _0xb7f1x11[_0x84ed[39]]({where:{role:_0x84ed[36]},attributes:[_0x84ed[17],_0x84ed[26],_0x84ed[37],_0x84ed[38]]})})[_0x84ed[14]](function(_0xb7f1xe){return _0xb7f1xa[_0x84ed[13]](200)[_0x84ed[12]]({rows:_0xb7f1xe,count:_0xb7f1xe[_0x84ed[35]]})})[_0x84ed[11]](function(_0xb7f1xb){return handleError(_0xb7f1xa,_0xb7f1xb)})};exports[_0x84ed[40]]= function(_0xb7f1x9,_0xb7f1xa){var _0xb7f1x13;return VoiceQueue[_0x84ed[40]](_0xb7f1x9[_0x84ed[51]])[_0x84ed[14]](function(_0xb7f1x12){_0xb7f1x13= _0xb7f1x12;if(_0xb7f1x9[_0x84ed[51]][_0x84ed[50]]){return _0xb7f1x13[_0x84ed[53]](_0xb7f1x9[_0x84ed[51]][_0x84ed[50]],{penalty:_0xb7f1x9[_0x84ed[51]][_0x84ed[52]]|| 0})}})[_0x84ed[14]](function(){return _0xb7f1xa[_0x84ed[13]](201)[_0x84ed[12]](_0xb7f1x13)})[_0x84ed[11]](sequelize.UniqueConstraintError,function(_0xb7f1xb){var _0xb7f1x14=[];_0xb7f1xb[_0x84ed[44]][_0x84ed[29]](function(_0xb7f1x15){switch(_0xb7f1x15[_0x84ed[43]]){case _0x84ed[42]:_0xb7f1x14[_0x84ed[41]](_0x84ed[26]);break;default:_0xb7f1x14[_0x84ed[41]](_0xb7f1x15[_0x84ed[43]])}});_0xb7f1x14[_0x84ed[41]](_0x84ed[45]);_0xb7f1xb[_0x84ed[46]]= _0xb7f1x14[_0x84ed[47]]();_0xb7f1xb[_0x84ed[48]]= _0x84ed[49];return _0xb7f1xa[_0x84ed[13]](500)[_0x84ed[12]](_0xb7f1xb)})[_0x84ed[11]](function(_0xb7f1xb){return handleError(_0xb7f1xa,_0xb7f1xb)})};exports[_0x84ed[54]]= function(_0xb7f1x9,_0xb7f1xa){if(_0xb7f1x9[_0x84ed[51]][_0x84ed[26]]){delete _0xb7f1x9[_0x84ed[51]][_0x84ed[26]]};return VoiceQueue[_0x84ed[19]](_0xb7f1x9[_0x84ed[33]][_0x84ed[26]])[_0x84ed[14]](function(_0xb7f1x12){if(!_0xb7f1x12){return _0xb7f1xa[_0x84ed[32]](404)};var _0xb7f1x16=_[_0x84ed[30]](_0xb7f1x12,_0xb7f1x9[_0x84ed[51]]);return _0xb7f1x16[_0x84ed[55]]()})[_0x84ed[14]](function(_0xb7f1x12){return _0xb7f1xa[_0x84ed[13]](200)[_0x84ed[12]](_0xb7f1x12)})[_0x84ed[11]](function(_0xb7f1xb){console[_0x84ed[20]](_0xb7f1xb);return handleError(_0xb7f1xa,_0xb7f1xb)})};exports[_0x84ed[56]]= function(_0xb7f1x9,_0xb7f1xa,_0xb7f1xd){return User[_0x84ed[60]]({where:{id:{$in:_0xb7f1x9[_0x84ed[51]][_0x84ed[50]]}}})[_0x84ed[14]](function(_0xb7f1x17){var _0xb7f1x18=_[_0x84ed[27]](_0xb7f1x17,function(_0xb7f1x19){return {queue:_0xb7f1x9[_0x84ed[33]][_0x84ed[26]],interface:util[_0x84ed[58]](_0x84ed[57],_0xb7f1x19[_0x84ed[26]]),stateinterface:util[_0x84ed[58]](_0x84ed[57],_0xb7f1x19[_0x84ed[26]]),membername:_0xb7f1x19[_0x84ed[26]],UserId:_0xb7f1x19[_0x84ed[17]],penalty:_0xb7f1x9[_0x84ed[51]][_0x84ed[52]]}});return UserHasVoiceQueue[_0x84ed[59]](_0xb7f1x18,{individualHooks:true})})[_0x84ed[14]](function(){return _0xb7f1xa[_0x84ed[32]](200)})[_0x84ed[11]](function(_0xb7f1xb){console[_0x84ed[20]](_0xb7f1xb);return _0xb7f1xd(_0xb7f1xb)})};exports[_0x84ed[61]]= function(_0xb7f1x9,_0xb7f1xa,_0xb7f1xd){return UserHasVoiceQueue[_0x84ed[62]]({where:{UserId:_0xb7f1x9[_0x84ed[15]][_0x84ed[50]],queue:_0xb7f1x9[_0x84ed[33]][_0x84ed[26]]},individualHooks:true})[_0x84ed[14]](function(){return _0xb7f1xa[_0x84ed[32]](202)})[_0x84ed[11]](function(_0xb7f1xb){return _0xb7f1xd(_0xb7f1xb)})};exports[_0x84ed[62]]= function(_0xb7f1x9,_0xb7f1xa){return VoiceQueue[_0x84ed[62]]({where:{name:_0xb7f1x9[_0x84ed[33]][_0x84ed[26]]},individualHooks:true})[_0x84ed[14]](function(){return _0xb7f1xa[_0x84ed[32]](204)})[_0x84ed[11]](function(_0xb7f1xb){return handleError(_0xb7f1xa,_0xb7f1xb)})};exports[_0x84ed[63]]= function(_0xb7f1x9,_0xb7f1xa){return VoiceQueue[_0x84ed[62]]({where:{name:_0xb7f1x9[_0x84ed[15]][_0x84ed[64]]},individualHooks:true})[_0x84ed[14]](function(){return _0xb7f1xa[_0x84ed[32]](204)})[_0x84ed[11]](function(_0xb7f1xb){return handleError(_0xb7f1xa,_0xb7f1xb)})};function handleError(_0xb7f1xa,_0xb7f1xb){return _0xb7f1xa[_0x84ed[13]](500)[_0x84ed[12]](_0xb7f1xb)}
\ No newline at end of file