@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
103 lines • 4.64 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Portal = void 0;
var core_1 = require("@aurahelper/core");
exports.Portal = {
active: new core_1.BooleanXMLField('active', 'Active')
.setMinApi(15)
.setEditable()
.setRequired(),
admin: new core_1.StringXMLField('admin', 'Admin')
.setMinApi(15)
.setEditable(),
defaultLanguage: new core_1.EnumXMLField('defaultLanguage', 'Default Language')
.setMinApi(15)
.setEditable()
.setEnumValues(core_1.DataValues.SF_LANGUAGES),
description: new core_1.StringXMLField('description', 'Description')
.setMinApi(15)
.setEditable(),
emailSenderAddress: new core_1.StringXMLField('emailSenderAddress', 'Email Sender Address')
.setMinApi(15)
.setEditable()
.setRequired(),
emailSenderName: new core_1.StringXMLField('emailSenderName', 'Email Sender Name')
.setMinApi(15)
.setEditable()
.setRequired(),
enableSelfCloseCase: new core_1.BooleanXMLField('enableSelfCloseCase', 'Enable Self Close Case')
.setMinApi(15)
.setEditable(),
footerDocument: new core_1.StringXMLField('footerDocument', 'Footer Document')
.setMinApi(15)
.setEditable()
.setMetadataType(core_1.MetadataTypes.DOCUMENT),
forgotPassTemplate: new core_1.StringXMLField('forgotPassTemplate', 'Forgot Pass Template')
.setMinApi(15)
.setEditable(),
fullName: new core_1.StringXMLField('fullName', 'Full Name')
.setMinApi(15)
.setEditable()
.setRequired()
.addMatchPattern(/^[^\d\s_](\w)+$/)
.setUnique(),
headerDocument: new core_1.StringXMLField('headerDocument', 'Header Document')
.setMinApi(15)
.setEditable()
.setMetadataType(core_1.MetadataTypes.DOCUMENT),
isSelfRegistrationActivated: new core_1.BooleanXMLField('isSelfRegistrationActivated', 'Is Self Registration Activated')
.setMinApi(15)
.setEditable(),
loginHeaderDocument: new core_1.StringXMLField('loginHeaderDocument', 'Login Header Document')
.setMinApi(15)
.setEditable()
.setMetadataType(core_1.MetadataTypes.DOCUMENT),
logoDocument: new core_1.StringXMLField('logoDocument', 'Logo Document')
.setMinApi(15)
.setEditable()
.setMetadataType(core_1.MetadataTypes.DOCUMENT),
logoutUrl: new core_1.StringXMLField('logoutUrl', 'Logout URL')
.setMinApi(15)
.setEditable(),
newCommentTemplate: new core_1.StringXMLField('newCommentTemplate', 'New Comment Template')
.setMinApi(15)
.setEditable(),
newPassTemplate: new core_1.StringXMLField('newPassTemplate', 'New Pass Template')
.setMinApi(15)
.setEditable(),
newUserTemplate: new core_1.StringXMLField('newUserTemplate', 'New User Template')
.setMinApi(15)
.setEditable(),
ownerNotifyTemplate: new core_1.StringXMLField('ownerNotifyTemplate', 'Owner Notify Template')
.setMinApi(15)
.setEditable(),
selfRegNewUserUrl: new core_1.StringXMLField('selfRegNewUserUrl', 'Self Registration New User URL')
.setMinApi(15)
.setEditable(),
selfRegUserDefaultProfile: new core_1.StringXMLField('selfRegUserDefaultProfile', 'Self Registration User Default Profile')
.setMinApi(15)
.setEditable()
.setMetadataType(core_1.MetadataTypes.PROFILE),
selfRegUserDefaultRole: new core_1.EnumXMLField('selfRegUserDefaultRole', 'Self Registration User Default Role')
.setMinApi(15)
.setEditable()
.addEnumValue('Executive', 'Executive')
.addEnumValue('Manager', 'Manager')
.addEnumValue('User', 'User')
.addEnumValue('Person Account', 'PersonAccount'),
selfRegUserTemplate: new core_1.StringXMLField('selfRegUserTemplate', 'Self Registration User Template')
.setMinApi(15)
.setEditable(),
showActionConfirmation: new core_1.BooleanXMLField('showActionConfirmation', 'Show Action Confirmation')
.setMinApi(15)
.setEditable(),
stylesheetDocument: new core_1.StringXMLField('stylesheetDocument', 'Stylesheet Document')
.setMinApi(15)
.setEditable(),
type: new core_1.EnumXMLField('type', 'Type')
.setMinApi(15)
.setEditable()
.addEnumValue('Customer Success', 'CustomerSuccess')
.addEnumValue('Partner', 'Partner'),
};
//# sourceMappingURL=portal.js.map