import { AllowedValue } from '../../../commonStateTypes/allowedValue'; import { Amount } from '../../../commonStateTypes/amount'; import { ID } from '../../../commonStateTypes/common'; import { ZeniDate } from '../../../zeniDayJS'; export interface SubscriptionPlan { chargebeePlanId: ID; createTime: ZeniDate; label: string; name: string; period: { count: number; unit: string; }; price: Amount; sku: string; statusCode: string; subscriptionPlanId: ID; updateTime: ZeniDate; vendorCompanyId: ID; vendorTenantId: ID; zeniSku: string; description?: string; slabLowerLimit?: Amount; slabUpperLimit?: Amount; } export type SchemaKeys = 'status'; export interface SubscriptionPlanState { schema: Record; subscriptionPlansById: Record; }