@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
123 lines • 5.84 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LiveChatAgentConfig = void 0;
var core_1 = require("@aurahelper/core");
exports.LiveChatAgentConfig = {
assignments: new core_1.ObjectXMLField('assignments', 'Assignments')
.setMinApi(28)
.setEditable()
.setFieldKey('profiles')
.setSortOrder(undefined)
.addField('profiles', new core_1.ObjectXMLField('profiles', 'Profiles')
.setEditable()
.setFieldKey('profile')
.setSortOrder(undefined)
.addField('profile', new core_1.StringXMLField('profile', 'Profile')
.setEditable()
.setMetadataType(core_1.MetadataTypes.PROFILE)))
.addField('users', new core_1.ObjectXMLField('users', 'Users')
.setEditable()
.setFieldKey('user')
.setSortOrder(undefined)
.addField('user', new core_1.StringXMLField('user', 'User')
.setEditable()
.linkFieldToSObject('User', 'Username'))),
autoGreeting: new core_1.StringXMLField('autoGreeting', 'Auto Greeting')
.setMinApi(28)
.setEditable(),
capacity: new core_1.IntegerXMLField('capacity', 'Capacity')
.setMinApi(28)
.setEditable(),
criticalWaitTime: new core_1.IntegerXMLField('criticalWaitTime', 'Critical Wait Time')
.setMinApi(28)
.setEditable(),
customAgentName: new core_1.StringXMLField('customAgentName', 'Custom Agent Name')
.setMinApi(29)
.setEditable(),
enableAgentFileTransfer: new core_1.BooleanXMLField('enableAgentFileTransfer', 'Enable Agent File Transfer')
.setMinApi(31)
.setEditable(),
enableAgentSneakPeek: new core_1.BooleanXMLField('enableAgentSneakPeek', 'Enable Agent Sneak Peek')
.setMinApi(28)
.setEditable(),
enableAssistanceFlag: new core_1.BooleanXMLField('enableAssistanceFlag', 'Enable Assistance Flag')
.setMinApi(35)
.setEditable(),
enableAutoAwayOnDecline: new core_1.BooleanXMLField('enableAutoAwayOnDecline', 'Enable Auto Away On Decline')
.setMinApi(28)
.setEditable(),
enableAutoAwayOnPushTimeout: new core_1.BooleanXMLField('enableAutoAwayOnPushTimeout', 'Enable Auto Away On Push Timeout')
.setMinApi(34)
.setEditable(),
enableChatConferencing: new core_1.BooleanXMLField('enableChatConferencing', 'Enable Chat Conferencing')
.setMinApi(34)
.setEditable(),
enableChatMonitoring: new core_1.BooleanXMLField('enableChatMonitoring', 'Enable Chat Monitoring')
.setMinApi(29)
.setEditable(),
enableChatTransferToAgent: new core_1.BooleanXMLField('enableChatTransferToAgent', 'Enable Chat Transfer To Agent')
.setMinApi(36)
.setEditable(),
enableChatTransferToButton: new core_1.BooleanXMLField('enableChatTransferToButton', 'Enable Chat Transfer To Button')
.setMinApi(36)
.setEditable(),
enableChatTransferToSkill: new core_1.BooleanXMLField('enableChatTransferToSkill', 'Enable Chat Transfer To Skill')
.setMinApi(36)
.setEditable(),
enableLogoutSound: new core_1.BooleanXMLField('enableLogoutSound', 'Enable Logout Sound')
.setMinApi(28)
.setEditable(),
enableNotifications: new core_1.BooleanXMLField('enableNotifications', 'Enable Notifications')
.setMinApi(28)
.setEditable(),
enableRequestSound: new core_1.BooleanXMLField('enableRequestSound', 'Enable Request Sound')
.setMinApi(28)
.setEditable(),
enableSneakPeek: new core_1.BooleanXMLField('enableSneakPeek', 'Enable Sneak Peek')
.setMinApi(29)
.setEditable(),
enableVisitorBlocking: new core_1.BooleanXMLField('enableVisitorBlocking', 'Enable Visitor Blocking')
.setMinApi(34)
.setEditable(),
enableWhisperMessage: new core_1.BooleanXMLField('enableWhisperMessage', 'Enable Whisper Message')
.setMinApi(29)
.setEditable(),
label: new core_1.StringXMLField('label', 'Label')
.setMinApi(28)
.setEditable()
.setRequired(),
supervisorDefaultAgentStatusFilter: new core_1.EnumXMLField('supervisorDefaultAgentStatusFilter', 'Supervisor Default Agent Status Filter')
.setMinApi(29)
.setEditable()
.addEnumValue('Online', 'Online')
.addEnumValue('Away', 'Away')
.addEnumValue('Offline', 'Offline'),
supervisorDefaultButtonFilter: new core_1.StringXMLField('supervisorDefaultButtonFilter', 'Supervisor Default Button Filter')
.setMinApi(29)
.setEditable(),
supervisorDefaultSkillFilter: new core_1.StringXMLField('supervisorDefaultSkillFilter', 'Supervisor Default Skill Filter')
.setMinApi(29)
.setEditable(),
supervisorSkills: new core_1.ObjectXMLField('supervisorSkills', 'Supervisor Skills')
.setMinApi(29)
.setEditable()
.setFieldKey('skill')
.setSortOrder(undefined)
.addField('skill', new core_1.ArrayXMLField('skill', 'Skill')
.setEditable()),
transferableButtons: new core_1.ObjectXMLField('transferableButtons', 'Transferable Buttons')
.setMinApi(31)
.setEditable()
.setFieldKey('button')
.setSortOrder(undefined)
.addField('button', new core_1.ArrayXMLField('button', 'Button')
.setEditable()),
transferableSkills: new core_1.ObjectXMLField('transferableSkills', 'Transferable Skills')
.setMinApi(31)
.setEditable()
.setFieldKey('skill')
.setSortOrder(undefined)
.addField('skill', new core_1.ArrayXMLField('skill', 'Skill')
.setEditable()),
};
//# sourceMappingURL=liveChatAgentConfig.js.map