Built motion from commit (unavailable).|2.0.70
[motion2.git] / server / services / routing / rpc / user.js
index 74d2a5a..0fcdcd1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc8e3=['chatPause','mailPause','faxPause','smsPause','chatCapacity','mailCapacity','../client','Request','GetUser','agent','online','pauseType','voicePause'];(function(_0x154a0f,_0x2f20bf){var _0x246cfb=function(_0x571c31){while(--_0x571c31){_0x154a0f['push'](_0x154a0f['shift']());}};_0x246cfb(++_0x2f20bf);}(_0xc8e3,0x199));var _0x3c8e=function(_0x426ec3,_0x5f590e){_0x426ec3=_0x426ec3-0x0;var _0x196999=_0xc8e3[_0x426ec3];return _0x196999;};'use strict';var client=require(_0x3c8e('0x0'));exports['getAgents']=function(){return function(){return client[_0x3c8e('0x1')](_0x3c8e('0x2'),{'options':{'raw':!![],'where':{'role':_0x3c8e('0x3')},'attributes':['id','name',_0x3c8e('0x4'),_0x3c8e('0x5'),'lastPauseAt',_0x3c8e('0x6'),_0x3c8e('0x7'),_0x3c8e('0x8'),_0x3c8e('0x9'),_0x3c8e('0xa'),'openchannelPause',_0x3c8e('0xb'),_0x3c8e('0xc'),'faxCapacity','smsCapacity','openchannelCapacity']},'log':'getAgents'});};};
\ No newline at end of file
+var _0xc10a=['pauseType','lastPauseAt','chatPause','mailPause','faxPause','smsPause','openchannelPause','chatCapacity','mailCapacity','smsCapacity','../client','getAgents','Request','online'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xc10a,0x88));var _0xac10=function(_0x3ec122,_0x55150a){_0x3ec122=_0x3ec122-0x0;var _0x4ecf41=_0xc10a[_0x3ec122];return _0x4ecf41;};'use strict';var client=require(_0xac10('0x0'));exports[_0xac10('0x1')]=function(){return function(){return client[_0xac10('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id','name',_0xac10('0x3'),_0xac10('0x4'),_0xac10('0x5'),'voicePause',_0xac10('0x6'),_0xac10('0x7'),_0xac10('0x8'),_0xac10('0x9'),_0xac10('0xa'),_0xac10('0xb'),_0xac10('0xc'),'faxCapacity',_0xac10('0xd'),'openchannelCapacity']},'log':_0xac10('0x1')});};};
\ No newline at end of file