Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 5870f39..953f8ee 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9db0=['key','keyType','Fields','idField','nameField','customField','Tags','GetDeskAccount','../../client','Request','description','username','password','authType','type','DeskConfiguration','name','DeskField','variableName','Variable'];(function(_0x1d9ffb,_0x1e6d20){var _0x4f5178=function(_0x46007a){while(--_0x46007a){_0x1d9ffb['push'](_0x1d9ffb['shift']());}};_0x4f5178(++_0x1e6d20);}(_0x9db0,0x120));var _0x09db=function(_0xf5652e,_0x351a82){_0xf5652e=_0xf5652e-0x0;var _0x2623b6=_0x9db0[_0xf5652e];return _0x2623b6;};'use strict';var client=require(_0x09db('0x0'));exports['getDeskAccounts']=function(){return function(_0x9f7d2d){return client[_0x09db('0x1')]('GetDeskAccount',{'options':{'raw':![],'attributes':['id','name',_0x09db('0x2'),_0x09db('0x3'),_0x09db('0x4'),'remoteUri',_0x09db('0x5'),_0x09db('0x6'),'serverUrl'],'include':[{'model':_0x09db('0x7'),'as':'Configurations','attributes':['id',_0x09db('0x8')],'include':[{'model':_0x09db('0x9'),'as':'Subjects','attributes':['id',_0x09db('0x6'),'content',_0x09db('0xa')],'include':[{'model':_0x09db('0xb'),'as':_0x09db('0xb'),'attributes':['id','name']}]},{'model':'DeskField','as':'Descriptions','attributes':['id',_0x09db('0x6'),'content',_0x09db('0xc'),_0x09db('0xd'),'keyContent','variableName'],'include':[{'model':_0x09db('0xb'),'as':_0x09db('0xb'),'attributes':['id',_0x09db('0x8')]}]},{'model':_0x09db('0x9'),'as':_0x09db('0xe'),'attributes':['id','type','content',_0x09db('0xf'),_0x09db('0x10'),_0x09db('0x11'),'variableName'],'include':[{'model':_0x09db('0xb'),'as':_0x09db('0xb'),'attributes':['id',_0x09db('0x8')]}]},{'model':'Tag','as':_0x09db('0x12'),'attributes':['id',_0x09db('0x8')]}]}]},'log':_0x09db('0x13')});};};
\ No newline at end of file
+var _0x0303=['../../client','getDeskAccounts','Request','GetDeskAccount','name','username','authType','type','serverUrl','Configurations','DeskField','Subjects','content','variableName','Variable','Descriptions','key','keyContent','Fields','idField','nameField','Tag','Tags'];(function(_0x35a462,_0x4b1cf7){var _0x1191dd=function(_0x3afd72){while(--_0x3afd72){_0x35a462['push'](_0x35a462['shift']());}};_0x1191dd(++_0x4b1cf7);}(_0x0303,0x159));var _0x3030=function(_0x2cde0a,_0x1f9695){_0x2cde0a=_0x2cde0a-0x0;var _0x260610=_0x0303[_0x2cde0a];return _0x260610;};'use strict';var client=require(_0x3030('0x0'));exports[_0x3030('0x1')]=function(){return function(_0x58db4a){return client[_0x3030('0x2')](_0x3030('0x3'),{'options':{'raw':![],'attributes':['id',_0x3030('0x4'),'description',_0x3030('0x5'),'password','remoteUri',_0x3030('0x6'),_0x3030('0x7'),_0x3030('0x8')],'include':[{'model':'DeskConfiguration','as':_0x3030('0x9'),'attributes':['id',_0x3030('0x4')],'include':[{'model':_0x3030('0xa'),'as':_0x3030('0xb'),'attributes':['id','type',_0x3030('0xc'),_0x3030('0xd')],'include':[{'model':'Variable','as':_0x3030('0xe'),'attributes':['id','name']}]},{'model':'DeskField','as':_0x3030('0xf'),'attributes':['id',_0x3030('0x7'),_0x3030('0xc'),_0x3030('0x10'),'keyType',_0x3030('0x11'),'variableName'],'include':[{'model':_0x3030('0xe'),'as':'Variable','attributes':['id',_0x3030('0x4')]}]},{'model':_0x3030('0xa'),'as':_0x3030('0x12'),'attributes':['id',_0x3030('0x7'),_0x3030('0xc'),_0x3030('0x13'),_0x3030('0x14'),'customField',_0x3030('0xd')],'include':[{'model':_0x3030('0xe'),'as':_0x3030('0xe'),'attributes':['id',_0x3030('0x4')]}]},{'model':_0x3030('0x15'),'as':_0x3030('0x16'),'attributes':['id','name']}]}]},'log':_0x3030('0x3')});};};
\ No newline at end of file