import type { MorningstarMetadata, MorningstarOptions } from '../../Shared/MorningstarOptions'; export type InvestmentsConverters = Partial>; export type Converters = Array<{ key: InvestmentsConverterType; children?: string[]; }>; export type InvestmentsConverterType = 'AssetAllocationBreakdown' | 'CountryAndRegionExposure' | 'EquityAggregatesResidualRisk' | 'EquityResidualRisk' | 'EquitySectorsBreakdown' | 'EquityStyleBox' | 'FixedIncomeSectorsBreakdown' | 'ProspectusFees'; export interface InvestmentsConnectorMetadata extends MorningstarMetadata, ConnectorMetadata { rawResponses: Array<{ type: InvestmentsConverterType; json: unknown; }>; } export type ConnectorMetadata = { [K in InvestmentsConverterType]?: { [key: string]: unknown; }; }; export interface InvestmentsOptions extends MorningstarOptions { converters?: InvestmentsConverters; security?: InvestmentsSecurityOptions; } export interface InvestmentsConverterOptions { startDate?: string; endDate?: string; } export interface InvestmentsSecurityOptions { id: string; } export default InvestmentsOptions;