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 _0xe293=['Request','timeout','strategy','Agents','name','online','whatsappPause','getWhatsappQueues'];(function(_0x46f3f8,_0x12c74b){var _0xbc57cd=function(_0x34df37){while(--_0x34df37){_0x46f3f8['push'](_0x46f3f8['shift']());}};_0xbc57cd(++_0x12c74b);}(_0xe293,0x1e0));var _0x3e29=function(_0x57fa7e,_0xd0b5ce){_0x57fa7e=_0x57fa7e-0x0;var _0x320671=_0xe293[_0x57fa7e];return _0x320671;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0x3e29('0x0')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name',_0x3e29('0x1'),_0x3e29('0x2')],'include':[{'model':'User','as':_0x3e29('0x3'),'attributes':['id',_0x3e29('0x4'),_0x3e29('0x5'),_0x3e29('0x6')]}]},'log':_0x3e29('0x7')});};};