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 _0x69e1=['smsPause','openchannelPause','mailCapacity','faxCapacity','openchannelCapacity','getAgents','../client','agent','name','online','pauseType','lastPauseAt','voicePause','chatPause','mailPause','faxPause'];(function(_0xbb98d2,_0x152fbf){var _0x279874=function(_0x207618){while(--_0x207618){_0xbb98d2['push'](_0xbb98d2['shift']());}};_0x279874(++_0x152fbf);}(_0x69e1,0xf6));var _0x169e=function(_0x3c3f8a,_0x1cc5ad){_0x3c3f8a=_0x3c3f8a-0x0;var _0x50fd89=_0x69e1[_0x3c3f8a];return _0x50fd89;};'use strict';var client=require(_0x169e('0x0'));exports['getAgents']=function(){return function(){return client['Request']('GetUser',{'options':{'raw':!![],'where':{'role':_0x169e('0x1')},'attributes':['id',_0x169e('0x2'),_0x169e('0x3'),_0x169e('0x4'),_0x169e('0x5'),_0x169e('0x6'),_0x169e('0x7'),_0x169e('0x8'),_0x169e('0x9'),_0x169e('0xa'),_0x169e('0xb'),'chatCapacity',_0x169e('0xc'),_0x169e('0xd'),'smsCapacity',_0x169e('0xe')]},'log':_0x169e('0xf')});};};