Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / rpc / integrations / salesforce.js
index 076f476..b38df91 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd05a=['getSalesforceAccounts','password','remoteUri','clientId','clientSecret','securityToken','SalesforceConfiguration','Configurations','name','moduleCreate','ticketType','leadId','additionalSearchLead','Subjects','Variable','SalesforceField','Descriptions'];(function(_0x581606,_0x167fe2){var _0x14c441=function(_0x14e92e){while(--_0x14e92e){_0x581606['push'](_0x581606['shift']());}};_0x14c441(++_0x167fe2);}(_0xd05a,0x143));var _0xad05=function(_0x15d5a7,_0x42dae0){_0x15d5a7=_0x15d5a7-0x0;var _0x530ba1=_0xd05a[_0x15d5a7];return _0x530ba1;};'use strict';var client=require('../../client');exports[_0xad05('0x0')]=function(){return function(_0x4104c5){return client['Request']('GetSalesforceAccount',{'options':{'raw':![],'attributes':['id','name','username',_0xad05('0x1'),_0xad05('0x2'),_0xad05('0x3'),_0xad05('0x4'),_0xad05('0x5'),'serverUrl','type'],'include':[{'model':_0xad05('0x6'),'as':_0xad05('0x7'),'attributes':['id',_0xad05('0x8'),'moduleSearch',_0xad05('0x9'),_0xad05('0xa'),_0xad05('0xb'),'additionalSearchAccount','additionalSearchContact',_0xad05('0xc')],'include':[{'model':'SalesforceField','as':_0xad05('0xd'),'include':[{'model':_0xad05('0xe'),'as':_0xad05('0xe'),'attributes':['id',_0xad05('0x8')]}]},{'model':_0xad05('0xf'),'as':_0xad05('0x10'),'include':[{'model':_0xad05('0xe'),'as':_0xad05('0xe'),'attributes':['id',_0xad05('0x8')]}]},{'model':_0xad05('0xf'),'as':'Fields','include':[{'model':_0xad05('0xe'),'as':'Variable','attributes':['id',_0xad05('0x8')]}]}]}]},'log':'GetSalesforceAccount'});};};
\ No newline at end of file
+var _0xde1e=['GetSalesforceAccount','name','password','remoteUri','clientId','clientSecret','securityToken','serverUrl','SalesforceConfiguration','Configurations','moduleSearch','moduleCreate','ticketType','additionalSearchAccount','SalesforceField','Subjects','Variable','../../client','getSalesforceAccounts','Request'];(function(_0x560448,_0x2c1082){var _0x550276=function(_0x37e949){while(--_0x37e949){_0x560448['push'](_0x560448['shift']());}};_0x550276(++_0x2c1082);}(_0xde1e,0x9d));var _0xede1=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xde1e[_0x2641f9];return _0x585741;};'use strict';var client=require(_0xede1('0x0'));exports[_0xede1('0x1')]=function(){return function(_0x12cf84){return client[_0xede1('0x2')](_0xede1('0x3'),{'options':{'raw':![],'attributes':['id',_0xede1('0x4'),'username',_0xede1('0x5'),_0xede1('0x6'),_0xede1('0x7'),_0xede1('0x8'),_0xede1('0x9'),_0xede1('0xa'),'type'],'include':[{'model':_0xede1('0xb'),'as':_0xede1('0xc'),'attributes':['id',_0xede1('0x4'),_0xede1('0xd'),_0xede1('0xe'),_0xede1('0xf'),'leadId',_0xede1('0x10'),'additionalSearchContact','additionalSearchLead'],'include':[{'model':_0xede1('0x11'),'as':_0xede1('0x12'),'include':[{'model':_0xede1('0x13'),'as':_0xede1('0x13'),'attributes':['id',_0xede1('0x4')]}]},{'model':_0xede1('0x11'),'as':'Descriptions','include':[{'model':_0xede1('0x13'),'as':_0xede1('0x13'),'attributes':['id',_0xede1('0x4')]}]},{'model':'SalesforceField','as':'Fields','include':[{'model':_0xede1('0x13'),'as':_0xede1('0x13'),'attributes':['id',_0xede1('0x4')]}]}]}]},'log':_0xede1('0x3')});};};
\ No newline at end of file