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 _0xcfc6=['strategy','User','whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue','name','timeout'];(function(_0x55f2e4,_0x1bec0b){var _0x2a3445=function(_0x280140){while(--_0x280140){_0x55f2e4['push'](_0x55f2e4['shift']());}};_0x2a3445(++_0x1bec0b);}(_0xcfc6,0x66));var _0x6cfc=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xcfc6[_0x321bb2];return _0x9c12ed;};'use strict';var client=require(_0x6cfc('0x0'));exports[_0x6cfc('0x1')]=function(){return function(){return client[_0x6cfc('0x2')](_0x6cfc('0x3'),{'options':{'raw':![],'attributes':['id',_0x6cfc('0x4'),_0x6cfc('0x5'),_0x6cfc('0x6')],'include':[{'model':_0x6cfc('0x7'),'as':'Agents','attributes':['id',_0x6cfc('0x4'),'online',_0x6cfc('0x8')]}]},'log':_0x6cfc('0x1')});};};