Built motion from commit (unavailable).|2.5.18
[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 _0xbf8c=['online','pauseType','voicePause','chatPause','mailPause','faxPause','whatsappPause','openchannelPause','mailCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','Request','GetUser','agent','name'];(function(_0x33df66,_0x1e30b0){var _0x28ed50=function(_0x351d53){while(--_0x351d53){_0x33df66['push'](_0x33df66['shift']());}};_0x28ed50(++_0x1e30b0);}(_0xbf8c,0xd8));var _0xcbf8=function(_0x34bf97,_0xc60f9d){_0x34bf97=_0x34bf97-0x0;var _0x292719=_0xbf8c[_0x34bf97];return _0x292719;};'use strict';var client=require('../client');exports[_0xcbf8('0x0')]=function(){return function(){return client[_0xcbf8('0x1')](_0xcbf8('0x2'),{'options':{'raw':!![],'where':{'role':_0xcbf8('0x3')},'attributes':['id',_0xcbf8('0x4'),_0xcbf8('0x5'),_0xcbf8('0x6'),'lastPauseAt',_0xcbf8('0x7'),_0xcbf8('0x8'),_0xcbf8('0x9'),_0xcbf8('0xa'),'smsPause',_0xcbf8('0xb'),_0xcbf8('0xc'),'chatCapacity',_0xcbf8('0xd'),'faxCapacity',_0xcbf8('0xe'),_0xcbf8('0xf'),_0xcbf8('0x10')]},'log':'getAgents'});};};