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 _0x0427=['User','Agents','name','online','whatsappPause','Request','GetWhatsappQueue','timeout','strategy'];(function(_0x2e65f3,_0x2b12a5){var _0x43a1d1=function(_0x5013e0){while(--_0x5013e0){_0x2e65f3['push'](_0x2e65f3['shift']());}};_0x43a1d1(++_0x2b12a5);}(_0x0427,0x137));var _0x7042=function(_0x16c38e,_0x28725f){_0x16c38e=_0x16c38e-0x0;var _0x4da421=_0x0427[_0x16c38e];return _0x4da421;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0x7042('0x0')](_0x7042('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x7042('0x2'),_0x7042('0x3')],'include':[{'model':_0x7042('0x4'),'as':_0x7042('0x5'),'attributes':['id',_0x7042('0x6'),_0x7042('0x7'),_0x7042('0x8')]}]},'log':'getWhatsappQueues'});};};