fix: send correct values to create booking

This commit is contained in:
Christel Westerberg
2024-11-05 16:41:13 +01:00
parent 591cfc7e13
commit 6d051629d3
6 changed files with 70 additions and 51 deletions

View File

@@ -19,4 +19,4 @@ export type BedTypeProps = {
export interface BedTypeFormSchema extends z.output<typeof bedTypeFormSchema> {}
export interface BedTypeSchema extends z.output<typeof bedTypeSchema> {}
export type BedTypeSchema = z.output<typeof bedTypeSchema>["bedType"]

View File

@@ -1,10 +1,5 @@
import { BedTypeEnum } from "../../bookingWidget/enums"
import { RoomPackageCodeEnum } from "../selectRate/roomFilter"
interface Child {
bed: BedTypeEnum
age: number
}
import { Child } from "../selectRate/selectRate"
interface Room {
adults: number

View File

@@ -28,7 +28,6 @@ export interface BreakfastSelectionProps extends SectionProps {
export interface DetailsProps extends SectionProps {}
export interface PaymentProps {
hotelId: string
otherPaymentOptions: string[]
savedCreditCards: CreditCard[] | null
mustBeGuaranteed: boolean