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 _0x2bb0=['Request','name','User','online','whatsappPause','../client','getWhatsappQueues'];(function(_0x4bbf22,_0x32e708){var _0x42aefb=function(_0x148314){while(--_0x148314){_0x4bbf22['push'](_0x4bbf22['shift']());}};_0x42aefb(++_0x32e708);}(_0x2bb0,0xf3));var _0x02bb=function(_0x201342,_0x3743b5){_0x201342=_0x201342-0x0;var _0x4a13b1=_0x2bb0[_0x201342];return _0x4a13b1;};'use strict';var client=require(_0x02bb('0x0'));exports[_0x02bb('0x1')]=function(){return function(){return client[_0x02bb('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x02bb('0x3'),'timeout','strategy'],'include':[{'model':_0x02bb('0x4'),'as':'Agents','attributes':['id',_0x02bb('0x3'),_0x02bb('0x5'),_0x02bb('0x6')]}]},'log':_0x02bb('0x1')});};};