import { ICollectionDateRange, ICollectionMoney, ICollectionMetricGroup, ICollectionMetricPoint } from './Common'; export interface ICollectionsDashboardFilter { range: ICollectionDateRange; creditorIds?: string[]; portfolioIds?: string[]; batchIds?: string[]; statusIds?: string[]; assigneeIds?: string[]; assignedGroupIds?: string[]; } export interface ICollectionsDashboardMetrics { range: ICollectionDateRange; totalAssigned: ICollectionMoney; outstandingBalance: ICollectionMoney; collected: ICollectionMoney; recoveryPercentage: number; activePaymentPlans: number; failedPaymentPlans: number; pendingPromises: number; brokenPromises: number; generatedCommissions: ICollectionMoney; collectedSeries: ICollectionMetricPoint[]; byPortfolio: ICollectionMetricGroup[]; byAgent: ICollectionMetricGroup[]; byStatus: ICollectionMetricGroup[]; byDaysPastDueRange: ICollectionMetricGroup[]; }