Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index edad2d3..4e30197 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa98b=['getDeskAccounts','GetDeskAccount','name','description','username','password','authType','type','Configurations','DeskField','Subjects','content','key','variableName','Variable','idField','nameField','Tag','Tags'];(function(_0x4aaf81,_0x583fec){var _0xfe0a4c=function(_0x58f84f){while(--_0x58f84f){_0x4aaf81['push'](_0x4aaf81['shift']());}};_0xfe0a4c(++_0x583fec);}(_0xa98b,0x156));var _0xba98=function(_0x3464be,_0x54b1bb){_0x3464be=_0x3464be-0x0;var _0x30041d=_0xa98b[_0x3464be];return _0x30041d;};'use strict';var client=require('../../client');exports[_0xba98('0x0')]=function(){return function(_0x4f685b){return client['Request'](_0xba98('0x1'),{'options':{'raw':![],'attributes':['id',_0xba98('0x2'),_0xba98('0x3'),_0xba98('0x4'),_0xba98('0x5'),'remoteUri',_0xba98('0x6'),_0xba98('0x7'),'serverUrl'],'include':[{'model':'DeskConfiguration','as':_0xba98('0x8'),'attributes':['id','name'],'include':[{'model':_0xba98('0x9'),'as':_0xba98('0xa'),'attributes':['id',_0xba98('0x7'),_0xba98('0xb'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':'DeskField','as':'Descriptions','attributes':['id',_0xba98('0x7'),_0xba98('0xb'),_0xba98('0xc'),'keyType','keyContent',_0xba98('0xd')],'include':[{'model':_0xba98('0xe'),'as':_0xba98('0xe'),'attributes':['id',_0xba98('0x2')]}]},{'model':'DeskField','as':'Fields','attributes':['id',_0xba98('0x7'),'content',_0xba98('0xf'),_0xba98('0x10'),'customField',_0xba98('0xd')],'include':[{'model':_0xba98('0xe'),'as':_0xba98('0xe'),'attributes':['id',_0xba98('0x2')]}]},{'model':_0xba98('0x11'),'as':_0xba98('0x12'),'attributes':['id','name']}]}]},'log':_0xba98('0x1')});};};
\ No newline at end of file
+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