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

161 lines 7.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveChatButton = void 0; var core_1 = require("@aurahelper/core"); exports.LiveChatButton = { animation: new core_1.EnumXMLField('animation', 'Animation') .setMinApi(28) .setEditable() .addEnumValue('Slide', 'Slide') .addEnumValue('Fade', 'Fade') .addEnumValue('Appear', 'Appear') .addEnumValue('Custom', 'Custom'), autoGreeting: new core_1.StringXMLField('autoGreeting', 'Auto Greeting') .setMinApi(29) .setEditable(), chasitorIdleTimeout: new core_1.IntegerXMLField('chasitorIdleTimeout', 'Chasitor Idle Timeout') .setMinApi(35) .setEditable(), chasitorIdleTimeoutWarning: new core_1.IntegerXMLField('chasitorIdleTimeoutWarning', 'chasitor Idle Timeout Warning') .setMinApi(35) .setEditable(), chatPage: new core_1.StringXMLField('chatPage', 'Chat Page') .setMinApi() .setEditable(), customAgentName: new core_1.StringXMLField('customAgentName', 'Custom Agent Name') .setMinApi(29) .setEditable(), deployments: new core_1.ObjectXMLField('deployments', 'Deployments') .setMinApi(28) .setEditable() .setFieldKey('deployment') .setSortOrder(undefined) .addField('deployment', new core_1.ArrayXMLField('deployment', 'Deployment') .setEditable() .setMetadataType(core_1.MetadataTypes.LIVE_CHAT_DEPLOYMENT)), enableQueue: new core_1.BooleanXMLField('enableQueue', 'Enable Queue') .setMinApi(28) .setEditable(), inviteEndPosition: new core_1.EnumXMLField('inviteEndPosition', 'Invite End Position') .setMinApi(28) .setEditable() .addEnumValue('Top Left', 'TopLeft') .addEnumValue('Top', 'Top') .addEnumValue('Top Right', 'TopRight') .addEnumValue('Left', 'Left') .addEnumValue('Center', 'Center') .addEnumValue('Right', 'Right') .addEnumValue('Bottom Left', 'BottomLeft') .addEnumValue('Bottom', 'Bottom') .addEnumValue('Bottom Right', 'BottomRight'), inviteImage: new core_1.StringXMLField('inviteImage', 'Invite Image') .setMinApi(28) .setEditable(), inviteStartPosition: new core_1.EnumXMLField('inviteStartPosition', 'Invite Start Position') .setMinApi(28) .setEditable() .addEnumValue('Top Left', 'TopLeft') .addEnumValue('Top Left Top', 'TopLeftTop') .addEnumValue('Top', 'Top') .addEnumValue('Top Right Top', 'TopRightTop') .addEnumValue('Top Right', 'TopRight') .addEnumValue('Top Right Right', 'TopRightRight') .addEnumValue('Right', 'Right') .addEnumValue('Bottom Right Right', 'BottomRightRight') .addEnumValue('Bottom Right', 'BottomRight') .addEnumValue('Bottom Right Bottom', 'BottomRightBottom') .addEnumValue('Bottom', 'Bottom') .addEnumValue('Bottom Left Bottom', 'BottomLeftBottom') .addEnumValue('Bottom Left', 'BottomLeft') .addEnumValue('Bottom Left Left', 'BottomLeftLeft') .addEnumValue('Left', 'Left') .addEnumValue('Top Left Left', 'TopLeftLeft'), isActive: new core_1.BooleanXMLField('isActive', 'Is Active') .setMinApi(28) .setEditable(), label: new core_1.StringXMLField('label', 'Label') .setMinApi(28) .setEditable(), numberOfReroutingAttempts: new core_1.IntegerXMLField('numberOfReroutingAttempts', 'Number Of Rerouting Attempts') .setMinApi(30) .setEditable(), offlineImage: new core_1.StringXMLField('offlineImage', 'Offline Image') .setMinApi(28) .setEditable(), onlineImage: new core_1.StringXMLField('onlineImage', 'Online Image') .setMinApi(28) .setEditable(), optionsCustomRoutingIsEnabled: new core_1.BooleanXMLField('optionsCustomRoutingIsEnabled', 'Options Custom Routing Is Enabled') .setMinApi(30) .setEditable(), optionsHasChasitorIdleTimeout: new core_1.BooleanXMLField('optionsHasChasitorIdleTimeout', 'Options Has Chasitor Idle Timeout') .setMinApi(35) .setEditable(), optionsHasInviteAfterAccept: new core_1.BooleanXMLField('optionsHasInviteAfterAccept', 'Options Has Invite After Accept') .setMinApi(28) .setEditable(), optionsHasInviteAfterReject: new core_1.BooleanXMLField('optionsHasInviteAfterReject', 'Options Has Invite After Reject') .setMinApi(28) .setEditable(), optionsHasRerouteDeclinedRequest: new core_1.BooleanXMLField('optionsHasRerouteDeclinedRequest', 'Options Has Reroute Declined Request') .setMinApi(30) .setEditable(), optionsIsAutoAccept: new core_1.BooleanXMLField('optionsIsAutoAccept', 'Options Is Auto Accept') .setMinApi(30) .setEditable(), optionsIsInviteAutoRemove: new core_1.BooleanXMLField('optionsIsInviteAutoRemove', 'Options Is Invite Auto Remove') .setMinApi(28) .setEditable(), overallQueueLength: new core_1.IntegerXMLField('overallQueueLength', 'Overall Queue Length') .setMinApi(28) .setEditable(), perAgentQueueLength: new core_1.IntegerXMLField('perAgentQueueLength', 'Per Agent Queue Length') .setMinApi(28) .setEditable(), postChatPage: new core_1.StringXMLField('postChatPage', 'Post Chat Page') .setMinApi(28) .setEditable(), postChatUrl: new core_1.StringXMLField('postChatUrl', 'Post Chat URL') .setMinApi(28) .setEditable(), preChatFormPage: new core_1.StringXMLField('preChatFormPage', 'Pre Chat Form Page') .setMinApi(28) .setEditable(), preChatFormUrl: new core_1.StringXMLField('preChatFormUrl', 'Pre Chat Form URL') .setMinApi(28) .setEditable(), pushTimeOut: new core_1.IntegerXMLField('pushTimeOut', 'Push Time Out') .setMinApi(28) .setEditable(), routingType: new core_1.EnumXMLField('routingType', 'Routing Type') .setMinApi(28) .setEditable() .addEnumValue('Choice', 'Choice') .addEnumValue('Least Active', 'LeastActive') .addEnumValue('Most Available', 'MostAvailable'), site: new core_1.StringXMLField('site', 'Site') .setMinApi(28) .setEditable() .setMetadataType(core_1.MetadataTypes.CUSTOM_SITE), skills: new core_1.ObjectXMLField('skills', 'Skills') .setMinApi(28) .setEditable() .setFieldKey('skill') .setSortOrder(undefined) .addField('skill', new core_1.ArrayXMLField('skill', 'Skill') .setEditable()), timeToRemoveInvite: new core_1.IntegerXMLField('timeToRemoveInvite', 'Time To Remove Invite') .setMinApi(28) .setEditable(), type: new core_1.EnumXMLField('type', 'Type') .setMinApi(28) .setEditable() .setRequired() .addEnumValue('Standard', 'Standard') .addEnumValue('Invite', 'Invite'), windowLanguage: new core_1.EnumXMLField('windowLanguage', 'Window Language') .setMinApi(28) .setEditable() .setEnumValues(core_1.DataValues.SF_LANGUAGES) }; //# sourceMappingURL=liveChatButton.js.map