7bc452c3b858d0c80d1f89a4c863bbbfde670b1c
[motion-next.git] / server / services / ami / rpc / integrations / freshdesk.js
1 const a1110_0x1096=['idField','name','Variable','getFreshdeskAccounts','FreshdeskField','apiKey','keyContent','nameField','customField','variableName','content','FreshdeskConfiguration','Tag','../../client','username','Fields','key','type','Configurations','Descriptions','Request','serverUrl'];(function(_0x4a0242,_0x109627){const _0x20a2fa=function(_0x442ae0){while(--_0x442ae0){_0x4a0242['push'](_0x4a0242['shift']());}};_0x20a2fa(++_0x109627);}(a1110_0x1096,0xb2));const a1110_0x20a2=function(_0x4a0242,_0x109627){_0x4a0242=_0x4a0242-0x0;let _0x20a2fa=a1110_0x1096[_0x4a0242];return _0x20a2fa;};const _0x29be43=a1110_0x20a2;'use strict';const client=require(_0x29be43('0xb'));exports[_0x29be43('0x1')]=function(){return function(){const _0x5612eb=a1110_0x20a2;return client[_0x5612eb('0x12')]('GetFreshdeskAccount',{'options':{'raw':![],'attributes':['id','name',_0x5612eb('0xc'),_0x5612eb('0x3'),'remoteUri',_0x5612eb('0x13')],'include':[{'model':_0x5612eb('0x9'),'as':_0x5612eb('0x10'),'attributes':['id','name'],'include':[{'model':_0x5612eb('0xa'),'attributes':['id',_0x5612eb('0x15')]},{'model':_0x5612eb('0x2'),'as':'Subjects','attributes':['id',_0x5612eb('0xf'),_0x5612eb('0x8'),_0x5612eb('0x7')],'include':[{'model':_0x5612eb('0x0'),'as':_0x5612eb('0x0'),'attributes':['id',_0x5612eb('0x15')]}]},{'model':_0x5612eb('0x2'),'as':_0x5612eb('0x11'),'attributes':['id',_0x5612eb('0xf'),_0x5612eb('0x8'),_0x5612eb('0xe'),'keyType',_0x5612eb('0x4'),_0x5612eb('0x7')],'include':[{'model':'Variable','as':_0x5612eb('0x0'),'attributes':['id',_0x5612eb('0x15')]}]},{'model':_0x5612eb('0x2'),'as':_0x5612eb('0xd'),'attributes':['id',_0x5612eb('0xf'),'content',_0x5612eb('0x14'),_0x5612eb('0x5'),_0x5612eb('0x6'),_0x5612eb('0x7')],'include':[{'model':_0x5612eb('0x0'),'as':_0x5612eb('0x0'),'attributes':['id',_0x5612eb('0x15')]}]}]}]},'log':'GetFreshdeskAccount'});};};