Files
cfw-autumn/shared/api/billing/common/customLineItem.ts
2026-03-02 10:58:11 +00:00

14 lines
367 B
TypeScript

import { z } from "zod/v4";
export const CustomLineItemSchema = z.object({
amount: z.number().meta({
description:
"Amount in dollars for this line item (e.g. 10.50). Can be negative for credits.",
}),
description: z.string().meta({
description: "Description for the line item.",
}),
});
export type CustomLineItem = z.infer<typeof CustomLineItemSchema>;