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 _0x1c14=['agent','name','online','pauseType','lastPauseAt','mailPause','faxPause','smsPause','whatsappPause','chatCapacity','mailCapacity','whatsappCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0xe78c0a,_0x307897){var _0xc4f304=function(_0x1f4f12){while(--_0x1f4f12){_0xe78c0a['push'](_0xe78c0a['shift']());}};_0xc4f304(++_0x307897);}(_0x1c14,0x15d));var _0x41c1=function(_0x5855e7,_0x1ed709){_0x5855e7=_0x5855e7-0x0;var _0x3e30e4=_0x1c14[_0x5855e7];return _0x3e30e4;};'use strict';var client=require(_0x41c1('0x0'));exports[_0x41c1('0x1')]=function(){return function(){return client[_0x41c1('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x41c1('0x3')},'attributes':['id',_0x41c1('0x4'),_0x41c1('0x5'),_0x41c1('0x6'),_0x41c1('0x7'),'voicePause','chatPause',_0x41c1('0x8'),_0x41c1('0x9'),_0x41c1('0xa'),_0x41c1('0xb'),'openchannelPause',_0x41c1('0xc'),_0x41c1('0xd'),'faxCapacity','smsCapacity',_0x41c1('0xe'),_0x41c1('0xf')]},'log':'getAgents'});};};