Files
cfw-autumn/shared/api/balances/common/balanceParamsBase.ts
John Yeo 90287e6308 latest
2026-02-19 13:24:33 +00:00

15 lines
379 B
TypeScript

import { z } from "zod/v4";
export const BalanceParamsBaseSchema = z.object({
customer_id: z.string().meta({
description: "The ID of the customer.",
}),
feature_id: z.string().meta({
description: "The ID of the feature.",
}),
entity_id: z.string().optional().meta({
description:
"The ID of the entity for entity-scoped balances (e.g., per-seat limits).",
}),
});