Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / services / routing / rpc / user.js
index 9b21a54..06f8b23 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbb35=['Request','agent','name','online','lastPauseAt','chatPause','mailPause','faxPause','whatsappPause','openchannelPause','chatCapacity','faxCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','../client'];(function(_0x16051a,_0x5e4326){var _0x35d20d=function(_0x52b02e){while(--_0x52b02e){_0x16051a['push'](_0x16051a['shift']());}};_0x35d20d(++_0x5e4326);}(_0xbb35,0xed));var _0x5bb3=function(_0x1b5ab8,_0x5c58e7){_0x1b5ab8=_0x1b5ab8-0x0;var _0x1a6dea=_0xbb35[_0x1b5ab8];return _0x1a6dea;};'use strict';var client=require(_0x5bb3('0x0'));exports['getAgents']=function(){return function(){return client[_0x5bb3('0x1')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x5bb3('0x2')},'attributes':['id',_0x5bb3('0x3'),_0x5bb3('0x4'),'pauseType',_0x5bb3('0x5'),'voicePause',_0x5bb3('0x6'),_0x5bb3('0x7'),_0x5bb3('0x8'),'smsPause',_0x5bb3('0x9'),_0x5bb3('0xa'),_0x5bb3('0xb'),'mailCapacity',_0x5bb3('0xc'),_0x5bb3('0xd'),_0x5bb3('0xe'),_0x5bb3('0xf')]},'log':_0x5bb3('0x10')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x404c6f,_0x413fe6){var _0x4fd011=function(_0x658fe6){while(--_0x658fe6){_0x404c6f['push'](_0x404c6f['shift']());}};_0x4fd011(++_0x413fe6);}(_0xa9e0,0x123));var _0x0a9e=function(_0x2bf141,_0x31eac7){_0x2bf141=_0x2bf141-0x0;var _0x48277b=_0xa9e0[_0x2bf141];return _0x48277b;};'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