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 _0x55f1=['Agents','whatsappPause','../client','Request','GetWhatsappQueue','name','timeout','strategy','User'];(function(_0x3bc26b,_0x30ba6b){var _0x4b3609=function(_0x1bcd26){while(--_0x1bcd26){_0x3bc26b['push'](_0x3bc26b['shift']());}};_0x4b3609(++_0x30ba6b);}(_0x55f1,0x9b));var _0x155f=function(_0x2bc782,_0x3fa68b){_0x2bc782=_0x2bc782-0x0;var _0x3b4402=_0x55f1[_0x2bc782];return _0x3b4402;};'use strict';var client=require(_0x155f('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x155f('0x1')](_0x155f('0x2'),{'options':{'raw':![],'attributes':['id',_0x155f('0x3'),_0x155f('0x4'),_0x155f('0x5')],'include':[{'model':_0x155f('0x6'),'as':_0x155f('0x7'),'attributes':['id','name','online',_0x155f('0x8')]}]},'log':'getWhatsappQueues'});};};