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(_0x4270de,_0x1ebcc6){var _0x5043c2=function(_0x50f2e2){while(--_0x50f2e2){_0x4270de['push'](_0x4270de['shift']());}};_0x5043c2(++_0x1ebcc6);}(_0xdc9b,0x70));var _0xbdc9=function(_0x2d9b66,_0x538fb5){_0x2d9b66=_0x2d9b66-0x0;var _0x1c0edf=_0xdc9b[_0x2d9b66];return _0x1c0edf;};'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')});};};