chargebee
Version:
A library for integrating with Chargebee.
15 lines (14 loc) • 609 B
JavaScript
// Generated Zod schemas: PromotionalGrant
// Actions: promotionalGrants
// Do not edit manually – regenerate via sdk-generator
import { z } from 'zod';
//PromotionalGrant.promotionalGrants
const PromotionalGrantsPromotionalGrantMetadataSchema = z.looseObject({});
const PromotionalGrantsPromotionalGrantBodySchema = z.looseObject({
subscription_id: z.string().max(50),
unit_id: z.string().max(50),
amount: z.string().max(36),
expires_at: z.number().int(),
metadata: PromotionalGrantsPromotionalGrantMetadataSchema.optional(),
});
export { PromotionalGrantsPromotionalGrantBodySchema };