Built motion from commit 0ad9c269e.|1.0.31
[motion.git] / server / api / openchannel_queue / openchannel_queue.controller.js
index f9aa441..62574cc 100644 (file)
@@ -1 +1 @@
-var _0x485f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\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","\x6E\x61\x6D\x65","\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","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\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","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x20\x51\x75\x65\x75\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x71\x75\x65\x75\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x485f[0];var _=require(_0x485f[1]);var Util=require(_0x485f[2]);var logger=require(_0x485f[4])(_0x485f[3]);var OpenchannelQueue=require(_0x485f[6])[_0x485f[5]];var User=require(_0x485f[6])[_0x485f[7]];var sequelize=require(_0x485f[6])[_0x485f[8]];var UserHasOpenchannelQueue=require(_0x485f[6])[_0x485f[9]];function handleError(_0xeb45x9,_0xeb45xa){logger[_0x485f[11]](_0xeb45xa[_0x485f[10]]);return _0xeb45x9[_0x485f[13]](500)[_0x485f[12]](_0xeb45xa)}exports[_0x485f[14]]= function(_0xeb45xb,_0xeb45x9){switch(_0xeb45xb[_0x485f[20]][_0x485f[27]]){case _0x485f[20]:return User[_0x485f[21]](_0xeb45xb[_0x485f[20]][_0x485f[19]],{attributes:[_0x485f[19]]})[_0x485f[16]](Util[_0x485f[18]](_0xeb45xb[_0x485f[17]]))[_0x485f[16]](function(_0xeb45xc){_0xeb45x9[_0x485f[13]](200)[_0x485f[12]](_0xeb45xc)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)});default:return OpenchannelQueue[_0x485f[26]](_0x485f[25])[_0x485f[24]](_[_0x485f[23]](Util[_0x485f[22]](_0xeb45xb[_0x485f[17]]),{distinct:true}))[_0x485f[16]](function(_0xeb45xc){_0xeb45x9[_0x485f[13]](200)[_0x485f[12]](_0xeb45xc)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})}};exports[_0x485f[28]]= function(_0xeb45xb,_0xeb45x9){return OpenchannelQueue[_0x485f[26]](_0x485f[25])[_0x485f[21]](_0xeb45xb[_0x485f[30]][_0x485f[19]])[_0x485f[16]](function(_0xeb45xd){if(!_0xeb45xd){return _0xeb45x9[_0x485f[29]](404)};return _0xeb45x9[_0x485f[12]](_0xeb45xd)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[31]]= function(_0xeb45xb,_0xeb45x9){return OpenchannelQueue[_0x485f[21]](_0xeb45xb[_0x485f[30]][_0x485f[19]])[_0x485f[16]](function(_0xeb45xf){if(!_0xeb45xf){return _0xeb45x9[_0x485f[29]](404)};return _0xeb45xf[_0x485f[37]]({where:{role:_0x485f[33]},attributes:[_0x485f[19],_0x485f[34],_0x485f[35],_0x485f[36]]})})[_0x485f[16]](function(_0xeb45xe){return _0xeb45x9[_0x485f[13]](200)[_0x485f[12]]({rows:_0xeb45xe,count:_0xeb45xe[_0x485f[32]]})})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[38]]= function(_0xeb45xb,_0xeb45x9){var _0xeb45x10;return OpenchannelQueue[_0x485f[38]](_0xeb45xb[_0x485f[42]])[_0x485f[16]](function(_0xeb45x11){_0xeb45x10= _0xeb45x11;if(_0xeb45xb[_0x485f[42]][_0x485f[41]]){return _0xeb45x10[_0x485f[44]](_0xeb45xb[_0x485f[42]][_0x485f[41]],{penalty:_0xeb45xb[_0x485f[42]][_0x485f[43]]|| 0,queue:_0xeb45x10[_0x485f[34]]})}})[_0x485f[16]](function(){return _0xeb45x9[_0x485f[13]](201)[_0x485f[12]](_0xeb45x10)})[_0x485f[15]](sequelize.UniqueConstraintError,function(_0xeb45xa){return Util[_0x485f[40]][_0x485f[39]](_0xeb45x9,_0xeb45xa)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[45]]= function(_0xeb45xb,_0xeb45x9){if(_0xeb45xb[_0x485f[42]][_0x485f[19]]){delete _0xeb45xb[_0x485f[42]][_0x485f[19]]};return OpenchannelQueue[_0x485f[21]](_0xeb45xb[_0x485f[30]][_0x485f[19]])[_0x485f[16]](function(_0xeb45xd){if(!_0xeb45xd){return _0xeb45x9[_0x485f[29]](404)};var _0xeb45x12=_[_0x485f[23]](_0xeb45xd,_0xeb45xb[_0x485f[42]]);return _0xeb45x12[_0x485f[46]]()})[_0x485f[16]](function(_0xeb45xd){return _0xeb45x9[_0x485f[13]](200)[_0x485f[12]](_0xeb45xd)})[_0x485f[15]](sequelize.UniqueConstraintError,function(_0xeb45xa){return Util[_0x485f[40]][_0x485f[39]](_0xeb45x9,_0xeb45xa)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[47]]= function(_0xeb45xb,_0xeb45x9,_0xeb45x13){return OpenchannelQueue[_0x485f[21]](_0xeb45xb[_0x485f[30]][_0x485f[19]])[_0x485f[16]](function(_0xeb45xd){if(!_0xeb45xd){return _0xeb45x9[_0x485f[29]](404)};var _0xeb45x14=_[_0x485f[48]](_0xeb45xb[_0x485f[42]][_0x485f[41]],function(_0xeb45x15){return {UserId:_0xeb45x15,penalty:_0xeb45xb[_0x485f[42]][_0x485f[43]],OpenchannelQueueId:_0xeb45xd[_0x485f[19]],queue:_0xeb45xd[_0x485f[34]]}});return UserHasOpenchannelQueue[_0x485f[49]](_0xeb45x14,{individualHooks:true})})[_0x485f[16]](function(){return _0xeb45x9[_0x485f[29]](200)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[50]]= function(_0xeb45xb,_0xeb45x9){return OpenchannelQueue[_0x485f[21]](_0xeb45xb[_0x485f[30]][_0x485f[19]])[_0x485f[16]](function(_0xeb45xd){if(_0xeb45xd){return _0xeb45xd[_0x485f[51]](_0xeb45xb[_0x485f[17]][_0x485f[41]],{individualHooks:true})}else {throw  new Error(_0x485f[52])}})[_0x485f[16]](function(){return _0xeb45x9[_0x485f[29]](202)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[53]]= function(_0xeb45xb,_0xeb45x9){var _0xeb45x16;return OpenchannelQueue[_0x485f[21]](_0xeb45xb[_0x485f[30]][_0x485f[19]])[_0x485f[16]](function(_0xeb45xd){_0xeb45x16= _0xeb45xd;if(!_0xeb45xd){return _0xeb45x9[_0x485f[29]](404)};return _0xeb45xd[_0x485f[53]]()})[_0x485f[16]](function(){return _0xeb45x9[_0x485f[29]](204)})[_0x485f[15]](sequelize.ForeignKeyConstraintError,function(_0xeb45xa){return Util[_0x485f[40]][_0x485f[55]](_0xeb45x9,_0x485f[54],_0xeb45x16[_0x485f[34]],_0xeb45xa)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})};exports[_0x485f[56]]= function(_0xeb45xb,_0xeb45x9){return OpenchannelQueue[_0x485f[53]]({where:{id:_0xeb45xb[_0x485f[17]][_0x485f[57]]},individualHooks:true})[_0x485f[16]](function(){return _0xeb45x9[_0x485f[29]](204)})[_0x485f[15]](function(_0xeb45xa){return handleError(_0xeb45x9,_0xeb45xa)})}
\ No newline at end of file
+var _0xfa10=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\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","\x6E\x61\x6D\x65","\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","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\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","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x20\x51\x75\x65\x75\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x71\x75\x65\x75\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xfa10[0];var _=require(_0xfa10[1]);var Util=require(_0xfa10[2]);var logger=require(_0xfa10[4])(_0xfa10[3]);var OpenchannelQueue=require(_0xfa10[6])[_0xfa10[5]];var User=require(_0xfa10[6])[_0xfa10[7]];var sequelize=require(_0xfa10[6])[_0xfa10[8]];var UserHasOpenchannelQueue=require(_0xfa10[6])[_0xfa10[9]];function handleError(_0xc7acx9,_0xc7acxa){logger[_0xfa10[11]](_0xc7acxa[_0xfa10[10]]);return _0xc7acx9[_0xfa10[13]](500)[_0xfa10[12]](_0xc7acxa)}exports[_0xfa10[14]]= function(_0xc7acxb,_0xc7acx9){switch(_0xc7acxb[_0xfa10[20]][_0xfa10[27]]){case _0xfa10[20]:return User[_0xfa10[21]](_0xc7acxb[_0xfa10[20]][_0xfa10[19]],{attributes:[_0xfa10[19]]})[_0xfa10[16]](Util[_0xfa10[18]](_0xc7acxb[_0xfa10[17]]))[_0xfa10[16]](function(_0xc7acxc){_0xc7acx9[_0xfa10[13]](200)[_0xfa10[12]](_0xc7acxc)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)});default:return OpenchannelQueue[_0xfa10[26]](_0xfa10[25])[_0xfa10[24]](_[_0xfa10[23]](Util[_0xfa10[22]](_0xc7acxb[_0xfa10[17]]),{distinct:true}))[_0xfa10[16]](function(_0xc7acxc){_0xc7acx9[_0xfa10[13]](200)[_0xfa10[12]](_0xc7acxc)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})}};exports[_0xfa10[28]]= function(_0xc7acxb,_0xc7acx9){return OpenchannelQueue[_0xfa10[26]](_0xfa10[25])[_0xfa10[21]](_0xc7acxb[_0xfa10[30]][_0xfa10[19]])[_0xfa10[16]](function(_0xc7acxd){if(!_0xc7acxd){return _0xc7acx9[_0xfa10[29]](404)};return _0xc7acx9[_0xfa10[12]](_0xc7acxd)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[31]]= function(_0xc7acxb,_0xc7acx9){return OpenchannelQueue[_0xfa10[21]](_0xc7acxb[_0xfa10[30]][_0xfa10[19]])[_0xfa10[16]](function(_0xc7acxf){if(!_0xc7acxf){return _0xc7acx9[_0xfa10[29]](404)};return _0xc7acxf[_0xfa10[37]]({where:{role:_0xfa10[33]},attributes:[_0xfa10[19],_0xfa10[34],_0xfa10[35],_0xfa10[36]]})})[_0xfa10[16]](function(_0xc7acxe){return _0xc7acx9[_0xfa10[13]](200)[_0xfa10[12]]({rows:_0xc7acxe,count:_0xc7acxe[_0xfa10[32]]})})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[38]]= function(_0xc7acxb,_0xc7acx9){var _0xc7acx10;return OpenchannelQueue[_0xfa10[38]](_0xc7acxb[_0xfa10[42]])[_0xfa10[16]](function(_0xc7acx11){_0xc7acx10= _0xc7acx11;if(_0xc7acxb[_0xfa10[42]][_0xfa10[41]]){return _0xc7acx10[_0xfa10[44]](_0xc7acxb[_0xfa10[42]][_0xfa10[41]],{penalty:_0xc7acxb[_0xfa10[42]][_0xfa10[43]]|| 0,queue:_0xc7acx10[_0xfa10[34]]})}})[_0xfa10[16]](function(){return _0xc7acx9[_0xfa10[13]](201)[_0xfa10[12]](_0xc7acx10)})[_0xfa10[15]](sequelize.UniqueConstraintError,function(_0xc7acxa){return Util[_0xfa10[40]][_0xfa10[39]](_0xc7acx9,_0xc7acxa)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[45]]= function(_0xc7acxb,_0xc7acx9){if(_0xc7acxb[_0xfa10[42]][_0xfa10[19]]){delete _0xc7acxb[_0xfa10[42]][_0xfa10[19]]};return OpenchannelQueue[_0xfa10[21]](_0xc7acxb[_0xfa10[30]][_0xfa10[19]])[_0xfa10[16]](function(_0xc7acxd){if(!_0xc7acxd){return _0xc7acx9[_0xfa10[29]](404)};var _0xc7acx12=_[_0xfa10[23]](_0xc7acxd,_0xc7acxb[_0xfa10[42]]);return _0xc7acx12[_0xfa10[46]]()})[_0xfa10[16]](function(_0xc7acxd){return _0xc7acx9[_0xfa10[13]](200)[_0xfa10[12]](_0xc7acxd)})[_0xfa10[15]](sequelize.UniqueConstraintError,function(_0xc7acxa){return Util[_0xfa10[40]][_0xfa10[39]](_0xc7acx9,_0xc7acxa)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[47]]= function(_0xc7acxb,_0xc7acx9,_0xc7acx13){return OpenchannelQueue[_0xfa10[21]](_0xc7acxb[_0xfa10[30]][_0xfa10[19]])[_0xfa10[16]](function(_0xc7acxd){if(!_0xc7acxd){return _0xc7acx9[_0xfa10[29]](404)};var _0xc7acx14=_[_0xfa10[48]](_0xc7acxb[_0xfa10[42]][_0xfa10[41]],function(_0xc7acx15){return {UserId:_0xc7acx15,penalty:_0xc7acxb[_0xfa10[42]][_0xfa10[43]],OpenchannelQueueId:_0xc7acxd[_0xfa10[19]],queue:_0xc7acxd[_0xfa10[34]]}});return UserHasOpenchannelQueue[_0xfa10[49]](_0xc7acx14,{individualHooks:true})})[_0xfa10[16]](function(){return _0xc7acx9[_0xfa10[29]](200)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[50]]= function(_0xc7acxb,_0xc7acx9){return OpenchannelQueue[_0xfa10[21]](_0xc7acxb[_0xfa10[30]][_0xfa10[19]])[_0xfa10[16]](function(_0xc7acxd){if(_0xc7acxd){return _0xc7acxd[_0xfa10[51]](_0xc7acxb[_0xfa10[17]][_0xfa10[41]],{individualHooks:true})}else {throw  new Error(_0xfa10[52])}})[_0xfa10[16]](function(){return _0xc7acx9[_0xfa10[29]](202)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[53]]= function(_0xc7acxb,_0xc7acx9){var _0xc7acx16;return OpenchannelQueue[_0xfa10[21]](_0xc7acxb[_0xfa10[30]][_0xfa10[19]])[_0xfa10[16]](function(_0xc7acxd){_0xc7acx16= _0xc7acxd;if(!_0xc7acxd){return _0xc7acx9[_0xfa10[29]](404)};return _0xc7acxd[_0xfa10[53]]()})[_0xfa10[16]](function(){return _0xc7acx9[_0xfa10[29]](204)})[_0xfa10[15]](sequelize.ForeignKeyConstraintError,function(_0xc7acxa){return Util[_0xfa10[40]][_0xfa10[55]](_0xc7acx9,_0xfa10[54],_0xc7acx16[_0xfa10[34]],_0xc7acxa)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})};exports[_0xfa10[56]]= function(_0xc7acxb,_0xc7acx9){return OpenchannelQueue[_0xfa10[53]]({where:{id:_0xc7acxb[_0xfa10[17]][_0xfa10[57]]},individualHooks:true})[_0xfa10[16]](function(){return _0xc7acx9[_0xfa10[29]](204)})[_0xfa10[15]](function(_0xc7acxa){return handleError(_0xc7acx9,_0xc7acxa)})}
\ No newline at end of file