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