Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / services / routing / rpc / user.js
index 4fe573d..726846b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x63a4=['mailPause','whatsappPause','openchannelPause','chatCapacity','mailCapacity','faxCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','Request','GetUser','agent','online'];(function(_0x3e961c,_0x5747e7){var _0x474f9c=function(_0x33f8ea){while(--_0x33f8ea){_0x3e961c['push'](_0x3e961c['shift']());}};_0x474f9c(++_0x5747e7);}(_0x63a4,0xdb));var _0x463a=function(_0x2dc735,_0x5b3890){_0x2dc735=_0x2dc735-0x0;var _0x1c3693=_0x63a4[_0x2dc735];return _0x1c3693;};'use strict';var client=require('../client');exports[_0x463a('0x0')]=function(){return function(){return client[_0x463a('0x1')](_0x463a('0x2'),{'options':{'raw':!![],'where':{'role':_0x463a('0x3')},'attributes':['id','name',_0x463a('0x4'),'pauseType','lastPauseAt','voicePause','chatPause',_0x463a('0x5'),'faxPause','smsPause',_0x463a('0x6'),_0x463a('0x7'),_0x463a('0x8'),_0x463a('0x9'),_0x463a('0xa'),_0x463a('0xb'),_0x463a('0xc'),_0x463a('0xd')]},'log':_0x463a('0x0')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x380f4d,_0xeb0b1b){var _0x3d8021=function(_0x3fc2df){while(--_0x3fc2df){_0x380f4d['push'](_0x380f4d['shift']());}};_0x3d8021(++_0xeb0b1b);}(_0xa9e0,0x123));var _0x0a9e=function(_0x187ee1,_0x3fd1e6){_0x187ee1=_0x187ee1-0x0;var _0x388160=_0xa9e0[_0x187ee1];return _0x388160;};'use strict';var client=require(_0x0a9e('0x0'));exports[_0x0a9e('0x1')]=function(){return function(){return client[_0x0a9e('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0x0a9e('0x3'),'online',_0x0a9e('0x4'),_0x0a9e('0x5'),_0x0a9e('0x6'),_0x0a9e('0x7'),_0x0a9e('0x8'),'faxPause',_0x0a9e('0x9'),_0x0a9e('0xa'),_0x0a9e('0xb'),'chatCapacity','mailCapacity',_0x0a9e('0xc'),'smsCapacity','whatsappCapacity',_0x0a9e('0xd')]},'log':_0x0a9e('0x1')});};};
\ No newline at end of file