Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / services / routing / rpc / user.js
index 92b98ac..165c47f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe9bd=['getAgents','../client','Request','GetUser','name','online','pauseType','lastPauseAt','voicePause','chatPause','faxPause','smsPause','openchannelPause','mailCapacity','faxCapacity','smsCapacity'];(function(_0x4e585d,_0x592a23){var _0x2c4e50=function(_0x5120e3){while(--_0x5120e3){_0x4e585d['push'](_0x4e585d['shift']());}};_0x2c4e50(++_0x592a23);}(_0xe9bd,0x1a1));var _0xde9b=function(_0x4f593,_0x30783e){_0x4f593=_0x4f593-0x0;var _0x2671ac=_0xe9bd[_0x4f593];return _0x2671ac;};'use strict';var client=require(_0xde9b('0x0'));exports['getAgents']=function(){return function(){return client[_0xde9b('0x1')](_0xde9b('0x2'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id',_0xde9b('0x3'),_0xde9b('0x4'),_0xde9b('0x5'),_0xde9b('0x6'),_0xde9b('0x7'),_0xde9b('0x8'),'mailPause',_0xde9b('0x9'),_0xde9b('0xa'),_0xde9b('0xb'),'chatCapacity',_0xde9b('0xc'),_0xde9b('0xd'),_0xde9b('0xe'),'openchannelCapacity']},'log':_0xde9b('0xf')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x565be5,_0x58684e){var _0x23cecd=function(_0x53acd4){while(--_0x53acd4){_0x565be5['push'](_0x565be5['shift']());}};_0x23cecd(++_0x58684e);}(_0xa9e0,0x123));var _0x0a9e=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0xa9e0[_0xc6be3a];return _0x56a310;};'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