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 _0x3af8=['Agents','../client','getWhatsappQueues','Request','GetWhatsappQueue','name','timeout','User'];(function(_0x1ccf3d,_0x461209){var _0x5345c1=function(_0x55c638){while(--_0x55c638){_0x1ccf3d['push'](_0x1ccf3d['shift']());}};_0x5345c1(++_0x461209);}(_0x3af8,0x139));var _0x83af=function(_0x4419e9,_0x2c64f2){_0x4419e9=_0x4419e9-0x0;var _0x297374=_0x3af8[_0x4419e9];return _0x297374;};'use strict';var client=require(_0x83af('0x0'));exports[_0x83af('0x1')]=function(){return function(){return client[_0x83af('0x2')](_0x83af('0x3'),{'options':{'raw':![],'attributes':['id',_0x83af('0x4'),_0x83af('0x5'),'strategy'],'include':[{'model':_0x83af('0x6'),'as':_0x83af('0x7'),'attributes':['id',_0x83af('0x4'),'online','whatsappPause']}]},'log':_0x83af('0x1')});};};