@coursebuilder/core
Version:
Core package for Course Builder
28 lines (25 loc) • 808 B
TypeScript
import { z } from 'zod';
declare const merchantCouponSchema: z.ZodObject<{
id: z.ZodString;
identifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
status: z.ZodDefault<z.ZodNumber>;
merchantAccountId: z.ZodString;
percentageDiscount: z.ZodEffects<z.ZodNumber, number, number>;
type: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
type: string;
status: number;
percentageDiscount: number;
merchantAccountId: string;
identifier?: string | null | undefined;
}, {
id: string;
type: string;
percentageDiscount: number;
merchantAccountId: string;
status?: number | undefined;
identifier?: string | null | undefined;
}>;
type MerchantCoupon = z.infer<typeof merchantCouponSchema>;
export { type MerchantCoupon, merchantCouponSchema };