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

32 lines 1.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mlIntent = void 0; var core_1 = require("@aurahelper/core"); function mlIntent(intentName, intentApi, minApi) { return new core_1.ArrayXMLField(intentName, intentApi) .setMinApi(minApi) .setEditable() .setFieldKey('developerName') .addField('description', new core_1.StringXMLField('description', 'Description') .setEditable()) .addField('developerName', new core_1.StringXMLField('developerName', 'Developer Name') .setEditable() .setRequired() .setUnique()) .addField('label', new core_1.StringXMLField('label', 'Label') .setEditable()) .addField('mlIntentUtterances', new core_1.ArrayXMLField('mlIntentUtterances', 'Machine Learning Intent Utterances') .setEditable() .setFieldKey('utterance') .setSortOrder(undefined) .addField('utterance', new core_1.StringXMLField('utterance', 'Utterance') .setEditable())) .addField('relatedMlIntents', new core_1.ArrayXMLField('relatedMlIntents', 'Related Machine Learning Intents') .setEditable() .setFieldKey('relatedMlIntent') .setSortOrder(undefined) .addField('relatedMlIntent', new core_1.StringXMLField('relatedMlIntent', 'Related Machine Learning Intent') .setEditable())); } exports.mlIntent = mlIntent; //# sourceMappingURL=mlIntent.js.map