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 _0x4fad=['Agents','online','whatsappPause','../client','getWhatsappQueues','Request','name','timeout','strategy','User'];(function(_0x3da6ae,_0x13fdf4){var _0x1aa8df=function(_0xaac51){while(--_0xaac51){_0x3da6ae['push'](_0x3da6ae['shift']());}};_0x1aa8df(++_0x13fdf4);}(_0x4fad,0xcb));var _0xd4fa=function(_0x445c0a,_0x2a25f2){_0x445c0a=_0x445c0a-0x0;var _0xe253fb=_0x4fad[_0x445c0a];return _0xe253fb;};'use strict';var client=require(_0xd4fa('0x0'));exports[_0xd4fa('0x1')]=function(){return function(){return client[_0xd4fa('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xd4fa('0x3'),_0xd4fa('0x4'),_0xd4fa('0x5')],'include':[{'model':_0xd4fa('0x6'),'as':_0xd4fa('0x7'),'attributes':['id',_0xd4fa('0x3'),_0xd4fa('0x8'),_0xd4fa('0x9')]}]},'log':'getWhatsappQueues'});};};