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:
85 files changed
+2078
-274
No files matched your search
Vendored
+2
@@ -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 };
|
||||
};
|
||||
|
||||
Vendored
+4
-2
@@ -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">,
|
||||
|
||||
Reference in new issue
Block a user