Built motion from commit a8c4dd89.|2.6.33
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 552734c..7ef9e46 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0934=['DeskField','Descriptions','key','keyType','Fields','idField','nameField','customField','Tag','getDeskAccounts','GetDeskAccount','description','remoteUri','authType','type','serverUrl','DeskConfiguration','name','Subjects','content','variableName','Variable'];(function(_0x486479,_0x59fb45){var _0x467dd6=function(_0x4cf989){while(--_0x4cf989){_0x486479['push'](_0x486479['shift']());}};_0x467dd6(++_0x59fb45);}(_0x0934,0x8d));var _0x4093=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0x0934[_0xc6be3a];return _0x56a310;};'use strict';var client=require('../../client');exports[_0x4093('0x0')]=function(){return function(_0x3bbad8){return client['Request'](_0x4093('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x4093('0x2'),'username','password',_0x4093('0x3'),_0x4093('0x4'),_0x4093('0x5'),_0x4093('0x6')],'include':[{'model':_0x4093('0x7'),'as':'Configurations','attributes':['id',_0x4093('0x8')],'include':[{'model':'DeskField','as':_0x4093('0x9'),'attributes':['id',_0x4093('0x5'),_0x4093('0xa'),_0x4093('0xb')],'include':[{'model':_0x4093('0xc'),'as':_0x4093('0xc'),'attributes':['id','name']}]},{'model':_0x4093('0xd'),'as':_0x4093('0xe'),'attributes':['id',_0x4093('0x5'),'content',_0x4093('0xf'),_0x4093('0x10'),'keyContent',_0x4093('0xb')],'include':[{'model':'Variable','as':_0x4093('0xc'),'attributes':['id',_0x4093('0x8')]}]},{'model':'DeskField','as':_0x4093('0x11'),'attributes':['id',_0x4093('0x5'),_0x4093('0xa'),_0x4093('0x12'),_0x4093('0x13'),_0x4093('0x14'),_0x4093('0xb')],'include':[{'model':_0x4093('0xc'),'as':'Variable','attributes':['id','name']}]},{'model':_0x4093('0x15'),'as':'Tags','attributes':['id',_0x4093('0x8')]}]}]},'log':_0x4093('0x1')});};};
\ No newline at end of file
+var _0x5c88=['Variable','Descriptions','key','keyType','keyContent','Fields','idField','customField','Tag','Tags','../../client','Request','GetDeskAccount','name','description','password','remoteUri','authType','type','DeskConfiguration','DeskField','Subjects','content','variableName'];(function(_0x487b0c,_0x14ff74){var _0x1adbdc=function(_0x2e7b9d){while(--_0x2e7b9d){_0x487b0c['push'](_0x487b0c['shift']());}};_0x1adbdc(++_0x14ff74);}(_0x5c88,0x172));var _0x85c8=function(_0x408ed9,_0x1010ff){_0x408ed9=_0x408ed9-0x0;var _0x48fced=_0x5c88[_0x408ed9];return _0x48fced;};'use strict';var client=require(_0x85c8('0x0'));exports['getDeskAccounts']=function(){return function(_0x4e41ae){return client[_0x85c8('0x1')](_0x85c8('0x2'),{'options':{'raw':![],'attributes':['id',_0x85c8('0x3'),_0x85c8('0x4'),'username',_0x85c8('0x5'),_0x85c8('0x6'),_0x85c8('0x7'),_0x85c8('0x8'),'serverUrl'],'include':[{'model':_0x85c8('0x9'),'as':'Configurations','attributes':['id',_0x85c8('0x3')],'include':[{'model':_0x85c8('0xa'),'as':_0x85c8('0xb'),'attributes':['id',_0x85c8('0x8'),_0x85c8('0xc'),_0x85c8('0xd')],'include':[{'model':'Variable','as':_0x85c8('0xe'),'attributes':['id',_0x85c8('0x3')]}]},{'model':_0x85c8('0xa'),'as':_0x85c8('0xf'),'attributes':['id',_0x85c8('0x8'),_0x85c8('0xc'),_0x85c8('0x10'),_0x85c8('0x11'),_0x85c8('0x12'),_0x85c8('0xd')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x85c8('0x3')]}]},{'model':'DeskField','as':_0x85c8('0x13'),'attributes':['id',_0x85c8('0x8'),_0x85c8('0xc'),_0x85c8('0x14'),'nameField',_0x85c8('0x15'),_0x85c8('0xd')],'include':[{'model':_0x85c8('0xe'),'as':'Variable','attributes':['id',_0x85c8('0x3')]}]},{'model':_0x85c8('0x16'),'as':_0x85c8('0x17'),'attributes':['id',_0x85c8('0x3')]}]}]},'log':_0x85c8('0x2')});};};
\ No newline at end of file