X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=aefd75479b9a33d9e0b58b5bdc5a60668094fd6a;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=6c5c23d6244430f33edfab859f52e70742122060;hpb=032eef5eb1c414450ccc959e49effc8ff508851b;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index 6c5c23d..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 _0x9a3f=['Descriptions','key','keyContent','Fields','idField','nameField','customField','../../client','getFreshdeskAccounts','Request','name','username','remoteUri','Configurations','Tag','type','content','variableName','Variable','FreshdeskField'];(function(_0x2e164b,_0x486623){var _0xdf5443=function(_0x418e93){while(--_0x418e93){_0x2e164b['push'](_0x2e164b['shift']());}};_0xdf5443(++_0x486623);}(_0x9a3f,0x93));var _0xf9a3=function(_0x303295,_0x14350b){_0x303295=_0x303295-0x0;var _0x46f13e=_0x9a3f[_0x303295];return _0x46f13e;};'use strict';var client=require(_0xf9a3('0x0'));exports[_0xf9a3('0x1')]=function(){return function(_0x25da0b){return client[_0xf9a3('0x2')]('GetFreshdeskAccount',{'options':{'raw':![],'attributes':['id',_0xf9a3('0x3'),_0xf9a3('0x4'),'apiKey',_0xf9a3('0x5'),'serverUrl'],'include':[{'model':'FreshdeskConfiguration','as':_0xf9a3('0x6'),'attributes':['id',_0xf9a3('0x3')],'include':[{'model':_0xf9a3('0x7'),'attributes':['id','name']},{'model':'FreshdeskField','as':'Subjects','attributes':['id',_0xf9a3('0x8'),_0xf9a3('0x9'),_0xf9a3('0xa')],'include':[{'model':_0xf9a3('0xb'),'as':_0xf9a3('0xb'),'attributes':['id','name']}]},{'model':_0xf9a3('0xc'),'as':_0xf9a3('0xd'),'attributes':['id',_0xf9a3('0x8'),_0xf9a3('0x9'),_0xf9a3('0xe'),'keyType',_0xf9a3('0xf'),_0xf9a3('0xa')],'include':[{'model':_0xf9a3('0xb'),'as':'Variable','attributes':['id',_0xf9a3('0x3')]}]},{'model':_0xf9a3('0xc'),'as':_0xf9a3('0x10'),'attributes':['id',_0xf9a3('0x8'),'content',_0xf9a3('0x11'),_0xf9a3('0x12'),_0xf9a3('0x13'),_0xf9a3('0xa')],'include':[{'model':_0xf9a3('0xb'),'as':'Variable','attributes':['id',_0xf9a3('0x3')]}]}]}]},'log':'GetFreshdeskAccount'});};}; \ 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