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 _0x42f4=['name','timeout','strategy','online','whatsappPause','../client','Request','GetWhatsappQueue'];(function(_0x4eee10,_0x256a93){var _0x1bb3cb=function(_0x267d14){while(--_0x267d14){_0x4eee10['push'](_0x4eee10['shift']());}};_0x1bb3cb(++_0x256a93);}(_0x42f4,0x19d));var _0x442f=function(_0xffa198,_0x5a8940){_0xffa198=_0xffa198-0x0;var _0x1e4b50=_0x42f4[_0xffa198];return _0x1e4b50;};'use strict';var client=require(_0x442f('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x442f('0x1')](_0x442f('0x2'),{'options':{'raw':![],'attributes':['id',_0x442f('0x3'),_0x442f('0x4'),_0x442f('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id','name',_0x442f('0x6'),_0x442f('0x7')]}]},'log':'getWhatsappQueues'});};};