summaryrefslogtreecommitdiff
path: root/src-migrate/common/types/promotion.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/common/types/promotion.ts')
-rw-r--r--src-migrate/common/types/promotion.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src-migrate/common/types/promotion.ts b/src-migrate/common/types/promotion.ts
index 9e62cc3f..1f8316cf 100644
--- a/src-migrate/common/types/promotion.ts
+++ b/src-migrate/common/types/promotion.ts
@@ -5,7 +5,7 @@ export interface IPromotion {
program_id: number;
name: string;
type: {
- value: string;
+ value: CategoryPromo;
label: string;
};
limit: number;
@@ -26,3 +26,10 @@ export interface IPromotion {
export interface IProductVariantPromo extends IProductVariant {
qty: number;
}
+
+export type CategoryPromo = 'bundling' | 'discount_loading' | 'merchandise';
+
+export interface ICategoryPromo {
+ value: CategoryPromo;
+ label: string;
+}