Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index b8be04b..e952068 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfa24=['variableName','Fields','idField','customField','Tags','Request','GetDeskAccount','description','password','authType','type','DeskConfiguration','Configurations','name','DeskField','Subjects','content','Variable','keyType','keyContent'];(function(_0x46119c,_0x34e049){var _0xa03d16=function(_0x12eb60){while(--_0x12eb60){_0x46119c['push'](_0x46119c['shift']());}};_0xa03d16(++_0x34e049);}(_0xfa24,0x109));var _0x4fa2=function(_0x1627ae,_0x2aaa24){_0x1627ae=_0x1627ae-0x0;var _0x34b38f=_0xfa24[_0x1627ae];return _0x34b38f;};'use strict';var client=require('../../client');exports['getDeskAccounts']=function(){return function(_0x169e68){return client[_0x4fa2('0x0')](_0x4fa2('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x4fa2('0x2'),'username',_0x4fa2('0x3'),'remoteUri',_0x4fa2('0x4'),_0x4fa2('0x5'),'serverUrl'],'include':[{'model':_0x4fa2('0x6'),'as':_0x4fa2('0x7'),'attributes':['id',_0x4fa2('0x8')],'include':[{'model':_0x4fa2('0x9'),'as':_0x4fa2('0xa'),'attributes':['id','type',_0x4fa2('0xb'),'variableName'],'include':[{'model':_0x4fa2('0xc'),'as':_0x4fa2('0xc'),'attributes':['id','name']}]},{'model':_0x4fa2('0x9'),'as':'Descriptions','attributes':['id',_0x4fa2('0x5'),_0x4fa2('0xb'),'key',_0x4fa2('0xd'),_0x4fa2('0xe'),_0x4fa2('0xf')],'include':[{'model':_0x4fa2('0xc'),'as':'Variable','attributes':['id','name']}]},{'model':_0x4fa2('0x9'),'as':_0x4fa2('0x10'),'attributes':['id',_0x4fa2('0x5'),_0x4fa2('0xb'),_0x4fa2('0x11'),'nameField',_0x4fa2('0x12'),_0x4fa2('0xf')],'include':[{'model':_0x4fa2('0xc'),'as':_0x4fa2('0xc'),'attributes':['id','name']}]},{'model':'Tag','as':_0x4fa2('0x13'),'attributes':['id',_0x4fa2('0x8')]}]}]},'log':'GetDeskAccount'});};};
\ No newline at end of file
+var _0x7b5e=['Variable','key','keyType','keyContent','Fields','idField','nameField','Tag','GetDeskAccount','../../client','getDeskAccounts','Request','name','username','password','remoteUri','authType','serverUrl','DeskConfiguration','DeskField','Subjects','type','content','variableName'];(function(_0x2aec52,_0x59d962){var _0x3b8835=function(_0x3e2604){while(--_0x3e2604){_0x2aec52['push'](_0x2aec52['shift']());}};_0x3b8835(++_0x59d962);}(_0x7b5e,0x171));var _0xe7b5=function(_0x3d42d8,_0x4cffaa){_0x3d42d8=_0x3d42d8-0x0;var _0x27fc41=_0x7b5e[_0x3d42d8];return _0x27fc41;};'use strict';var client=require(_0xe7b5('0x0'));exports[_0xe7b5('0x1')]=function(){return function(_0x437223){return client[_0xe7b5('0x2')]('GetDeskAccount',{'options':{'raw':![],'attributes':['id',_0xe7b5('0x3'),'description',_0xe7b5('0x4'),_0xe7b5('0x5'),_0xe7b5('0x6'),_0xe7b5('0x7'),'type',_0xe7b5('0x8')],'include':[{'model':_0xe7b5('0x9'),'as':'Configurations','attributes':['id',_0xe7b5('0x3')],'include':[{'model':_0xe7b5('0xa'),'as':_0xe7b5('0xb'),'attributes':['id',_0xe7b5('0xc'),_0xe7b5('0xd'),_0xe7b5('0xe')],'include':[{'model':_0xe7b5('0xf'),'as':'Variable','attributes':['id',_0xe7b5('0x3')]}]},{'model':_0xe7b5('0xa'),'as':'Descriptions','attributes':['id',_0xe7b5('0xc'),'content',_0xe7b5('0x10'),_0xe7b5('0x11'),_0xe7b5('0x12'),_0xe7b5('0xe')],'include':[{'model':_0xe7b5('0xf'),'as':_0xe7b5('0xf'),'attributes':['id','name']}]},{'model':_0xe7b5('0xa'),'as':_0xe7b5('0x13'),'attributes':['id','type',_0xe7b5('0xd'),_0xe7b5('0x14'),_0xe7b5('0x15'),'customField',_0xe7b5('0xe')],'include':[{'model':_0xe7b5('0xf'),'as':'Variable','attributes':['id',_0xe7b5('0x3')]}]},{'model':_0xe7b5('0x16'),'as':'Tags','attributes':['id',_0xe7b5('0x3')]}]}]},'log':_0xe7b5('0x17')});};};
\ No newline at end of file