UNPKG

@aurahelper/xml-definitions

Version:

Powerfull Libraries to get the XML Definitions of ALL XML Salesforce Metadata Files. Support All API Versions up to API 53.0. You can get the definition of one or more XML files for a specific version of Salesforce. For Example: You can get the XML Defini

49 lines 2.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AccountRelationshipShareRule = void 0; var core_1 = require("@aurahelper/core"); exports.AccountRelationshipShareRule = { accessLevel: new core_1.EnumXMLField('accessLevel', 'Access Level') .setMinApi(45) .setEditable() .setDefaultValue('Read') .addEnumValue('Read', 'Read') .addEnumValue('Edit', 'Edit'), accountToCriteriaField: new core_1.EnumXMLField('accountToCriteriaField', 'Account To Criteria Field') .setMinApi(45) .setEditable() .addEnumValue('Account Owner', 'Account.OwnerId') .addEnumValue('Parent Account', 'Account.ParentId') .addEnumValue('Campaign Owner', 'Campaign.OwnerId') .addEnumValue('Case Account', 'Case.AccountId') .addEnumValue('Case Owner', 'Case.OwnerId') .addEnumValue('Contact Account', 'Contact.AccountId') .addEnumValue('Contact Owner', 'Contact.OwnerId') .addEnumValue('Lead Converted Account', 'Lead.ConvertedAccountId') .addEnumValue('Lead Owner', 'Lead.OwnerId') .addEnumValue('Lead Partner Account', 'Lead.PartnerAccountId') .addEnumValue('Opportunity Account', 'Opportunity.AccountId') .addEnumValue('Opportunity Owner', 'Opportunity.OwnerId') .addEnumValue('Opportunity Parent Account', 'Opportunity.PartnerAccountId') .addEnumValue('Order Account', 'Order.AccountId') .addEnumValue('Order Owner', 'Order.OwnerId'), description: new core_1.StringXMLField('description', 'Description') .setMinApi(45) .setEditable(), entityType: new core_1.StringXMLField('entityType', 'Entity Type') .setMinApi(45) .setEditable() .setRequired() .setMetadataType(core_1.MetadataTypes.CUSTOM_OBJECT), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(45) .setEditable() .setRequired(), staticFormulaCriteria: new core_1.StringXMLField('staticFormulaCriteria', 'Static Formula Criteria') .setMinApi(45) .setEditable(), type: new core_1.StringXMLField('type', 'Type') .setMinApi(45) .setEditable(), }; //# sourceMappingURL=accountRelationshipShareRule.js.map