API - Use the new Prices API.

This commit is contained in:
2026-01-05 15:08:05 +01:00
parent 70e483bc45
commit 2b3d1eafd3
8 changed files with 94 additions and 87 deletions
+4 -16
View File
@@ -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[];
};