Built motion from commit 9e1399f3.|2.5.37
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index e999e89..382bfdd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0aa9=['content','Variable','FreshdeskField','Descriptions','key','keyType','keyContent','variableName','type','idField','customField','Request','GetFreshdeskAccount','username','serverUrl','FreshdeskConfiguration','name','Tag','Subjects'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x0aa9,0x1ad));var _0x90aa=function(_0x205e5a,_0x5c19fb){_0x205e5a=_0x205e5a-0x0;var _0x10da58=_0x0aa9[_0x205e5a];return _0x10da58;};'use strict';var client=require('../../client');exports['getFreshdeskAccounts']=function(){return function(_0x1c8556){return client[_0x90aa('0x0')](_0x90aa('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x90aa('0x2'),'apiKey','remoteUri',_0x90aa('0x3')],'include':[{'model':_0x90aa('0x4'),'as':'Configurations','attributes':['id',_0x90aa('0x5')],'include':[{'model':_0x90aa('0x6'),'attributes':['id',_0x90aa('0x5')]},{'model':'FreshdeskField','as':_0x90aa('0x7'),'attributes':['id','type',_0x90aa('0x8'),'variableName'],'include':[{'model':_0x90aa('0x9'),'as':_0x90aa('0x9'),'attributes':['id','name']}]},{'model':_0x90aa('0xa'),'as':_0x90aa('0xb'),'attributes':['id','type',_0x90aa('0x8'),_0x90aa('0xc'),_0x90aa('0xd'),_0x90aa('0xe'),_0x90aa('0xf')],'include':[{'model':_0x90aa('0x9'),'as':_0x90aa('0x9'),'attributes':['id',_0x90aa('0x5')]}]},{'model':_0x90aa('0xa'),'as':'Fields','attributes':['id',_0x90aa('0x10'),_0x90aa('0x8'),_0x90aa('0x11'),'nameField',_0x90aa('0x12'),_0x90aa('0xf')],'include':[{'model':_0x90aa('0x9'),'as':_0x90aa('0x9'),'attributes':['id','name']}]}]}]},'log':_0x90aa('0x1')});};};
\ No newline at end of file
+var _0x88c7=['key','keyType','keyContent','idField','nameField','customField','../../client','Request','GetFreshdeskAccount','apiKey','remoteUri','FreshdeskConfiguration','Configurations','Tag','name','type','content','variableName','Variable','FreshdeskField','Descriptions'];(function(_0x40674e,_0x29a993){var _0x244bb1=function(_0x43844c){while(--_0x43844c){_0x40674e['push'](_0x40674e['shift']());}};_0x244bb1(++_0x29a993);}(_0x88c7,0x6f));var _0x788c=function(_0x11d95a,_0x4acb09){_0x11d95a=_0x11d95a-0x0;var _0x37443d=_0x88c7[_0x11d95a];return _0x37443d;};'use strict';var client=require(_0x788c('0x0'));exports['getFreshdeskAccounts']=function(){return function(_0x4ea651){return client[_0x788c('0x1')](_0x788c('0x2'),{'options':{'raw':![],'attributes':['id','name','username',_0x788c('0x3'),_0x788c('0x4'),'serverUrl'],'include':[{'model':_0x788c('0x5'),'as':_0x788c('0x6'),'attributes':['id','name'],'include':[{'model':_0x788c('0x7'),'attributes':['id',_0x788c('0x8')]},{'model':'FreshdeskField','as':'Subjects','attributes':['id',_0x788c('0x9'),_0x788c('0xa'),_0x788c('0xb')],'include':[{'model':_0x788c('0xc'),'as':_0x788c('0xc'),'attributes':['id','name']}]},{'model':_0x788c('0xd'),'as':_0x788c('0xe'),'attributes':['id',_0x788c('0x9'),'content',_0x788c('0xf'),_0x788c('0x10'),_0x788c('0x11'),_0x788c('0xb')],'include':[{'model':_0x788c('0xc'),'as':_0x788c('0xc'),'attributes':['id','name']}]},{'model':_0x788c('0xd'),'as':'Fields','attributes':['id',_0x788c('0x9'),'content',_0x788c('0x12'),_0x788c('0x13'),_0x788c('0x14'),_0x788c('0xb')],'include':[{'model':_0x788c('0xc'),'as':_0x788c('0xc'),'attributes':['id',_0x788c('0x8')]}]}]}]},'log':_0x788c('0x2')});};};
\ No newline at end of file