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 _0x5a9f=['online','pauseType','lastPauseAt','voicePause','mailPause','faxPause','smsPause','whatsappPause','openchannelPause','mailCapacity','openchannelCapacity','getAgents','../client','Request','GetUser','agent','name'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5a9f,0xe9));var _0xf5a9=function(_0x5d97f5,_0x4f0592){_0x5d97f5=_0x5d97f5-0x0;var _0x504501=_0x5a9f[_0x5d97f5];return _0x504501;};'use strict';var client=require(_0xf5a9('0x0'));exports['getAgents']=function(){return function(){return client[_0xf5a9('0x1')](_0xf5a9('0x2'),{'options':{'raw':!![],'where':{'role':_0xf5a9('0x3')},'attributes':['id',_0xf5a9('0x4'),_0xf5a9('0x5'),_0xf5a9('0x6'),_0xf5a9('0x7'),_0xf5a9('0x8'),'chatPause',_0xf5a9('0x9'),_0xf5a9('0xa'),_0xf5a9('0xb'),_0xf5a9('0xc'),_0xf5a9('0xd'),'chatCapacity',_0xf5a9('0xe'),'faxCapacity','smsCapacity','whatsappCapacity',_0xf5a9('0xf')]},'log':_0xf5a9('0x10')});};};