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

66 lines 3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DiscoveryAIModel = void 0; var core_1 = require("@aurahelper/core"); exports.DiscoveryAIModel = { algorithmType: new core_1.EnumXMLField('algorithmType', 'Algorithm Type') .setMinApi(51) .setEditable() .addEnumValue('Generalized Linear Model', 'Glm') .addEnumValue('Gradient Boost Machine', 'Gbm') .addEnumValue('XGBoost', 'Xgboost') .addEnumValue('Random Forest', 'Drf'), classificationThreshold: new core_1.DoubleXMLField('classificationThreshold', 'Classification Threshold') .setMinApi(51) .setEditable(), description: new core_1.StringXMLField('description', 'Description') .setMinApi(51) .setEditable(), label: new core_1.StringXMLField('label', 'Label') .setMinApi(51) .setEditable(), modelFields: new core_1.ArrayXMLField('modelFields', 'Model Fields') .setMinApi(51) .setEditable() .setFieldKey('name') .addField('label', new core_1.StringXMLField('label', 'Label') .setEditable()) .addField('name', new core_1.StringXMLField('name', 'Name') .setEditable()) .addField('transformationConfig', new core_1.StringXMLField('transformationConfig', 'Transformation Config') .setEditable()) .addField('transformationType', new core_1.EnumXMLField('transformationType', 'Transformation Type') .setEditable() .addEnumValue('Typographic Clustering', 'TypographicClustering') .addEnumValue('Sentiment Analysis', 'SentimentAnalysis') .addEnumValue('Free Text Clustering', 'FreeTextClustering')) .addField('type', new core_1.EnumXMLField('type', 'Type') .setEditable() .addEnumValue('Text', 'Text') .addEnumValue('Number', 'Number') .addEnumValue('Date', 'Date')), predictedField: new core_1.StringXMLField('predictedField', 'Predicted Field') .setMinApi(51) .setEditable(), predictionType: new core_1.EnumXMLField('predictionType', 'Prediction Type') .setMinApi(51) .setEditable() .addEnumValue('Regression', 'Regression') .addEnumValue('Classification', 'Classification') .addEnumValue('Unknown', 'Unknown'), sourceType: new core_1.EnumXMLField('sourceType', 'Source Type') .setMinApi(51) .setEditable() .addEnumValue('Discovery', 'Discovery') .addEnumValue('User Upload', 'UserUpload'), status: new core_1.EnumXMLField('status', 'Status') .setMinApi(51) .setEditable() .addEnumValue('Disabled', 'Disabled') .addEnumValue('Enabled', 'Enabled'), trainingMetrics: new core_1.StringXMLField('trainingMetrics', 'Training Metrics') .setMinApi(51) .setEditable() .setJSON(), }; //# sourceMappingURL=discoveryAIModel.js.map