wedance-shared 1.0.11 → 1.0.12
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/event.d.ts +41 -0
- package/dist/ticket.d.ts +2 -3
- package/package.json +1 -1
- package/src/event.ts +42 -0
- package/src/ticket.ts +2 -3
package/dist/event.d.ts
CHANGED
|
@@ -81,3 +81,44 @@ export type LineUpArtist = {
|
|
|
81
81
|
image: string;
|
|
82
82
|
imageUrl: string;
|
|
83
83
|
};
|
|
84
|
+
export type Featured = {
|
|
85
|
+
/**
|
|
86
|
+
* ID of the promotion
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* ID of the event being promoted
|
|
91
|
+
*/
|
|
92
|
+
eventId: string;
|
|
93
|
+
/**
|
|
94
|
+
* Cities where this promotion should be shown
|
|
95
|
+
*/
|
|
96
|
+
cities: City["city"][];
|
|
97
|
+
/**
|
|
98
|
+
* Priority level for displaying multiple featured events (higher = more prominent)
|
|
99
|
+
*/
|
|
100
|
+
priority: number;
|
|
101
|
+
/**
|
|
102
|
+
* Optional custom promotion message
|
|
103
|
+
*/
|
|
104
|
+
promotionalText?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Who created this promotion
|
|
107
|
+
*/
|
|
108
|
+
createdBy: string;
|
|
109
|
+
/**
|
|
110
|
+
* When this promotion was created (ISO date string)
|
|
111
|
+
*/
|
|
112
|
+
createdAt: string;
|
|
113
|
+
/**
|
|
114
|
+
* Whether the promotion is currently active
|
|
115
|
+
*/
|
|
116
|
+
isActive: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Date range of the promotion
|
|
119
|
+
*/
|
|
120
|
+
dateRange: {
|
|
121
|
+
startDate: string;
|
|
122
|
+
endDate: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
package/dist/ticket.d.ts
CHANGED
|
@@ -58,10 +58,9 @@ export type Payment = {
|
|
|
58
58
|
amount: number;
|
|
59
59
|
amount_capturable: number;
|
|
60
60
|
amount_details: {
|
|
61
|
-
tip:
|
|
62
|
-
amount_received: number;
|
|
63
|
-
};
|
|
61
|
+
tip: any;
|
|
64
62
|
};
|
|
63
|
+
amount_received: number;
|
|
65
64
|
application: string | null;
|
|
66
65
|
application_fee_amount: number | null;
|
|
67
66
|
automatic_payment_methods: {
|
package/package.json
CHANGED
package/src/event.ts
CHANGED
|
@@ -96,3 +96,45 @@ export type LineUpArtist = {
|
|
|
96
96
|
image: string;
|
|
97
97
|
imageUrl: string;
|
|
98
98
|
};
|
|
99
|
+
|
|
100
|
+
export type Featured = {
|
|
101
|
+
/**
|
|
102
|
+
* ID of the promotion
|
|
103
|
+
*/
|
|
104
|
+
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* ID of the event being promoted
|
|
107
|
+
*/
|
|
108
|
+
eventId: string;
|
|
109
|
+
/**
|
|
110
|
+
* Cities where this promotion should be shown
|
|
111
|
+
*/
|
|
112
|
+
cities: City["city"][];
|
|
113
|
+
/**
|
|
114
|
+
* Priority level for displaying multiple featured events (higher = more prominent)
|
|
115
|
+
*/
|
|
116
|
+
priority: number;
|
|
117
|
+
/**
|
|
118
|
+
* Optional custom promotion message
|
|
119
|
+
*/
|
|
120
|
+
promotionalText?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Who created this promotion
|
|
123
|
+
*/
|
|
124
|
+
createdBy: string;
|
|
125
|
+
/**
|
|
126
|
+
* When this promotion was created (ISO date string)
|
|
127
|
+
*/
|
|
128
|
+
createdAt: string;
|
|
129
|
+
/**
|
|
130
|
+
* Whether the promotion is currently active
|
|
131
|
+
*/
|
|
132
|
+
isActive: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Date range of the promotion
|
|
135
|
+
*/
|
|
136
|
+
dateRange: {
|
|
137
|
+
startDate: string;
|
|
138
|
+
endDate: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
package/src/ticket.ts
CHANGED
|
@@ -69,10 +69,9 @@ export type Payment = {
|
|
|
69
69
|
amount: number;
|
|
70
70
|
amount_capturable: number;
|
|
71
71
|
amount_details: {
|
|
72
|
-
tip:
|
|
73
|
-
amount_received: number;
|
|
74
|
-
};
|
|
72
|
+
tip: any;
|
|
75
73
|
};
|
|
74
|
+
amount_received: number;
|
|
76
75
|
application: string | null;
|
|
77
76
|
application_fee_amount: number | null;
|
|
78
77
|
automatic_payment_methods: {
|