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 _0x91a3=['../client','getWhatsappQueues','Request','name','timeout','strategy','User','Agents','online','whatsappPause'];(function(_0x3d738b,_0x2225de){var _0x3e4f57=function(_0xa1b1c8){while(--_0xa1b1c8){_0x3d738b['push'](_0x3d738b['shift']());}};_0x3e4f57(++_0x2225de);}(_0x91a3,0xe6));var _0x391a=function(_0x1588b4,_0x53904c){_0x1588b4=_0x1588b4-0x0;var _0x332f6b=_0x91a3[_0x1588b4];return _0x332f6b;};'use strict';var client=require(_0x391a('0x0'));exports[_0x391a('0x1')]=function(){return function(){return client[_0x391a('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x391a('0x3'),_0x391a('0x4'),_0x391a('0x5')],'include':[{'model':_0x391a('0x6'),'as':_0x391a('0x7'),'attributes':['id',_0x391a('0x3'),_0x391a('0x8'),_0x391a('0x9')]}]},'log':_0x391a('0x1')});};};