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 _0xd7a0=['User','Agents','name','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue','timeout','strategy'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0xd7a0,0x163));var _0x0d7a=function(_0xb6b0bf,_0x4a5ccd){_0xb6b0bf=_0xb6b0bf-0x0;var _0x38c498=_0xd7a0[_0xb6b0bf];return _0x38c498;};'use strict';var client=require(_0x0d7a('0x0'));exports[_0x0d7a('0x1')]=function(){return function(){return client['Request'](_0x0d7a('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x0d7a('0x3'),_0x0d7a('0x4')],'include':[{'model':_0x0d7a('0x5'),'as':_0x0d7a('0x6'),'attributes':['id',_0x0d7a('0x7'),'online',_0x0d7a('0x8')]}]},'log':_0x0d7a('0x1')});};};