Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index e999e89..aefd754 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 _0x6f59=['name','username','apiKey','remoteUri','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','type','variableName','Variable','Descriptions','content','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount'];(function(_0x513aa5,_0x1fba79){var _0x1a1a7c=function(_0x240e3f){while(--_0x240e3f){_0x513aa5['push'](_0x513aa5['shift']());}};_0x1a1a7c(++_0x1fba79);}(_0x6f59,0x1be));var _0x96f5=function(_0x298181,_0x2032a4){_0x298181=_0x298181-0x0;var _0x40efdf=_0x6f59[_0x298181];return _0x40efdf;};'use strict';var client=require(_0x96f5('0x0'));exports[_0x96f5('0x1')]=function(){return function(_0x2da9ec){return client[_0x96f5('0x2')](_0x96f5('0x3'),{'options':{'raw':![],'attributes':['id',_0x96f5('0x4'),_0x96f5('0x5'),_0x96f5('0x6'),_0x96f5('0x7'),_0x96f5('0x8')],'include':[{'model':_0x96f5('0x9'),'as':_0x96f5('0xa'),'attributes':['id','name'],'include':[{'model':_0x96f5('0xb'),'attributes':['id','name']},{'model':_0x96f5('0xc'),'as':'Subjects','attributes':['id',_0x96f5('0xd'),'content',_0x96f5('0xe')],'include':[{'model':_0x96f5('0xf'),'as':_0x96f5('0xf'),'attributes':['id',_0x96f5('0x4')]}]},{'model':'FreshdeskField','as':_0x96f5('0x10'),'attributes':['id',_0x96f5('0xd'),_0x96f5('0x11'),_0x96f5('0x12'),_0x96f5('0x13'),_0x96f5('0x14'),_0x96f5('0xe')],'include':[{'model':_0x96f5('0xf'),'as':_0x96f5('0xf'),'attributes':['id',_0x96f5('0x4')]}]},{'model':_0x96f5('0xc'),'as':_0x96f5('0x15'),'attributes':['id',_0x96f5('0xd'),'content',_0x96f5('0x16'),_0x96f5('0x17'),_0x96f5('0x18'),_0x96f5('0xe')],'include':[{'model':_0x96f5('0xf'),'as':_0x96f5('0xf'),'attributes':['id','name']}]}]}]},'log':_0x96f5('0x3')});};};
\ No newline at end of file