Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 965649f..7c0c257 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd6c2=['authType','type','Configurations','Subjects','content','variableName','Variable','Descriptions','key','keyType','idField','nameField','customField','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount','name','description','username','remoteUri'];(function(_0xe44af6,_0x15adf4){var _0x4c2a1b=function(_0x42d584){while(--_0x42d584){_0xe44af6['push'](_0xe44af6['shift']());}};_0x4c2a1b(++_0x15adf4);}(_0xd6c2,0x82));var _0x2d6c=function(_0x5aebee,_0x4a98a9){_0x5aebee=_0x5aebee-0x0;var _0x1bdebe=_0xd6c2[_0x5aebee];return _0x1bdebe;};'use strict';var client=require(_0x2d6c('0x0'));exports[_0x2d6c('0x1')]=function(){return function(_0x2239c3){return client[_0x2d6c('0x2')](_0x2d6c('0x3'),{'options':{'raw':![],'attributes':['id',_0x2d6c('0x4'),_0x2d6c('0x5'),_0x2d6c('0x6'),'password',_0x2d6c('0x7'),_0x2d6c('0x8'),_0x2d6c('0x9'),'serverUrl'],'include':[{'model':'DeskConfiguration','as':_0x2d6c('0xa'),'attributes':['id','name'],'include':[{'model':'DeskField','as':_0x2d6c('0xb'),'attributes':['id',_0x2d6c('0x9'),_0x2d6c('0xc'),_0x2d6c('0xd')],'include':[{'model':'Variable','as':_0x2d6c('0xe'),'attributes':['id',_0x2d6c('0x4')]}]},{'model':'DeskField','as':_0x2d6c('0xf'),'attributes':['id','type',_0x2d6c('0xc'),_0x2d6c('0x10'),_0x2d6c('0x11'),'keyContent',_0x2d6c('0xd')],'include':[{'model':_0x2d6c('0xe'),'as':_0x2d6c('0xe'),'attributes':['id','name']}]},{'model':'DeskField','as':'Fields','attributes':['id',_0x2d6c('0x9'),_0x2d6c('0xc'),_0x2d6c('0x12'),_0x2d6c('0x13'),_0x2d6c('0x14'),_0x2d6c('0xd')],'include':[{'model':'Variable','as':_0x2d6c('0xe'),'attributes':['id',_0x2d6c('0x4')]}]},{'model':_0x2d6c('0x15'),'as':_0x2d6c('0x16'),'attributes':['id',_0x2d6c('0x4')]}]}]},'log':_0x2d6c('0x3')});};};
\ No newline at end of file
+var _0xf656=['GetDeskAccount','name','description','username','password','authType','type','serverUrl','DeskField','Subjects','content','variableName','Variable','Descriptions','key','keyType','keyContent','idField','nameField','Tag','../../client','getDeskAccounts'];(function(_0x576170,_0x1712ae){var _0x397c70=function(_0x2eb9de){while(--_0x2eb9de){_0x576170['push'](_0x576170['shift']());}};_0x397c70(++_0x1712ae);}(_0xf656,0xae));var _0x6f65=function(_0x1e77bd,_0x18dfff){_0x1e77bd=_0x1e77bd-0x0;var _0x240bb5=_0xf656[_0x1e77bd];return _0x240bb5;};'use strict';var client=require(_0x6f65('0x0'));exports[_0x6f65('0x1')]=function(){return function(_0x242ab8){return client['Request'](_0x6f65('0x2'),{'options':{'raw':![],'attributes':['id',_0x6f65('0x3'),_0x6f65('0x4'),_0x6f65('0x5'),_0x6f65('0x6'),'remoteUri',_0x6f65('0x7'),_0x6f65('0x8'),_0x6f65('0x9')],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id',_0x6f65('0x3')],'include':[{'model':_0x6f65('0xa'),'as':_0x6f65('0xb'),'attributes':['id',_0x6f65('0x8'),_0x6f65('0xc'),_0x6f65('0xd')],'include':[{'model':_0x6f65('0xe'),'as':_0x6f65('0xe'),'attributes':['id','name']}]},{'model':'DeskField','as':_0x6f65('0xf'),'attributes':['id','type','content',_0x6f65('0x10'),_0x6f65('0x11'),_0x6f65('0x12'),'variableName'],'include':[{'model':_0x6f65('0xe'),'as':_0x6f65('0xe'),'attributes':['id',_0x6f65('0x3')]}]},{'model':'DeskField','as':'Fields','attributes':['id',_0x6f65('0x8'),'content',_0x6f65('0x13'),_0x6f65('0x14'),'customField',_0x6f65('0xd')],'include':[{'model':_0x6f65('0xe'),'as':'Variable','attributes':['id',_0x6f65('0x3')]}]},{'model':_0x6f65('0x15'),'as':'Tags','attributes':['id','name']}]}]},'log':_0x6f65('0x2')});};};
\ No newline at end of file