X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=aefd75479b9a33d9e0b58b5bdc5a60668094fd6a;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=a1ebb4b202afc11b65be21f50ea8db40519af2f8;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index a1ebb4b..aefd754 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 _0x252f=['Variable','key','keyType','keyContent','variableName','Fields','nameField','customField','../../client','getFreshdeskAccounts','GetFreshdeskAccount','name','remoteUri','serverUrl','FreshdeskConfiguration','Configurations','FreshdeskField','Subjects','type','content'];(function(_0x8cc7ef,_0x37c9ae){var _0x4a45e9=function(_0x3840f5){while(--_0x3840f5){_0x8cc7ef['push'](_0x8cc7ef['shift']());}};_0x4a45e9(++_0x37c9ae);}(_0x252f,0xd0));var _0xf252=function(_0x1d128e,_0x2c87de){_0x1d128e=_0x1d128e-0x0;var _0x3d5236=_0x252f[_0x1d128e];return _0x3d5236;};'use strict';var client=require(_0xf252('0x0'));exports[_0xf252('0x1')]=function(){return function(_0x5d284d){return client['Request'](_0xf252('0x2'),{'options':{'raw':![],'attributes':['id',_0xf252('0x3'),'username','apiKey',_0xf252('0x4'),_0xf252('0x5')],'include':[{'model':_0xf252('0x6'),'as':_0xf252('0x7'),'attributes':['id',_0xf252('0x3')],'include':[{'model':'Tag','attributes':['id',_0xf252('0x3')]},{'model':_0xf252('0x8'),'as':_0xf252('0x9'),'attributes':['id',_0xf252('0xa'),_0xf252('0xb'),'variableName'],'include':[{'model':_0xf252('0xc'),'as':_0xf252('0xc'),'attributes':['id','name']}]},{'model':_0xf252('0x8'),'as':'Descriptions','attributes':['id',_0xf252('0xa'),'content',_0xf252('0xd'),_0xf252('0xe'),_0xf252('0xf'),_0xf252('0x10')],'include':[{'model':'Variable','as':_0xf252('0xc'),'attributes':['id',_0xf252('0x3')]}]},{'model':_0xf252('0x8'),'as':_0xf252('0x11'),'attributes':['id',_0xf252('0xa'),_0xf252('0xb'),'idField',_0xf252('0x12'),_0xf252('0x13'),_0xf252('0x10')],'include':[{'model':'Variable','as':_0xf252('0xc'),'attributes':['id',_0xf252('0x3')]}]}]}]},'log':_0xf252('0x2')});};}; \ No newline at end of file +var _0x6f59=['name','username','apiKey','remoteUri','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','type','variableName','Variable','Descriptions','content','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount'];(function(_0x513aa5,_0x1fba79){var _0x1a1a7c=function(_0x240e3f){while(--_0x240e3f){_0x513aa5['push'](_0x513aa5['shift']());}};_0x1a1a7c(++_0x1fba79);}(_0x6f59,0x1be));var _0x96f5=function(_0x298181,_0x2032a4){_0x298181=_0x298181-0x0;var _0x40efdf=_0x6f59[_0x298181];return _0x40efdf;};'use strict';var client=require(_0x96f5('0x0'));exports[_0x96f5('0x1')]=function(){return function(_0x2da9ec){return client[_0x96f5('0x2')](_0x96f5('0x3'),{'options':{'raw':![],'attributes':['id',_0x96f5('0x4'),_0x96f5('0x5'),_0x96f5('0x6'),_0x96f5('0x7'),_0x96f5('0x8')],'include':[{'model':_0x96f5('0x9'),'as':_0x96f5('0xa'),'attributes':['id','name'],'include':[{'model':_0x96f5('0xb'),'attributes':['id','name']},{'model':_0x96f5('0xc'),'as':'Subjects','attributes':['id',_0x96f5('0xd'),'content',_0x96f5('0xe')],'include':[{'model':_0x96f5('0xf'),'as':_0x96f5('0xf'),'attributes':['id',_0x96f5('0x4')]}]},{'model':'FreshdeskField','as':_0x96f5('0x10'),'attributes':['id',_0x96f5('0xd'),_0x96f5('0x11'),_0x96f5('0x12'),_0x96f5('0x13'),_0x96f5('0x14'),_0x96f5('0xe')],'include':[{'model':_0x96f5('0xf'),'as':_0x96f5('0xf'),'attributes':['id',_0x96f5('0x4')]}]},{'model':_0x96f5('0xc'),'as':_0x96f5('0x15'),'attributes':['id',_0x96f5('0xd'),'content',_0x96f5('0x16'),_0x96f5('0x17'),_0x96f5('0x18'),_0x96f5('0xe')],'include':[{'model':_0x96f5('0xf'),'as':_0x96f5('0xf'),'attributes':['id','name']}]}]}]},'log':_0x96f5('0x3')});};}; \ No newline at end of file