X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Frouting%2Frpc%2Fuser.js;h=95b8ff562577114e60d3e6e179a57c69387ba356;hb=784ff39bf52a5b7c5ee0b7b10d0e51f0257b5940;hp=9b21a54e20362887fbae8ba05c4c72bf8c1faede;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/services/routing/rpc/user.js b/server/services/routing/rpc/user.js index 9b21a54..95b8ff5 100644 --- a/server/services/routing/rpc/user.js +++ b/server/services/routing/rpc/user.js @@ -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 _0x1c14=['agent','name','online','pauseType','lastPauseAt','mailPause','faxPause','smsPause','whatsappPause','chatCapacity','mailCapacity','whatsappCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0xe78c0a,_0x307897){var _0xc4f304=function(_0x1f4f12){while(--_0x1f4f12){_0xe78c0a['push'](_0xe78c0a['shift']());}};_0xc4f304(++_0x307897);}(_0x1c14,0x15d));var _0x41c1=function(_0x5855e7,_0x1ed709){_0x5855e7=_0x5855e7-0x0;var _0x3e30e4=_0x1c14[_0x5855e7];return _0x3e30e4;};'use strict';var client=require(_0x41c1('0x0'));exports[_0x41c1('0x1')]=function(){return function(){return client[_0x41c1('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x41c1('0x3')},'attributes':['id',_0x41c1('0x4'),_0x41c1('0x5'),_0x41c1('0x6'),_0x41c1('0x7'),'voicePause','chatPause',_0x41c1('0x8'),_0x41c1('0x9'),_0x41c1('0xa'),_0x41c1('0xb'),'openchannelPause',_0x41c1('0xc'),_0x41c1('0xd'),'faxCapacity','smsCapacity',_0x41c1('0xe'),_0x41c1('0xf')]},'log':'getAgents'});};}; \ No newline at end of file