wedance-shared 1.0.147 → 1.0.149

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.
@@ -10,4 +10,5 @@ export * from "./wedancePosts.js";
10
10
  export * from "./support.js";
11
11
  export * from "./coupons.js";
12
12
  export * from "./checkin.js";
13
+ export * from "./pass.js";
13
14
  export * from "./festivals/index.js";
@@ -11,6 +11,7 @@ export * from "./wedancePosts.js";
11
11
  export * from "./support.js";
12
12
  export * from "./coupons.js";
13
13
  export * from "./checkin.js";
14
+ export * from "./pass.js";
14
15
  // Re-export from subdirectories
15
16
  export * from "./festivals/index.js";
16
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAE7B,gCAAgC;AAChC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAE1B,gCAAgC;AAChC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,28 @@
1
+ export interface Pass {
2
+ id: string;
3
+ userId: string;
4
+ originalOwnerId: string;
5
+ organizerId: string;
6
+ ticketTypeId: string;
7
+ seriesId: string | null;
8
+ checkoutSessionId: string | null;
9
+ paymentId: string | null;
10
+ productType: string;
11
+ creditsTotal: number | null;
12
+ creditsRemaining: number | null;
13
+ validFrom: string;
14
+ validUntil: string | null;
15
+ status: "active" | "used_up" | "expired" | "refunded" | "suspended";
16
+ createdAt: string;
17
+ updatedAt: string;
18
+ }
19
+ export interface PassRedemption {
20
+ id: string;
21
+ passId: string;
22
+ eventId: string | null;
23
+ sessionId: string | null;
24
+ redeemedAt: string;
25
+ redeemedBy: string | null;
26
+ creditsSpent: number;
27
+ status: "valid" | "reversed";
28
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pass.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pass.js","sourceRoot":"","sources":["../../src/types/pass.ts"],"names":[],"mappings":""}
@@ -49,6 +49,11 @@ export type NotificationPreferences = {
49
49
  eventUpdates: boolean;
50
50
  eventReminders: boolean;
51
51
  eventDiscussions: boolean;
52
+ /**
53
+ * Preferences for notifications for organizers
54
+ */
55
+ organizerTicketingPushNotifications: boolean;
56
+ organizerTicketingEmailNotifications: boolean;
52
57
  };
53
58
  /**
54
59
  * This is used to show who is going to the event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.147",
3
+ "version": "1.0.149",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",