Built motion from commit (unavailable).|2.5.15
[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 _0xc592=['name','online','pauseType','lastPauseAt','voicePause','chatPause','smsPause','whatsappPause','openchannelPause','chatCapacity','faxCapacity','smsCapacity','openchannelCapacity','../client','getAgents','Request','GetUser'];(function(_0x297817,_0x18c961){var _0x6a16f4=function(_0x246b5a){while(--_0x246b5a){_0x297817['push'](_0x297817['shift']());}};_0x6a16f4(++_0x18c961);}(_0xc592,0xb7));var _0x2c59=function(_0x352f7d,_0x4201fa){_0x352f7d=_0x352f7d-0x0;var _0x10552c=_0xc592[_0x352f7d];return _0x10552c;};'use strict';var client=require(_0x2c59('0x0'));exports[_0x2c59('0x1')]=function(){return function(){return client[_0x2c59('0x2')](_0x2c59('0x3'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0x2c59('0x4'),_0x2c59('0x5'),_0x2c59('0x6'),_0x2c59('0x7'),_0x2c59('0x8'),_0x2c59('0x9'),'mailPause','faxPause',_0x2c59('0xa'),_0x2c59('0xb'),_0x2c59('0xc'),_0x2c59('0xd'),'mailCapacity',_0x2c59('0xe'),_0x2c59('0xf'),'whatsappCapacity',_0x2c59('0x10')]},'log':_0x2c59('0x1')});};};