Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / services / routing / rpc / whatsappQueue.js
index 21391b0..134901e 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 _0x0fd9=['Agents','online','whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue','name','User'];(function(_0x14b61f,_0x34aa5f){var _0x29d33d=function(_0x1c25c8){while(--_0x1c25c8){_0x14b61f['push'](_0x14b61f['shift']());}};_0x29d33d(++_0x34aa5f);}(_0x0fd9,0xa3));var _0x90fd=function(_0x421263,_0x18187d){_0x421263=_0x421263-0x0;var _0x34e4b5=_0x0fd9[_0x421263];return _0x34e4b5;};'use strict';var client=require('../client');exports[_0x90fd('0x0')]=function(){return function(){return client[_0x90fd('0x1')](_0x90fd('0x2'),{'options':{'raw':![],'attributes':['id',_0x90fd('0x3'),'timeout','strategy'],'include':[{'model':_0x90fd('0x4'),'as':_0x90fd('0x5'),'attributes':['id',_0x90fd('0x3'),_0x90fd('0x6'),_0x90fd('0x7')]}]},'log':_0x90fd('0x0')});};};
\ No newline at end of file