Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index 9692bce..0d45026 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbecf=['content','variableName','Variable','key','keyType','keyContent','idField','nameField','Request','GetFreshdeskAccount','name','apiKey','remoteUri','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','Subjects','type'];(function(_0x4560eb,_0x399e8e){var _0x1f32a9=function(_0x25b1bb){while(--_0x25b1bb){_0x4560eb['push'](_0x4560eb['shift']());}};_0x1f32a9(++_0x399e8e);}(_0xbecf,0x15c));var _0xfbec=function(_0x2e8316,_0x50788a){_0x2e8316=_0x2e8316-0x0;var _0x530a84=_0xbecf[_0x2e8316];return _0x530a84;};'use strict';var client=require('../../client');exports['getFreshdeskAccounts']=function(){return function(_0x17f357){return client[_0xfbec('0x0')](_0xfbec('0x1'),{'options':{'raw':![],'attributes':['id',_0xfbec('0x2'),'username',_0xfbec('0x3'),_0xfbec('0x4'),_0xfbec('0x5')],'include':[{'model':_0xfbec('0x6'),'as':_0xfbec('0x7'),'attributes':['id','name'],'include':[{'model':_0xfbec('0x8'),'attributes':['id',_0xfbec('0x2')]},{'model':_0xfbec('0x9'),'as':_0xfbec('0xa'),'attributes':['id',_0xfbec('0xb'),_0xfbec('0xc'),_0xfbec('0xd')],'include':[{'model':_0xfbec('0xe'),'as':_0xfbec('0xe'),'attributes':['id','name']}]},{'model':'FreshdeskField','as':'Descriptions','attributes':['id',_0xfbec('0xb'),_0xfbec('0xc'),_0xfbec('0xf'),_0xfbec('0x10'),_0xfbec('0x11'),'variableName'],'include':[{'model':_0xfbec('0xe'),'as':_0xfbec('0xe'),'attributes':['id',_0xfbec('0x2')]}]},{'model':_0xfbec('0x9'),'as':'Fields','attributes':['id',_0xfbec('0xb'),_0xfbec('0xc'),_0xfbec('0x12'),_0xfbec('0x13'),'customField',_0xfbec('0xd')],'include':[{'model':'Variable','as':_0xfbec('0xe'),'attributes':['id','name']}]}]}]},'log':_0xfbec('0x1')});};};
\ 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