X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshdesk.js;h=226ad1777a064121000df9e1a62e5ced8516149f;hb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;hp=b5475c7906632531ccfaf3e3e2107e13406308bd;hpb=0efc675adde92ca51a2377339d9e99ab851456b5;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshdesk.js b/server/services/ami/rpc/integrations/freshdesk.js index b5475c7..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 _0x3149=['Subjects','type','variableName','Variable','Descriptions','content','keyType','keyContent','Fields','idField','customField','../../client','Request','GetFreshdeskAccount','name','apiKey','remoteUri','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField'];(function(_0xa3f915,_0x5c0ecf){var _0x1f88ba=function(_0x9b05fa){while(--_0x9b05fa){_0xa3f915['push'](_0xa3f915['shift']());}};_0x1f88ba(++_0x5c0ecf);}(_0x3149,0x181));var _0x9314=function(_0x35e545,_0x44d0f6){_0x35e545=_0x35e545-0x0;var _0x12b16c=_0x3149[_0x35e545];return _0x12b16c;};'use strict';var client=require(_0x9314('0x0'));exports['getFreshdeskAccounts']=function(){return function(_0x905bad){return client[_0x9314('0x1')](_0x9314('0x2'),{'options':{'raw':![],'attributes':['id',_0x9314('0x3'),'username',_0x9314('0x4'),_0x9314('0x5'),_0x9314('0x6')],'include':[{'model':_0x9314('0x7'),'as':_0x9314('0x8'),'attributes':['id','name'],'include':[{'model':_0x9314('0x9'),'attributes':['id',_0x9314('0x3')]},{'model':_0x9314('0xa'),'as':_0x9314('0xb'),'attributes':['id',_0x9314('0xc'),'content',_0x9314('0xd')],'include':[{'model':'Variable','as':_0x9314('0xe'),'attributes':['id','name']}]},{'model':_0x9314('0xa'),'as':_0x9314('0xf'),'attributes':['id','type',_0x9314('0x10'),'key',_0x9314('0x11'),_0x9314('0x12'),_0x9314('0xd')],'include':[{'model':'Variable','as':_0x9314('0xe'),'attributes':['id',_0x9314('0x3')]}]},{'model':_0x9314('0xa'),'as':_0x9314('0x13'),'attributes':['id',_0x9314('0xc'),_0x9314('0x10'),_0x9314('0x14'),'nameField',_0x9314('0x15'),_0x9314('0xd')],'include':[{'model':_0x9314('0xe'),'as':'Variable','attributes':['id',_0x9314('0x3')]}]}]}]},'log':_0x9314('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