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 _0xa83a=['getWhatsappQueues','Request','name','timeout','strategy','Agents','../client'];(function(_0x566cc5,_0x113c0f){var _0x2fb28c=function(_0x55fad9){while(--_0x55fad9){_0x566cc5['push'](_0x566cc5['shift']());}};_0x2fb28c(++_0x113c0f);}(_0xa83a,0x141));var _0xaa83=function(_0x1578a2,_0x56dfcb){_0x1578a2=_0x1578a2-0x0;var _0x520228=_0xa83a[_0x1578a2];return _0x520228;};'use strict';var client=require(_0xaa83('0x0'));exports[_0xaa83('0x1')]=function(){return function(){return client[_0xaa83('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xaa83('0x3'),_0xaa83('0x4'),_0xaa83('0x5')],'include':[{'model':'User','as':_0xaa83('0x6'),'attributes':['id',_0xaa83('0x3'),'online','whatsappPause']}]},'log':_0xaa83('0x1')});};};