X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=d21fd0af1e2bf20d3374ca0a2a5b0da187418e52;hb=30647e0599beaeefd7f4697661375cd56f1291ec;hp=6f3cc1b407449d4b60a4af53df50d4e2c8d03a79;hpb=54b4ff96e83f911255a158fd7e32a0e84ec4b7d0;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index 6f3cc1b..d21fd0a 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 _0xd4f4=['username','apiKey','remoteUri','serverUrl','FreshdeskConfiguration','FreshdeskField','Subjects','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount','name'];(function(_0x3b3210,_0x25e8ed){var _0x5b5484=function(_0x417858){while(--_0x417858){_0x3b3210['push'](_0x3b3210['shift']());}};_0x5b5484(++_0x25e8ed);}(_0xd4f4,0x8b));var _0x4d4f=function(_0x1a8fc8,_0x598c11){_0x1a8fc8=_0x1a8fc8-0x0;var _0x513ea1=_0xd4f4[_0x1a8fc8];return _0x513ea1;};'use strict';var client=require(_0x4d4f('0x0'));exports[_0x4d4f('0x1')]=function(){return function(_0x2cfc72){return client[_0x4d4f('0x2')](_0x4d4f('0x3'),{'options':{'raw':![],'attributes':['id',_0x4d4f('0x4'),_0x4d4f('0x5'),_0x4d4f('0x6'),_0x4d4f('0x7'),_0x4d4f('0x8')],'include':[{'model':_0x4d4f('0x9'),'as':'Configurations','attributes':['id','name'],'include':[{'model':'Tag','attributes':['id',_0x4d4f('0x4')]},{'model':_0x4d4f('0xa'),'as':_0x4d4f('0xb'),'attributes':['id',_0x4d4f('0xc'),_0x4d4f('0xd'),_0x4d4f('0xe')],'include':[{'model':_0x4d4f('0xf'),'as':_0x4d4f('0xf'),'attributes':['id',_0x4d4f('0x4')]}]},{'model':_0x4d4f('0xa'),'as':_0x4d4f('0x10'),'attributes':['id',_0x4d4f('0xc'),_0x4d4f('0xd'),_0x4d4f('0x11'),_0x4d4f('0x12'),_0x4d4f('0x13'),_0x4d4f('0xe')],'include':[{'model':_0x4d4f('0xf'),'as':'Variable','attributes':['id','name']}]},{'model':'FreshdeskField','as':_0x4d4f('0x14'),'attributes':['id',_0x4d4f('0xc'),'content',_0x4d4f('0x15'),_0x4d4f('0x16'),_0x4d4f('0x17'),'variableName'],'include':[{'model':_0x4d4f('0xf'),'as':_0x4d4f('0xf'),'attributes':['id',_0x4d4f('0x4')]}]}]}]},'log':'GetFreshdeskAccount'});};}; \ No newline at end of file +var _0xa846=['nameField','customField','getFreshdeskAccounts','Request','GetFreshdeskAccount','name','username','remoteUri','serverUrl','Configurations','Tag','Subjects','content','Variable','FreshdeskField','Descriptions','type','key','keyType','variableName','Fields','idField'];(function(_0x4fbb15,_0x21be0c){var _0x436338=function(_0x3b5a05){while(--_0x3b5a05){_0x4fbb15['push'](_0x4fbb15['shift']());}};_0x436338(++_0x21be0c);}(_0xa846,0x70));var _0x6a84=function(_0x4f0098,_0x3c8d4e){_0x4f0098=_0x4f0098-0x0;var _0x4dfe28=_0xa846[_0x4f0098];return _0x4dfe28;};'use strict';var client=require('../../client');exports[_0x6a84('0x0')]=function(){return function(_0xf5ca75){return client[_0x6a84('0x1')](_0x6a84('0x2'),{'options':{'raw':![],'attributes':['id',_0x6a84('0x3'),_0x6a84('0x4'),'apiKey',_0x6a84('0x5'),_0x6a84('0x6')],'include':[{'model':'FreshdeskConfiguration','as':_0x6a84('0x7'),'attributes':['id',_0x6a84('0x3')],'include':[{'model':_0x6a84('0x8'),'attributes':['id',_0x6a84('0x3')]},{'model':'FreshdeskField','as':_0x6a84('0x9'),'attributes':['id','type',_0x6a84('0xa'),'variableName'],'include':[{'model':_0x6a84('0xb'),'as':'Variable','attributes':['id',_0x6a84('0x3')]}]},{'model':_0x6a84('0xc'),'as':_0x6a84('0xd'),'attributes':['id',_0x6a84('0xe'),_0x6a84('0xa'),_0x6a84('0xf'),_0x6a84('0x10'),'keyContent',_0x6a84('0x11')],'include':[{'model':_0x6a84('0xb'),'as':'Variable','attributes':['id',_0x6a84('0x3')]}]},{'model':'FreshdeskField','as':_0x6a84('0x12'),'attributes':['id',_0x6a84('0xe'),_0x6a84('0xa'),_0x6a84('0x13'),_0x6a84('0x14'),_0x6a84('0x15'),'variableName'],'include':[{'model':'Variable','as':_0x6a84('0xb'),'attributes':['id',_0x6a84('0x3')]}]}]}]},'log':_0x6a84('0x2')});};}; \ No newline at end of file