fix: RateLimit verify email and fix (#23718)

* fix: RateLimit verify email

* update

* client chnages

* type error

* fix

* add test

* Update event-types.e2e.ts

* minor update

* Update event-types.e2e.ts

* fix test

* handle it in api v2
This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-09-12 18:27:05 +01:00
1 parent 79169de8d8
commit ee70111c45
14 files changed
+456 -22

No files matched your search

@@ -176,6 +176,7 @@ export class InputBookingsService_2024_08_13 {
metadata: inputBooking.metadata || {},
hasHashedBookingLink: false,
guests,
verificationCode: inputBooking.emailVerificationCode,
// note(Lauris): responses with name and email are required by the handleNewBooking
responses: {
...(inputBooking.bookingFieldsResponses || {}),
@@ -471,6 +472,7 @@ export class InputBookingsService_2024_08_13 {
metadata: inputBooking.metadata || {},
hasHashedBookingLink: false,
guests,
verificationCode: inputBooking.emailVerificationCode,
// note(Lauris): responses with name and email are required by the handleNewBooking
responses: {
...(inputBooking.bookingFieldsResponses || {}),
@@ -600,6 +602,7 @@ export class InputBookingsService_2024_08_13 {
guests: [],
responses: { ...bookingResponses },
rescheduleUid: inputBooking.seatUid,
verificationCode: inputBooking.emailVerificationCode,
};
}
@@ -661,6 +664,7 @@ export class InputBookingsService_2024_08_13 {
guests: bookingResponses.guests,
responses: { ...bookingResponses, rescheduledReason: inputBooking.reschedulingReason },
rescheduleUid: bookingUid,
verificationCode: inputBooking.emailVerificationCode,
};
}