Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / rpc / integrations / salesforce.js
index 1611b86..bcb9baa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8307=['additionalSearchContact','SalesforceField','Variable','Descriptions','../../client','getSalesforceAccounts','Request','GetSalesforceAccount','name','password','remoteUri','securityToken','type','moduleCreate','ticketType','additionalSearchAccount'];(function(_0x45bf86,_0x75586e){var _0x1f02b7=function(_0x1ea8a3){while(--_0x1ea8a3){_0x45bf86['push'](_0x45bf86['shift']());}};_0x1f02b7(++_0x75586e);}(_0x8307,0xc4));var _0x7830=function(_0x4d291c,_0x2e85c1){_0x4d291c=_0x4d291c-0x0;var _0x2a8f8d=_0x8307[_0x4d291c];return _0x2a8f8d;};'use strict';var client=require(_0x7830('0x0'));exports[_0x7830('0x1')]=function(){return function(_0x4ca359){return client[_0x7830('0x2')](_0x7830('0x3'),{'options':{'raw':![],'attributes':['id',_0x7830('0x4'),'username',_0x7830('0x5'),_0x7830('0x6'),'clientId','clientSecret',_0x7830('0x7'),'serverUrl',_0x7830('0x8')],'include':[{'model':'SalesforceConfiguration','as':'Configurations','attributes':['id',_0x7830('0x4'),'moduleSearch',_0x7830('0x9'),_0x7830('0xa'),'leadId',_0x7830('0xb'),_0x7830('0xc'),'additionalSearchLead'],'include':[{'model':_0x7830('0xd'),'as':'Subjects','include':[{'model':'Variable','as':_0x7830('0xe'),'attributes':['id',_0x7830('0x4')]}]},{'model':_0x7830('0xd'),'as':_0x7830('0xf'),'include':[{'model':_0x7830('0xe'),'as':_0x7830('0xe'),'attributes':['id',_0x7830('0x4')]}]},{'model':_0x7830('0xd'),'as':'Fields','include':[{'model':_0x7830('0xe'),'as':_0x7830('0xe'),'attributes':['id',_0x7830('0x4')]}]}]}]},'log':'GetSalesforceAccount'});};};
\ No newline at end of file
+var _0xc6a2=['Fields','../../client','getSalesforceAccounts','Request','GetSalesforceAccount','name','username','password','remoteUri','clientId','clientSecret','securityToken','serverUrl','type','SalesforceConfiguration','Configurations','moduleCreate','ticketType','leadId','additionalSearchAccount','additionalSearchContact','additionalSearchLead','SalesforceField','Subjects','Descriptions','Variable'];(function(_0x56f187,_0x2eec20){var _0x1b8b67=function(_0x29d013){while(--_0x29d013){_0x56f187['push'](_0x56f187['shift']());}};_0x1b8b67(++_0x2eec20);}(_0xc6a2,0x69));var _0x2c6a=function(_0x47b6d1,_0xda2dbc){_0x47b6d1=_0x47b6d1-0x0;var _0x6da4b7=_0xc6a2[_0x47b6d1];return _0x6da4b7;};'use strict';var client=require(_0x2c6a('0x0'));exports[_0x2c6a('0x1')]=function(){return function(_0x5bdc6c){return client[_0x2c6a('0x2')](_0x2c6a('0x3'),{'options':{'raw':![],'attributes':['id',_0x2c6a('0x4'),_0x2c6a('0x5'),_0x2c6a('0x6'),_0x2c6a('0x7'),_0x2c6a('0x8'),_0x2c6a('0x9'),_0x2c6a('0xa'),_0x2c6a('0xb'),_0x2c6a('0xc')],'include':[{'model':_0x2c6a('0xd'),'as':_0x2c6a('0xe'),'attributes':['id',_0x2c6a('0x4'),'moduleSearch',_0x2c6a('0xf'),_0x2c6a('0x10'),_0x2c6a('0x11'),_0x2c6a('0x12'),_0x2c6a('0x13'),_0x2c6a('0x14')],'include':[{'model':_0x2c6a('0x15'),'as':_0x2c6a('0x16'),'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x2c6a('0x4')]}]},{'model':_0x2c6a('0x15'),'as':_0x2c6a('0x17'),'include':[{'model':_0x2c6a('0x18'),'as':'Variable','attributes':['id','name']}]},{'model':_0x2c6a('0x15'),'as':_0x2c6a('0x19'),'include':[{'model':_0x2c6a('0x18'),'as':'Variable','attributes':['id','name']}]}]}]},'log':'GetSalesforceAccount'});};};
\ No newline at end of file