Skip to content

Commit

Permalink
fix: amend board types and rating sources
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejak committed Dec 20, 2023
1 parent 3af3a2a commit 112a0ee
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Stays/StaysTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface StaysRating {
/**
* The source of this rating. Possible values: `"aaa"` (American Automobile Association Diamond Rating), `"northstar"` (Northstar Crown Rating), `"priceline"` (Priceline star rating)
*/
source: 'aaa' | 'northstar' | 'priceline'
source: 'aaa' | 'northstar' | 'priceline' | 'bookingcom'

/**
* The rating value. This is an integer from 1 to 5 regardless of the `source`.
Expand Down Expand Up @@ -85,7 +85,12 @@ export interface StaysRate {
/**
* The type of boarding offered by this rate.
*/
board_type: 'room_only' | 'breakfast' | 'all_inclusive'
board_type:
| 'room_only'
| 'breakfast'
| 'half_board'
| 'full_board'
| 'all_inclusive'

/**
* A timeline that contains policies, such as possible refunds, once this rate has been booked. This is sorted in ascending chronological order.
Expand Down

0 comments on commit 112a0ee

Please sign in to comment.