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 _0xbee9=['getAgents','GetUser','online','pauseType','voicePause','chatPause','mailPause','openchannelPause','chatCapacity','smsCapacity','openchannelCapacity','../client'];(function(_0x265524,_0x3a8c41){var _0x20d0e5=function(_0x43e66b){while(--_0x43e66b){_0x265524['push'](_0x265524['shift']());}};_0x20d0e5(++_0x3a8c41);}(_0xbee9,0x197));var _0x9bee=function(_0x5e4cf7,_0xf59479){_0x5e4cf7=_0x5e4cf7-0x0;var _0x3b5d66=_0xbee9[_0x5e4cf7];return _0x3b5d66;};'use strict';var client=require(_0x9bee('0x0'));exports[_0x9bee('0x1')]=function(){return function(){return client['Request'](_0x9bee('0x2'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id','name',_0x9bee('0x3'),_0x9bee('0x4'),'lastPauseAt',_0x9bee('0x5'),_0x9bee('0x6'),_0x9bee('0x7'),'faxPause','smsPause',_0x9bee('0x8'),_0x9bee('0x9'),'mailCapacity','faxCapacity',_0x9bee('0xa'),_0x9bee('0xb')]},'log':'getAgents'});};};