Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index cf69984..3fa85e2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3360=['serverUrl','FreshdeskConfiguration','Configurations','FreshdeskField','Subjects','type','content','variableName','Variable','key','keyType','keyContent','Fields','nameField','customField','../../client','getFreshdeskAccounts','name','remoteUri'];(function(_0x5067db,_0xf8d2f2){var _0x2771e4=function(_0x3d5cb2){while(--_0x3d5cb2){_0x5067db['push'](_0x5067db['shift']());}};_0x2771e4(++_0xf8d2f2);}(_0x3360,0x1d7));var _0x0336=function(_0x544eff,_0xbf3571){_0x544eff=_0x544eff-0x0;var _0x185589=_0x3360[_0x544eff];return _0x185589;};'use strict';var client=require(_0x0336('0x0'));exports[_0x0336('0x1')]=function(){return function(_0x4f2539){return client['Request']('GetFreshdeskAccount',{'options':{'raw':![],'attributes':['id',_0x0336('0x2'),'username','apiKey',_0x0336('0x3'),_0x0336('0x4')],'include':[{'model':_0x0336('0x5'),'as':_0x0336('0x6'),'attributes':['id',_0x0336('0x2')],'include':[{'model':'Tag','attributes':['id','name']},{'model':_0x0336('0x7'),'as':_0x0336('0x8'),'attributes':['id',_0x0336('0x9'),_0x0336('0xa'),_0x0336('0xb')],'include':[{'model':'Variable','as':_0x0336('0xc'),'attributes':['id',_0x0336('0x2')]}]},{'model':_0x0336('0x7'),'as':'Descriptions','attributes':['id',_0x0336('0x9'),'content',_0x0336('0xd'),_0x0336('0xe'),_0x0336('0xf'),_0x0336('0xb')],'include':[{'model':_0x0336('0xc'),'as':'Variable','attributes':['id',_0x0336('0x2')]}]},{'model':_0x0336('0x7'),'as':_0x0336('0x10'),'attributes':['id',_0x0336('0x9'),_0x0336('0xa'),'idField',_0x0336('0x11'),_0x0336('0x12'),_0x0336('0xb')],'include':[{'model':_0x0336('0xc'),'as':'Variable','attributes':['id',_0x0336('0x2')]}]}]}]},'log':'GetFreshdeskAccount'});};};
\ No newline at end of file
+var _0x94e6=['Variable','Fields','idField','nameField','customField','../../client','Request','GetFreshdeskAccount','name','username','apiKey','serverUrl','FreshdeskConfiguration','Tag','FreshdeskField','content','Descriptions','type','key','keyType','variableName'];(function(_0x54d298,_0x407f92){var _0x2de40c=function(_0x4094a0){while(--_0x4094a0){_0x54d298['push'](_0x54d298['shift']());}};_0x2de40c(++_0x407f92);}(_0x94e6,0x194));var _0x694e=function(_0x58edc6,_0x306e8f){_0x58edc6=_0x58edc6-0x0;var _0x249f8b=_0x94e6[_0x58edc6];return _0x249f8b;};'use strict';var client=require(_0x694e('0x0'));exports['getFreshdeskAccounts']=function(){return function(_0x32423f){return client[_0x694e('0x1')](_0x694e('0x2'),{'options':{'raw':![],'attributes':['id',_0x694e('0x3'),_0x694e('0x4'),_0x694e('0x5'),'remoteUri',_0x694e('0x6')],'include':[{'model':_0x694e('0x7'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0x694e('0x8'),'attributes':['id',_0x694e('0x3')]},{'model':_0x694e('0x9'),'as':'Subjects','attributes':['id','type',_0x694e('0xa'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x694e('0x3')]}]},{'model':_0x694e('0x9'),'as':_0x694e('0xb'),'attributes':['id',_0x694e('0xc'),'content',_0x694e('0xd'),_0x694e('0xe'),'keyContent',_0x694e('0xf')],'include':[{'model':_0x694e('0x10'),'as':_0x694e('0x10'),'attributes':['id',_0x694e('0x3')]}]},{'model':'FreshdeskField','as':_0x694e('0x11'),'attributes':['id','type',_0x694e('0xa'),_0x694e('0x12'),_0x694e('0x13'),_0x694e('0x14'),_0x694e('0xf')],'include':[{'model':_0x694e('0x10'),'as':_0x694e('0x10'),'attributes':['id',_0x694e('0x3')]}]}]}]},'log':_0x694e('0x2')});};};
\ No newline at end of file