chore(core-flows): apply taxes to items and shipping on RMA flows (#8858)
** What Apply taxes to order line items and shipping methods
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { z } from "zod"
|
||||
import { AddressPayload, BigNumberInput } from "../../utils/common-validators"
|
||||
import {
|
||||
WithAdditionalData,
|
||||
createFindParams,
|
||||
createSelectParams,
|
||||
WithAdditionalData,
|
||||
} from "../../utils/validators"
|
||||
|
||||
export type AdminGetOrderParamsType = z.infer<typeof AdminGetOrderParams>
|
||||
@@ -30,7 +30,7 @@ const ShippingMethod = z.object({
|
||||
shipping_method_id: z.string().nullish(),
|
||||
order_id: z.string().nullish(),
|
||||
name: z.string(),
|
||||
option_id: z.string(),
|
||||
shipping_option_id: z.string(),
|
||||
data: z.record(z.string(), z.unknown()).optional(),
|
||||
amount: BigNumberInput,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user