diff --git a/src/createMollieClient.ts b/src/createMollieClient.ts index d6cf0e68..376f2786 100644 --- a/src/createMollieClient.ts +++ b/src/createMollieClient.ts @@ -192,7 +192,7 @@ export { MandateMethod, MandateStatus } from './data/customers/mandates/data'; export { MethodImageSize, MethodInclude } from './data/methods/data'; export { OrderEmbed, OrderStatus } from './data/orders/data'; export { OrderLineType } from './data/orders/orderlines/OrderLine'; -export { PaymentEmbed, PaymentStatus } from './data/payments/data'; +export { PaymentEmbed, PaymentInclude, PaymentStatus } from './data/payments/data'; export { RefundEmbed, RefundStatus } from './data/refunds/data'; export { SubscriptionStatus } from './data/subscriptions/data'; export { ProfileStatus } from './data/profiles/data'; diff --git a/src/data/payments/data.ts b/src/data/payments/data.ts index 644896ec..4483ff67 100644 --- a/src/data/payments/data.ts +++ b/src/data/payments/data.ts @@ -860,7 +860,10 @@ export enum PaymentStatus { paid = 'paid', } -export type PaymentInclude = 'details.qrCode'; +export enum PaymentInclude { + qrCode = 'details.qrCode', + remainderDetails = 'details.remainderDetails', +} export enum PaymentEmbed { refunds = 'refunds',