UNPKG

@coursebuilder/core

Version:

Core package for Course Builder

37 lines (34 loc) 1.11 kB
import { z } from 'zod'; declare const MerchantSubscriptionSchema: z.ZodObject<{ id: z.ZodString; organizationId: z.ZodNullable<z.ZodString>; merchantAccountId: z.ZodString; status: z.ZodDefault<z.ZodNumber>; createdAt: z.ZodDefault<z.ZodDate>; label: z.ZodNullable<z.ZodString>; identifier: z.ZodNullable<z.ZodString>; merchantCustomerId: z.ZodString; merchantProductId: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; createdAt: Date; status: number; organizationId: string | null; identifier: string | null; merchantAccountId: string; merchantProductId: string; merchantCustomerId: string; label: string | null; }, { id: string; organizationId: string | null; identifier: string | null; merchantAccountId: string; merchantProductId: string; merchantCustomerId: string; label: string | null; createdAt?: Date | undefined; status?: number | undefined; }>; type MerchantSubscription = z.infer<typeof MerchantSubscriptionSchema>; export { type MerchantSubscription, MerchantSubscriptionSchema };