fix(medusa): Apply middleware to GET customers/:id/addresses/:address_id (#11788)

This commit is contained in:
Kasper Fabricius Kristensen
2025-03-10 11:31:19 +00:00
committed by GitHub
parent 4c28efaadc
commit 90964a404e
3 changed files with 22 additions and 1 deletions
@@ -90,6 +90,8 @@ export const AdminCreateCustomerAddress = WithAdditionalData(
export const AdminUpdateCustomerAddress = AdminCreateCustomerAddress
export const AdminCustomerAddressParams = createSelectParams()
export const AdminCustomerAddressesParams = createFindParams({
offset: 0,
limit: 50,
@@ -108,6 +110,9 @@ export type AdminCustomerParamsType = z.infer<typeof AdminCustomerParams>
export type AdminCustomersParamsType = z.infer<typeof AdminCustomersParams>
export type AdminCreateCustomerType = z.infer<typeof CreateCustomer>
export type AdminUpdateCustomerType = z.infer<typeof UpdateCustomer>
export type AdminCustomerAddressParamsType = z.infer<
typeof AdminCustomerAddressParams
>
export type AdminCreateCustomerAddressType = z.infer<
typeof CreateCustomerAddress
>