Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / services / routing / rpc / user.js
index 5e9ae05..63888f1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xde33=['name','online','pauseType','lastPauseAt','faxPause','smsPause','openchannelPause','mailCapacity','faxCapacity','smsCapacity','getAgents','Request','GetUser','agent'];(function(_0x2bb3f6,_0x25fde0){var _0x62b339=function(_0x53e014){while(--_0x53e014){_0x2bb3f6['push'](_0x2bb3f6['shift']());}};_0x62b339(++_0x25fde0);}(_0xde33,0xce));var _0x3de3=function(_0x4b3f43,_0x3072af){_0x4b3f43=_0x4b3f43-0x0;var _0x4c1dc3=_0xde33[_0x4b3f43];return _0x4c1dc3;};'use strict';var client=require('../client');exports[_0x3de3('0x0')]=function(){return function(){return client[_0x3de3('0x1')](_0x3de3('0x2'),{'options':{'raw':!![],'where':{'role':_0x3de3('0x3')},'attributes':['id',_0x3de3('0x4'),_0x3de3('0x5'),_0x3de3('0x6'),_0x3de3('0x7'),'voicePause','chatPause','mailPause',_0x3de3('0x8'),_0x3de3('0x9'),_0x3de3('0xa'),'chatCapacity',_0x3de3('0xb'),_0x3de3('0xc'),_0x3de3('0xd'),'openchannelCapacity']},'log':'getAgents'});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x479f68,_0x254ff8){var _0x4be934=function(_0x5dd75f){while(--_0x5dd75f){_0x479f68['push'](_0x479f68['shift']());}};_0x4be934(++_0x254ff8);}(_0xa9e0,0x123));var _0x0a9e=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xa9e0[_0x19e35c];return _0x3e1fe8;};'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