Merged in feat/SW-1368-1369-Guarantee-late-arrival (pull request #1512)
Feat/SW-1368 1369 Guarantee late arrival * feat(SW-1368-SW-1369): guarantee late arrival for confirmation page and my stay * feat(SW-1368-SW-1369): guarantee late arrival updated design * feat(SW-1368-SW-1369): add translations * feat(SW-1368-SW-1369): add translations * feat(SW-1368-SW-1369): fix merge with master * feat(SW-1368-SW-1369): add translations * feat(SW-1368-SW-1369): add redirect with refId * feat(SW-1368-SW-1369): if booking completed redirect to confirmation page * feat(SW-1368-SW-1369): fix comments pr * feat(SW-1368-SW-1369): fix comments pr * feat(SW-1368-SW-1369): fix rebase master * feat(SW-1368-SW-1369): fix duplicate flex rate check * feat(SW-1368-SW-1369): if any room is flex, card must be used * feat(SW-1368-SW-1369): move callback route * feat(SW-1368-SW-1369): top align checkbox * feat(SW-1368-SW-1369): top align checkbox Approved-by: Tobias Johansson Approved-by: Niclas Edenvin
This commit is contained in:
@@ -5,4 +5,5 @@ export interface CheckboxProps
|
||||
name: string
|
||||
registerOptions?: RegisterOptions
|
||||
hideError?: boolean
|
||||
topAlign?: boolean
|
||||
}
|
||||
|
||||
@@ -3,7 +3,10 @@ import type { PaymentMethodEnum } from "@/constants/booking"
|
||||
|
||||
export interface PaymentProps {
|
||||
otherPaymentOptions: PaymentMethodEnum[]
|
||||
mustBeGuaranteed: boolean
|
||||
memberMustBeGuaranteed: boolean
|
||||
supportedCards: PaymentMethodEnum[]
|
||||
isFlexRate: boolean
|
||||
}
|
||||
|
||||
export interface PaymentClientProps
|
||||
|
||||
@@ -124,7 +124,7 @@ export type TrackingSDKData = TrackingSDKPageData & {
|
||||
type BasePaymentEvent = {
|
||||
event: string
|
||||
hotelId: string | undefined
|
||||
method?: string
|
||||
method?: string | null
|
||||
isSavedCreditCard?: boolean
|
||||
smsEnable?: boolean
|
||||
status: "attempt" | "cancelled" | "failed"
|
||||
|
||||
@@ -8,6 +8,7 @@ export interface Room {
|
||||
cancellationRule?: string
|
||||
cancellationText: string
|
||||
mustBeGuaranteed: boolean
|
||||
memberMustBeGuaranteed?: boolean
|
||||
packages: Packages | null
|
||||
rateDetails: string[]
|
||||
rateTitle?: string
|
||||
@@ -15,6 +16,7 @@ export interface Room {
|
||||
roomType: string
|
||||
roomTypeCode: string
|
||||
isAvailable: boolean
|
||||
isFlexRate: boolean
|
||||
}
|
||||
|
||||
export interface RoomProviderProps extends React.PropsWithChildren {
|
||||
|
||||
@@ -35,6 +35,7 @@ export interface InitialRoomData {
|
||||
roomType: string
|
||||
roomTypeCode: string
|
||||
mustBeGuaranteed: boolean
|
||||
isFlexRate: boolean
|
||||
}
|
||||
|
||||
export type RoomStep = {
|
||||
|
||||
Reference in New Issue
Block a user