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 _0xd488=['getWhatsappQueues','Request','name','User','Agents','online','../client'];(function(_0xfa847c,_0x444a8c){var _0x3b22bf=function(_0x32de11){while(--_0x32de11){_0xfa847c['push'](_0xfa847c['shift']());}};_0x3b22bf(++_0x444a8c);}(_0xd488,0x18e));var _0x8d48=function(_0x567d9c,_0x50405d){_0x567d9c=_0x567d9c-0x0;var _0x472c9b=_0xd488[_0x567d9c];return _0x472c9b;};'use strict';var client=require(_0x8d48('0x0'));exports[_0x8d48('0x1')]=function(){return function(){return client[_0x8d48('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x8d48('0x3'),'timeout','strategy'],'include':[{'model':_0x8d48('0x4'),'as':_0x8d48('0x5'),'attributes':['id',_0x8d48('0x3'),_0x8d48('0x6'),'whatsappPause']}]},'log':_0x8d48('0x1')});};};