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 _0x924d=['timeout','strategy','Agents','online','whatsappPause','getWhatsappQueues','../client','Request','name'];(function(_0x5a148f,_0x114dfa){var _0x5af2d4=function(_0x6a9ba4){while(--_0x6a9ba4){_0x5a148f['push'](_0x5a148f['shift']());}};_0x5af2d4(++_0x114dfa);}(_0x924d,0x11d));var _0xd924=function(_0x5d5373,_0x10cd97){_0x5d5373=_0x5d5373-0x0;var _0x360a4a=_0x924d[_0x5d5373];return _0x360a4a;};'use strict';var client=require(_0xd924('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0xd924('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xd924('0x2'),_0xd924('0x3'),_0xd924('0x4')],'include':[{'model':'User','as':_0xd924('0x5'),'attributes':['id','name',_0xd924('0x6'),_0xd924('0x7')]}]},'log':_0xd924('0x8')});};};