X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=226ad1777a064121000df9e1a62e5ced8516149f;hb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;hp=fca58e370d30233727b4971da59f9b9eab9c0927;hpb=cf0590116080d9ba42ef56ec3321a2b1292c0360;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index fca58e3..226ad17 100644 --- a/server/services/ami/rpc/integrations/freshdesk.js +++ b/server/services/ami/rpc/integrations/freshdesk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9609=['GetFreshdeskAccount','name','apiKey','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','Subjects','type','variableName','Variable','key','content','idField','nameField','customField','../../client','getFreshdeskAccounts','Request'];(function(_0x909dfe,_0x36e38a){var _0x5cb58f=function(_0x3f3000){while(--_0x3f3000){_0x909dfe['push'](_0x909dfe['shift']());}};_0x5cb58f(++_0x36e38a);}(_0x9609,0x115));var _0x9960=function(_0x147af3,_0x3d1958){_0x147af3=_0x147af3-0x0;var _0x3c18b7=_0x9609[_0x147af3];return _0x3c18b7;};'use strict';var client=require(_0x9960('0x0'));exports[_0x9960('0x1')]=function(){return function(_0x36ac6d){return client[_0x9960('0x2')](_0x9960('0x3'),{'options':{'raw':![],'attributes':['id',_0x9960('0x4'),'username',_0x9960('0x5'),'remoteUri',_0x9960('0x6')],'include':[{'model':_0x9960('0x7'),'as':_0x9960('0x8'),'attributes':['id',_0x9960('0x4')],'include':[{'model':_0x9960('0x9'),'attributes':['id',_0x9960('0x4')]},{'model':_0x9960('0xa'),'as':_0x9960('0xb'),'attributes':['id',_0x9960('0xc'),'content',_0x9960('0xd')],'include':[{'model':_0x9960('0xe'),'as':_0x9960('0xe'),'attributes':['id',_0x9960('0x4')]}]},{'model':_0x9960('0xa'),'as':'Descriptions','attributes':['id','type','content',_0x9960('0xf'),'keyType','keyContent','variableName'],'include':[{'model':_0x9960('0xe'),'as':'Variable','attributes':['id',_0x9960('0x4')]}]},{'model':_0x9960('0xa'),'as':'Fields','attributes':['id',_0x9960('0xc'),_0x9960('0x10'),_0x9960('0x11'),_0x9960('0x12'),_0x9960('0x13'),_0x9960('0xd')],'include':[{'model':'Variable','as':_0x9960('0xe'),'attributes':['id',_0x9960('0x4')]}]}]}]},'log':_0x9960('0x3')});};}; \ No newline at end of file +var _0x220b=['getFreshdeskAccounts','Request','GetFreshdeskAccount','username','remoteUri','FreshdeskConfiguration','Configurations','name','Tag','FreshdeskField','Subjects','content','variableName','Variable','Descriptions','type','keyType','keyContent','Fields','idField','nameField','customField'];(function(_0x5a95fa,_0x4a2fc9){var _0x1a61b8=function(_0x59f119){while(--_0x59f119){_0x5a95fa['push'](_0x5a95fa['shift']());}};_0x1a61b8(++_0x4a2fc9);}(_0x220b,0x1a2));var _0xb220=function(_0x1ee9a1,_0x5f1434){_0x1ee9a1=_0x1ee9a1-0x0;var _0x21270f=_0x220b[_0x1ee9a1];return _0x21270f;};'use strict';var client=require('../../client');exports[_0xb220('0x0')]=function(){return function(_0x69e237){return client[_0xb220('0x1')](_0xb220('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xb220('0x3'),'apiKey',_0xb220('0x4'),'serverUrl'],'include':[{'model':_0xb220('0x5'),'as':_0xb220('0x6'),'attributes':['id',_0xb220('0x7')],'include':[{'model':_0xb220('0x8'),'attributes':['id','name']},{'model':_0xb220('0x9'),'as':_0xb220('0xa'),'attributes':['id','type',_0xb220('0xb'),_0xb220('0xc')],'include':[{'model':_0xb220('0xd'),'as':_0xb220('0xd'),'attributes':['id',_0xb220('0x7')]}]},{'model':_0xb220('0x9'),'as':_0xb220('0xe'),'attributes':['id',_0xb220('0xf'),_0xb220('0xb'),'key',_0xb220('0x10'),_0xb220('0x11'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':'FreshdeskField','as':_0xb220('0x12'),'attributes':['id','type',_0xb220('0xb'),_0xb220('0x13'),_0xb220('0x14'),_0xb220('0x15'),'variableName'],'include':[{'model':'Variable','as':_0xb220('0xd'),'attributes':['id',_0xb220('0x7')]}]}]}]},'log':_0xb220('0x2')});};}; \ No newline at end of file