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.
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/pass.d.ts +28 -0
- package/dist/types/pass.js +2 -0
- package/dist/types/pass.js.map +1 -0
- package/dist/types/user.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -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
|
package/dist/types/index.js.map
CHANGED
|
@@ -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;
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"pass.js","sourceRoot":"","sources":["../../src/types/pass.ts"],"names":[],"mappings":""}
|
package/dist/types/user.d.ts
CHANGED
|
@@ -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