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 _0xde33=['name','online','pauseType','lastPauseAt','faxPause','smsPause','openchannelPause','mailCapacity','faxCapacity','smsCapacity','getAgents','Request','GetUser','agent'];(function(_0x2bb3f6,_0x25fde0){var _0x62b339=function(_0x53e014){while(--_0x53e014){_0x2bb3f6['push'](_0x2bb3f6['shift']());}};_0x62b339(++_0x25fde0);}(_0xde33,0xce));var _0x3de3=function(_0x4b3f43,_0x3072af){_0x4b3f43=_0x4b3f43-0x0;var _0x4c1dc3=_0xde33[_0x4b3f43];return _0x4c1dc3;};'use strict';var client=require('../client');exports[_0x3de3('0x0')]=function(){return function(){return client[_0x3de3('0x1')](_0x3de3('0x2'),{'options':{'raw':!![],'where':{'role':_0x3de3('0x3')},'attributes':['id',_0x3de3('0x4'),_0x3de3('0x5'),_0x3de3('0x6'),_0x3de3('0x7'),'voicePause','chatPause','mailPause',_0x3de3('0x8'),_0x3de3('0x9'),_0x3de3('0xa'),'chatCapacity',_0x3de3('0xb'),_0x3de3('0xc'),_0x3de3('0xd'),'openchannelCapacity']},'log':'getAgents'});};};