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 _0xaf59=['faxPause','smsPause','whatsappPause','chatCapacity','faxCapacity','smsCapacity','../client','getAgents','GetUser','online','pauseType','lastPauseAt','voicePause','chatPause'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xaf59,0x68));var _0x9af5=function(_0x47e93d,_0x26bbdd){_0x47e93d=_0x47e93d-0x0;var _0xe86c46=_0xaf59[_0x47e93d];return _0xe86c46;};'use strict';var client=require(_0x9af5('0x0'));exports[_0x9af5('0x1')]=function(){return function(){return client['Request'](_0x9af5('0x2'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id','name',_0x9af5('0x3'),_0x9af5('0x4'),_0x9af5('0x5'),_0x9af5('0x6'),_0x9af5('0x7'),'mailPause',_0x9af5('0x8'),_0x9af5('0x9'),_0x9af5('0xa'),'openchannelPause',_0x9af5('0xb'),'mailCapacity',_0x9af5('0xc'),_0x9af5('0xd'),'whatsappCapacity','openchannelCapacity']},'log':_0x9af5('0x1')});};};