Skip to content

Commit

Permalink
fix: adds missing attribute to quote type
Browse files Browse the repository at this point in the history
  • Loading branch information
igorp1 committed Dec 4, 2023
1 parent 3b5ba90 commit e8cdc80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Stays/StaysTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,12 @@ export interface StaysQuote {
* The loyalty programme that this quote supports.
*/
supported_loyalty_programme: StaysLoyaltyProgramme | null

/**
* A client key to authenticate with Duffel's Card Component when creating a tokenised card.
* This value will be `null` if your organisation does not have this feature enabled,
*/
card_component_key: string | null
}

export type StaysBookingStatus = 'confirmed' | 'cancelled'
Expand Down
1 change: 1 addition & 0 deletions src/Stays/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,5 @@ export const MOCK_QUOTE: StaysQuote = {
due_at_accommodation_amount: null,
due_at_accommodation_currency: 'USD',
supported_loyalty_programme: 'duffel_hotel_group_rewards',
card_component_key: null,
}

0 comments on commit e8cdc80

Please sign in to comment.