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 _0x69d3=['whatsappPause','../client','getWhatsappQueues','Request','name','timeout','Agents'];(function(_0x22bdd3,_0x552e50){var _0x44d9d9=function(_0x2b4ab9){while(--_0x2b4ab9){_0x22bdd3['push'](_0x22bdd3['shift']());}};_0x44d9d9(++_0x552e50);}(_0x69d3,0xda));var _0x369d=function(_0x3c254c,_0x54730d){_0x3c254c=_0x3c254c-0x0;var _0xc92f45=_0x69d3[_0x3c254c];return _0xc92f45;};'use strict';var client=require(_0x369d('0x0'));exports[_0x369d('0x1')]=function(){return function(){return client[_0x369d('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x369d('0x3'),_0x369d('0x4'),'strategy'],'include':[{'model':'User','as':_0x369d('0x5'),'attributes':['id','name','online',_0x369d('0x6')]}]},'log':_0x369d('0x1')});};};