Built motion from commit 97153652.|2.6.26
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index 4e30197..f83fa44 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2fc1=['Subjects','Variable','Descriptions','content','key','keyType','keyContent','Fields','idField','nameField','customField','variableName','Tag','Tags','Request','GetDeskAccount','name','description','remoteUri','authType','type','serverUrl','Configurations','DeskField'];(function(_0x4c295c,_0x580371){var _0x1f85e4=function(_0x50a206){while(--_0x50a206){_0x4c295c['push'](_0x4c295c['shift']());}};_0x1f85e4(++_0x580371);}(_0x2fc1,0x1a6));var _0x12fc=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x2fc1[_0x59ee6f];return _0x4c0979;};'use strict';var client=require('../../client');exports['getDeskAccounts']=function(){return function(_0x128ed2){return client[_0x12fc('0x0')](_0x12fc('0x1'),{'options':{'raw':![],'attributes':['id',_0x12fc('0x2'),_0x12fc('0x3'),'username','password',_0x12fc('0x4'),_0x12fc('0x5'),_0x12fc('0x6'),_0x12fc('0x7')],'include':[{'model':'DeskConfiguration','as':_0x12fc('0x8'),'attributes':['id',_0x12fc('0x2')],'include':[{'model':_0x12fc('0x9'),'as':_0x12fc('0xa'),'attributes':['id',_0x12fc('0x6'),'content','variableName'],'include':[{'model':_0x12fc('0xb'),'as':'Variable','attributes':['id',_0x12fc('0x2')]}]},{'model':_0x12fc('0x9'),'as':_0x12fc('0xc'),'attributes':['id',_0x12fc('0x6'),_0x12fc('0xd'),_0x12fc('0xe'),_0x12fc('0xf'),_0x12fc('0x10'),'variableName'],'include':[{'model':_0x12fc('0xb'),'as':'Variable','attributes':['id',_0x12fc('0x2')]}]},{'model':_0x12fc('0x9'),'as':_0x12fc('0x11'),'attributes':['id','type',_0x12fc('0xd'),_0x12fc('0x12'),_0x12fc('0x13'),_0x12fc('0x14'),_0x12fc('0x15')],'include':[{'model':_0x12fc('0xb'),'as':_0x12fc('0xb'),'attributes':['id',_0x12fc('0x2')]}]},{'model':_0x12fc('0x16'),'as':_0x12fc('0x17'),'attributes':['id',_0x12fc('0x2')]}]}]},'log':_0x12fc('0x1')});};};
\ No newline at end of file
+var _0xc3b6=['Request','GetDeskAccount','name','description','username','remoteUri','authType','type','serverUrl','DeskField','Subjects','content','variableName','Variable','Descriptions','key','keyType','Fields','idField','nameField','customField','../../client','getDeskAccounts'];(function(_0x4d7dfa,_0x240260){var _0x9636f1=function(_0x2f771a){while(--_0x2f771a){_0x4d7dfa['push'](_0x4d7dfa['shift']());}};_0x9636f1(++_0x240260);}(_0xc3b6,0x140));var _0x6c3b=function(_0x11ce46,_0x177a85){_0x11ce46=_0x11ce46-0x0;var _0x368a1e=_0xc3b6[_0x11ce46];return _0x368a1e;};'use strict';var client=require(_0x6c3b('0x0'));exports[_0x6c3b('0x1')]=function(){return function(_0x3cc34){return client[_0x6c3b('0x2')](_0x6c3b('0x3'),{'options':{'raw':![],'attributes':['id',_0x6c3b('0x4'),_0x6c3b('0x5'),_0x6c3b('0x6'),'password',_0x6c3b('0x7'),_0x6c3b('0x8'),_0x6c3b('0x9'),_0x6c3b('0xa')],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id',_0x6c3b('0x4')],'include':[{'model':_0x6c3b('0xb'),'as':_0x6c3b('0xc'),'attributes':['id',_0x6c3b('0x9'),_0x6c3b('0xd'),_0x6c3b('0xe')],'include':[{'model':'Variable','as':_0x6c3b('0xf'),'attributes':['id',_0x6c3b('0x4')]}]},{'model':_0x6c3b('0xb'),'as':_0x6c3b('0x10'),'attributes':['id',_0x6c3b('0x9'),_0x6c3b('0xd'),_0x6c3b('0x11'),_0x6c3b('0x12'),'keyContent',_0x6c3b('0xe')],'include':[{'model':_0x6c3b('0xf'),'as':'Variable','attributes':['id',_0x6c3b('0x4')]}]},{'model':'DeskField','as':_0x6c3b('0x13'),'attributes':['id',_0x6c3b('0x9'),_0x6c3b('0xd'),_0x6c3b('0x14'),_0x6c3b('0x15'),_0x6c3b('0x16'),'variableName'],'include':[{'model':_0x6c3b('0xf'),'as':_0x6c3b('0xf'),'attributes':['id',_0x6c3b('0x4')]}]},{'model':'Tag','as':'Tags','attributes':['id',_0x6c3b('0x4')]}]}]},'log':_0x6c3b('0x3')});};};
\ No newline at end of file