wedance-shared 1.0.156 → 1.0.157
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/pass.d.ts +2 -2
- package/dist/types/ticket.d.ts +2 -1
- package/package.json +1 -1
package/dist/types/pass.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MonetaryAmount } from "./ticket.js";
|
|
1
|
+
import { MonetaryAmount, ProductType } from "./ticket.js";
|
|
2
2
|
export interface Pass {
|
|
3
3
|
id: string;
|
|
4
4
|
userId: string;
|
|
@@ -8,7 +8,7 @@ export interface Pass {
|
|
|
8
8
|
seriesId: string | null;
|
|
9
9
|
checkoutSessionId: string | null;
|
|
10
10
|
paymentId: string | null;
|
|
11
|
-
productType:
|
|
11
|
+
productType: ProductType;
|
|
12
12
|
creditsTotal: number | null;
|
|
13
13
|
creditsRemaining: number | null;
|
|
14
14
|
validFrom: string;
|
package/dist/types/ticket.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export type EventTicket = {
|
|
|
139
139
|
* @deprecated Replaced by price_details
|
|
140
140
|
*/
|
|
141
141
|
price?: number;
|
|
142
|
-
productType:
|
|
142
|
+
productType: ProductType;
|
|
143
143
|
credits: number | null;
|
|
144
144
|
validityDays: number | null;
|
|
145
145
|
validFrom: string | null;
|
|
@@ -147,6 +147,7 @@ export type EventTicket = {
|
|
|
147
147
|
organizerId: string;
|
|
148
148
|
seriesId: string | null;
|
|
149
149
|
};
|
|
150
|
+
export type ProductType = "event" | "drop_in" | "pass" | "membership" | "course";
|
|
150
151
|
export type EventTicketStatus = "published" | "draft" | "sold-out" | "unavailable";
|
|
151
152
|
export type PromotionalPeriod = {
|
|
152
153
|
/**
|
package/package.json
CHANGED