@coursebuilder/core
Version:
Core package for Course Builder
37 lines (34 loc) • 1.11 kB
text/typescript
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;
organizationId: string | null;
status: number;
createdAt: Date;
merchantAccountId: string;
identifier: string | null;
label: string | null;
merchantProductId: string;
merchantCustomerId: string;
}, {
id: string;
organizationId: string | null;
merchantAccountId: string;
identifier: string | null;
label: string | null;
merchantProductId: string;
merchantCustomerId: string;
status?: number | undefined;
createdAt?: Date | undefined;
}>;
type MerchantSubscription = z.infer<typeof MerchantSubscriptionSchema>;
export { type MerchantSubscription, MerchantSubscriptionSchema };