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 _0x8a44=['getWhatsappQueues','Request','name','timeout','strategy','User','Agents','online','../client'];(function(_0x324012,_0x23f45f){var _0x435cf2=function(_0x378a82){while(--_0x378a82){_0x324012['push'](_0x324012['shift']());}};_0x435cf2(++_0x23f45f);}(_0x8a44,0x14c));var _0x48a4=function(_0x232c9f,_0x15da7c){_0x232c9f=_0x232c9f-0x0;var _0x3c0d7a=_0x8a44[_0x232c9f];return _0x3c0d7a;};'use strict';var client=require(_0x48a4('0x0'));exports[_0x48a4('0x1')]=function(){return function(){return client[_0x48a4('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x48a4('0x3'),_0x48a4('0x4'),_0x48a4('0x5')],'include':[{'model':_0x48a4('0x6'),'as':_0x48a4('0x7'),'attributes':['id',_0x48a4('0x3'),_0x48a4('0x8'),'whatsappPause']}]},'log':_0x48a4('0x1')});};};