Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / services / routing / rpc / user.js
index 941f907..b38f992 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x43e2=['chatPause','mailPause','faxPause','smsPause','chatCapacity','mailCapacity','smsCapacity','whatsappCapacity','openchannelCapacity','getAgents','../client','Request','agent','name','online','pauseType','voicePause'];(function(_0x26aee9,_0x54535b){var _0x4f6a3d=function(_0x511227){while(--_0x511227){_0x26aee9['push'](_0x26aee9['shift']());}};_0x4f6a3d(++_0x54535b);}(_0x43e2,0x180));var _0x243e=function(_0xcd0918,_0x56bdf9){_0xcd0918=_0xcd0918-0x0;var _0x250704=_0x43e2[_0xcd0918];return _0x250704;};'use strict';var client=require(_0x243e('0x0'));exports['getAgents']=function(){return function(){return client[_0x243e('0x1')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x243e('0x2')},'attributes':['id',_0x243e('0x3'),_0x243e('0x4'),_0x243e('0x5'),'lastPauseAt',_0x243e('0x6'),_0x243e('0x7'),_0x243e('0x8'),_0x243e('0x9'),_0x243e('0xa'),'whatsappPause','openchannelPause',_0x243e('0xb'),_0x243e('0xc'),'faxCapacity',_0x243e('0xd'),_0x243e('0xe'),_0x243e('0xf')]},'log':_0x243e('0x10')});};};
\ No newline at end of file
+var _0xa9e0=['name','pauseType','lastPauseAt','voicePause','chatPause','mailPause','smsPause','whatsappPause','openchannelPause','faxCapacity','openchannelCapacity','../client','getAgents','Request'];(function(_0x28158f,_0x51146d){var _0x274ae4=function(_0x223e1b){while(--_0x223e1b){_0x28158f['push'](_0x28158f['shift']());}};_0x274ae4(++_0x51146d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x373dee,_0x1a8c45){_0x373dee=_0x373dee-0x0;var _0x46798f=_0xa9e0[_0x373dee];return _0x46798f;};'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