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 _0x2086=['online','whatsappPause','getWhatsappQueues','../client','GetWhatsappQueue','name','timeout','User'];(function(_0x2ebec8,_0x799e93){var _0x1bfa7e=function(_0x496141){while(--_0x496141){_0x2ebec8['push'](_0x2ebec8['shift']());}};_0x1bfa7e(++_0x799e93);}(_0x2086,0x73));var _0x6208=function(_0x5634e9,_0x4d936b){_0x5634e9=_0x5634e9-0x0;var _0x13dcbe=_0x2086[_0x5634e9];return _0x13dcbe;};'use strict';var client=require(_0x6208('0x0'));exports['getWhatsappQueues']=function(){return function(){return client['Request'](_0x6208('0x1'),{'options':{'raw':![],'attributes':['id',_0x6208('0x2'),_0x6208('0x3'),'strategy'],'include':[{'model':_0x6208('0x4'),'as':'Agents','attributes':['id',_0x6208('0x2'),_0x6208('0x5'),_0x6208('0x6')]}]},'log':_0x6208('0x7')});};};