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 _0x9d69=['Request','online','pauseType','voicePause','mailPause','faxPause','smsPause','mailCapacity','faxCapacity','smsCapacity','openchannelCapacity','../client','getAgents'];(function(_0x4a30cf,_0x312dd4){var _0x4d975b=function(_0x170368){while(--_0x170368){_0x4a30cf['push'](_0x4a30cf['shift']());}};_0x4d975b(++_0x312dd4);}(_0x9d69,0x143));var _0x99d6=function(_0x4f3fa7,_0x193d71){_0x4f3fa7=_0x4f3fa7-0x0;var _0x256057=_0x9d69[_0x4f3fa7];return _0x256057;};'use strict';var client=require(_0x99d6('0x0'));exports[_0x99d6('0x1')]=function(){return function(){return client[_0x99d6('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id','name',_0x99d6('0x3'),_0x99d6('0x4'),'lastPauseAt',_0x99d6('0x5'),'chatPause',_0x99d6('0x6'),_0x99d6('0x7'),_0x99d6('0x8'),'whatsappPause','openchannelPause','chatCapacity',_0x99d6('0x9'),_0x99d6('0xa'),_0x99d6('0xb'),'whatsappCapacity',_0x99d6('0xc')]},'log':_0x99d6('0x1')});};};