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 _0xa384=['online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue','name','timeout','strategy'];(function(_0x21549c,_0x6d64d1){var _0x426cbd=function(_0x323f5b){while(--_0x323f5b){_0x21549c['push'](_0x21549c['shift']());}};_0x426cbd(++_0x6d64d1);}(_0xa384,0xca));var _0x4a38=function(_0x36eaaa,_0x326732){_0x36eaaa=_0x36eaaa-0x0;var _0x461349=_0xa384[_0x36eaaa];return _0x461349;};'use strict';var client=require(_0x4a38('0x0'));exports[_0x4a38('0x1')]=function(){return function(){return client['Request'](_0x4a38('0x2'),{'options':{'raw':![],'attributes':['id',_0x4a38('0x3'),_0x4a38('0x4'),_0x4a38('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id',_0x4a38('0x3'),_0x4a38('0x6'),_0x4a38('0x7')]}]},'log':'getWhatsappQueues'});};};