Built motion from commit 9e1399f3.|2.5.37
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 5e1e28e..149819d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb7f4=['content','variableName','Variable','key','keyType','keyContent','name','Fields','idField','nameField','customField','Tag','Tags','../../client','getDeskAccounts','GetDeskAccount','description','username','password','remoteUri','authType','type','DeskField','Subjects'];(function(_0x1b6311,_0x42ec20){var _0x25aab6=function(_0x139a77){while(--_0x139a77){_0x1b6311['push'](_0x1b6311['shift']());}};_0x25aab6(++_0x42ec20);}(_0xb7f4,0x1bd));var _0x4b7f=function(_0x5b97bf,_0x463378){_0x5b97bf=_0x5b97bf-0x0;var _0x3b9b3d=_0xb7f4[_0x5b97bf];return _0x3b9b3d;};'use strict';var client=require(_0x4b7f('0x0'));exports[_0x4b7f('0x1')]=function(){return function(_0x1b1c45){return client['Request'](_0x4b7f('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x4b7f('0x3'),_0x4b7f('0x4'),_0x4b7f('0x5'),_0x4b7f('0x6'),_0x4b7f('0x7'),_0x4b7f('0x8'),'serverUrl'],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x4b7f('0x9'),'as':_0x4b7f('0xa'),'attributes':['id',_0x4b7f('0x8'),_0x4b7f('0xb'),_0x4b7f('0xc')],'include':[{'model':_0x4b7f('0xd'),'as':'Variable','attributes':['id','name']}]},{'model':_0x4b7f('0x9'),'as':'Descriptions','attributes':['id',_0x4b7f('0x8'),_0x4b7f('0xb'),_0x4b7f('0xe'),_0x4b7f('0xf'),_0x4b7f('0x10'),_0x4b7f('0xc')],'include':[{'model':_0x4b7f('0xd'),'as':_0x4b7f('0xd'),'attributes':['id',_0x4b7f('0x11')]}]},{'model':_0x4b7f('0x9'),'as':_0x4b7f('0x12'),'attributes':['id',_0x4b7f('0x8'),'content',_0x4b7f('0x13'),_0x4b7f('0x14'),_0x4b7f('0x15'),_0x4b7f('0xc')],'include':[{'model':_0x4b7f('0xd'),'as':'Variable','attributes':['id',_0x4b7f('0x11')]}]},{'model':_0x4b7f('0x16'),'as':_0x4b7f('0x17'),'attributes':['id',_0x4b7f('0x11')]}]}]},'log':_0x4b7f('0x2')});};};
\ No newline at end of file
+var _0x43eb=['password','remoteUri','type','serverUrl','Configurations','DeskField','Subjects','content','variableName','Variable','keyType','keyContent','Fields','nameField','Tags','../../client','getDeskAccounts','Request','GetDeskAccount','name','description','username'];(function(_0x156a0d,_0x3946ce){var _0x98a9ba=function(_0x46c1b2){while(--_0x46c1b2){_0x156a0d['push'](_0x156a0d['shift']());}};_0x98a9ba(++_0x3946ce);}(_0x43eb,0x1c7));var _0xb43e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x43eb[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xb43e('0x0'));exports[_0xb43e('0x1')]=function(){return function(_0x58aa1c){return client[_0xb43e('0x2')](_0xb43e('0x3'),{'options':{'raw':![],'attributes':['id',_0xb43e('0x4'),_0xb43e('0x5'),_0xb43e('0x6'),_0xb43e('0x7'),_0xb43e('0x8'),'authType',_0xb43e('0x9'),_0xb43e('0xa')],'include':[{'model':'DeskConfiguration','as':_0xb43e('0xb'),'attributes':['id',_0xb43e('0x4')],'include':[{'model':_0xb43e('0xc'),'as':_0xb43e('0xd'),'attributes':['id',_0xb43e('0x9'),_0xb43e('0xe'),_0xb43e('0xf')],'include':[{'model':_0xb43e('0x10'),'as':_0xb43e('0x10'),'attributes':['id','name']}]},{'model':_0xb43e('0xc'),'as':'Descriptions','attributes':['id','type','content','key',_0xb43e('0x11'),_0xb43e('0x12'),_0xb43e('0xf')],'include':[{'model':_0xb43e('0x10'),'as':_0xb43e('0x10'),'attributes':['id','name']}]},{'model':_0xb43e('0xc'),'as':_0xb43e('0x13'),'attributes':['id',_0xb43e('0x9'),_0xb43e('0xe'),'idField',_0xb43e('0x14'),'customField',_0xb43e('0xf')],'include':[{'model':_0xb43e('0x10'),'as':_0xb43e('0x10'),'attributes':['id',_0xb43e('0x4')]}]},{'model':'Tag','as':_0xb43e('0x15'),'attributes':['id',_0xb43e('0x4')]}]}]},'log':_0xb43e('0x3')});};};
\ No newline at end of file