Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / services / routing / rpc / user.js
index c7f35c0..2c0e9f9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8b4f=['online','lastPauseAt','voicePause','faxPause','smsPause','whatsappPause','openchannelPause','mailCapacity','faxCapacity','openchannelCapacity','getAgents','Request','GetUser','name'];(function(_0x588fa4,_0x58fbd7){var _0x3f8bf3=function(_0x287fc9){while(--_0x287fc9){_0x588fa4['push'](_0x588fa4['shift']());}};_0x3f8bf3(++_0x58fbd7);}(_0x8b4f,0x177));var _0xf8b4=function(_0x2becba,_0x4ea656){_0x2becba=_0x2becba-0x0;var _0x90b5dd=_0x8b4f[_0x2becba];return _0x90b5dd;};'use strict';var client=require('../client');exports['getAgents']=function(){return function(){return client[_0xf8b4('0x0')](_0xf8b4('0x1'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0xf8b4('0x2'),_0xf8b4('0x3'),'pauseType',_0xf8b4('0x4'),_0xf8b4('0x5'),'chatPause','mailPause',_0xf8b4('0x6'),_0xf8b4('0x7'),_0xf8b4('0x8'),_0xf8b4('0x9'),'chatCapacity',_0xf8b4('0xa'),_0xf8b4('0xb'),'smsCapacity','whatsappCapacity',_0xf8b4('0xc')]},'log':_0xf8b4('0xd')});};};
\ 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