Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / services / ami / rpc / user.js
index 159cd2e..6bf0789 100644 (file)
@@ -1 +1 @@
-const a1287_0x4022=['PauseUser','getAgent','agent','savePause','UnpauseUser','voicePause','ShowUser','online','accountcode','mobile','getTelephones','fullname','GetUser','lastLoginAt','email','Request','phone','getAgents','lastPauseAt','name','../client','internal','saveUnpause','interface'];(function(_0x120e43,_0x265782){const _0x402240=function(_0x1e9208){while(--_0x1e9208){_0x120e43['push'](_0x120e43['shift']());}};_0x402240(++_0x265782);}(a1287_0x4022,0x199));const a1287_0x1e92=function(_0x120e43,_0x265782){_0x120e43=_0x120e43-0xee;let _0x402240=a1287_0x4022[_0x120e43];return _0x402240;};const a1287_0x53556c=a1287_0x1e92;'use strict';const client=require(a1287_0x53556c(0x101));exports[a1287_0x53556c(0xfe)]=function(){return function(){const _0x513da7=a1287_0x1e92;return client[_0x513da7(0xfc)](_0x513da7(0xf9),{'options':{'raw':![],'where':{'role':_0x513da7(0xef)},'attributes':['id',_0x513da7(0x100),_0x513da7(0xfb),_0x513da7(0xf5),_0x513da7(0xf8),'online',_0x513da7(0xfa),'pauseType','lastPauseAt',_0x513da7(0xf2),_0x513da7(0xfd),_0x513da7(0xf6),_0x513da7(0x104)]},'log':_0x513da7(0xfe)});};},exports[a1287_0x53556c(0xf7)]=function(){return function(){const _0x3ab24e=a1287_0x1e92;return client[_0x3ab24e(0xfc)](_0x3ab24e(0xf9),{'options':{'raw':!![],'where':{'role':'telephone'},'attributes':['id',_0x3ab24e(0x100),_0x3ab24e(0xf5),_0x3ab24e(0x102)]},'log':_0x3ab24e(0xf7)});};},exports['savePause']=function(_0x215822,_0xadea39,_0x59a46c){const _0x2d4229=a1287_0x53556c;return client['Request'](_0x2d4229(0x105),{'body':{'type':_0xadea39,'uniqueid':_0x59a46c},'options':{'where':{'id':_0x215822['id']}},'log':_0x2d4229(0xf0)});},exports[a1287_0x53556c(0x103)]=function(_0x1c84bf){const _0x26825d=a1287_0x53556c;return client['Request'](_0x26825d(0xf1),{'body':{},'options':{'where':{'id':_0x1c84bf['id']}},'log':_0x26825d(0xf0)});},exports[a1287_0x53556c(0xee)]=function(_0x4813f1){const _0x485b35=a1287_0x53556c;return client[_0x485b35(0xfc)](_0x485b35(0xf3),{'options':{'raw':![],'where':{'role':_0x485b35(0xef),'id':_0x4813f1},'attributes':['id',_0x485b35(0x100),_0x485b35(0xfb),_0x485b35(0xf5),_0x485b35(0xf8),_0x485b35(0xf4),_0x485b35(0xfa),'pauseType',_0x485b35(0xff),'voicePause',_0x485b35(0x104)]},'log':_0x485b35(0xee)});};
\ No newline at end of file
+const a1291_0x44c7=['agent','savePause','voicePause','UnpauseUser','accountcode','Request','interface','fullname','getAgents','lastLoginAt','pauseType','internal','getAgent','saveUnpause','email','phone','telephone','ShowUser','GetUser','name','getTelephones','lastPauseAt'];(function(_0xc1d8d0,_0x2df56d){const _0x44c72a=function(_0x5d4f4c){while(--_0x5d4f4c){_0xc1d8d0['push'](_0xc1d8d0['shift']());}};_0x44c72a(++_0x2df56d);}(a1291_0x44c7,0x1c1));const a1291_0x5d4f=function(_0xc1d8d0,_0x2df56d){_0xc1d8d0=_0xc1d8d0-0x1a2;let _0x44c72a=a1291_0x44c7[_0xc1d8d0];return _0x44c72a;};const a1291_0x4d5455=a1291_0x5d4f;'use strict';const client=require('../client');exports['getAgents']=function(){return function(){const _0x5b0b55=a1291_0x5d4f;return client[_0x5b0b55(0x1b4)](_0x5b0b55(0x1ab),{'options':{'raw':![],'where':{'role':_0x5b0b55(0x1af)},'attributes':['id','name',_0x5b0b55(0x1a7),_0x5b0b55(0x1b3),_0x5b0b55(0x1b6),'online',_0x5b0b55(0x1a2),_0x5b0b55(0x1a3),'lastPauseAt',_0x5b0b55(0x1b1),_0x5b0b55(0x1a8),'mobile',_0x5b0b55(0x1b5)]},'log':_0x5b0b55(0x1b7)});};},exports[a1291_0x4d5455(0x1ad)]=function(){return function(){const _0x1c1a9d=a1291_0x5d4f;return client['Request'](_0x1c1a9d(0x1ab),{'options':{'raw':!![],'where':{'role':_0x1c1a9d(0x1a9)},'attributes':['id','name',_0x1c1a9d(0x1b3),_0x1c1a9d(0x1a4)]},'log':_0x1c1a9d(0x1ad)});};},exports[a1291_0x4d5455(0x1b0)]=function(_0x29af69,_0x485780,_0x3b050c){const _0x32eff7=a1291_0x4d5455;return client[_0x32eff7(0x1b4)]('PauseUser',{'body':{'type':_0x485780,'uniqueid':_0x3b050c},'options':{'where':{'id':_0x29af69['id']}},'log':_0x32eff7(0x1b0)});},exports[a1291_0x4d5455(0x1a6)]=function(_0x1b9989){const _0x182e95=a1291_0x4d5455;return client[_0x182e95(0x1b4)](_0x182e95(0x1b2),{'body':{},'options':{'where':{'id':_0x1b9989['id']}},'log':_0x182e95(0x1b0)});},exports[a1291_0x4d5455(0x1a5)]=function(_0x36822b){const _0x382911=a1291_0x4d5455;return client['Request'](_0x382911(0x1aa),{'options':{'raw':![],'where':{'role':_0x382911(0x1af),'id':_0x36822b},'attributes':['id',_0x382911(0x1ac),_0x382911(0x1a7),_0x382911(0x1b3),_0x382911(0x1b6),'online',_0x382911(0x1a2),'pauseType',_0x382911(0x1ae),_0x382911(0x1b1),_0x382911(0x1b5)]},'log':_0x382911(0x1a5)});};
\ No newline at end of file