chore: buyget templates add default target + buy rules (#7500)

* chore: buyget templates add default target + buy rules

* chore: reposition

* chore: address comments

* chore: added fixes

* chore: fix typo

* chore: fix strictness checks
This commit is contained in:
Riqwan Thamir
2024-06-07 09:47:31 +02:00
committed by GitHub
parent bd302e678e
commit 1f1b996f63
23 changed files with 322 additions and 445 deletions
@@ -11,5 +11,5 @@ export interface PromotionRuleResponse {
}
export interface AdminPromotionRuleListResponse {
attributes: PromotionRuleResponse[]
rules: PromotionRuleResponse[]
}
@@ -13,6 +13,11 @@ import { CreatePromotionRuleDTO, PromotionRuleDTO } from "./promotion-rule"
*/
export type PromotionTypeValues = "standard" | "buyget"
/**
* The promotion's possible rule types.
*/
export type RuleTypeValues = "rules" | "buy-rules" | "target-rules"
/**
* The promotion details.
*/