File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @duffel/api" ,
3- "version" : " 2.12.1 " ,
3+ "version" : " 2.12.2 " ,
44 "description" : " Javascript client library for the Duffel API" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.es.js" ,
Original file line number Diff line number Diff line change @@ -612,6 +612,11 @@ export interface StaysBooking {
612612 */
613613 rooms : number
614614
615+ /**
616+ * Metadata pertaining to this booking, generated by the Duffel API.
617+ */
618+ metadata : Record < string , string > | null
619+
615620 /**
616621 * Deprecated: Instructions to access the accommodation in the booking
617622 */
Original file line number Diff line number Diff line change @@ -182,6 +182,9 @@ export const MOCK_BOOKING: StaysBooking = {
182182 key_collection : {
183183 instructions : 'Key is at the property. Collect from the lock box.' ,
184184 } ,
185+ metadata : {
186+ checkout_reference : 'usr_0000AePJGl5G9ZYfmNllrs' ,
187+ } ,
185188}
186189
187190export const MOCK_CREATE_BOOKING_PAYLOAD : StaysBookingPayload = {
You can’t perform that action at this time.
0 commit comments