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 _0xac75=['online','pauseType','lastPauseAt','chatPause','faxPause','smsPause','whatsappPause','openchannelPause','chatCapacity','faxCapacity','smsCapacity','openchannelCapacity','../client','getAgents','GetUser','agent'];(function(_0x5d63c1,_0x23a4fb){var _0x2c6808=function(_0x4145b2){while(--_0x4145b2){_0x5d63c1['push'](_0x5d63c1['shift']());}};_0x2c6808(++_0x23a4fb);}(_0xac75,0x11c));var _0x5ac7=function(_0x951ca,_0x27a7ec){_0x951ca=_0x951ca-0x0;var _0x6a80e5=_0xac75[_0x951ca];return _0x6a80e5;};'use strict';var client=require(_0x5ac7('0x0'));exports[_0x5ac7('0x1')]=function(){return function(){return client['Request'](_0x5ac7('0x2'),{'options':{'raw':!![],'where':{'role':_0x5ac7('0x3')},'attributes':['id','name',_0x5ac7('0x4'),_0x5ac7('0x5'),_0x5ac7('0x6'),'voicePause',_0x5ac7('0x7'),'mailPause',_0x5ac7('0x8'),_0x5ac7('0x9'),_0x5ac7('0xa'),_0x5ac7('0xb'),_0x5ac7('0xc'),'mailCapacity',_0x5ac7('0xd'),_0x5ac7('0xe'),'whatsappCapacity',_0x5ac7('0xf')]},'log':'getAgents'});};};