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 _0xf45e=['timeout','strategy','User','Agents','online','whatsappPause','getWhatsappQueues','../client','Request','name'];(function(_0x2c16ab,_0xaa3f47){var _0x50d50c=function(_0x4bd914){while(--_0x4bd914){_0x2c16ab['push'](_0x2c16ab['shift']());}};_0x50d50c(++_0xaa3f47);}(_0xf45e,0x115));var _0xef45=function(_0x581ac7,_0x499d24){_0x581ac7=_0x581ac7-0x0;var _0x2ac464=_0xf45e[_0x581ac7];return _0x2ac464;};'use strict';var client=require(_0xef45('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0xef45('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xef45('0x2'),_0xef45('0x3'),_0xef45('0x4')],'include':[{'model':_0xef45('0x5'),'as':_0xef45('0x6'),'attributes':['id',_0xef45('0x2'),_0xef45('0x7'),_0xef45('0x8')]}]},'log':_0xef45('0x9')});};};