X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=39cde0310d7a5c9459a6fb763d2505b576ff70ea;hb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;hp=f28a4a7ac5ceeb0c56159e4b498a77d6152161f8;hpb=9de5174448f6124e143d4b68967b102fec513aee;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index f28a4a7..39cde03 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 _0xa596=['idField','nameField','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount','name','username','apiKey','remoteUri','serverUrl','FreshdeskConfiguration','Tag','FreshdeskField','Subjects','type','variableName','Variable','Descriptions','content','keyType','keyContent','Fields'];(function(_0xec814,_0x590ac3){var _0x3e5c2c=function(_0x4b6ae5){while(--_0x4b6ae5){_0xec814['push'](_0xec814['shift']());}};_0x3e5c2c(++_0x590ac3);}(_0xa596,0x7b));var _0x6a59=function(_0x1e45f8,_0x16b4b3){_0x1e45f8=_0x1e45f8-0x0;var _0x46d3e1=_0xa596[_0x1e45f8];return _0x46d3e1;};'use strict';var client=require(_0x6a59('0x0'));exports[_0x6a59('0x1')]=function(){return function(_0x5b127f){return client[_0x6a59('0x2')](_0x6a59('0x3'),{'options':{'raw':![],'attributes':['id',_0x6a59('0x4'),_0x6a59('0x5'),_0x6a59('0x6'),_0x6a59('0x7'),_0x6a59('0x8')],'include':[{'model':_0x6a59('0x9'),'as':'Configurations','attributes':['id',_0x6a59('0x4')],'include':[{'model':_0x6a59('0xa'),'attributes':['id',_0x6a59('0x4')]},{'model':_0x6a59('0xb'),'as':_0x6a59('0xc'),'attributes':['id',_0x6a59('0xd'),'content',_0x6a59('0xe')],'include':[{'model':'Variable','as':_0x6a59('0xf'),'attributes':['id','name']}]},{'model':'FreshdeskField','as':_0x6a59('0x10'),'attributes':['id',_0x6a59('0xd'),_0x6a59('0x11'),'key',_0x6a59('0x12'),_0x6a59('0x13'),'variableName'],'include':[{'model':_0x6a59('0xf'),'as':'Variable','attributes':['id',_0x6a59('0x4')]}]},{'model':_0x6a59('0xb'),'as':_0x6a59('0x14'),'attributes':['id',_0x6a59('0xd'),_0x6a59('0x11'),_0x6a59('0x15'),_0x6a59('0x16'),_0x6a59('0x17'),_0x6a59('0xe')],'include':[{'model':_0x6a59('0xf'),'as':_0x6a59('0xf'),'attributes':['id','name']}]}]}]},'log':_0x6a59('0x3')});};}; \ No newline at end of file +var _0xc4dd=['Configurations','FreshdeskField','type','content','variableName','Variable','keyType','Fields','idField','nameField','customField','../../client','getFreshdeskAccounts','GetFreshdeskAccount','name','username','apiKey','remoteUri'];(function(_0x1325ce,_0x3aae10){var _0x4f298b=function(_0x2c3f74){while(--_0x2c3f74){_0x1325ce['push'](_0x1325ce['shift']());}};_0x4f298b(++_0x3aae10);}(_0xc4dd,0xad));var _0xdc4d=function(_0xa5369,_0x293aa9){_0xa5369=_0xa5369-0x0;var _0x241127=_0xc4dd[_0xa5369];return _0x241127;};'use strict';var client=require(_0xdc4d('0x0'));exports[_0xdc4d('0x1')]=function(){return function(_0x43a3b4){return client['Request'](_0xdc4d('0x2'),{'options':{'raw':![],'attributes':['id',_0xdc4d('0x3'),_0xdc4d('0x4'),_0xdc4d('0x5'),_0xdc4d('0x6'),'serverUrl'],'include':[{'model':'FreshdeskConfiguration','as':_0xdc4d('0x7'),'attributes':['id',_0xdc4d('0x3')],'include':[{'model':'Tag','attributes':['id',_0xdc4d('0x3')]},{'model':_0xdc4d('0x8'),'as':'Subjects','attributes':['id',_0xdc4d('0x9'),_0xdc4d('0xa'),_0xdc4d('0xb')],'include':[{'model':_0xdc4d('0xc'),'as':_0xdc4d('0xc'),'attributes':['id',_0xdc4d('0x3')]}]},{'model':_0xdc4d('0x8'),'as':'Descriptions','attributes':['id',_0xdc4d('0x9'),_0xdc4d('0xa'),'key',_0xdc4d('0xd'),'keyContent',_0xdc4d('0xb')],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':_0xdc4d('0x8'),'as':_0xdc4d('0xe'),'attributes':['id',_0xdc4d('0x9'),'content',_0xdc4d('0xf'),_0xdc4d('0x10'),_0xdc4d('0x11'),'variableName'],'include':[{'model':_0xdc4d('0xc'),'as':'Variable','attributes':['id','name']}]}]}]},'log':_0xdc4d('0x2')});};}; \ No newline at end of file