Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index cd9e69a..cbc08d8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb855=['description','remoteUri','authType','type','DeskConfiguration','Configurations','name','DeskField','variableName','Variable','content','keyType','keyContent','Fields','customField','Tag','Tags','getDeskAccounts','GetDeskAccount'];(function(_0x10711a,_0x1f2e33){var _0xa5105a=function(_0x1b4e39){while(--_0x1b4e39){_0x10711a['push'](_0x10711a['shift']());}};_0xa5105a(++_0x1f2e33);}(_0xb855,0x1d9));var _0x5b85=function(_0x5182bd,_0xff8120){_0x5182bd=_0x5182bd-0x0;var _0x3b902d=_0xb855[_0x5182bd];return _0x3b902d;};'use strict';var client=require('../../client');exports[_0x5b85('0x0')]=function(){return function(_0x3de8e8){return client['Request'](_0x5b85('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x5b85('0x2'),'username','password',_0x5b85('0x3'),_0x5b85('0x4'),_0x5b85('0x5'),'serverUrl'],'include':[{'model':_0x5b85('0x6'),'as':_0x5b85('0x7'),'attributes':['id',_0x5b85('0x8')],'include':[{'model':_0x5b85('0x9'),'as':'Subjects','attributes':['id',_0x5b85('0x5'),'content',_0x5b85('0xa')],'include':[{'model':'Variable','as':_0x5b85('0xb'),'attributes':['id',_0x5b85('0x8')]}]},{'model':_0x5b85('0x9'),'as':'Descriptions','attributes':['id',_0x5b85('0x5'),_0x5b85('0xc'),'key',_0x5b85('0xd'),_0x5b85('0xe'),'variableName'],'include':[{'model':'Variable','as':_0x5b85('0xb'),'attributes':['id',_0x5b85('0x8')]}]},{'model':_0x5b85('0x9'),'as':_0x5b85('0xf'),'attributes':['id','type','content','idField','nameField',_0x5b85('0x10'),_0x5b85('0xa')],'include':[{'model':'Variable','as':_0x5b85('0xb'),'attributes':['id',_0x5b85('0x8')]}]},{'model':_0x5b85('0x11'),'as':_0x5b85('0x12'),'attributes':['id','name']}]}]},'log':_0x5b85('0x1')});};};
\ No newline at end of file
+var _0x45f0=['authType','type','serverUrl','Configurations','name','DeskField','Subjects','content','variableName','Variable','Descriptions','keyType','keyContent','Fields','nameField','customField','Tags','../../client','Request','GetDeskAccount','username','password','remoteUri'];(function(_0x4a3d44,_0x481622){var _0x4a4728=function(_0x205d7d){while(--_0x205d7d){_0x4a3d44['push'](_0x4a3d44['shift']());}};_0x4a4728(++_0x481622);}(_0x45f0,0x153));var _0x045f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x45f0[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x045f('0x0'));exports['getDeskAccounts']=function(){return function(_0x105143){return client[_0x045f('0x1')](_0x045f('0x2'),{'options':{'raw':![],'attributes':['id','name','description',_0x045f('0x3'),_0x045f('0x4'),_0x045f('0x5'),_0x045f('0x6'),_0x045f('0x7'),_0x045f('0x8')],'include':[{'model':'DeskConfiguration','as':_0x045f('0x9'),'attributes':['id',_0x045f('0xa')],'include':[{'model':_0x045f('0xb'),'as':_0x045f('0xc'),'attributes':['id','type',_0x045f('0xd'),_0x045f('0xe')],'include':[{'model':_0x045f('0xf'),'as':_0x045f('0xf'),'attributes':['id',_0x045f('0xa')]}]},{'model':_0x045f('0xb'),'as':_0x045f('0x10'),'attributes':['id','type','content','key',_0x045f('0x11'),_0x045f('0x12'),'variableName'],'include':[{'model':_0x045f('0xf'),'as':'Variable','attributes':['id',_0x045f('0xa')]}]},{'model':'DeskField','as':_0x045f('0x13'),'attributes':['id',_0x045f('0x7'),_0x045f('0xd'),'idField',_0x045f('0x14'),_0x045f('0x15'),'variableName'],'include':[{'model':_0x045f('0xf'),'as':'Variable','attributes':['id','name']}]},{'model':'Tag','as':_0x045f('0x16'),'attributes':['id',_0x045f('0xa')]}]}]},'log':_0x045f('0x2')});};};
\ No newline at end of file