Skip to content

Commit

Permalink
Merge pull request #370 from janpaepke/feat/add-missing-include-type
Browse files Browse the repository at this point in the history
Payments: add missing include type.
  • Loading branch information
Pimm authored Sep 16, 2024
2 parents 2efb629 + 3142b36 commit f3ea3a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/createMollieClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
5 changes: 4 additions & 1 deletion src/data/payments/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f3ea3a2

Please sign in to comment.