Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / integrations / salesforce.js
index d90e0ac..af29474 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5d8b=['GetSalesforceAccount','username','password','remoteUri','clientId','securityToken','serverUrl','SalesforceConfiguration','Configurations','name','moduleSearch','moduleCreate','ticketType','Subjects','Variable','SalesforceField','Descriptions'];(function(_0x4f190d,_0x133284){var _0x1ad4aa=function(_0x125b5d){while(--_0x125b5d){_0x4f190d['push'](_0x4f190d['shift']());}};_0x1ad4aa(++_0x133284);}(_0x5d8b,0x77));var _0xb5d8=function(_0x4e8e4c,_0x46c131){_0x4e8e4c=_0x4e8e4c-0x0;var _0x51e3fb=_0x5d8b[_0x4e8e4c];return _0x51e3fb;};'use strict';var client=require('../../client');exports['getSalesforceAccounts']=function(){return function(_0x1fe53f){return client['Request'](_0xb5d8('0x0'),{'options':{'raw':![],'attributes':['id','name',_0xb5d8('0x1'),_0xb5d8('0x2'),_0xb5d8('0x3'),_0xb5d8('0x4'),'clientSecret',_0xb5d8('0x5'),_0xb5d8('0x6'),'type'],'include':[{'model':_0xb5d8('0x7'),'as':_0xb5d8('0x8'),'attributes':['id',_0xb5d8('0x9'),_0xb5d8('0xa'),_0xb5d8('0xb'),_0xb5d8('0xc')],'include':[{'model':'SalesforceField','as':_0xb5d8('0xd'),'include':[{'model':_0xb5d8('0xe'),'as':_0xb5d8('0xe'),'attributes':['id',_0xb5d8('0x9')]}]},{'model':_0xb5d8('0xf'),'as':_0xb5d8('0x10'),'include':[{'model':_0xb5d8('0xe'),'as':_0xb5d8('0xe'),'attributes':['id','name']}]},{'model':_0xb5d8('0xf'),'as':'Fields','include':[{'model':_0xb5d8('0xe'),'as':_0xb5d8('0xe'),'attributes':['id',_0xb5d8('0x9')]}]}]}]},'log':_0xb5d8('0x0')});};};
\ 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