fix: add packages data from query param

This commit is contained in:
Christel Westerberg
2024-11-05 16:40:42 +01:00
parent a708eedfd4
commit 591cfc7e13
5 changed files with 45 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
import { BedTypeEnum } from "../../bookingWidget/enums"
import { RoomPackageCodeEnum } from "../selectRate/roomFilter"
interface Child {
bed: BedTypeEnum
@@ -7,15 +8,16 @@ interface Child {
interface Room {
adults: number
roomtype?: string
ratecode?: string
child?: Child[]
roomTypeCode: string
rateCode: string
children?: Child[]
packages?: RoomPackageCodeEnum[]
}
export interface BookingData {
hotel: string
fromDate: string
toDate: string
room: Room[]
rooms: Room[]
}
type Price = {

View File

@@ -13,6 +13,7 @@ interface Room {
ratecode: string
counterratecode?: string
child?: Child[]
packages?: string
}
export interface SelectRateSearchParams {