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:
1 parent
c2ba01acd6
commit
f1da73cb58
2 files changed
+5
-36
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/types": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(types): remove order_id in apis that do not handle it
|
||||||
@@ -2487,11 +2487,6 @@ export interface FilterableOrderLineItemProps
|
|||||||
*/
|
*/
|
||||||
id?: string | string[]
|
id?: string | string[]
|
||||||
|
|
||||||
/**
|
|
||||||
* Filter line items by their associated order's ID.
|
|
||||||
*/
|
|
||||||
order_id?: string | string[]
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter by line items' title.
|
* Filter by line items' title.
|
||||||
*/
|
*/
|
||||||
@@ -2549,11 +2544,6 @@ export interface FilterableOrderShippingMethodProps
|
|||||||
*/
|
*/
|
||||||
id?: string | string[]
|
id?: string | string[]
|
||||||
|
|
||||||
/**
|
|
||||||
* Filter the shipping methods by their associated order's ID.
|
|
||||||
*/
|
|
||||||
order_id?: string | string[]
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter shipping methods by their name.
|
* Filter shipping methods by their name.
|
||||||
*/
|
*/
|
||||||
@@ -2816,32 +2806,6 @@ export interface FilterableOrderTransactionProps
|
|||||||
created_at?: OperatorMap<string>
|
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.
|
* The filters to apply on the retrieved return reasons.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user