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 _0x3207=['User','online','../client','getWhatsappQueues','Request','name','timeout'];(function(_0x174ef5,_0x256e8e){var _0x1cc379=function(_0x3eafcf){while(--_0x3eafcf){_0x174ef5['push'](_0x174ef5['shift']());}};_0x1cc379(++_0x256e8e);}(_0x3207,0x95));var _0x7320=function(_0x525af9,_0x4edd23){_0x525af9=_0x525af9-0x0;var _0x129fbf=_0x3207[_0x525af9];return _0x129fbf;};'use strict';var client=require(_0x7320('0x0'));exports[_0x7320('0x1')]=function(){return function(){return client[_0x7320('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x7320('0x3'),_0x7320('0x4'),'strategy'],'include':[{'model':_0x7320('0x5'),'as':'Agents','attributes':['id',_0x7320('0x3'),_0x7320('0x6'),'whatsappPause']}]},'log':_0x7320('0x1')});};};