import { z } from "zod";

export const TipMessageResponseSchema = z
  .object({
    orderId: z.string().min(1),
    characterId: z.string().min(1),
    planId: z.string().min(1),
    productName: z.string(),
    tipCount: z.number().int().positive(),
    poolIndex: z.number().int().min(0).max(99),
    message: z.string().min(1),
  })
  .readonly();

export type TipMessageResponseInput = z.input<typeof TipMessageResponseSchema>;
export type TipMessageResponseData = z.output<typeof TipMessageResponseSchema>;
export type TipMessageResponse = TipMessageResponseData;
