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

60 lines 2.85 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PresenceUserConfig = void 0; var core_1 = require("@aurahelper/core"); exports.PresenceUserConfig = { assignments: new core_1.ObjectXMLField('assignments', 'Assignments') .setMinApi(44) .setEditable() .setFieldKey('profiles') .setSortOrder(undefined) .addField('profiles', new core_1.ObjectXMLField('profiles', 'Profiles') .setEditable() .setFieldKey('profile') .setSortOrder(undefined) .addField('profile', new core_1.ArrayXMLField('profile', 'Profile') .setEditable())) .addField('users', new core_1.ObjectXMLField('users', 'Users') .setEditable() .setFieldKey('user') .setSortOrder(undefined) .addField('user', new core_1.ArrayXMLField('user', 'User') .setEditable())), capacity: new core_1.IntegerXMLField('capacity', 'Capacity') .setMinApi(44) .setEditable() .setRequired(), declineReasons: new core_1.StringXMLField('declineReasons', 'Decline Reasons') .setMinApi(44) .setEditable() .setMetadataType(core_1.MetadataTypes.PRESENCE_DECLINE_REASON), enableAutoAccept: new core_1.BooleanXMLField('enableAutoAccept', 'Enable Auto Accept') .setMinApi(44) .setEditable() .addDependencyField(new core_1.XMLDependencyField('enableDecline', false, core_1.DataValues.AVAILABLE)), enableDecline: new core_1.BooleanXMLField('enableDecline', 'Enable Decline') .setMinApi(44) .setEditable() .addDependencyField(new core_1.XMLDependencyField('enableAutoAccept', false, core_1.DataValues.AVAILABLE)), enableDeclineReason: new core_1.BooleanXMLField('enableDeclineReason', 'Enable Decline Reason') .setMinApi(44) .setEditable(), enableDisconnectSound: new core_1.BooleanXMLField('enableDisconnectSound', 'Enable Disconnect Sound') .setMinApi(44) .setEditable(), enableRequestSound: new core_1.BooleanXMLField('enableRequestSound', 'Enable Request Sound') .setMinApi(44) .setEditable() .setDefaultValue(true), label: new core_1.StringXMLField('label', 'Label') .setMinApi(44) .setEditable(), presenceStatusOnDecline: new core_1.StringXMLField('presenceStatusOnDecline', 'Presence Status On Decline') .setMinApi(44) .setEditable() .addDependencyField(new core_1.XMLDependencyField('enableDecline', true, core_1.DataValues.AVAILABLE)), presenceStatusOnPushTimeout: new core_1.StringXMLField('presenceStatusOnPushTimeout', 'Presence Status On Push Timeout') .setMinApi(44) .setEditable() }; //# sourceMappingURL=presenceUserConfig.js.map