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 _0xa809=['smsPause','whatsappPause','openchannelPause','mailCapacity','faxCapacity','smsCapacity','whatsappCapacity','../client','getAgents','Request','name','pauseType','lastPauseAt','chatPause','mailPause','faxPause'];(function(_0x1244ce,_0x292d43){var _0x2e2f7f=function(_0x116a44){while(--_0x116a44){_0x1244ce['push'](_0x1244ce['shift']());}};_0x2e2f7f(++_0x292d43);}(_0xa809,0x147));var _0x9a80=function(_0x1f283d,_0x1c8e62){_0x1f283d=_0x1f283d-0x0;var _0x2b2c4c=_0xa809[_0x1f283d];return _0x2b2c4c;};'use strict';var client=require(_0x9a80('0x0'));exports[_0x9a80('0x1')]=function(){return function(){return client[_0x9a80('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0x9a80('0x3'),'online',_0x9a80('0x4'),_0x9a80('0x5'),'voicePause',_0x9a80('0x6'),_0x9a80('0x7'),_0x9a80('0x8'),_0x9a80('0x9'),_0x9a80('0xa'),_0x9a80('0xb'),'chatCapacity',_0x9a80('0xc'),_0x9a80('0xd'),_0x9a80('0xe'),_0x9a80('0xf'),'openchannelCapacity']},'log':_0x9a80('0x1')});};};