Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / services / ami / rpc / integrations / desk.js
index cb8347b..2da781e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb7f4=['name','username','password','remoteUri','authType','type','DeskConfiguration','Configurations','DeskField','Subjects','content','variableName','Variable','key','Fields','customField','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount'];(function(_0x3f0750,_0x414fb2){var _0xbfdfea=function(_0x15dfdb){while(--_0x15dfdb){_0x3f0750['push'](_0x3f0750['shift']());}};_0xbfdfea(++_0x414fb2);}(_0xb7f4,0x19e));var _0x4b7f=function(_0x2a6f6f,_0x6152bf){_0x2a6f6f=_0x2a6f6f-0x0;var _0x28a63c=_0xb7f4[_0x2a6f6f];return _0x28a63c;};'use strict';var client=require(_0x4b7f('0x0'));exports[_0x4b7f('0x1')]=function(){return function(_0x398878){return client[_0x4b7f('0x2')](_0x4b7f('0x3'),{'options':{'raw':![],'attributes':['id',_0x4b7f('0x4'),'description',_0x4b7f('0x5'),_0x4b7f('0x6'),_0x4b7f('0x7'),_0x4b7f('0x8'),_0x4b7f('0x9'),'serverUrl'],'include':[{'model':_0x4b7f('0xa'),'as':_0x4b7f('0xb'),'attributes':['id',_0x4b7f('0x4')],'include':[{'model':_0x4b7f('0xc'),'as':_0x4b7f('0xd'),'attributes':['id',_0x4b7f('0x9'),_0x4b7f('0xe'),_0x4b7f('0xf')],'include':[{'model':_0x4b7f('0x10'),'as':_0x4b7f('0x10'),'attributes':['id',_0x4b7f('0x4')]}]},{'model':_0x4b7f('0xc'),'as':'Descriptions','attributes':['id',_0x4b7f('0x9'),_0x4b7f('0xe'),_0x4b7f('0x11'),'keyType','keyContent',_0x4b7f('0xf')],'include':[{'model':_0x4b7f('0x10'),'as':'Variable','attributes':['id',_0x4b7f('0x4')]}]},{'model':_0x4b7f('0xc'),'as':_0x4b7f('0x12'),'attributes':['id',_0x4b7f('0x9'),_0x4b7f('0xe'),'idField','nameField',_0x4b7f('0x13'),'variableName'],'include':[{'model':_0x4b7f('0x10'),'as':_0x4b7f('0x10'),'attributes':['id','name']}]},{'model':_0x4b7f('0x14'),'as':_0x4b7f('0x15'),'attributes':['id',_0x4b7f('0x4')]}]}]},'log':'GetDeskAccount'});};};
\ No newline at end of file
+var _0xdb4d=['Descriptions','key','keyType','keyContent','Fields','nameField','customField','Tag','Tags','../../client','GetDeskAccount','name','description','username','password','serverUrl','DeskField','Subjects','type','content','variableName','Variable'];(function(_0x4d674b,_0x176474){var _0x535a1f=function(_0xac7726){while(--_0xac7726){_0x4d674b['push'](_0x4d674b['shift']());}};_0x535a1f(++_0x176474);}(_0xdb4d,0x77));var _0xddb4=function(_0x23a290,_0x5f9ec6){_0x23a290=_0x23a290-0x0;var _0x40446a=_0xdb4d[_0x23a290];return _0x40446a;};'use strict';var client=require(_0xddb4('0x0'));exports['getDeskAccounts']=function(){return function(_0x248b8e){return client['Request'](_0xddb4('0x1'),{'options':{'raw':![],'attributes':['id',_0xddb4('0x2'),_0xddb4('0x3'),_0xddb4('0x4'),_0xddb4('0x5'),'remoteUri','authType','type',_0xddb4('0x6')],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id',_0xddb4('0x2')],'include':[{'model':_0xddb4('0x7'),'as':_0xddb4('0x8'),'attributes':['id',_0xddb4('0x9'),_0xddb4('0xa'),_0xddb4('0xb')],'include':[{'model':_0xddb4('0xc'),'as':_0xddb4('0xc'),'attributes':['id',_0xddb4('0x2')]}]},{'model':_0xddb4('0x7'),'as':_0xddb4('0xd'),'attributes':['id',_0xddb4('0x9'),_0xddb4('0xa'),_0xddb4('0xe'),_0xddb4('0xf'),_0xddb4('0x10'),_0xddb4('0xb')],'include':[{'model':_0xddb4('0xc'),'as':'Variable','attributes':['id',_0xddb4('0x2')]}]},{'model':'DeskField','as':_0xddb4('0x11'),'attributes':['id',_0xddb4('0x9'),_0xddb4('0xa'),'idField',_0xddb4('0x12'),_0xddb4('0x13'),_0xddb4('0xb')],'include':[{'model':'Variable','as':_0xddb4('0xc'),'attributes':['id',_0xddb4('0x2')]}]},{'model':_0xddb4('0x14'),'as':_0xddb4('0x15'),'attributes':['id',_0xddb4('0x2')]}]}]},'log':_0xddb4('0x1')});};};
\ No newline at end of file