2
0
Files
cal/calcom/apps/api/v1/lib/validations/payment.ts

6 lines
283 B
TypeScript
Raw Normal View History

2024-08-09 00:39:27 +02:00
import { _PaymentModel as Payment } from "@calcom/prisma/zod";
// FIXME: Payment seems a delicate endpoint, do we need to remove anything here?
export const schemaPaymentBodyParams = Payment.omit({ id: true });
export const schemaPaymentPublic = Payment.omit({ externalId: true });