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 _0x6b20=['online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue','timeout','strategy','User','name'];(function(_0x38c160,_0x1318fa){var _0x780b56=function(_0x51c44e){while(--_0x51c44e){_0x38c160['push'](_0x38c160['shift']());}};_0x780b56(++_0x1318fa);}(_0x6b20,0xd1));var _0x06b2=function(_0x2326b9,_0x57945b){_0x2326b9=_0x2326b9-0x0;var _0x1fdb39=_0x6b20[_0x2326b9];return _0x1fdb39;};'use strict';var client=require(_0x06b2('0x0'));exports[_0x06b2('0x1')]=function(){return function(){return client['Request'](_0x06b2('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x06b2('0x3'),_0x06b2('0x4')],'include':[{'model':_0x06b2('0x5'),'as':'Agents','attributes':['id',_0x06b2('0x6'),_0x06b2('0x7'),_0x06b2('0x8')]}]},'log':_0x06b2('0x1')});};};