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 authored and GitHub committed 2024-06-07 09:47:31 +02:00
1 parent bd302e678e
commit 1f1b996f63
23 files changed
+322 -445

No files matched your search

@@ -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.
*/