Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / integrations / salesforce.js
index d51fa92..af29474 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x90d0=['username','password','remoteUri','clientId','clientSecret','securityToken','SalesforceConfiguration','Configurations','moduleSearch','moduleCreate','leadId','additionalSearchLead','Subjects','Variable','SalesforceField','Descriptions','Fields','../../client','getSalesforceAccounts','Request','name'];(function(_0x28b8d8,_0x1134fa){var _0x4d755a=function(_0x5925a8){while(--_0x5925a8){_0x28b8d8['push'](_0x28b8d8['shift']());}};_0x4d755a(++_0x1134fa);}(_0x90d0,0x10d));var _0x090d=function(_0x45b2ac,_0x3010da){_0x45b2ac=_0x45b2ac-0x0;var _0x304bf3=_0x90d0[_0x45b2ac];return _0x304bf3;};'use strict';var client=require(_0x090d('0x0'));exports[_0x090d('0x1')]=function(){return function(_0x3d26ef){return client[_0x090d('0x2')]('GetSalesforceAccount',{'options':{'raw':![],'attributes':['id',_0x090d('0x3'),_0x090d('0x4'),_0x090d('0x5'),_0x090d('0x6'),_0x090d('0x7'),_0x090d('0x8'),_0x090d('0x9'),'serverUrl','type'],'include':[{'model':_0x090d('0xa'),'as':_0x090d('0xb'),'attributes':['id',_0x090d('0x3'),_0x090d('0xc'),_0x090d('0xd'),'ticketType',_0x090d('0xe'),'additionalSearchAccount','additionalSearchContact',_0x090d('0xf')],'include':[{'model':'SalesforceField','as':_0x090d('0x10'),'include':[{'model':_0x090d('0x11'),'as':_0x090d('0x11'),'attributes':['id',_0x090d('0x3')]}]},{'model':_0x090d('0x12'),'as':_0x090d('0x13'),'include':[{'model':_0x090d('0x11'),'as':_0x090d('0x11'),'attributes':['id',_0x090d('0x3')]}]},{'model':_0x090d('0x12'),'as':_0x090d('0x14'),'include':[{'model':_0x090d('0x11'),'as':_0x090d('0x11'),'attributes':['id',_0x090d('0x3')]}]}]}]},'log':'GetSalesforceAccount'});};};
\ No newline at end of file
+var _0x235b=['Configurations','moduleSearch','moduleCreate','additionalSearchAccount','additionalSearchContact','additionalSearchLead','SalesforceField','Subjects','Variable','Descriptions','../../client','Request','GetSalesforceAccount','name','username','password','remoteUri','clientSecret','securityToken','serverUrl','SalesforceConfiguration'];(function(_0x3b0c21,_0x33f414){var _0x477af1=function(_0x4e8a62){while(--_0x4e8a62){_0x3b0c21['push'](_0x3b0c21['shift']());}};_0x477af1(++_0x33f414);}(_0x235b,0x1ed));var _0xb235=function(_0x3193e0,_0x18ba65){_0x3193e0=_0x3193e0-0x0;var _0x36ebed=_0x235b[_0x3193e0];return _0x36ebed;};'use strict';var client=require(_0xb235('0x0'));exports['getSalesforceAccounts']=function(){return function(_0x4ff239){return client[_0xb235('0x1')](_0xb235('0x2'),{'options':{'raw':![],'attributes':['id',_0xb235('0x3'),_0xb235('0x4'),_0xb235('0x5'),_0xb235('0x6'),'clientId',_0xb235('0x7'),_0xb235('0x8'),_0xb235('0x9'),'type'],'include':[{'model':_0xb235('0xa'),'as':_0xb235('0xb'),'attributes':['id',_0xb235('0x3'),_0xb235('0xc'),_0xb235('0xd'),'ticketType','leadId',_0xb235('0xe'),_0xb235('0xf'),_0xb235('0x10')],'include':[{'model':_0xb235('0x11'),'as':_0xb235('0x12'),'include':[{'model':_0xb235('0x13'),'as':_0xb235('0x13'),'attributes':['id',_0xb235('0x3')]}]},{'model':'SalesforceField','as':_0xb235('0x14'),'include':[{'model':_0xb235('0x13'),'as':_0xb235('0x13'),'attributes':['id','name']}]},{'model':_0xb235('0x11'),'as':'Fields','include':[{'model':_0xb235('0x13'),'as':_0xb235('0x13'),'attributes':['id',_0xb235('0x3')]}]}]}]},'log':_0xb235('0x2')});};};
\ No newline at end of file