Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 89f16bf..e952068 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x99e3=['GetDeskAccount','name','username','remoteUri','authType','type','serverUrl','Configurations','DeskField','Variable','content','key','keyType','variableName','Fields','idField','nameField','Tags','Request'];(function(_0x4c7935,_0x4a53fb){var _0x30651d=function(_0x12f35f){while(--_0x12f35f){_0x4c7935['push'](_0x4c7935['shift']());}};_0x30651d(++_0x4a53fb);}(_0x99e3,0x12f));var _0x399e=function(_0x1c1022,_0x359a3c){_0x1c1022=_0x1c1022-0x0;var _0x28021a=_0x99e3[_0x1c1022];return _0x28021a;};'use strict';var client=require('../../client');exports['getDeskAccounts']=function(){return function(_0x330b05){return client[_0x399e('0x0')](_0x399e('0x1'),{'options':{'raw':![],'attributes':['id',_0x399e('0x2'),'description',_0x399e('0x3'),'password',_0x399e('0x4'),_0x399e('0x5'),_0x399e('0x6'),_0x399e('0x7')],'include':[{'model':'DeskConfiguration','as':_0x399e('0x8'),'attributes':['id',_0x399e('0x2')],'include':[{'model':_0x399e('0x9'),'as':'Subjects','attributes':['id',_0x399e('0x6'),'content','variableName'],'include':[{'model':_0x399e('0xa'),'as':_0x399e('0xa'),'attributes':['id',_0x399e('0x2')]}]},{'model':_0x399e('0x9'),'as':'Descriptions','attributes':['id',_0x399e('0x6'),_0x399e('0xb'),_0x399e('0xc'),_0x399e('0xd'),'keyContent',_0x399e('0xe')],'include':[{'model':'Variable','as':_0x399e('0xa'),'attributes':['id','name']}]},{'model':'DeskField','as':_0x399e('0xf'),'attributes':['id',_0x399e('0x6'),_0x399e('0xb'),_0x399e('0x10'),_0x399e('0x11'),'customField',_0x399e('0xe')],'include':[{'model':_0x399e('0xa'),'as':_0x399e('0xa'),'attributes':['id','name']}]},{'model':'Tag','as':_0x399e('0x12'),'attributes':['id',_0x399e('0x2')]}]}]},'log':_0x399e('0x1')});};};
\ 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