fix(types): remove order_id in apis that do not handle it (#13185)

* fix(types): remove order_id in apis that do not handle it

* changeset

---------

Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
This commit is contained in:
William Bouchard
2025-08-11 14:56:57 -04:00
committed by GitHub
parent c2ba01acd6
commit f1da73cb58
2 changed files with 5 additions and 36 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
fix(types): remove order_id in apis that do not handle it
-36
View File
@@ -2487,11 +2487,6 @@ export interface FilterableOrderLineItemProps
*/
id?: string | string[]
/**
* Filter line items by their associated order's ID.
*/
order_id?: string | string[]
/**
* Filter by line items' title.
*/
@@ -2549,11 +2544,6 @@ export interface FilterableOrderShippingMethodProps
*/
id?: string | string[]
/**
* Filter the shipping methods by their associated order's ID.
*/
order_id?: string | string[]
/**
* Filter shipping methods by their name.
*/
@@ -2816,32 +2806,6 @@ export interface FilterableOrderTransactionProps
created_at?: OperatorMap<string>
}
/**
* The filters to apply on the retrieved order items.
*/
export interface FilterableOrderItemProps
extends BaseFilterable<FilterableOrderItemProps> {
/**
* The IDs to filter the order items by.
*/
id?: string | string[] | OperatorMap<string>
/**
* Filter the order items by their associated order's ID.
*/
order_id?: string | string[] | OperatorMap<string>
/**
* Filter the order items by their version.
*/
version?: string | string[] | OperatorMap<string>
/**
* Filter the order items by their associated line item's ID.
*/
item_id?: string | string[] | OperatorMap<string>
}
/**
* The filters to apply on the retrieved return reasons.
*/