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 _0x4c9e=['timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','name'];(function(_0x10319c,_0x511e1d){var _0x4a808b=function(_0x510463){while(--_0x510463){_0x10319c['push'](_0x10319c['shift']());}};_0x4a808b(++_0x511e1d);}(_0x4c9e,0xba));var _0xe4c9=function(_0x92c450,_0x41f1e3){_0x92c450=_0x92c450-0x0;var _0x2a9599=_0x4c9e[_0x92c450];return _0x2a9599;};'use strict';var client=require(_0xe4c9('0x0'));exports[_0xe4c9('0x1')]=function(){return function(){return client['Request']('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xe4c9('0x2'),_0xe4c9('0x3'),_0xe4c9('0x4')],'include':[{'model':_0xe4c9('0x5'),'as':_0xe4c9('0x6'),'attributes':['id','name',_0xe4c9('0x7'),_0xe4c9('0x8')]}]},'log':_0xe4c9('0x1')});};};