Built motion from commit (unavailable).|2.5.19
[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 _0xc7ab=['chatCapacity','mailCapacity','whatsappCapacity','openchannelCapacity','../client','getAgents','Request','agent','name','online','chatPause','mailPause','faxPause','smsPause','whatsappPause'];(function(_0x138f59,_0x1b53fb){var _0x3d114d=function(_0x1f9461){while(--_0x1f9461){_0x138f59['push'](_0x138f59['shift']());}};_0x3d114d(++_0x1b53fb);}(_0xc7ab,0x199));var _0xbc7a=function(_0x47bbf6,_0x117d84){_0x47bbf6=_0x47bbf6-0x0;var _0x256e6b=_0xc7ab[_0x47bbf6];return _0x256e6b;};'use strict';var client=require(_0xbc7a('0x0'));exports[_0xbc7a('0x1')]=function(){return function(){return client[_0xbc7a('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':_0xbc7a('0x3')},'attributes':['id',_0xbc7a('0x4'),_0xbc7a('0x5'),'pauseType','lastPauseAt','voicePause',_0xbc7a('0x6'),_0xbc7a('0x7'),_0xbc7a('0x8'),_0xbc7a('0x9'),_0xbc7a('0xa'),'openchannelPause',_0xbc7a('0xb'),_0xbc7a('0xc'),'faxCapacity','smsCapacity',_0xbc7a('0xd'),_0xbc7a('0xe')]},'log':_0xbc7a('0x1')});};};