File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,11 @@ export interface StaysRate {
205205 * Useful in scenarios where a rate requires explicitly showing the source.
206206 */
207207 source : StaysSource
208+
209+ /**
210+ * The ISO 8601 date and time at which the rate will expire
211+ */
212+ expires_at : string
208213}
209214
210215export interface StaysRoomRate extends StaysRate {
@@ -736,6 +741,10 @@ export interface StaysSearchResult {
736741 cheapest_rate_public_currency : string
737742 cheapest_rate_due_at_accommodation_amount : string | null
738743 cheapest_rate_due_at_accommodation_currency : string | null
744+ /**
745+ * The ISO 8601 date and time at which the search result will expire
746+ */
747+ expires_at : string
739748}
740749
741750export interface StaysLoyaltyProgramme {
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export const MOCK_ACCOMMODATION: StaysAccommodation = {
6565 source : 'duffel_hotel_group' ,
6666 estimated_commission_amount : '10.00' ,
6767 estimated_commission_currency : 'GBP' ,
68+ expires_at : '2023-03-28T12:00:00Z' ,
6869 } ,
6970 {
7071 total_currency : 'GBP' ,
@@ -98,6 +99,7 @@ export const MOCK_ACCOMMODATION: StaysAccommodation = {
9899 source : 'duffel_hotel_group' ,
99100 estimated_commission_amount : '10.00' ,
100101 estimated_commission_currency : 'GBP' ,
102+ expires_at : '2023-03-28T12:00:00Z' ,
101103 } ,
102104 ] ,
103105 photos : [
@@ -205,6 +207,7 @@ export const MOCK_SEARCH_RESULT: StaysSearchResult = {
205207 cheapest_rate_base_currency : 'GBP' ,
206208 cheapest_rate_due_at_accommodation_amount : '39.95' ,
207209 cheapest_rate_due_at_accommodation_currency : 'GBP' ,
210+ expires_at : '2023-03-28T12:00:00Z' ,
208211}
209212
210213export const MOCK_BOOKING : StaysBooking = {
You can’t perform that action at this time.
0 commit comments