Built motion from commit 9e1399f3.|2.5.37
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index 9b77c1b..382bfdd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf608=['type','content','variableName','Variable','key','keyType','keyContent','nameField','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount','name','username','apiKey','remoteUri','serverUrl','Configurations','Tag','FreshdeskField','Subjects'];(function(_0x3b1423,_0xcde343){var _0x3fd338=function(_0x25ee2f){while(--_0x25ee2f){_0x3b1423['push'](_0x3b1423['shift']());}};_0x3fd338(++_0xcde343);}(_0xf608,0x1ed));var _0x8f60=function(_0xea4633,_0x595928){_0xea4633=_0xea4633-0x0;var _0x2e7e83=_0xf608[_0xea4633];return _0x2e7e83;};'use strict';var client=require(_0x8f60('0x0'));exports[_0x8f60('0x1')]=function(){return function(_0x3763fc){return client[_0x8f60('0x2')](_0x8f60('0x3'),{'options':{'raw':![],'attributes':['id',_0x8f60('0x4'),_0x8f60('0x5'),_0x8f60('0x6'),_0x8f60('0x7'),_0x8f60('0x8')],'include':[{'model':'FreshdeskConfiguration','as':_0x8f60('0x9'),'attributes':['id',_0x8f60('0x4')],'include':[{'model':_0x8f60('0xa'),'attributes':['id',_0x8f60('0x4')]},{'model':_0x8f60('0xb'),'as':_0x8f60('0xc'),'attributes':['id',_0x8f60('0xd'),_0x8f60('0xe'),_0x8f60('0xf')],'include':[{'model':_0x8f60('0x10'),'as':_0x8f60('0x10'),'attributes':['id',_0x8f60('0x4')]}]},{'model':_0x8f60('0xb'),'as':'Descriptions','attributes':['id',_0x8f60('0xd'),_0x8f60('0xe'),_0x8f60('0x11'),_0x8f60('0x12'),_0x8f60('0x13'),_0x8f60('0xf')],'include':[{'model':_0x8f60('0x10'),'as':_0x8f60('0x10'),'attributes':['id',_0x8f60('0x4')]}]},{'model':_0x8f60('0xb'),'as':'Fields','attributes':['id',_0x8f60('0xd'),_0x8f60('0xe'),'idField',_0x8f60('0x14'),_0x8f60('0x15'),_0x8f60('0xf')],'include':[{'model':_0x8f60('0x10'),'as':'Variable','attributes':['id',_0x8f60('0x4')]}]}]}]},'log':_0x8f60('0x3')});};};
\ 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