feat(types,utils): added promotion create with rules and application target rules (#5957)
* feat(types,utils): added promotion create with rules * chore: add rules to promotion and application method * chore: use common code for rule and values * chore: address pr reviews * chore: fix test
This commit is contained in:
@@ -18,3 +18,13 @@ export enum ApplicationMethodAllocation {
|
||||
EACH = "each",
|
||||
ACROSS = "across",
|
||||
}
|
||||
|
||||
export enum PromotionRuleOperator {
|
||||
GTE = "gte",
|
||||
LTE = "lte",
|
||||
GT = "gt",
|
||||
LT = "lt",
|
||||
EQ = "eq",
|
||||
NE = "ne",
|
||||
IN = "in",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user