chore(medusa): fetch shipping related attributes (#13244)

* chore(medusa): fet shipping related attributes

* some tests

* changeset

* small refactor

* typing

* adapt attribute value

* test

* test again
This commit is contained in:
William Bouchard
2025-08-20 13:03:27 -04:00
committed by GitHub
parent a594d32ba3
commit 6602e893b8
10 changed files with 205 additions and 31 deletions
@@ -1,5 +1,8 @@
import { BaseFilterable, OperatorMap } from "../../../dal"
import { ApplicationMethodTypeValues } from "../../../promotion"
import {
ApplicationMethodTypeValues,
PromotionTypeValues,
} from "../../../promotion"
import { FindParams, SelectParams } from "../../common"
export interface AdminGetPromotionParams extends SelectParams {}
@@ -59,13 +62,13 @@ export interface AdminGetPromotionsParams
}
export interface AdminGetPromotionRuleParams {
promotion_type?: string
application_method_type?: string
promotion_type?: PromotionTypeValues
application_method_type?: ApplicationMethodTypeValues
}
export interface AdminGetPromotionRuleTypeParams extends SelectParams {
promotion_type?: string
application_method_type?: string
promotion_type?: PromotionTypeValues
application_method_type?: ApplicationMethodTypeValues
}
export interface AdminGetPromotionsRuleValueParams extends FindParams {