feat(core-flows,medusa,types,utils): add rules to promotion endpoints + workflow (#6692)

* feat(core-flows,medusa,types,utils): add rules to promotion endpoints + workflow

* chore: fix specs

* chore: move input type to types package
This commit is contained in:
Riqwan Thamir
2024-03-13 21:19:24 +01:00
committed by GitHub
parent 02e784ce78
commit 640eccd5dd
23 changed files with 777 additions and 179 deletions

View File

@@ -47,3 +47,9 @@ export enum PromotionActions {
REMOVE = "remove",
REPLACE = "replace",
}
export enum RuleType {
RULES = "rules",
TARGET_RULES = "target_rules",
BUY_RULES = "buy_rules",
}