1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xcae1=['GetWhatsappQueue','name','timeout','strategy','User','Agents','online','whatsappPause','getWhatsappQueues','../client','Request'];(function(_0x53f992,_0x34f653){var _0x1a3358=function(_0x42571b){while(--_0x42571b){_0x53f992['push'](_0x53f992['shift']());}};_0x1a3358(++_0x34f653);}(_0xcae1,0x8d));var _0x1cae=function(_0x2594e0,_0x1ee198){_0x2594e0=_0x2594e0-0x0;var _0x1eadb9=_0xcae1[_0x2594e0];return _0x1eadb9;};'use strict';var client=require(_0x1cae('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x1cae('0x1')](_0x1cae('0x2'),{'options':{'raw':![],'attributes':['id',_0x1cae('0x3'),_0x1cae('0x4'),_0x1cae('0x5')],'include':[{'model':_0x1cae('0x6'),'as':_0x1cae('0x7'),'attributes':['id',_0x1cae('0x3'),_0x1cae('0x8'),_0x1cae('0x9')]}]},'log':_0x1cae('0xa')});};};