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 _0x2b17=['whatsappPause','getWhatsappQueues','../client','Request','GetWhatsappQueue','name','strategy','User','Agents'];(function(_0x2365a4,_0x55d750){var _0x1d645d=function(_0x557a2f){while(--_0x557a2f){_0x2365a4['push'](_0x2365a4['shift']());}};_0x1d645d(++_0x55d750);}(_0x2b17,0x110));var _0x72b1=function(_0x500794,_0x3f324a){_0x500794=_0x500794-0x0;var _0x551abc=_0x2b17[_0x500794];return _0x551abc;};'use strict';var client=require(_0x72b1('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x72b1('0x1')](_0x72b1('0x2'),{'options':{'raw':![],'attributes':['id',_0x72b1('0x3'),'timeout',_0x72b1('0x4')],'include':[{'model':_0x72b1('0x5'),'as':_0x72b1('0x6'),'attributes':['id',_0x72b1('0x3'),'online',_0x72b1('0x7')]}]},'log':_0x72b1('0x8')});};};