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 _0x2425=['../client','getWhatsappQueues','Request','GetWhatsappQueue','strategy','Agents','name','online','whatsappPause'];(function(_0x3906ef,_0x3e075b){var _0x4418c4=function(_0x939f72){while(--_0x939f72){_0x3906ef['push'](_0x3906ef['shift']());}};_0x4418c4(++_0x3e075b);}(_0x2425,0x1d4));var _0x5242=function(_0x31b549,_0x4b7d39){_0x31b549=_0x31b549-0x0;var _0x50b31f=_0x2425[_0x31b549];return _0x50b31f;};'use strict';var client=require(_0x5242('0x0'));exports[_0x5242('0x1')]=function(){return function(){return client[_0x5242('0x2')](_0x5242('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x5242('0x4')],'include':[{'model':'User','as':_0x5242('0x5'),'attributes':['id',_0x5242('0x6'),_0x5242('0x7'),_0x5242('0x8')]}]},'log':_0x5242('0x1')});};};