Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index 3fa85e2..0d45026 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0xbca8=['apiKey','remoteUri','Configurations','name','Tag','Subjects','type','content','variableName','Variable','keyContent','FreshdeskField','Fields','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount','username'];(function(_0x2b10c6,_0x185590){var _0x3789d2=function(_0x272987){while(--_0x272987){_0x2b10c6['push'](_0x2b10c6['shift']());}};_0x3789d2(++_0x185590);}(_0xbca8,0xcc));var _0x8bca=function(_0x1da7f1,_0x531461){_0x1da7f1=_0x1da7f1-0x0;var _0x2a78b6=_0xbca8[_0x1da7f1];return _0x2a78b6;};'use strict';var client=require(_0x8bca('0x0'));exports[_0x8bca('0x1')]=function(){return function(_0xa789ba){return client[_0x8bca('0x2')](_0x8bca('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x8bca('0x4'),_0x8bca('0x5'),_0x8bca('0x6'),'serverUrl'],'include':[{'model':'FreshdeskConfiguration','as':_0x8bca('0x7'),'attributes':['id',_0x8bca('0x8')],'include':[{'model':_0x8bca('0x9'),'attributes':['id',_0x8bca('0x8')]},{'model':'FreshdeskField','as':_0x8bca('0xa'),'attributes':['id',_0x8bca('0xb'),_0x8bca('0xc'),_0x8bca('0xd')],'include':[{'model':_0x8bca('0xe'),'as':_0x8bca('0xe'),'attributes':['id',_0x8bca('0x8')]}]},{'model':'FreshdeskField','as':'Descriptions','attributes':['id',_0x8bca('0xb'),_0x8bca('0xc'),'key','keyType',_0x8bca('0xf'),'variableName'],'include':[{'model':_0x8bca('0xe'),'as':_0x8bca('0xe'),'attributes':['id','name']}]},{'model':_0x8bca('0x10'),'as':_0x8bca('0x11'),'attributes':['id',_0x8bca('0xb'),_0x8bca('0xc'),'idField','nameField',_0x8bca('0x12'),'variableName'],'include':[{'model':_0x8bca('0xe'),'as':_0x8bca('0xe'),'attributes':['id',_0x8bca('0x8')]}]}]}]},'log':_0x8bca('0x3')});};};
\ No newline at end of file