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 _0x5f51=['online','whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue','timeout','Agents','name'];(function(_0x4f9171,_0x5431d7){var _0xa7c96a=function(_0x140726){while(--_0x140726){_0x4f9171['push'](_0x4f9171['shift']());}};_0xa7c96a(++_0x5431d7);}(_0x5f51,0x1c4));var _0x15f5=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x5f51[_0x6c993a];return _0x27f547;};'use strict';var client=require(_0x15f5('0x0'));exports[_0x15f5('0x1')]=function(){return function(){return client[_0x15f5('0x2')](_0x15f5('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x15f5('0x4'),'strategy'],'include':[{'model':'User','as':_0x15f5('0x5'),'attributes':['id',_0x15f5('0x6'),_0x15f5('0x7'),_0x15f5('0x8')]}]},'log':_0x15f5('0x1')});};};