import { z } from "zod";

import { arrayOrEmpty } from "../../nullable-defaults";
import { TipPaymentPlanSchema } from "../tip_payment_plan";

export const TipPaymentPlansResponseSchema = z.object({
  plans: arrayOrEmpty(TipPaymentPlanSchema),
});

export type TipPaymentPlansResponseInput = z.input<
  typeof TipPaymentPlansResponseSchema
>;
export type TipPaymentPlansResponseData = z.output<
  typeof TipPaymentPlansResponseSchema
>;
