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 _0x3c66=['Agents','online','whatsappPause','getWhatsappQueues','GetWhatsappQueue','name','timeout','strategy','User'];(function(_0x2363fe,_0x5ac5ad){var _0x26af2b=function(_0x346e37){while(--_0x346e37){_0x2363fe['push'](_0x2363fe['shift']());}};_0x26af2b(++_0x5ac5ad);}(_0x3c66,0x8b));var _0x63c6=function(_0x17b80e,_0x36fd7b){_0x17b80e=_0x17b80e-0x0;var _0x535adc=_0x3c66[_0x17b80e];return _0x535adc;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client['Request'](_0x63c6('0x0'),{'options':{'raw':![],'attributes':['id',_0x63c6('0x1'),_0x63c6('0x2'),_0x63c6('0x3')],'include':[{'model':_0x63c6('0x4'),'as':_0x63c6('0x5'),'attributes':['id',_0x63c6('0x1'),_0x63c6('0x6'),_0x63c6('0x7')]}]},'log':_0x63c6('0x8')});};};