import { AllowedValue } from '../../../commonStateTypes/allowedValue'; import { Amount } from '../../../commonStateTypes/amount'; import { ID } from '../../../commonStateTypes/common'; import { ZeniDate } from '../../../zeniDayJS'; export interface SubscriptionAddOn { chargebeeAddonId: string; chargeType: string; createTime: ZeniDate; description: string; name: string; period: { count: number; unit: string; } | undefined; price: Amount; sku: string; statusCode: string; subscriptionAddOnId: ID; updateTime: ZeniDate; vendorCompanyId: string; vendorTenantId: string; label?: string; zeniSku?: string; } export type SchemaKeys = 'status' | 'chargeType'; export interface SubscriptionAddOnState { schema: Record; subscriptionAddOnsById: Record; }