Update API requests to last API changes.
This commit is contained in:
+10
-11
@@ -1,22 +1,21 @@
|
||||
export type RoomCategory = {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
bedType: string;
|
||||
description: string | undefined;
|
||||
maxGuestNum: number;
|
||||
orderHomePage: number | undefined;
|
||||
roomCategoryPhotos: RoomCategoryPhoto[];
|
||||
roomCategoryDetails: RoomCategoryDetails[];
|
||||
};
|
||||
|
||||
export type RoomCategoryDetails = {
|
||||
id: number;
|
||||
detailsSection: string;
|
||||
detailValue: string;
|
||||
roomCategoryBedTypes: RoomCategoryBedType[];
|
||||
};
|
||||
|
||||
export type RoomCategoryPhoto = {
|
||||
id: number;
|
||||
path: string;
|
||||
altText: string | undefined;
|
||||
kind: string;
|
||||
photoOrder: string | undefined;
|
||||
};
|
||||
|
||||
export type RoomCategoryBedType = {
|
||||
amount: number;
|
||||
bedTypeName: string;
|
||||
bedTypeIcon: string;
|
||||
}
|
||||
@@ -9,7 +9,8 @@ export type RoomPrice = {
|
||||
};
|
||||
|
||||
export type AvailabilityRequest = {
|
||||
filter: AvailabilityFilter;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
};
|
||||
|
||||
export type AvailabilityFilter = {
|
||||
@@ -18,7 +19,9 @@ export type AvailabilityFilter = {
|
||||
};
|
||||
|
||||
export type FareRequest = {
|
||||
filter: FareFilter;
|
||||
roomCategory: number;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
};
|
||||
|
||||
export type FareFilter = {
|
||||
|
||||
Reference in New Issue
Block a user