Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / routing / rpc / whatsappQueue.js
index 21391b0..c63c655 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 _0xa34a=['strategy','Agents','online','../client','getWhatsappQueues','GetWhatsappQueue','name'];(function(_0x4737a0,_0x36520e){var _0x4d558b=function(_0xaa9825){while(--_0xaa9825){_0x4737a0['push'](_0x4737a0['shift']());}};_0x4d558b(++_0x36520e);}(_0xa34a,0x137));var _0xaa34=function(_0x5b53bc,_0x595d90){_0x5b53bc=_0x5b53bc-0x0;var _0x141486=_0xa34a[_0x5b53bc];return _0x141486;};'use strict';var client=require(_0xaa34('0x0'));exports[_0xaa34('0x1')]=function(){return function(){return client['Request'](_0xaa34('0x2'),{'options':{'raw':![],'attributes':['id',_0xaa34('0x3'),'timeout',_0xaa34('0x4')],'include':[{'model':'User','as':_0xaa34('0x5'),'attributes':['id',_0xaa34('0x3'),_0xaa34('0x6'),'whatsappPause']}]},'log':'getWhatsappQueues'});};};
\ No newline at end of file