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 _0x6cd4=['chatPause','faxPause','smsPause','openchannelPause','chatCapacity','mailCapacity','smsCapacity','whatsappCapacity','../client','getAgents','Request','GetUser','agent','name','online','pauseType','lastPauseAt','voicePause'];(function(_0x421ff6,_0x40f195){var _0x177051=function(_0x254bdf){while(--_0x254bdf){_0x421ff6['push'](_0x421ff6['shift']());}};_0x177051(++_0x40f195);}(_0x6cd4,0x15e));var _0x46cd=function(_0x5b2e3d,_0x2d7f7b){_0x5b2e3d=_0x5b2e3d-0x0;var _0x35a13c=_0x6cd4[_0x5b2e3d];return _0x35a13c;};'use strict';var client=require(_0x46cd('0x0'));exports[_0x46cd('0x1')]=function(){return function(){return client[_0x46cd('0x2')](_0x46cd('0x3'),{'options':{'raw':!![],'where':{'role':_0x46cd('0x4')},'attributes':['id',_0x46cd('0x5'),_0x46cd('0x6'),_0x46cd('0x7'),_0x46cd('0x8'),_0x46cd('0x9'),_0x46cd('0xa'),'mailPause',_0x46cd('0xb'),_0x46cd('0xc'),'whatsappPause',_0x46cd('0xd'),_0x46cd('0xe'),_0x46cd('0xf'),'faxCapacity',_0x46cd('0x10'),_0x46cd('0x11'),'openchannelCapacity']},'log':_0x46cd('0x1')});};};