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

57 lines 2.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ForecastingType = void 0; var core_1 = require("@aurahelper/core"); exports.ForecastingType = { active: new core_1.BooleanXMLField('active', 'Active') .setMinApi(52) .setEditable() .setRequired() .setDefaultValue(false), amount: new core_1.BooleanXMLField('amount', 'Amount') .setMinApi(52) .setEditable() .setRequired() .setDefaultValue(true), dateType: new core_1.EnumXMLField('dateType', 'Date Type') .setMinApi(52) .setEditable() .setRequired() .addEnumValue('Opportunity Close Date', 'OpportunityCloseDate') .addEnumValue('ProductDate', 'ProductDate') .addEnumValue('Schedule Date', 'ScheduleDate') .addEnumValue('OLI Measure Close Date Only', 'OLIMeasureCloseDateOnly') .addEnumValue('Product Date Only', 'ProductDateOnly') .addEnumValue('Schedule Date Only', 'ScheduleDateOnly'), developerName: new core_1.StringXMLField('developerName', 'Developer Name') .setMinApi(52) .setEditable() .setRequired(), hasProductFamily: new core_1.BooleanXMLField('hasProductFamily', 'Has Product Family') .setMinApi(52) .setEditable() .setRequired() .setDefaultValue(false), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(52) .setEditable() .setRequired(), opportunitySplitType: new core_1.StringXMLField('opportunitySplitType', 'Opportunity Split Type') .setMinApi(52) .setEditable(), quantity: new core_1.BooleanXMLField('quantity', 'Quantity') .setMinApi(52) .setEditable() .setRequired() .setDefaultValue(false), roleType: new core_1.EnumXMLField('roleType', 'Role Type') .setMinApi(52) .setEditable() .setRequired() .addEnumValue('Role Based ', 'R') .addEnumValue('Territory2 Based ', 'Y'), territory2Model: new core_1.StringXMLField('territory2Model', 'Territory2 Model') .setMinApi(52) .setEditable(), }; //# sourceMappingURL=forecastingType.js.map