Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / services / routing / rpc / whatsappQueue.js
index 21391b0..b18c624 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x42f4=['name','timeout','strategy','online','whatsappPause','../client','Request','GetWhatsappQueue'];(function(_0x4eee10,_0x256a93){var _0x1bb3cb=function(_0x267d14){while(--_0x267d14){_0x4eee10['push'](_0x4eee10['shift']());}};_0x1bb3cb(++_0x256a93);}(_0x42f4,0x19d));var _0x442f=function(_0xffa198,_0x5a8940){_0xffa198=_0xffa198-0x0;var _0x1e4b50=_0x42f4[_0xffa198];return _0x1e4b50;};'use strict';var client=require(_0x442f('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x442f('0x1')](_0x442f('0x2'),{'options':{'raw':![],'attributes':['id',_0x442f('0x3'),_0x442f('0x4'),_0x442f('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id','name',_0x442f('0x6'),_0x442f('0x7')]}]},'log':'getWhatsappQueues'});};};
\ No newline at end of file
+var _0x53bd=['Agents','online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue','name','strategy','User'];(function(_0x24f870,_0x2c8a88){var _0x5d065b=function(_0x168247){while(--_0x168247){_0x24f870['push'](_0x24f870['shift']());}};_0x5d065b(++_0x2c8a88);}(_0x53bd,0x18f));var _0xd53b=function(_0x3491f5,_0x222f0c){_0x3491f5=_0x3491f5-0x0;var _0x26e38a=_0x53bd[_0x3491f5];return _0x26e38a;};'use strict';var client=require(_0xd53b('0x0'));exports[_0xd53b('0x1')]=function(){return function(){return client['Request'](_0xd53b('0x2'),{'options':{'raw':![],'attributes':['id',_0xd53b('0x3'),'timeout',_0xd53b('0x4')],'include':[{'model':_0xd53b('0x5'),'as':_0xd53b('0x6'),'attributes':['id',_0xd53b('0x3'),_0xd53b('0x7'),_0xd53b('0x8')]}]},'log':'getWhatsappQueues'});};};
\ No newline at end of file