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

41 lines 1.85 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IPAddressRange = void 0; var core_1 = require("@aurahelper/core"); exports.IPAddressRange = { description: new core_1.StringXMLField('description', 'Description') .setMinApi(52) .setEditable(), developerName: new core_1.StringXMLField('developerName', 'Developer Name') .setMinApi(52) .setEditable(), endIpAddress: new core_1.StringXMLField('endIpAddress', 'End IP Address') .setMinApi(52) .setEditable() .addMatchPattern(core_1.CoreUtils.Validator.getIpv4Regexp()) .addMatchPattern(core_1.CoreUtils.Validator.getIpv6Regexp()), ipAddressFeature: new core_1.EnumXMLField('ipAddressFeature', 'IP Address Feature') .setMinApi(52) .setEditable() .setDefaultValue('EmailIpFiltering') .addEnumValue('Email IP Filtering', 'EmailIpFiltering'), ipAddressUsageScope: new core_1.EnumXMLField('ipAddressUsageScope', 'IP Address Usage Scope') .setMinApi(52) .setEditable() .setDefaultValue('EmailIpFiltering') .addEnumValue('Exclusion', 'Exclusion') .addEnumValue('Inclusion', 'Inclusion'), isProtected: new core_1.BooleanXMLField('isProtected', 'Is Protected') .setMinApi(52) .setEditable() .setDefaultValue(false), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(52) .setEditable(), startIpAddress: new core_1.StringXMLField('startIpAddress', 'Start IP Address') .setMinApi(52) .setEditable() .addMatchPattern(core_1.CoreUtils.Validator.getIpv4Regexp()) .addMatchPattern(core_1.CoreUtils.Validator.getIpv6Regexp()), }; //# sourceMappingURL=iPAddressRange.js.map