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 _0xdfa1=['Request','agent','name','online','pauseType','voicePause','chatPause','mailPause','faxPause','smsPause','whatsappPause','openchannelPause','chatCapacity','faxCapacity','whatsappCapacity','openchannelCapacity','getAgents'];(function(_0x39b69e,_0x2a259d){var _0x39a12f=function(_0x2daf53){while(--_0x2daf53){_0x39b69e['push'](_0x39b69e['shift']());}};_0x39a12f(++_0x2a259d);}(_0xdfa1,0x1a8));var _0x1dfa=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0xdfa1[_0x209941];return _0x1e8729;};'use strict';var client=require('../client');exports[_0x1dfa('0x0')]=function(){return function(){return client[_0x1dfa('0x1')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x1dfa('0x2')},'attributes':['id',_0x1dfa('0x3'),_0x1dfa('0x4'),_0x1dfa('0x5'),'lastPauseAt',_0x1dfa('0x6'),_0x1dfa('0x7'),_0x1dfa('0x8'),_0x1dfa('0x9'),_0x1dfa('0xa'),_0x1dfa('0xb'),_0x1dfa('0xc'),_0x1dfa('0xd'),'mailCapacity',_0x1dfa('0xe'),'smsCapacity',_0x1dfa('0xf'),_0x1dfa('0x10')]},'log':_0x1dfa('0x0')});};};