import { z } from "zod"; export enum BillingInterval { OneOff = "one_off", Month = "month", Quarter = "quarter", SemiAnnual = "semi_annual", Year = "year", } export const FixedPriceConfigSchema = z.object({ type: z.string(), amount: z.number().min(0), interval: z.nativeEnum(BillingInterval), stripe_price_id: z.string().nullish(), }); export type FixedPriceConfig = z.infer;