Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index 030d2f7..e90ed28 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe211=['customField','GetFreshdeskAccount','name','username','apiKey','remoteUri','FreshdeskConfiguration','Configurations','Tag','Subjects','type','content','variableName','Variable','Descriptions','key','keyContent','FreshdeskField','Fields','idField','nameField'];(function(_0x52794a,_0x3bb38f){var _0x135858=function(_0x339763){while(--_0x339763){_0x52794a['push'](_0x52794a['shift']());}};_0x135858(++_0x3bb38f);}(_0xe211,0x166));var _0x1e21=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xe211[_0x14add3];return _0x4a174f;};'use strict';var client=require('../../client');exports['getFreshdeskAccounts']=function(){return function(_0x2f6c08){return client['Request'](_0x1e21('0x0'),{'options':{'raw':![],'attributes':['id',_0x1e21('0x1'),_0x1e21('0x2'),_0x1e21('0x3'),_0x1e21('0x4'),'serverUrl'],'include':[{'model':_0x1e21('0x5'),'as':_0x1e21('0x6'),'attributes':['id',_0x1e21('0x1')],'include':[{'model':_0x1e21('0x7'),'attributes':['id',_0x1e21('0x1')]},{'model':'FreshdeskField','as':_0x1e21('0x8'),'attributes':['id',_0x1e21('0x9'),_0x1e21('0xa'),_0x1e21('0xb')],'include':[{'model':_0x1e21('0xc'),'as':_0x1e21('0xc'),'attributes':['id',_0x1e21('0x1')]}]},{'model':'FreshdeskField','as':_0x1e21('0xd'),'attributes':['id','type',_0x1e21('0xa'),_0x1e21('0xe'),'keyType',_0x1e21('0xf'),'variableName'],'include':[{'model':_0x1e21('0xc'),'as':_0x1e21('0xc'),'attributes':['id',_0x1e21('0x1')]}]},{'model':_0x1e21('0x10'),'as':_0x1e21('0x11'),'attributes':['id',_0x1e21('0x9'),_0x1e21('0xa'),_0x1e21('0x12'),_0x1e21('0x13'),_0x1e21('0x14'),'variableName'],'include':[{'model':_0x1e21('0xc'),'as':'Variable','attributes':['id',_0x1e21('0x1')]}]}]}]},'log':_0x1e21('0x0')});};};
\ No newline at end of file
+var _0x0cfa=['apiKey','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','Subjects','type','content','variableName','Variable','keyType','keyContent','Fields','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount','name'];(function(_0xd0448e,_0x2d3d92){var _0x3563cb=function(_0x19ccf3){while(--_0x19ccf3){_0xd0448e['push'](_0xd0448e['shift']());}};_0x3563cb(++_0x2d3d92);}(_0x0cfa,0x73));var _0xa0cf=function(_0x765b24,_0x34f0af){_0x765b24=_0x765b24-0x0;var _0x4e4ac1=_0x0cfa[_0x765b24];return _0x4e4ac1;};'use strict';var client=require(_0xa0cf('0x0'));exports[_0xa0cf('0x1')]=function(){return function(_0x3e32a0){return client[_0xa0cf('0x2')](_0xa0cf('0x3'),{'options':{'raw':![],'attributes':['id',_0xa0cf('0x4'),'username',_0xa0cf('0x5'),'remoteUri',_0xa0cf('0x6')],'include':[{'model':_0xa0cf('0x7'),'as':_0xa0cf('0x8'),'attributes':['id',_0xa0cf('0x4')],'include':[{'model':_0xa0cf('0x9'),'attributes':['id',_0xa0cf('0x4')]},{'model':_0xa0cf('0xa'),'as':_0xa0cf('0xb'),'attributes':['id',_0xa0cf('0xc'),_0xa0cf('0xd'),_0xa0cf('0xe')],'include':[{'model':_0xa0cf('0xf'),'as':_0xa0cf('0xf'),'attributes':['id',_0xa0cf('0x4')]}]},{'model':_0xa0cf('0xa'),'as':'Descriptions','attributes':['id',_0xa0cf('0xc'),_0xa0cf('0xd'),'key',_0xa0cf('0x10'),_0xa0cf('0x11'),_0xa0cf('0xe')],'include':[{'model':_0xa0cf('0xf'),'as':_0xa0cf('0xf'),'attributes':['id',_0xa0cf('0x4')]}]},{'model':_0xa0cf('0xa'),'as':_0xa0cf('0x12'),'attributes':['id',_0xa0cf('0xc'),_0xa0cf('0xd'),'idField','nameField',_0xa0cf('0x13'),_0xa0cf('0xe')],'include':[{'model':_0xa0cf('0xf'),'as':_0xa0cf('0xf'),'attributes':['id',_0xa0cf('0x4')]}]}]}]},'log':_0xa0cf('0x3')});};};
\ No newline at end of file