Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / services / routing / rpc / user.js
index 5e72d4d..2c0e9f9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5a9f=['online','pauseType','lastPauseAt','voicePause','mailPause','faxPause','smsPause','whatsappPause','openchannelPause','mailCapacity','openchannelCapacity','getAgents','../client','Request','GetUser','agent','name'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5a9f,0xe9));var _0xf5a9=function(_0x5d97f5,_0x4f0592){_0x5d97f5=_0x5d97f5-0x0;var _0x504501=_0x5a9f[_0x5d97f5];return _0x504501;};'use strict';var client=require(_0xf5a9('0x0'));exports['getAgents']=function(){return function(){return client[_0xf5a9('0x1')](_0xf5a9('0x2'),{'options':{'raw':!![],'where':{'role':_0xf5a9('0x3')},'attributes':['id',_0xf5a9('0x4'),_0xf5a9('0x5'),_0xf5a9('0x6'),_0xf5a9('0x7'),_0xf5a9('0x8'),'chatPause',_0xf5a9('0x9'),_0xf5a9('0xa'),_0xf5a9('0xb'),_0xf5a9('0xc'),_0xf5a9('0xd'),'chatCapacity',_0xf5a9('0xe'),'faxCapacity','smsCapacity','whatsappCapacity',_0xf5a9('0xf')]},'log':_0xf5a9('0x10')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x4d06b6,_0x45a8cf){var _0x27e240=function(_0x4f03f0){while(--_0x4f03f0){_0x4d06b6['push'](_0x4d06b6['shift']());}};_0x27e240(++_0x45a8cf);}(_0xa9e0,0x123));var _0x0a9e=function(_0x8de54f,_0x271987){_0x8de54f=_0x8de54f-0x0;var _0x14cba4=_0xa9e0[_0x8de54f];return _0x14cba4;};'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