@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.0.37",
3
+ "version": "2.0.39",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "scripts": {