API - Use the new Prices API.
This commit is contained in:
+4
-16
@@ -8,24 +8,12 @@ export type RoomPrice = {
|
||||
price: number;
|
||||
};
|
||||
|
||||
export type AvailabilityRequest = {
|
||||
export type SearchPeriodRequest = {
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
};
|
||||
|
||||
export type AvailabilityFilter = {
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
};
|
||||
|
||||
export type FareRequest = {
|
||||
roomCategory: number;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
};
|
||||
|
||||
export type FareFilter = {
|
||||
roomCategory: number;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
export type RoomPriceSearchResponse = {
|
||||
roomCategoryId: number;
|
||||
prices: RoomPrice[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user