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 _0xe605=['timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue','name'];(function(_0x4a44e8,_0x5990d3){var _0x1f48e5=function(_0x4233aa){while(--_0x4233aa){_0x4a44e8['push'](_0x4a44e8['shift']());}};_0x1f48e5(++_0x5990d3);}(_0xe605,0x92));var _0x5e60=function(_0x3d0857,_0x556b67){_0x3d0857=_0x3d0857-0x0;var _0x28eadd=_0xe605[_0x3d0857];return _0x28eadd;};'use strict';var client=require(_0x5e60('0x0'));exports[_0x5e60('0x1')]=function(){return function(){return client['Request'](_0x5e60('0x2'),{'options':{'raw':![],'attributes':['id',_0x5e60('0x3'),_0x5e60('0x4'),_0x5e60('0x5')],'include':[{'model':_0x5e60('0x6'),'as':_0x5e60('0x7'),'attributes':['id',_0x5e60('0x3'),_0x5e60('0x8'),_0x5e60('0x9')]}]},'log':_0x5e60('0x1')});};};