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 _0x81de=['faxCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','Request','GetUser','name','online','pauseType','lastPauseAt','voicePause','mailPause','faxPause','chatCapacity','mailCapacity'];(function(_0x614ef4,_0x28a060){var _0x35e8e2=function(_0x55e81b){while(--_0x55e81b){_0x614ef4['push'](_0x614ef4['shift']());}};_0x35e8e2(++_0x28a060);}(_0x81de,0x1c4));var _0xe81d=function(_0x4b7ccb,_0x5ab4bd){_0x4b7ccb=_0x4b7ccb-0x0;var _0x41aa57=_0x81de[_0x4b7ccb];return _0x41aa57;};'use strict';var client=require('../client');exports[_0xe81d('0x0')]=function(){return function(){return client[_0xe81d('0x1')](_0xe81d('0x2'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0xe81d('0x3'),_0xe81d('0x4'),_0xe81d('0x5'),_0xe81d('0x6'),_0xe81d('0x7'),'chatPause',_0xe81d('0x8'),_0xe81d('0x9'),'smsPause','whatsappPause','openchannelPause',_0xe81d('0xa'),_0xe81d('0xb'),_0xe81d('0xc'),_0xe81d('0xd'),_0xe81d('0xe'),_0xe81d('0xf')]},'log':_0xe81d('0x0')});};};