Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/Stays/StaysTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,21 @@
*/
check_out_date: string

/**
* The portion of total_amount that is payable before check in as deposit for the stay.
* If there is no deposit, deposit_amount is "0.00".
*
* Example: "159.80"
*/
deposit_amount: string

/**
* The currency of the deposit_amount, as an ISO 4217 currency code.
*
* Example: "GBP"
*/
deposit_currency: string

/**
* A booking reference for the property you’ll be staying in. This is the reference you should use when contacting the accommodation.
*/
Expand Down Expand Up @@ -844,7 +859,7 @@
* Can be associated with either a chain or specific accommodations, but not both.
*/
export interface StaysNegotiatedRate {
/**

Check warning on line 862 in src/Stays/StaysTypes.ts

View workflow job for this annotation

GitHub Actions / Lint

You have a misspelled word: Avtk on Comment
* The ID of the Negotiated Rate
*
* Example: "nre_0000AvtkNoC81yBytDM9PE"
Expand Down
2 changes: 2 additions & 0 deletions src/Stays/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ export const MOCK_BOOKING: StaysBooking = {
confirmed_at: '2022-12-20T15:45:03.000000Z',
check_out_date: '2023-05-24',
check_in_date: '2023-05-20',
deposit_amount: '159.80',
deposit_currency: 'GBP',
cancelled_at: null,
guests: [
{
Expand Down
Loading