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 _0x67fe=['name','timeout','User','Agents','whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue'];(function(_0x31dd68,_0x7862de){var _0x340bcf=function(_0x28e7df){while(--_0x28e7df){_0x31dd68['push'](_0x31dd68['shift']());}};_0x340bcf(++_0x7862de);}(_0x67fe,0xef));var _0xe67f=function(_0x424f1d,_0xc7766a){_0x424f1d=_0x424f1d-0x0;var _0x21ce3e=_0x67fe[_0x424f1d];return _0x21ce3e;};'use strict';var client=require(_0xe67f('0x0'));exports[_0xe67f('0x1')]=function(){return function(){return client[_0xe67f('0x2')](_0xe67f('0x3'),{'options':{'raw':![],'attributes':['id',_0xe67f('0x4'),_0xe67f('0x5'),'strategy'],'include':[{'model':_0xe67f('0x6'),'as':_0xe67f('0x7'),'attributes':['id',_0xe67f('0x4'),'online',_0xe67f('0x8')]}]},'log':'getWhatsappQueues'});};};