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 _0x15a8=['name','online','pauseType','lastPauseAt','voicePause','mailPause','faxPause','openchannelPause','chatCapacity','mailCapacity','smsCapacity','openchannelCapacity','../client','getAgents','Request','agent'];(function(_0x169cf7,_0xba0095){var _0x4f1709=function(_0x4c5b63){while(--_0x4c5b63){_0x169cf7['push'](_0x169cf7['shift']());}};_0x4f1709(++_0xba0095);}(_0x15a8,0xbc));var _0x815a=function(_0x90cfe8,_0x2dc132){_0x90cfe8=_0x90cfe8-0x0;var _0x9a0c73=_0x15a8[_0x90cfe8];return _0x9a0c73;};'use strict';var client=require(_0x815a('0x0'));exports[_0x815a('0x1')]=function(){return function(){return client[_0x815a('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x815a('0x3')},'attributes':['id',_0x815a('0x4'),_0x815a('0x5'),_0x815a('0x6'),_0x815a('0x7'),_0x815a('0x8'),'chatPause',_0x815a('0x9'),_0x815a('0xa'),'smsPause',_0x815a('0xb'),_0x815a('0xc'),_0x815a('0xd'),'faxCapacity',_0x815a('0xe'),_0x815a('0xf')]},'log':_0x815a('0x1')});};};