Built motion from commit (unavailable).|2.5.8
[motion2.git] / server / services / routing / rpc / user.js
index 3ab5ad7..38821e9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x69e1=['smsPause','openchannelPause','mailCapacity','faxCapacity','openchannelCapacity','getAgents','../client','agent','name','online','pauseType','lastPauseAt','voicePause','chatPause','mailPause','faxPause'];(function(_0xbb98d2,_0x152fbf){var _0x279874=function(_0x207618){while(--_0x207618){_0xbb98d2['push'](_0xbb98d2['shift']());}};_0x279874(++_0x152fbf);}(_0x69e1,0xf6));var _0x169e=function(_0x3c3f8a,_0x1cc5ad){_0x3c3f8a=_0x3c3f8a-0x0;var _0x50fd89=_0x69e1[_0x3c3f8a];return _0x50fd89;};'use strict';var client=require(_0x169e('0x0'));exports['getAgents']=function(){return function(){return client['Request']('GetUser',{'options':{'raw':!![],'where':{'role':_0x169e('0x1')},'attributes':['id',_0x169e('0x2'),_0x169e('0x3'),_0x169e('0x4'),_0x169e('0x5'),_0x169e('0x6'),_0x169e('0x7'),_0x169e('0x8'),_0x169e('0x9'),_0x169e('0xa'),_0x169e('0xb'),'chatCapacity',_0x169e('0xc'),_0x169e('0xd'),'smsCapacity',_0x169e('0xe')]},'log':_0x169e('0xf')});};};
\ No newline at end of file
+var _0xaf59=['faxPause','smsPause','whatsappPause','chatCapacity','faxCapacity','smsCapacity','../client','getAgents','GetUser','online','pauseType','lastPauseAt','voicePause','chatPause'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xaf59,0x68));var _0x9af5=function(_0x47e93d,_0x26bbdd){_0x47e93d=_0x47e93d-0x0;var _0xe86c46=_0xaf59[_0x47e93d];return _0xe86c46;};'use strict';var client=require(_0x9af5('0x0'));exports[_0x9af5('0x1')]=function(){return function(){return client['Request'](_0x9af5('0x2'),{'options':{'raw':!![],'where':{'role':'agent'},'attributes':['id','name',_0x9af5('0x3'),_0x9af5('0x4'),_0x9af5('0x5'),_0x9af5('0x6'),_0x9af5('0x7'),'mailPause',_0x9af5('0x8'),_0x9af5('0x9'),_0x9af5('0xa'),'openchannelPause',_0x9af5('0xb'),'mailCapacity',_0x9af5('0xc'),_0x9af5('0xd'),'whatsappCapacity','openchannelCapacity']},'log':_0x9af5('0x1')});};};
\ No newline at end of file