Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / routing / rpc / user.js
index 748519c..b02990f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc71f=['faxCapacity','whatsappCapacity','openchannelCapacity','getAgents','GetUser','name','pauseType','lastPauseAt','voicePause','mailPause','whatsappPause','openchannelPause','chatCapacity','mailCapacity'];(function(_0x37ffea,_0x25b006){var _0x2e2615=function(_0x5e6c74){while(--_0x5e6c74){_0x37ffea['push'](_0x37ffea['shift']());}};_0x2e2615(++_0x25b006);}(_0xc71f,0x1ee));var _0xfc71=function(_0x4945e8,_0x597c5e){_0x4945e8=_0x4945e8-0x0;var _0x4300ca=_0xc71f[_0x4945e8];return _0x4300ca;};'use strict';var client=require('../client');exports['getAgents']=function(){return function(){return client['Request'](_0xfc71('0x0'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0xfc71('0x1'),'online',_0xfc71('0x2'),_0xfc71('0x3'),_0xfc71('0x4'),'chatPause',_0xfc71('0x5'),'faxPause','smsPause',_0xfc71('0x6'),_0xfc71('0x7'),_0xfc71('0x8'),_0xfc71('0x9'),_0xfc71('0xa'),'smsCapacity',_0xfc71('0xb'),_0xfc71('0xc')]},'log':_0xfc71('0xd')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x62a295,_0x22e756){var _0xb1b3a6=function(_0x140151){while(--_0x140151){_0x62a295['push'](_0x62a295['shift']());}};_0xb1b3a6(++_0x22e756);}(_0xa9e0,0x123));var _0x0a9e=function(_0x12d033,_0x25fa2f){_0x12d033=_0x12d033-0x0;var _0x3b4e80=_0xa9e0[_0x12d033];return _0x3b4e80;};'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