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 _0xae89=['timeout','strategy','User','Agents','online','whatsappPause','GetWhatsappQueue','name'];(function(_0x221e5e,_0x3b5ff5){var _0x1f45c3=function(_0x138ad4){while(--_0x138ad4){_0x221e5e['push'](_0x221e5e['shift']());}};_0x1f45c3(++_0x3b5ff5);}(_0xae89,0x66));var _0x9ae8=function(_0x749c48,_0x336468){_0x749c48=_0x749c48-0x0;var _0x2f419c=_0xae89[_0x749c48];return _0x2f419c;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client['Request'](_0x9ae8('0x0'),{'options':{'raw':![],'attributes':['id',_0x9ae8('0x1'),_0x9ae8('0x2'),_0x9ae8('0x3')],'include':[{'model':_0x9ae8('0x4'),'as':_0x9ae8('0x5'),'attributes':['id',_0x9ae8('0x1'),_0x9ae8('0x6'),_0x9ae8('0x7')]}]},'log':'getWhatsappQueues'});};};