@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
107 lines • 4.88 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmbeddedServiceLiveAgent = void 0;
var core_1 = require("@aurahelper/core");
exports.EmbeddedServiceLiveAgent = {
avatarImg: new core_1.StringXMLField('avatarImg', 'Avatar Image')
.setMinApi(38)
.setEditable(),
customPrechatComponent: new core_1.StringXMLField('customPrechatComponent', 'Custom Prechat Component')
.setMinApi(38)
.setEditable()
.setMetadataType(core_1.MetadataTypes.AURA_DEFINITION_BUNDLE),
embeddedServiceConfig: new core_1.StringXMLField('embeddedServiceConfig', 'Embedded Service Config')
.setMinApi(38)
.setEditable()
.setRequired()
.setMetadataType(core_1.MetadataTypes.EMBEDDED_SERVICE_CONFIG),
embeddedServiceQuickActions: new core_1.ObjectXMLField('embeddedServiceQuickActions', 'Embedded Service Quick Actions')
.setMinApi(38)
.setEditable()
.setFieldKey('quickActionDefinition')
.setSortOrder(undefined)
.addField('embeddedServiceLiveAgent', new core_1.StringXMLField('embeddedServiceLiveAgent', 'Embedded Service LiveAgent')
.setEditable()
.setMetadataType(core_1.MetadataTypes.EMBEDDED_SERVICE_LIVE_AGENT))
.addField('order', new core_1.IntegerXMLField('order', 'Order')
.setEditable())
.addField('quickActionDefinition', new core_1.IntegerXMLField('quickActionDefinition', 'Quick Action Definition')
.setEditable()
.setMetadataType(core_1.MetadataTypes.QUICK_ACTION))
.addField('quickActionType', new core_1.EnumXMLField('quickActionType', 'Quick Action Type')
.setMinApi(43)
.setEditable()
.addEnumValue('Pre Chat', 'Prechat')
.addEnumValue('Offline Cases Support', 'OfflineCase')),
enabled: new core_1.BooleanXMLField('enabled', 'Enabled')
.setMinApi(38)
.setEditable()
.setRequired(),
fontSize: new core_1.EnumXMLField('fontSize', 'Font Size')
.setMinApi(38)
.setEditable()
.setRequired()
.addEnumValue('Small', 'Small')
.addEnumValue('Medium', 'Medium')
.addEnumValue('Large', 'Large'),
headerBackgroundImg: new core_1.StringXMLField('headerBackgroundImg', 'Header Background Image')
.setMinApi(49)
.setEditable(),
isOfflineCaseEnabled: new core_1.BooleanXMLField('isOfflineCaseEnabled', 'Is Offline Case Enabled')
.setMinApi(43)
.setEditable(),
isQueuePositionEnabled: new core_1.BooleanXMLField('isQueuePositionEnabled', 'Is Queue Position Enabled')
.setMinApi(43)
.setEditable(),
liveAgentChatUrl: new core_1.BooleanXMLField('liveAgentChatUrl', 'Live Agent Chat URL')
.setMinApi(43)
.setEditable(),
liveAgentContentUrl: new core_1.BooleanXMLField('liveAgentContentUrl', 'Live Agent Content URL')
.setMinApi(43)
.setEditable(),
liveChatButton: new core_1.BooleanXMLField('liveChatButton', 'Live Chat Button')
.setMinApi(43)
.setEditable()
.setRequired(),
liveChatDeployment: new core_1.StringXMLField('liveChatDeployment', 'Live Chat Deployment')
.setMinApi(43)
.setEditable()
.setRequired(),
masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label')
.setMinApi(43)
.setEditable()
.setRequired()
.setUnique(),
offlineCaseBackgroundImg: new core_1.StringXMLField('offlineCaseBackgroundImg', 'Offline Case Background Image')
.setMinApi(43)
.setEditable()
.setRequired(),
prechatBackgroundImg: new core_1.StringXMLField('prechatBackgroundImg', 'Pre Chat Background Image')
.setMinApi(38)
.setEditable()
.setRequired(),
prechatEnabled: new core_1.BooleanXMLField('prechatEnabled', 'Prechat Enabled')
.setMinApi(38)
.setEditable()
.setRequired(),
prechatJson: new core_1.StringXMLField('prechatJson', 'Pre Chat JSON')
.setMinApi(38)
.setEditable()
.setRequired(),
scenario: new core_1.EnumXMLField('scenario', 'Scenario')
.setMinApi(38)
.setEditable()
.setRequired()
.addEnumValue('Sales', 'Sales')
.addEnumValue('Service', 'Service')
.addEnumValue('Basic', 'Basic'),
smallCompanyLogoImg: new core_1.StringXMLField('smallCompanyLogoImg', 'Small Company Logo Image')
.setMinApi(38)
.setEditable()
.setRequired(),
waitingStateBackgroundImg: new core_1.StringXMLField('waitingStateBackgroundImg', 'Waiting State Background Image')
.setMinApi(38)
.setEditable()
.setRequired(),
};
//# sourceMappingURL=embeddedServiceLiveAgent.js.map