Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / services / routing / rpc / user.js
index 8856216..44a6bc2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf671=['agent','name','online','pauseType','lastPauseAt','voicePause','chatPause','faxPause','smsPause','openchannelPause','chatCapacity','mailCapacity','faxCapacity','smsCapacity','openchannelCapacity','getAgents','../client','Request'];(function(_0x4883c0,_0x4a9eae){var _0x2ff0b8=function(_0x155be4){while(--_0x155be4){_0x4883c0['push'](_0x4883c0['shift']());}};_0x2ff0b8(++_0x4a9eae);}(_0xf671,0x154));var _0x1f67=function(_0x4accc0,_0x253bcc){_0x4accc0=_0x4accc0-0x0;var _0x88e6b2=_0xf671[_0x4accc0];return _0x88e6b2;};'use strict';var client=require(_0x1f67('0x0'));exports['getAgents']=function(){return function(){return client[_0x1f67('0x1')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x1f67('0x2')},'attributes':['id',_0x1f67('0x3'),_0x1f67('0x4'),_0x1f67('0x5'),_0x1f67('0x6'),_0x1f67('0x7'),_0x1f67('0x8'),'mailPause',_0x1f67('0x9'),_0x1f67('0xa'),'whatsappPause',_0x1f67('0xb'),_0x1f67('0xc'),_0x1f67('0xd'),_0x1f67('0xe'),_0x1f67('0xf'),'whatsappCapacity',_0x1f67('0x10')]},'log':_0x1f67('0x11')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x889b1d,_0x185f7e){var _0x928fc7=function(_0x3a4a56){while(--_0x3a4a56){_0x889b1d['push'](_0x889b1d['shift']());}};_0x928fc7(++_0x185f7e);}(_0xa9e0,0x123));var _0x0a9e=function(_0x5e3b04,_0xbb6795){_0x5e3b04=_0x5e3b04-0x0;var _0x1fc44d=_0xa9e0[_0x5e3b04];return _0x1fc44d;};'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