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 _0xdc9b=['../client','getWhatsappQueues','Request','name','timeout','Agents','whatsappPause'];(function(_0x3681a9,_0x87d523){var _0x39c723=function(_0x406f62){while(--_0x406f62){_0x3681a9['push'](_0x3681a9['shift']());}};_0x39c723(++_0x87d523);}(_0xdc9b,0x70));var _0xbdc9=function(_0x114b6e,_0x2979bf){_0x114b6e=_0x114b6e-0x0;var _0x874a1d=_0xdc9b[_0x114b6e];return _0x874a1d;};'use strict';var client=require(_0xbdc9('0x0'));exports[_0xbdc9('0x1')]=function(){return function(){return client[_0xbdc9('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xbdc9('0x3'),_0xbdc9('0x4'),'strategy'],'include':[{'model':'User','as':_0xbdc9('0x5'),'attributes':['id',_0xbdc9('0x3'),'online',_0xbdc9('0x6')]}]},'log':_0xbdc9('0x1')});};};