Skip to content

Commit

Permalink
Add FilterableRefundReason filter by description and label (#10606)
Browse files Browse the repository at this point in the history
  • Loading branch information
vethan authored Dec 17, 2024
1 parent 302c01d commit 2ad08c4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-books-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---

Add description and Label to FilterableRefundReasonProps
10 changes: 10 additions & 0 deletions packages/core/types/src/payment/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,16 @@ export interface FilterableRefundReasonProps
* The IDs to filter the refund reasons by.
*/
id?: string | string[]

/**
* Filter by the description of the refund reason
*/
description?: string | string[]

/**
* Filter by the refund reason label
*/
label?: string | string[]
}

export interface RefundReasonDTO {
Expand Down

0 comments on commit 2ad08c4

Please sign in to comment.