UNPKG

@coursebuilder/core

Version:

Core package for Course Builder

16 lines (13 loc) 461 B
import { z } from 'zod' export const MerchantSubscriptionSchema = z.object({ id: z.string(), organizationId: z.string().nullable(), merchantAccountId: z.string(), status: z.number().default(0), createdAt: z.date().default(() => new Date()), label: z.string().nullable(), identifier: z.string().nullable(), merchantCustomerId: z.string(), merchantProductId: z.string(), }) export type MerchantSubscription = z.infer<typeof MerchantSubscriptionSchema>