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 _0x12f2=['timeout','strategy','Agents','online','whatsappPause','../client','getWhatsappQueues','name'];(function(_0x33aded,_0x173eb7){var _0x3e1558=function(_0x4d6e8c){while(--_0x4d6e8c){_0x33aded['push'](_0x33aded['shift']());}};_0x3e1558(++_0x173eb7);}(_0x12f2,0x135));var _0x212f=function(_0x3ee664,_0x4d3726){_0x3ee664=_0x3ee664-0x0;var _0x4d5454=_0x12f2[_0x3ee664];return _0x4d5454;};'use strict';var client=require(_0x212f('0x0'));exports[_0x212f('0x1')]=function(){return function(){return client['Request']('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x212f('0x2'),_0x212f('0x3'),_0x212f('0x4')],'include':[{'model':'User','as':_0x212f('0x5'),'attributes':['id',_0x212f('0x2'),_0x212f('0x6'),_0x212f('0x7')]}]},'log':'getWhatsappQueues'});};};