Built motion from commit (unavailable).|2.4.21
[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 _0x9015=['openchannelPause','chatCapacity','mailCapacity','faxCapacity','smsCapacity','../client','getAgents','Request','GetUser','online','pauseType','voicePause','chatPause','mailPause','faxPause','smsPause'];(function(_0x13b02f,_0x462a53){var _0x12e9a6=function(_0x187d57){while(--_0x187d57){_0x13b02f['push'](_0x13b02f['shift']());}};_0x12e9a6(++_0x462a53);}(_0x9015,0x1d5));var _0x5901=function(_0x36eaaa,_0x326732){_0x36eaaa=_0x36eaaa-0x0;var _0x461349=_0x9015[_0x36eaaa];return _0x461349;};'use strict';var client=require(_0x5901('0x0'));exports[_0x5901('0x1')]=function(){return function(){return client[_0x5901('0x2')](_0x5901('0x3'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id','name',_0x5901('0x4'),_0x5901('0x5'),'lastPauseAt',_0x5901('0x6'),_0x5901('0x7'),_0x5901('0x8'),_0x5901('0x9'),_0x5901('0xa'),_0x5901('0xb'),_0x5901('0xc'),_0x5901('0xd'),_0x5901('0xe'),_0x5901('0xf'),'openchannelCapacity']},'log':_0x5901('0x1')});};};