X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=226ad1777a064121000df9e1a62e5ced8516149f;hb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;hp=bdbb54add6c4e3f5fe046e525774fde032159b63;hpb=d0e53397894213749637bb93a101e4fc9544eaa3;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index bdbb54a..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 _0xdf42=['getFreshdeskAccounts','Request','GetFreshdeskAccount','username','apiKey','serverUrl','FreshdeskConfiguration','name','FreshdeskField','content','variableName','Variable','Descriptions','type','key','Fields','idField','nameField','customField'];(function(_0x1d9d12,_0x2c7d98){var _0x4f680e=function(_0x4e1bbb){while(--_0x4e1bbb){_0x1d9d12['push'](_0x1d9d12['shift']());}};_0x4f680e(++_0x2c7d98);}(_0xdf42,0x1ee));var _0x2df4=function(_0xaa0309,_0x1c8008){_0xaa0309=_0xaa0309-0x0;var _0x5de7ce=_0xdf42[_0xaa0309];return _0x5de7ce;};'use strict';var client=require('../../client');exports[_0x2df4('0x0')]=function(){return function(_0x3dd49b){return client[_0x2df4('0x1')](_0x2df4('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x2df4('0x3'),_0x2df4('0x4'),'remoteUri',_0x2df4('0x5')],'include':[{'model':_0x2df4('0x6'),'as':'Configurations','attributes':['id',_0x2df4('0x7')],'include':[{'model':'Tag','attributes':['id',_0x2df4('0x7')]},{'model':_0x2df4('0x8'),'as':'Subjects','attributes':['id','type',_0x2df4('0x9'),_0x2df4('0xa')],'include':[{'model':'Variable','as':_0x2df4('0xb'),'attributes':['id',_0x2df4('0x7')]}]},{'model':'FreshdeskField','as':_0x2df4('0xc'),'attributes':['id',_0x2df4('0xd'),_0x2df4('0x9'),_0x2df4('0xe'),'keyType','keyContent',_0x2df4('0xa')],'include':[{'model':_0x2df4('0xb'),'as':'Variable','attributes':['id',_0x2df4('0x7')]}]},{'model':_0x2df4('0x8'),'as':_0x2df4('0xf'),'attributes':['id','type',_0x2df4('0x9'),_0x2df4('0x10'),_0x2df4('0x11'),_0x2df4('0x12'),'variableName'],'include':[{'model':_0x2df4('0xb'),'as':'Variable','attributes':['id','name']}]}]}]},'log':_0x2df4('0x2')});};}; \ 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