import { AllowedValue } from '../../../commonStateTypes/allowedValue'; import { Amount } from '../../../commonStateTypes/amount'; import { ID } from '../../../commonStateTypes/common'; import { ZeniDate } from '../../../zeniDayJS'; export interface SubscriptionSummary { annualRecurringRevenue: Amount; avg2MonthExpenses: Amount; chargebeeCustomerId: ID; chargebeeCustomerName: ID; companyId: ID; companyName: string; createTime: ZeniDate; monthlyRecurringRevenue: Amount; primarySubscriptionPlanId: string; recommendedActionCode: string; subscriptionSummaryId: string; tenantId: ID; totalDues: Amount; updateTime: ZeniDate; vendorCompanyId: ID; vendorTenantId: ID; note?: string; noteLastUpdatedUserId?: ID; noteLastUpdateTime?: ZeniDate; recommendedSubscriptionPlanId?: ID; } export type SchemaKeys = 'recommendedAction'; export interface SubscriptionSummaryState { schema: Record; subscriptionSummaryByCompanyId: Record; subscriptionSummaryById: Record; }