wedance-shared 1.0.150 → 1.0.153

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.
@@ -33,10 +33,12 @@ export type EventData = {
33
33
  price: number;
34
34
  priceProvided: boolean;
35
35
  organizerId: string;
36
+ coOrganizerIds: string[] | null;
36
37
  /**
37
38
  * Organizer data is set in client side
38
39
  */
39
40
  organizer?: OrganizerData;
41
+ coOrganizers?: OrganizerData[] | null;
40
42
  description: string;
41
43
  location: Location;
42
44
  duration?: number;
@@ -1,3 +1,4 @@
1
+ import { MonetaryAmount } from "./ticket.js";
1
2
  export interface Pass {
2
3
  id: string;
3
4
  userId: string;
@@ -13,6 +14,17 @@ export interface Pass {
13
14
  validFrom: string;
14
15
  validUntil: string | null;
15
16
  status: "active" | "used_up" | "expired" | "refunded" | "suspended";
17
+ paidAmount: MonetaryAmount;
18
+ originalAmount: MonetaryAmount | null;
19
+ appliedCoupon: {
20
+ id: string;
21
+ code: string | null;
22
+ discountType: "fixed" | "percentage";
23
+ discountAmount: number | null;
24
+ discountPercentage: number | null;
25
+ } | null;
26
+ partySize: number;
27
+ partnerFullName: string | null;
16
28
  createdAt: string;
17
29
  updatedAt: string;
18
30
  }
@@ -144,7 +144,7 @@ export type EventTicket = {
144
144
  validityDays: number | null;
145
145
  validFrom: string | null;
146
146
  validUntil: string | null;
147
- organizerId: string | null;
147
+ organizerId: string;
148
148
  seriesId: string | null;
149
149
  };
150
150
  export type EventTicketStatus = "published" | "draft" | "sold-out" | "unavailable";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.150",
3
+ "version": "1.0.153",
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",