diff --git a/types/components/tracking.ts b/types/components/tracking.ts index 822f395e1..fd772194a 100644 --- a/types/components/tracking.ts +++ b/types/components/tracking.ts @@ -12,8 +12,8 @@ export type TrackingChannel = keyof typeof TrackingChannelEnum export type TrackingSDKPageData = { pageId: string - createdDate: string - publishedDate: string + createdDate?: string + publishedDate?: string domainLanguage: Lang pageType: string channel: TrackingChannel @@ -57,7 +57,7 @@ export type TrackingSDKHotelInfo = { childBedPreference?: string duration?: number // Number of nights to stay availableResults?: number // Number of hotels to choose from after a city search - bookingTypeofDay?: string // Weekend or weekday + bookingTypeofDay?: "weekend" | "weekday" searchTerm?: string roomPrice?: string rateCode?: string @@ -80,6 +80,7 @@ export type TrackingSDKHotelInfo = { discount?: number totalPrice?: number lowestRoomPrice?: number + searchType?: "destination" | "hotel" } export type TrackingSDKProps = {