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 _0x4e81=['name','online','whatsappPause','../client','getWhatsappQueues','Request','strategy','User','Agents'];(function(_0x4b1032,_0x36952e){var _0x5a1d55=function(_0x282e9b){while(--_0x282e9b){_0x4b1032['push'](_0x4b1032['shift']());}};_0x5a1d55(++_0x36952e);}(_0x4e81,0x1bc));var _0x14e8=function(_0x21b706,_0x1022f4){_0x21b706=_0x21b706-0x0;var _0x13b94a=_0x4e81[_0x21b706];return _0x13b94a;};'use strict';var client=require(_0x14e8('0x0'));exports[_0x14e8('0x1')]=function(){return function(){return client[_0x14e8('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x14e8('0x3')],'include':[{'model':_0x14e8('0x4'),'as':_0x14e8('0x5'),'attributes':['id',_0x14e8('0x6'),_0x14e8('0x7'),_0x14e8('0x8')]}]},'log':'getWhatsappQueues'});};};