feat: booking with phone number (#14461)

Co-authored-by: Omar López <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-09-11 17:56:04 -07:00
1 parent 74a9f3c19e
commit 4a59841b02
85 files changed
+2078 -274

No files matched your search

+2
View File
@@ -36,12 +36,14 @@ export type Person = {
locale?: string | null;
timeFormat?: TimeFormat;
bookingSeat?: BookingSeat | null;
phoneNumber?: string | null;
};
export type TeamMember = {
id?: number;
name: string;
email: string;
phoneNumber?: string | null;
timeZone: string;
language: { translate: TFunction; locale: string };
};
+4 -2
View File
@@ -20,8 +20,9 @@ export interface IAbstractPaymentService {
userId: Booking["userId"],
username: string | null,
bookerName: string | null,
bookerEmail: string,
paymentOption: PaymentOption,
bookerEmail: string,
bookerPhoneNumber?: string | null,
eventTitle?: string,
bookingTitle?: string
): Promise<Payment>;
@@ -29,8 +30,9 @@ export interface IAbstractPaymentService {
collectCard(
payment: Pick<Prisma.PaymentUncheckedCreateInput, "amount" | "currency">,
bookingId: Booking["id"],
paymentOption: PaymentOption,
bookerEmail: string,
paymentOption: PaymentOption
bookerPhoneNumber?: string | null
): Promise<Payment>;
chargeCard(
payment: Pick<Prisma.PaymentUncheckedCreateInput, "amount" | "currency">,