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 _0xfc55=['strategy','User','whatsappPause','../client','getWhatsappQueues','Request','name','timeout'];(function(_0x2f44ca,_0x46a085){var _0x342e09=function(_0x29431f){while(--_0x29431f){_0x2f44ca['push'](_0x2f44ca['shift']());}};_0x342e09(++_0x46a085);}(_0xfc55,0x123));var _0x5fc5=function(_0xeb2fa9,_0x5d1b0a){_0xeb2fa9=_0xeb2fa9-0x0;var _0x23ec26=_0xfc55[_0xeb2fa9];return _0x23ec26;};'use strict';var client=require(_0x5fc5('0x0'));exports[_0x5fc5('0x1')]=function(){return function(){return client[_0x5fc5('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x5fc5('0x3'),_0x5fc5('0x4'),_0x5fc5('0x5')],'include':[{'model':_0x5fc5('0x6'),'as':'Agents','attributes':['id',_0x5fc5('0x3'),'online',_0x5fc5('0x7')]}]},'log':'getWhatsappQueues'});};};