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 _0xac75=['smsCapacity','openchannelCapacity','../client','getAgents','Request','name','online','pauseType','voicePause','chatPause','faxPause','smsPause','openchannelPause','chatCapacity','mailCapacity','faxCapacity'];(function(_0xeb7b15,_0x3faeb1){var _0x2107ee=function(_0x1f5034){while(--_0x1f5034){_0xeb7b15['push'](_0xeb7b15['shift']());}};_0x2107ee(++_0x3faeb1);}(_0xac75,0x1b2));var _0x5ac7=function(_0x2ecb22,_0x160464){_0x2ecb22=_0x2ecb22-0x0;var _0x2614e5=_0xac75[_0x2ecb22];return _0x2614e5;};'use strict';var client=require(_0x5ac7('0x0'));exports[_0x5ac7('0x1')]=function(){return function(){return client[_0x5ac7('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0x5ac7('0x3'),_0x5ac7('0x4'),_0x5ac7('0x5'),'lastPauseAt',_0x5ac7('0x6'),_0x5ac7('0x7'),'mailPause',_0x5ac7('0x8'),_0x5ac7('0x9'),_0x5ac7('0xa'),_0x5ac7('0xb'),_0x5ac7('0xc'),_0x5ac7('0xd'),_0x5ac7('0xe'),_0x5ac7('0xf')]},'log':_0x5ac7('0x1')});};};