Built motion from commit (unavailable).|2.5.4
[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 _0x6cb7=['whatsappPause','openchannelPause','chatCapacity','mailCapacity','faxCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','GetUser','agent','online','pauseType','lastPauseAt','voicePause','faxPause','smsPause'];(function(_0x2b5a68,_0xa31bf4){var _0x4de490=function(_0x3769c5){while(--_0x3769c5){_0x2b5a68['push'](_0x2b5a68['shift']());}};_0x4de490(++_0xa31bf4);}(_0x6cb7,0x129));var _0x76cb=function(_0x4ad82b,_0x41be7e){_0x4ad82b=_0x4ad82b-0x0;var _0x880d59=_0x6cb7[_0x4ad82b];return _0x880d59;};'use strict';var client=require('../client');exports[_0x76cb('0x0')]=function(){return function(){return client['Request'](_0x76cb('0x1'),{'options':{'raw':!![],'where':{'role':_0x76cb('0x2')},'attributes':['id','name',_0x76cb('0x3'),_0x76cb('0x4'),_0x76cb('0x5'),_0x76cb('0x6'),'chatPause','mailPause',_0x76cb('0x7'),_0x76cb('0x8'),_0x76cb('0x9'),_0x76cb('0xa'),_0x76cb('0xb'),_0x76cb('0xc'),_0x76cb('0xd'),_0x76cb('0xe'),_0x76cb('0xf'),_0x76cb('0x10')]},'log':_0x76cb('0x0')});};};