@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
41 lines • 1.6 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExternalServiceRegistration = void 0;
var core_1 = require("@aurahelper/core");
exports.ExternalServiceRegistration = {
description: new core_1.StringXMLField('description', 'Description')
.setMinApi(39)
.setEditable()
.setRequired(),
label: new core_1.StringXMLField('label', 'Label')
.setMinApi(39)
.setEditable(),
namedCredential: new core_1.StringXMLField('namedCredential', 'Named Credential')
.setMinApi(39)
.setEditable()
.setRequired(),
schema: new core_1.StringXMLField('schema', 'Schema')
.setMinApi(39)
.setEditable()
.setRequired(),
schemaType: new core_1.EnumXMLField('schemaType', 'Schema Type')
.setMinApi(39)
.setEditable()
.setRequired()
.addEnumValue('Open API 2.0', 'OpenAPI')
.addEnumValue('API version 47.0 and earlier', 'InteragentHyperSchema', undefined, 47),
schemaUrl: new core_1.StringXMLField('schemaUrl', 'Schema URL')
.setMinApi(39)
.setEditable()
.setRequired(),
serviceBinding: new core_1.StringXMLField('serviceBinding', 'Service Binding')
.setMinApi(53)
.setEditable(),
status: new core_1.EnumXMLField('status', 'Status')
.setMinApi(39)
.setEditable()
.setRequired()
.addEnumValue('Complete', 'complete')
.addEnumValue('Incomplete', 'incomplete'),
};
//# sourceMappingURL=externalServiceRegistration.js.map