@qrush/types 2.0.35 → 2.0.36

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.
@@ -64,7 +64,7 @@ export interface PromotionInstance {
64
64
  }
65
65
  export interface PromotionInstancePermission {
66
66
  userId: string;
67
- permissionType: 'promotion';
67
+ permissionType: "promotion";
68
68
  userName: string;
69
69
  userEmail: string;
70
70
  isOwner: boolean;
@@ -83,7 +83,7 @@ export interface PromotionInstancePermission {
83
83
  export interface LocationPermission {
84
84
  userId: string;
85
85
  locationId: string;
86
- permissionType: 'location';
86
+ permissionType: "location";
87
87
  userName: string;
88
88
  userEmail: string;
89
89
  isOwner: boolean;
@@ -123,6 +123,10 @@ export interface BaseActivePromotion {
123
123
  timeSlots?: TimeSlot[];
124
124
  maxRedemptions?: number;
125
125
  displayOrder?: number;
126
+ locationId: string;
127
+ citySlug: string;
128
+ locationTitle: string;
129
+ locationTitleSlug: string;
126
130
  }
127
131
  export interface EventActivePromotion extends BaseActivePromotion {
128
132
  redemptionCount: number;
@@ -153,6 +157,11 @@ export interface PromotionRedemption {
153
157
  templateId?: string;
154
158
  locationId: string;
155
159
  eventId?: string;
160
+ citySlug: string;
161
+ locationName: string;
162
+ locationTitleSlug: string;
163
+ eventName?: string;
164
+ eventNameSlug?: string;
156
165
  promotionTitle: string;
157
166
  itemType: PromotionItemType;
158
167
  dealType?: PromotionDealType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.0.35",
3
+ "version": "2.0.36",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "scripts": {