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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user