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