fix: send correct values to create booking
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user