Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.rpc.js
index 3ad5c28..d313e29 100644 (file)
@@ -1 +1 @@
-'use strict';const a828_0x2313=['message','1nCwvKl','stringify','70wpgJtU','error','COUNT','83733FKFQXX','619446OhFcNi','@mysqldb','99277KlXNit','15aQvVly','5311nSmzWz','2jMlPfm','options','GetVoiceQueueRtPauses','@config/logger','2029rMJwcH','register','15TjFjuu','raw','11901mhuqNK','@rediscache','info','sequelize','2926005akdbTY','where','121maRwtu','UserVoiceQueueRt'];const a828_0x3aea=function(_0x1bd51f,_0x203446){_0x1bd51f=_0x1bd51f-0x9b;let _0x23138d=a828_0x2313[_0x1bd51f];return _0x23138d;};const a828_0x127570=a828_0x3aea;(function(_0x50b70d,_0x54182d){const _0x3193b9=a828_0x3aea;while(!![]){try{const _0x4cceef=parseInt(_0x3193b9(0xb2))*-parseInt(_0x3193b9(0x9e))+parseInt(_0x3193b9(0xa7))*parseInt(_0x3193b9(0xa0))+parseInt(_0x3193b9(0x9c))*-parseInt(_0x3193b9(0xa1))+-parseInt(_0x3193b9(0xa5))*parseInt(_0x3193b9(0xaf))+parseInt(_0x3193b9(0x9b))*-parseInt(_0x3193b9(0x9f))+-parseInt(_0x3193b9(0xb4))*-parseInt(_0x3193b9(0xa9))+parseInt(_0x3193b9(0xad));if(_0x4cceef===_0x54182d)break;else _0x50b70d['push'](_0x50b70d['shift']());}catch(_0x662473){_0x50b70d['push'](_0x50b70d['shift']());}}}(a828_0x2313,0xf3e9b));const db=require(a828_0x127570(0x9d))['db'],{fn,literal}=require(a828_0x127570(0xac)),logger=require(a828_0x127570(0xa4))('rpc'),{getSocket}=require(a828_0x127570(0xaa)),socket=getSocket();require('./userVoiceQueueRt.socket')[a828_0x127570(0xa6)](socket),exports[a828_0x127570(0xa3)]=function(_0x1d723b){const _0x1a0d11=this;return new Promise(function(_0x223af3,_0x39722e){const _0x5f1e66=a828_0x3aea;return db[_0x5f1e66(0xb0)]['findAll']({'raw':_0x1d723b[_0x5f1e66(0xa2)]?_0x1d723b[_0x5f1e66(0xa2)][_0x5f1e66(0xa8)]===undefined?!![]:![]:!![],'where':_0x1d723b[_0x5f1e66(0xa2)]?_0x1d723b[_0x5f1e66(0xa2)][_0x5f1e66(0xae)]||null:null,'attributes':[[fn(_0x5f1e66(0xb6),fn('IF',literal('`paused`\x20=\x201,\x201,\x20null'))),'outboundQueuePauses']]})['then'](function(_0x20494f){const _0x43c3b1=_0x5f1e66;logger[_0x43c3b1(0xab)](_0x43c3b1(0xa3),_0x1d723b),logger['debug'](_0x43c3b1(0xa3),_0x1d723b,JSON[_0x43c3b1(0xb3)](_0x20494f)),_0x223af3(_0x20494f);})['catch'](function(_0x3d6be6){const _0xdf3a85=_0x5f1e66;logger[_0xdf3a85(0xb5)](_0xdf3a85(0xa3),_0x3d6be6[_0xdf3a85(0xb1)],_0x1d723b),_0x39722e(_0x1a0d11[_0xdf3a85(0xb5)](0x1f4,_0x3d6be6[_0xdf3a85(0xb1)]));});});};
\ No newline at end of file
+'use strict';const a832_0x5462=['34625Nuqvxx','raw','debug','then','1007839BHWVrg','555641ifwyUn','1QNHgvf','18233JyoCRO','outboundQueuePauses','error','5wGlqym','UserVoiceQueueRt','1zRWNDx','345487xsCHzg','stringify','message','findAll','GetVoiceQueueRtPauses','@config/logger','./userVoiceQueueRt.socket','catch','@rediscache','`paused`\x20=\x201,\x201,\x20null','options','register','14203DfwEzj','1227469oFYDuw','rpc','@mysqldb','where','COUNT','17JNXJpy','65sKqELJ'];const a832_0x136a=function(_0x40763b,_0x38e46d){_0x40763b=_0x40763b-0x1c7;let _0x546224=a832_0x5462[_0x40763b];return _0x546224;};const a832_0x4e1adc=a832_0x136a;(function(_0x4f458a,_0x221d42){const _0x3bf0cb=a832_0x136a;while(!![]){try{const _0x228d8d=parseInt(_0x3bf0cb(0x1e0))*-parseInt(_0x3bf0cb(0x1c7))+-parseInt(_0x3bf0cb(0x1e6))*-parseInt(_0x3bf0cb(0x1e7))+parseInt(_0x3bf0cb(0x1da))+-parseInt(_0x3bf0cb(0x1e5))+parseInt(_0x3bf0cb(0x1cc))*-parseInt(_0x3bf0cb(0x1d9))+parseInt(_0x3bf0cb(0x1e1))*-parseInt(_0x3bf0cb(0x1df))+parseInt(_0x3bf0cb(0x1cd))*parseInt(_0x3bf0cb(0x1ca));if(_0x228d8d===_0x221d42)break;else _0x4f458a['push'](_0x4f458a['shift']());}catch(_0x368dc0){_0x4f458a['push'](_0x4f458a['shift']());}}}(a832_0x5462,0xae7ed));const db=require(a832_0x4e1adc(0x1dc))['db'],{fn,literal}=require('sequelize'),logger=require(a832_0x4e1adc(0x1d2))(a832_0x4e1adc(0x1db)),{getSocket}=require(a832_0x4e1adc(0x1d5)),socket=getSocket();require(a832_0x4e1adc(0x1d3))[a832_0x4e1adc(0x1d8)](socket),exports['GetVoiceQueueRtPauses']=function(_0x5c7ca0){const _0x250207=this;return new Promise(function(_0x5d6b1f,_0x8a29a4){const _0x416360=a832_0x136a;return db[_0x416360(0x1cb)][_0x416360(0x1d0)]({'raw':_0x5c7ca0[_0x416360(0x1d7)]?_0x5c7ca0[_0x416360(0x1d7)][_0x416360(0x1e2)]===undefined?!![]:![]:!![],'where':_0x5c7ca0[_0x416360(0x1d7)]?_0x5c7ca0[_0x416360(0x1d7)][_0x416360(0x1dd)]||null:null,'attributes':[[fn(_0x416360(0x1de),fn('IF',literal(_0x416360(0x1d6)))),_0x416360(0x1c8)]]})[_0x416360(0x1e4)](function(_0x35a1fd){const _0x576bee=_0x416360;logger['info'](_0x576bee(0x1d1),_0x5c7ca0),logger[_0x576bee(0x1e3)]('GetVoiceQueueRtPauses',_0x5c7ca0,JSON[_0x576bee(0x1ce)](_0x35a1fd)),_0x5d6b1f(_0x35a1fd);})[_0x416360(0x1d4)](function(_0x34d5fe){const _0x392a5a=_0x416360;logger[_0x392a5a(0x1c9)]('GetVoiceQueueRtPauses',_0x34d5fe[_0x392a5a(0x1cf)],_0x5c7ca0),_0x8a29a4(_0x250207[_0x392a5a(0x1c9)](0x1f4,_0x34d5fe[_0x392a5a(0x1cf)]));});});};
\ No newline at end of file