Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / services / routing / rpc / user.js
index 24a2812..726846b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc0b6=['mailCapacity','faxCapacity','whatsappCapacity','getAgents','../client','Request','GetUser','agent','online','pauseType','lastPauseAt','voicePause','chatPause','mailPause','faxPause','smsPause','openchannelPause','chatCapacity'];(function(_0x106484,_0x340021){var _0x510931=function(_0x5aa4b3){while(--_0x5aa4b3){_0x106484['push'](_0x106484['shift']());}};_0x510931(++_0x340021);}(_0xc0b6,0xca));var _0x6c0b=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0xc0b6[_0x432682];return _0x463d05;};'use strict';var client=require(_0x6c0b('0x0'));exports['getAgents']=function(){return function(){return client[_0x6c0b('0x1')](_0x6c0b('0x2'),{'options':{'raw':!![],'where':{'role':_0x6c0b('0x3')},'attributes':['id','name',_0x6c0b('0x4'),_0x6c0b('0x5'),_0x6c0b('0x6'),_0x6c0b('0x7'),_0x6c0b('0x8'),_0x6c0b('0x9'),_0x6c0b('0xa'),_0x6c0b('0xb'),'whatsappPause',_0x6c0b('0xc'),_0x6c0b('0xd'),_0x6c0b('0xe'),_0x6c0b('0xf'),'smsCapacity',_0x6c0b('0x10'),'openchannelCapacity']},'log':_0x6c0b('0x11')});};};
\ 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