From 2ad08c4c440706dd2ffe2215807b89ee4a7f325b Mon Sep 17 00:00:00 2001 From: Nathan John Date: Tue, 17 Dec 2024 15:54:06 +0000 Subject: [PATCH] Add FilterableRefundReason filter by description and label (#10606) --- .changeset/little-books-think.md | 5 +++++ packages/core/types/src/payment/common.ts | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .changeset/little-books-think.md diff --git a/.changeset/little-books-think.md b/.changeset/little-books-think.md new file mode 100644 index 0000000000..17809bd2ab --- /dev/null +++ b/.changeset/little-books-think.md @@ -0,0 +1,5 @@ +--- +"@medusajs/types": patch +--- + +Add description and Label to FilterableRefundReasonProps diff --git a/packages/core/types/src/payment/common.ts b/packages/core/types/src/payment/common.ts index 4dca5c8c7e..0d668a1bf5 100644 --- a/packages/core/types/src/payment/common.ts +++ b/packages/core/types/src/payment/common.ts @@ -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 {