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 _0x54e8=['timeout','strategy','Agents','getWhatsappQueues','../client','Request','GetWhatsappQueue','name'];(function(_0x3c4737,_0x2329ec){var _0x2bb926=function(_0x3b9605){while(--_0x3b9605){_0x3c4737['push'](_0x3c4737['shift']());}};_0x2bb926(++_0x2329ec);}(_0x54e8,0x1e4));var _0x854e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x54e8[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x854e('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x854e('0x1')](_0x854e('0x2'),{'options':{'raw':![],'attributes':['id',_0x854e('0x3'),_0x854e('0x4'),_0x854e('0x5')],'include':[{'model':'User','as':_0x854e('0x6'),'attributes':['id','name','online','whatsappPause']}]},'log':_0x854e('0x7')});};};