Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / routing / rpc / user.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xd71a=['Request','GetUser','agent','name','online','chatPause','faxPause','smsPause','whatsappPause','chatCapacity','faxCapacity','whatsappCapacity','openchannelCapacity','../client','getAgents'];(function(_0x173441,_0x26b0d9){var _0x2423a8=function(_0x4d96c2){while(--_0x4d96c2){_0x173441['push'](_0x173441['shift']());}};_0x2423a8(++_0x26b0d9);}(_0xd71a,0x175));var _0xad71=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xd71a[_0x19950b];return _0x3c6b41;};'use strict';var client=require(_0xad71('0x0'));exports[_0xad71('0x1')]=function(){return function(){return client[_0xad71('0x2')](_0xad71('0x3'),{'options':{'raw':!![],'where':{'role':_0xad71('0x4')},'attributes':['id',_0xad71('0x5'),_0xad71('0x6'),'pauseType','lastPauseAt','voicePause',_0xad71('0x7'),'mailPause',_0xad71('0x8'),_0xad71('0x9'),_0xad71('0xa'),'openchannelPause',_0xad71('0xb'),'mailCapacity',_0xad71('0xc'),'smsCapacity',_0xad71('0xd'),_0xad71('0xe')]},'log':_0xad71('0x1')});};};