Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / routing / rpc / whatsappQueue.js
index 8a727cd..adf32bc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa299=['GetWhatsappQueue','name','timeout','strategy','Agents','online','whatsappPause','getWhatsappQueues','Request'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xa299,0x167));var _0x9a29=function(_0x44dee6,_0x77c530){_0x44dee6=_0x44dee6-0x0;var _0x5bb30a=_0xa299[_0x44dee6];return _0x5bb30a;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0x9a29('0x0')](_0x9a29('0x1'),{'options':{'raw':![],'attributes':['id',_0x9a29('0x2'),_0x9a29('0x3'),_0x9a29('0x4')],'include':[{'model':'User','as':_0x9a29('0x5'),'attributes':['id',_0x9a29('0x2'),_0x9a29('0x6'),_0x9a29('0x7')]}]},'log':_0x9a29('0x8')});};};
\ No newline at end of file
+var _0x4c9e=['timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','name'];(function(_0x10319c,_0x511e1d){var _0x4a808b=function(_0x510463){while(--_0x510463){_0x10319c['push'](_0x10319c['shift']());}};_0x4a808b(++_0x511e1d);}(_0x4c9e,0xba));var _0xe4c9=function(_0x92c450,_0x41f1e3){_0x92c450=_0x92c450-0x0;var _0x2a9599=_0x4c9e[_0x92c450];return _0x2a9599;};'use strict';var client=require(_0xe4c9('0x0'));exports[_0xe4c9('0x1')]=function(){return function(){return client['Request']('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xe4c9('0x2'),_0xe4c9('0x3'),_0xe4c9('0x4')],'include':[{'model':_0xe4c9('0x5'),'as':_0xe4c9('0x6'),'attributes':['id','name',_0xe4c9('0x7'),_0xe4c9('0x8')]}]},'log':_0xe4c9('0x1')});};};
\ No newline at end of file