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 _0xcb08=['pauseType','lastPauseAt','chatPause','mailPause','faxPause','smsPause','whatsappPause','openchannelPause','chatCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','Request','agent','name'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0xcb08,0xcc));var _0x8cb0=function(_0x42c1d1,_0x3aa33c){_0x42c1d1=_0x42c1d1-0x0;var _0x4bc429=_0xcb08[_0x42c1d1];return _0x4bc429;};'use strict';var client=require('../client');exports[_0x8cb0('0x0')]=function(){return function(){return client[_0x8cb0('0x1')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x8cb0('0x2')},'attributes':['id',_0x8cb0('0x3'),'online',_0x8cb0('0x4'),_0x8cb0('0x5'),'voicePause',_0x8cb0('0x6'),_0x8cb0('0x7'),_0x8cb0('0x8'),_0x8cb0('0x9'),_0x8cb0('0xa'),_0x8cb0('0xb'),_0x8cb0('0xc'),'mailCapacity','faxCapacity',_0x8cb0('0xd'),_0x8cb0('0xe'),_0x8cb0('0xf')]},'log':_0x8cb0('0x0')});};};