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 _0x2a52=['Request','GetWhatsappQueue','name','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues'];(function(_0x8c2097,_0xb93698){var _0x46fcaf=function(_0x3be7ac){while(--_0x3be7ac){_0x8c2097['push'](_0x8c2097['shift']());}};_0x46fcaf(++_0xb93698);}(_0x2a52,0x17a));var _0x22a5=function(_0x6b484c,_0x510237){_0x6b484c=_0x6b484c-0x0;var _0x490917=_0x2a52[_0x6b484c];return _0x490917;};'use strict';var client=require(_0x22a5('0x0'));exports[_0x22a5('0x1')]=function(){return function(){return client[_0x22a5('0x2')](_0x22a5('0x3'),{'options':{'raw':![],'attributes':['id',_0x22a5('0x4'),'timeout',_0x22a5('0x5')],'include':[{'model':_0x22a5('0x6'),'as':_0x22a5('0x7'),'attributes':['id',_0x22a5('0x4'),_0x22a5('0x8'),_0x22a5('0x9')]}]},'log':_0x22a5('0x1')});};};