import { z } from "zod"; export const CommercialOfferResponseSchema = z .object({ commercialOfferId: z.string().min(1), planId: z.string().min(1), subscriptionType: z.enum(["vip", "topup"]), discountPercent: z.number().int().min(0).max(100), pricePercent: z.number().int().min(0).max(100), expiresAt: z.string().min(1), message: z.string().min(1), promotionType: z.string().min(1), }) .readonly(); export type CommercialOfferResponse = z.output< typeof CommercialOfferResponseSchema >;