wedance-shared 1.0.59 → 1.0.60

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.
@@ -24,7 +24,7 @@ export type OrganizerData = {
24
24
  lastUpdated: string;
25
25
  createdAt: string;
26
26
  isFlagged: boolean;
27
- status?: "active" | "suspended" | "archived";
27
+ status: "active" | "suspended" | "archived" | "inactive";
28
28
  /**
29
29
  * From 0 to 5. 0 is the highest priority.
30
30
  */
@@ -73,7 +73,10 @@ export type CouponCode = {
73
73
  };
74
74
  export type EventTicket = {
75
75
  id: string;
76
- price: number;
76
+ /**
77
+ * ID of the ticket from an external system
78
+ */
79
+ externalEventTicketId: string | null | undefined;
77
80
  price_details: MonetaryAmount;
78
81
  eventId: string;
79
82
  quantity: number;
@@ -94,6 +97,8 @@ export type EventTicket = {
94
97
  isTransferable: boolean;
95
98
  isRefundable: boolean;
96
99
  status: EventTicketStatus;
100
+ createdAt: string;
101
+ updatedAt: string;
97
102
  /**
98
103
  * Promotional period for the ticket
99
104
  */
@@ -101,7 +106,11 @@ export type EventTicket = {
101
106
  /**
102
107
  * @deprecated Replaced by name
103
108
  */
104
- ticketType: string;
109
+ ticketType?: string;
110
+ /**
111
+ * @deprecated Replaced by price_details
112
+ */
113
+ price?: number;
105
114
  };
106
115
  export type EventTicketStatus = "published" | "draft" | "sold-out" | "unavailable";
107
116
  export type PromotionalPeriod = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
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",