fix(types, medusa): request / response types clean-up (#9043)
More clean-up of request / response types
This commit is contained in:
@@ -21,7 +21,7 @@ export interface BaseClaim
|
||||
extends Omit<BaseOrder, "status" | "version" | "items"> {
|
||||
order_id: string
|
||||
claim_items: BaseClaimItem[]
|
||||
additional_items: any[]
|
||||
additional_items: BaseClaimItem[]
|
||||
return?: ReturnDTO
|
||||
return_id?: string
|
||||
no_notification?: boolean
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { RawRounding } from "../../common"
|
||||
|
||||
export interface BaseCurrency {
|
||||
code: string
|
||||
symbol: string
|
||||
@@ -7,7 +5,6 @@ export interface BaseCurrency {
|
||||
name: string
|
||||
decimal_digits: number
|
||||
rounding: number
|
||||
raw_rounding: RawRounding
|
||||
created_at: string
|
||||
updated_at: string
|
||||
deleted_at: string | null
|
||||
|
||||
@@ -43,7 +43,7 @@ export interface TaxRateDTO {
|
||||
/**
|
||||
* Whether the tax rate should be combined with parent rates.
|
||||
*
|
||||
* Learn more [here](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).
|
||||
* Learn more [here](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
|
||||
*/
|
||||
is_combinable: boolean
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ export interface UpdateTaxRateDTO {
|
||||
/**
|
||||
* Whether the tax rate is combinable.
|
||||
*
|
||||
* Learn more [here](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).
|
||||
* Learn more [here](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
|
||||
*/
|
||||
is_combinable?: boolean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user