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 _0x2b65=['timeout','strategy','User','online','whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue','name'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x2b65,0x131));var _0x52b6=function(_0x2c9e61,_0x2d13f5){_0x2c9e61=_0x2c9e61-0x0;var _0x4d55d6=_0x2b65[_0x2c9e61];return _0x4d55d6;};'use strict';var client=require(_0x52b6('0x0'));exports[_0x52b6('0x1')]=function(){return function(){return client[_0x52b6('0x2')](_0x52b6('0x3'),{'options':{'raw':![],'attributes':['id',_0x52b6('0x4'),_0x52b6('0x5'),_0x52b6('0x6')],'include':[{'model':_0x52b6('0x7'),'as':'Agents','attributes':['id',_0x52b6('0x4'),_0x52b6('0x8'),_0x52b6('0x9')]}]},'log':_0x52b6('0x1')});};};