Skip to content

Commit

Permalink
feat: adds quantity_available to stays room rate
Browse files Browse the repository at this point in the history
  • Loading branch information
igorp1 committed Oct 2, 2023
1 parent fa55509 commit 7c36dac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Stays/StaysTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,13 @@ export interface StaysRate {
payment_method: 'balance' | 'card'
}

export interface StaysRoomRate extends StaysRate {
/**
* The quantity of rooms available to be booked at this rate. This number is not guaranteed to be accurate. Will be null if this information is unknown.
*/
quantity_available: number
}

export interface StaysPhoto {
url: string
}
Expand All @@ -163,7 +170,7 @@ export interface StaysRoom {
/**
* The available rates for a specific room, including commission, distribution, payment and included services information.
*/
rates: StaysRate[]
rates: StaysRoomRate[]
}

export interface StaysAmenity {
Expand Down

0 comments on commit 7c36dac

Please sign in to comment.