Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 56525e6..7c0c257 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1c29=['DeskConfiguration','Configurations','DeskField','type','variableName','Variable','content','key','keyType','keyContent','Fields','idField','nameField','customField','Tag','Tags','getDeskAccounts','Request','GetDeskAccount','name','description','username','password','remoteUri','authType','serverUrl'];(function(_0x15a24b,_0xd5e630){var _0x1d74f8=function(_0x4fdc68){while(--_0x4fdc68){_0x15a24b['push'](_0x15a24b['shift']());}};_0x1d74f8(++_0xd5e630);}(_0x1c29,0x148));var _0x91c2=function(_0x34af78,_0x5291c4){_0x34af78=_0x34af78-0x0;var _0x2db846=_0x1c29[_0x34af78];return _0x2db846;};'use strict';var client=require('../../client');exports[_0x91c2('0x0')]=function(){return function(_0x13eb3c){return client[_0x91c2('0x1')](_0x91c2('0x2'),{'options':{'raw':![],'attributes':['id',_0x91c2('0x3'),_0x91c2('0x4'),_0x91c2('0x5'),_0x91c2('0x6'),_0x91c2('0x7'),_0x91c2('0x8'),'type',_0x91c2('0x9')],'include':[{'model':_0x91c2('0xa'),'as':_0x91c2('0xb'),'attributes':['id',_0x91c2('0x3')],'include':[{'model':_0x91c2('0xc'),'as':'Subjects','attributes':['id',_0x91c2('0xd'),'content',_0x91c2('0xe')],'include':[{'model':_0x91c2('0xf'),'as':_0x91c2('0xf'),'attributes':['id','name']}]},{'model':_0x91c2('0xc'),'as':'Descriptions','attributes':['id','type',_0x91c2('0x10'),_0x91c2('0x11'),_0x91c2('0x12'),_0x91c2('0x13'),'variableName'],'include':[{'model':_0x91c2('0xf'),'as':_0x91c2('0xf'),'attributes':['id','name']}]},{'model':_0x91c2('0xc'),'as':_0x91c2('0x14'),'attributes':['id',_0x91c2('0xd'),_0x91c2('0x10'),_0x91c2('0x15'),_0x91c2('0x16'),_0x91c2('0x17'),_0x91c2('0xe')],'include':[{'model':_0x91c2('0xf'),'as':_0x91c2('0xf'),'attributes':['id',_0x91c2('0x3')]}]},{'model':_0x91c2('0x18'),'as':_0x91c2('0x19'),'attributes':['id',_0x91c2('0x3')]}]}]},'log':'GetDeskAccount'});};};
\ 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