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 _0x4483=['getWhatsappQueues','Request','name','timeout','strategy','User','Agents','online','whatsappPause','../client'];(function(_0x5d860f,_0x467498){var _0x236490=function(_0x5e045c){while(--_0x5e045c){_0x5d860f['push'](_0x5d860f['shift']());}};_0x236490(++_0x467498);}(_0x4483,0x1a3));var _0x3448=function(_0x6759c,_0x35538d){_0x6759c=_0x6759c-0x0;var _0xb14bd4=_0x4483[_0x6759c];return _0xb14bd4;};'use strict';var client=require(_0x3448('0x0'));exports[_0x3448('0x1')]=function(){return function(){return client[_0x3448('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x3448('0x3'),_0x3448('0x4'),_0x3448('0x5')],'include':[{'model':_0x3448('0x6'),'as':_0x3448('0x7'),'attributes':['id','name',_0x3448('0x8'),_0x3448('0x9')]}]},'log':_0x3448('0x1')});};};