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 _0xb9e6=['chatCapacity','mailCapacity','openchannelCapacity','getAgents','../client','GetUser','agent','name','online','pauseType','lastPauseAt','chatPause','mailPause','faxPause','smsPause','openchannelPause'];(function(_0x113575,_0x3b00de){var _0x3105ab=function(_0x634d3a){while(--_0x634d3a){_0x113575['push'](_0x113575['shift']());}};_0x3105ab(++_0x3b00de);}(_0xb9e6,0x1d4));var _0x6b9e=function(_0x20d42a,_0x2890df){_0x20d42a=_0x20d42a-0x0;var _0x42ea78=_0xb9e6[_0x20d42a];return _0x42ea78;};'use strict';var client=require(_0x6b9e('0x0'));exports['getAgents']=function(){return function(){return client['Request'](_0x6b9e('0x1'),{'options':{'raw':!![],'where':{'role':_0x6b9e('0x2')},'attributes':['id',_0x6b9e('0x3'),_0x6b9e('0x4'),_0x6b9e('0x5'),_0x6b9e('0x6'),'voicePause',_0x6b9e('0x7'),_0x6b9e('0x8'),_0x6b9e('0x9'),_0x6b9e('0xa'),_0x6b9e('0xb'),_0x6b9e('0xc'),_0x6b9e('0xd'),'faxCapacity','smsCapacity',_0x6b9e('0xe')]},'log':_0x6b9e('0xf')});};};