Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / routing / rpc / user.js
index 75a878d..e190877 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5055=['openchannelCapacity','../client','Request','GetUser','agent','name','pauseType','mailPause','faxPause','smsPause','whatsappPause','openchannelPause','chatCapacity','faxCapacity','whatsappCapacity'];(function(_0x4536e9,_0x4912bc){var _0x109242=function(_0x25df74){while(--_0x25df74){_0x4536e9['push'](_0x4536e9['shift']());}};_0x109242(++_0x4912bc);}(_0x5055,0xb5));var _0x5505=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5055[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x5505('0x0'));exports['getAgents']=function(){return function(){return client[_0x5505('0x1')](_0x5505('0x2'),{'options':{'raw':!![],'where':{'role':_0x5505('0x3')},'attributes':['id',_0x5505('0x4'),'online',_0x5505('0x5'),'lastPauseAt','voicePause','chatPause',_0x5505('0x6'),_0x5505('0x7'),_0x5505('0x8'),_0x5505('0x9'),_0x5505('0xa'),_0x5505('0xb'),'mailCapacity',_0x5505('0xc'),'smsCapacity',_0x5505('0xd'),_0x5505('0xe')]},'log':'getAgents'});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x5a4aac,_0x3f5cfb){var _0x1e5ab2=function(_0x347cf6){while(--_0x347cf6){_0x5a4aac['push'](_0x5a4aac['shift']());}};_0x1e5ab2(++_0x3f5cfb);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xa9e0[_0xbca1b1];return _0x4e1686;};'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