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 _0x2884=['strategy','User','online','whatsappPause','getWhatsappQueues','../client','Request','GetWhatsappQueue','name'];(function(_0x45d55e,_0x2fede3){var _0x29812a=function(_0x3c6830){while(--_0x3c6830){_0x45d55e['push'](_0x45d55e['shift']());}};_0x29812a(++_0x2fede3);}(_0x2884,0x1eb));var _0x4288=function(_0x437abe,_0x3e33a8){_0x437abe=_0x437abe-0x0;var _0x51189b=_0x2884[_0x437abe];return _0x51189b;};'use strict';var client=require(_0x4288('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x4288('0x1')](_0x4288('0x2'),{'options':{'raw':![],'attributes':['id',_0x4288('0x3'),'timeout',_0x4288('0x4')],'include':[{'model':_0x4288('0x5'),'as':'Agents','attributes':['id','name',_0x4288('0x6'),_0x4288('0x7')]}]},'log':_0x4288('0x8')});};};