/*! * Copyright (C) Microsoft Corporation. All rights reserved. */ import type { IHttpClient } from '../types/IHttpClient.js'; import type { ILogger } from '../types/PlayerServices.types.js'; import type { CsdlMetadata, CsdlOperation, DataverseEntityDefinition, DataverseSchemaWrapper } from './DataverseTypes.js'; export declare class DataverseMetadataService { private httpClient; constructor(httpClient: IHttpClient); getEntityDefinitionAsync(orgUrl: string, tableName: string, includeOptionSets: boolean | undefined, logger: ILogger): Promise; /** * Fetches the OData $metadata CSDL document and returns all Action and Function definitions * whose name contains the given search term (case-insensitive). */ searchCsdlOperations(orgUrl: string, searchTerm: string, logger: ILogger): Promise; /** * Fetches and parses the OData $metadata CSDL document once, returning both the Action/Function * definitions (filtered by `searchTerm`) and the registry of concrete entity types. Callers that * need to resolve entity references (e.g. to skip abstract/non-entity `mscrm.*` parameter types) * should use this instead of {@link searchCsdlOperations} to avoid a second $metadata download. */ getCsdlMetadataAsync(orgUrl: string, searchTerm: string, logger: ILogger): Promise; convertEntityDefinitionToSchema(entityDefinition: DataverseEntityDefinition): DataverseSchemaWrapper; private mapDataverseTypeToJsonSchemaType; private enrichWithOptionSetMetadata; private createOptionSetRequests; private mergeOptionSetData; private enrichPropertyWithOptionSetData; } //# sourceMappingURL=DataverseMetadataService.d.ts.map