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