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 _0x1018=['Request','GetWhatsappQueue','name','timeout','strategy','User','Agents','whatsappPause','../client','getWhatsappQueues'];(function(_0x2b484d,_0x491666){var _0x202c24=function(_0x6be661){while(--_0x6be661){_0x2b484d['push'](_0x2b484d['shift']());}};_0x202c24(++_0x491666);}(_0x1018,0x148));var _0x8101=function(_0x259d20,_0x45eb72){_0x259d20=_0x259d20-0x0;var _0x37e28f=_0x1018[_0x259d20];return _0x37e28f;};'use strict';var client=require(_0x8101('0x0'));exports[_0x8101('0x1')]=function(){return function(){return client[_0x8101('0x2')](_0x8101('0x3'),{'options':{'raw':![],'attributes':['id',_0x8101('0x4'),_0x8101('0x5'),_0x8101('0x6')],'include':[{'model':_0x8101('0x7'),'as':_0x8101('0x8'),'attributes':['id',_0x8101('0x4'),'online',_0x8101('0x9')]}]},'log':_0x8101('0x1')});};};