Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / services / routing / index.js
index 8617b52..21e87f0 100644 (file)
@@ -1 +1 @@
-const a1162_0x27ff=['then','./server','initAgents','getWhatsappQueues','./rpc/mailQueue','./rpc/whatsappQueue','./realtime','log','initMailQueues','initWhatsappQueues','initFaxQueues','getAgents','./rpc/user','getFaxQueues','initOpenchannelQueues','catch','./rpc/interval','getChatQueues','resolve','getOpenchannelQueues','initIntervals','getMailQueues'];(function(_0x114bd3,_0x27ff53){const _0x1f9097=function(_0x1e95e8){while(--_0x1e95e8){_0x114bd3['push'](_0x114bd3['shift']());}};_0x1f9097(++_0x27ff53);}(a1162_0x27ff,0x121));const a1162_0x1f90=function(_0x114bd3,_0x27ff53){_0x114bd3=_0x114bd3-0x0;let _0x1f9097=a1162_0x27ff[_0x114bd3];return _0x1f9097;};const _0x118a04=a1162_0x1f90;'use strict';require('../../globals');const server=require(_0x118a04('0x14')),Realtime=require(_0x118a04('0x3')),user=require(_0x118a04('0x9')),interval=require(_0x118a04('0xd')),openchannelQueue=require('./rpc/openchannelQueue'),chatQueue=require('./rpc/chatQueue'),smsQueue=require('./rpc/smsQueue'),mailQueue=require(_0x118a04('0x1')),faxQueue=require('./rpc/faxQueue'),whatsappQueue=require(_0x118a04('0x2')),realtime=new Realtime();function initRealtime(){const _0x213fe0=_0x118a04;return Promise[_0x213fe0('0xf')]()[_0x213fe0('0x13')](user[_0x213fe0('0x8')]())['then'](realtime[_0x213fe0('0x15')]())[_0x213fe0('0x13')](interval['getIntervals']())[_0x213fe0('0x13')](realtime[_0x213fe0('0x11')]())[_0x213fe0('0x13')](openchannelQueue[_0x213fe0('0x10')]())['then'](realtime[_0x213fe0('0xb')]())[_0x213fe0('0x13')](chatQueue[_0x213fe0('0xe')]())['then'](realtime['initChatQueues']())[_0x213fe0('0x13')](smsQueue['getSmsQueues']())[_0x213fe0('0x13')](realtime['initSmsQueues']())[_0x213fe0('0x13')](mailQueue[_0x213fe0('0x12')]())[_0x213fe0('0x13')](realtime[_0x213fe0('0x5')]())[_0x213fe0('0x13')](faxQueue[_0x213fe0('0xa')]())['then'](realtime[_0x213fe0('0x7')]())[_0x213fe0('0x13')](whatsappQueue[_0x213fe0('0x0')]())['then'](realtime[_0x213fe0('0x6')]())['then'](function(){return realtime;});}function main(){const _0xb01d75=_0x118a04;return server['listen'](realtime)[_0xb01d75('0x13')](function(){return initRealtime();})['then'](function(){return setInterval(initRealtime,0x1388);})[_0xb01d75('0xc')](function(_0x1e95e8){const _0x5b625c=_0xb01d75;console[_0x5b625c('0x4')](_0x1e95e8);});}main();
\ No newline at end of file
+const a1162_0x2bbe=['listen','initOpenchannelQueues','./rpc/user','./rpc/openchannelQueue','./server','resolve','initFaxQueues','initWhatsappQueues','then','getWhatsappQueues','./rpc/mailQueue','getOpenchannelQueues','getChatQueues','getSmsQueues','./rpc/smsQueue','./realtime','initIntervals','getFaxQueues','getIntervals','./rpc/whatsappQueue','initChatQueues','initSmsQueues','../../globals','./rpc/chatQueue','catch','log'];(function(_0x206e47,_0x2bbe41){const _0x3c8005=function(_0x19c3ff){while(--_0x19c3ff){_0x206e47['push'](_0x206e47['shift']());}};_0x3c8005(++_0x2bbe41);}(a1162_0x2bbe,0xce));const a1162_0x3c80=function(_0x206e47,_0x2bbe41){_0x206e47=_0x206e47-0x0;let _0x3c8005=a1162_0x2bbe[_0x206e47];return _0x3c8005;};const _0x3f3f71=a1162_0x3c80;'use strict';require(_0x3f3f71('0x18'));const server=require(_0x3f3f71('0x6')),Realtime=require(_0x3f3f71('0x11')),user=require(_0x3f3f71('0x4')),interval=require('./rpc/interval'),openchannelQueue=require(_0x3f3f71('0x5')),chatQueue=require(_0x3f3f71('0x19')),smsQueue=require(_0x3f3f71('0x10')),mailQueue=require(_0x3f3f71('0xc')),faxQueue=require('./rpc/faxQueue'),whatsappQueue=require(_0x3f3f71('0x15')),realtime=new Realtime();function initRealtime(){const _0x551f5e=_0x3f3f71;return Promise[_0x551f5e('0x7')]()[_0x551f5e('0xa')](user['getAgents']())[_0x551f5e('0xa')](realtime['initAgents']())[_0x551f5e('0xa')](interval[_0x551f5e('0x14')]())[_0x551f5e('0xa')](realtime[_0x551f5e('0x12')]())[_0x551f5e('0xa')](openchannelQueue[_0x551f5e('0xd')]())[_0x551f5e('0xa')](realtime[_0x551f5e('0x3')]())[_0x551f5e('0xa')](chatQueue[_0x551f5e('0xe')]())['then'](realtime[_0x551f5e('0x16')]())[_0x551f5e('0xa')](smsQueue[_0x551f5e('0xf')]())[_0x551f5e('0xa')](realtime[_0x551f5e('0x17')]())[_0x551f5e('0xa')](mailQueue['getMailQueues']())[_0x551f5e('0xa')](realtime['initMailQueues']())[_0x551f5e('0xa')](faxQueue[_0x551f5e('0x13')]())[_0x551f5e('0xa')](realtime[_0x551f5e('0x8')]())[_0x551f5e('0xa')](whatsappQueue[_0x551f5e('0xb')]())[_0x551f5e('0xa')](realtime[_0x551f5e('0x9')]())[_0x551f5e('0xa')](function(){return realtime;});}function main(){const _0x1314a0=_0x3f3f71;return server[_0x1314a0('0x2')](realtime)[_0x1314a0('0xa')](function(){return initRealtime();})[_0x1314a0('0xa')](function(){return setInterval(initRealtime,0x1388);})[_0x1314a0('0x0')](function(_0x19c3ff){const _0x3dbca3=_0x1314a0;console[_0x3dbca3('0x1')](_0x19c3ff);});}main();
\ No newline at end of file