Skip to content

Commit 5fb42af

Browse files
authored
feat(booking): expose PartialOfferRequests on the client (#623)
1 parent 8daac43 commit 5fb42af

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/booking/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ export * from './OrderChangeRequests'
66
export * from './OrderChangeOffers'
77
export * from './OrderChanges'
88
export * from './Payments'
9+
export * from './PartialOfferRequests'
910
export * from './SeatMaps'

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
OrderChangeOffers,
99
OrderChanges,
1010
Payments,
11+
PartialOfferRequests,
1112
SeatMaps,
1213
} from './booking'
1314
import { Client, Config, DuffelError as _DuffelError } from './Client'
@@ -44,6 +45,7 @@ export class Duffel {
4445
public payments: Payments
4546
public seatMaps: SeatMaps
4647
public paymentIntents: PaymentIntents
48+
public partialOfferRequests: PartialOfferRequests
4749
public suggestions: Suggestions
4850
public refunds: Refunds
4951

@@ -63,6 +65,7 @@ export class Duffel {
6365
this.payments = new Payments(this.client)
6466
this.seatMaps = new SeatMaps(this.client)
6567
this.paymentIntents = new PaymentIntents(this.client)
68+
this.partialOfferRequests = new PartialOfferRequests(this.client)
6669
this.suggestions = new Suggestions(this.client)
6770
this.refunds = new Refunds(this.client)
6871
}

0 commit comments

Comments
 (0)