feat: SW-1588 Implemented booking code select-rate
This commit is contained in:
@@ -9,4 +9,5 @@ export interface RoomsContainerProps {
|
||||
hotelId: number
|
||||
toDate: Date
|
||||
hotelData: HotelData | null
|
||||
bookingCode?: string
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
export enum BookingCodeFilterEnum {
|
||||
Discounted = "Discounted",
|
||||
Regular = "Regular",
|
||||
All = "All",
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
export enum RateTypeEnum {
|
||||
Arb = "Arb",
|
||||
BonusCheque = "BonusCheque",
|
||||
Company = "Company",
|
||||
Promotion = "Promotion",
|
||||
Redemption = "Redemption",
|
||||
Regular = "Regular",
|
||||
TravelAgent = "TravelAgent",
|
||||
Voucher = "Voucher",
|
||||
}
|
||||
@@ -3,6 +3,7 @@ import type { z } from "zod"
|
||||
import type {
|
||||
getHotelsByHotelIdsAvailabilityInputSchema,
|
||||
hotelsAvailabilityInputSchema,
|
||||
roomsAvailabilityInputSchema,
|
||||
} from "@/server/routers/hotels/input"
|
||||
import type { hotelsAvailabilitySchema } from "@/server/routers/hotels/output"
|
||||
import type { productTypeSchema } from "@/server/routers/hotels/schemas/availability/productType"
|
||||
@@ -15,6 +16,9 @@ export type HotelsAvailabilityInputSchema = z.output<
|
||||
export type HotelsByHotelIdsAvailabilityInputSchema = z.output<
|
||||
typeof getHotelsByHotelIdsAvailabilityInputSchema
|
||||
>
|
||||
export type RoomsAvailabilityInputSchema = z.output<
|
||||
typeof roomsAvailabilityInputSchema
|
||||
>
|
||||
export type ProductType = z.output<typeof productTypeSchema>
|
||||
export type ProductTypePrices = z.output<typeof productTypePriceSchema>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user