wedance-shared 1.0.237 → 1.0.240
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/organizer.d.ts +11 -1
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ export type OrganizerData = {
|
|
|
44
44
|
eventsCount?: number;
|
|
45
45
|
stripeAccountId?: string | null;
|
|
46
46
|
stripeTerminalLocationId?: string | null;
|
|
47
|
+
isStripeEnabled?: boolean;
|
|
47
48
|
/**
|
|
48
49
|
* Merchant-of-Record / legal entity details. When `isMerchantOfRecord` is true
|
|
49
50
|
* AND the legal fields below are complete, the organizer is shown as the seller
|
|
@@ -118,8 +119,10 @@ export type UserOrganizerRelation = {
|
|
|
118
119
|
oldId?: string | null;
|
|
119
120
|
};
|
|
120
121
|
};
|
|
122
|
+
export type OrganizerApplicationStatus = "pending" | "approved" | "rejected";
|
|
121
123
|
export type OrganizerApplication = {
|
|
122
124
|
id: string;
|
|
125
|
+
userId: string | null;
|
|
123
126
|
fullName: string;
|
|
124
127
|
organizerName: string;
|
|
125
128
|
email: string;
|
|
@@ -135,8 +138,15 @@ export type OrganizerApplication = {
|
|
|
135
138
|
facebook: string | null;
|
|
136
139
|
instagram: string | null;
|
|
137
140
|
about: string | null;
|
|
138
|
-
status:
|
|
141
|
+
status: OrganizerApplicationStatus;
|
|
142
|
+
rejectionReason: string | null;
|
|
139
143
|
createdAt: string;
|
|
140
144
|
updatedAt: string;
|
|
141
145
|
};
|
|
142
146
|
export type CreateOrganizerApplicationInput = Pick<OrganizerApplication, "fullName" | "organizerName" | "email" | "phone" | "city" | "foundedAt" | "frequency" | "averageAttendance" | "styles" | "currentTicketing" | "interestedInTicketing" | "website" | "facebook" | "instagram" | "about">;
|
|
147
|
+
export type ApproveOrganizerApplicationInput = {
|
|
148
|
+
city: City;
|
|
149
|
+
};
|
|
150
|
+
export type RejectOrganizerApplicationInput = {
|
|
151
|
+
reason?: string | null;
|
|
152
|
+
};
|
package/package.json
CHANGED