@coursebuilder/core
Version:
Core package for Course Builder
31 lines (28 loc) • 917 B
TypeScript
import { z } from 'zod';
declare const merchantPriceSchema: z.ZodObject<{
id: z.ZodString;
merchantAccountId: z.ZodString;
merchantProductId: z.ZodString;
status: z.ZodDefault<z.ZodNumber>;
identifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodDate;
priceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
id: string;
status: number;
createdAt: Date;
merchantAccountId: string;
merchantProductId: string;
identifier?: string | null | undefined;
priceId?: string | null | undefined;
}, {
id: string;
createdAt: Date;
merchantAccountId: string;
merchantProductId: string;
status?: number | undefined;
identifier?: string | null | undefined;
priceId?: string | null | undefined;
}>;
type MerchantPrice = z.infer<typeof merchantPriceSchema>;
export { type MerchantPrice, merchantPriceSchema };