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 _0x6e63=['mailCapacity','smsCapacity','openchannelCapacity','../client','getAgents','Request','name','online','pauseType','lastPauseAt','voicePause','chatPause','faxPause','openchannelPause','chatCapacity'];(function(_0x59b246,_0x4ea23b){var _0x492baa=function(_0x830772){while(--_0x830772){_0x59b246['push'](_0x59b246['shift']());}};_0x492baa(++_0x4ea23b);}(_0x6e63,0x14d));var _0x36e6=function(_0x564105,_0x27c946){_0x564105=_0x564105-0x0;var _0x450977=_0x6e63[_0x564105];return _0x450977;};'use strict';var client=require(_0x36e6('0x0'));exports[_0x36e6('0x1')]=function(){return function(){return client[_0x36e6('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0x36e6('0x3'),_0x36e6('0x4'),_0x36e6('0x5'),_0x36e6('0x6'),_0x36e6('0x7'),_0x36e6('0x8'),'mailPause',_0x36e6('0x9'),'smsPause',_0x36e6('0xa'),_0x36e6('0xb'),_0x36e6('0xc'),'faxCapacity',_0x36e6('0xd'),_0x36e6('0xe')]},'log':_0x36e6('0x1')});};};