@qrush/types 2.0.37 → 2.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Promotion.d.ts +2 -5
- package/package.json +1 -1
package/dist/Promotion.d.ts
CHANGED
|
@@ -105,10 +105,6 @@ export interface LocationPermission {
|
|
|
105
105
|
revokedBy?: string;
|
|
106
106
|
revocationReason?: string;
|
|
107
107
|
}
|
|
108
|
-
export interface TimeSlot {
|
|
109
|
-
from: Timestamp;
|
|
110
|
-
to: Timestamp;
|
|
111
|
-
}
|
|
112
108
|
export interface BaseActivePromotion {
|
|
113
109
|
instanceId: string;
|
|
114
110
|
templateId?: string;
|
|
@@ -120,7 +116,6 @@ export interface BaseActivePromotion {
|
|
|
120
116
|
dealTypeSnapshot?: PromotionDealType;
|
|
121
117
|
resetMinutesSnapshot: number;
|
|
122
118
|
resetTime?: number;
|
|
123
|
-
timeSlots?: TimeSlot[];
|
|
124
119
|
maxRedemptions?: number;
|
|
125
120
|
displayOrder?: number;
|
|
126
121
|
locationId: string;
|
|
@@ -130,6 +125,8 @@ export interface BaseActivePromotion {
|
|
|
130
125
|
}
|
|
131
126
|
export interface EventActivePromotion extends BaseActivePromotion {
|
|
132
127
|
redemptionCount: number;
|
|
128
|
+
promotionStart?: Timestamp;
|
|
129
|
+
promotionEnd?: Timestamp;
|
|
133
130
|
}
|
|
134
131
|
export interface LocationActivePromotion extends BaseActivePromotion {
|
|
135
132
|
dailyRedemptionCount: number;
|