@bash-app/bash-common 30.51.0 → 30.52.0

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.
Files changed (184) hide show
  1. package/dist/definitions.d.ts +668 -0
  2. package/dist/definitions.d.ts.map +1 -0
  3. package/dist/definitions.js +467 -0
  4. package/dist/definitions.js.map +1 -0
  5. package/dist/extendedSchemas.d.ts +2206 -0
  6. package/dist/extendedSchemas.d.ts.map +1 -0
  7. package/dist/extendedSchemas.js +429 -0
  8. package/dist/extendedSchemas.js.map +1 -0
  9. package/dist/index.d.ts +39 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +40 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/utils/addressUtils.d.ts +14 -0
  14. package/dist/utils/addressUtils.d.ts.map +1 -0
  15. package/dist/utils/addressUtils.js +177 -0
  16. package/dist/utils/addressUtils.js.map +1 -0
  17. package/dist/utils/apiUtils.d.ts +14 -0
  18. package/dist/utils/apiUtils.d.ts.map +1 -0
  19. package/dist/utils/apiUtils.js +61 -0
  20. package/dist/utils/apiUtils.js.map +1 -0
  21. package/dist/utils/arrayUtils.d.ts +2 -0
  22. package/dist/utils/arrayUtils.d.ts.map +1 -0
  23. package/dist/utils/arrayUtils.js +5 -0
  24. package/dist/utils/arrayUtils.js.map +1 -0
  25. package/dist/utils/awsS3Utils.d.ts +10 -0
  26. package/dist/utils/awsS3Utils.d.ts.map +1 -0
  27. package/dist/utils/awsS3Utils.js +89 -0
  28. package/dist/utils/awsS3Utils.js.map +1 -0
  29. package/dist/utils/badgeUtils.d.ts +33 -0
  30. package/dist/utils/badgeUtils.d.ts.map +1 -0
  31. package/dist/utils/badgeUtils.js +57 -0
  32. package/dist/utils/badgeUtils.js.map +1 -0
  33. package/dist/utils/blog/blogDbUtils.d.ts +48 -0
  34. package/dist/utils/blog/blogDbUtils.d.ts.map +1 -0
  35. package/dist/utils/blog/blogDbUtils.js +218 -0
  36. package/dist/utils/blog/blogDbUtils.js.map +1 -0
  37. package/dist/utils/blogUtils.d.ts +19 -0
  38. package/dist/utils/blogUtils.d.ts.map +1 -0
  39. package/dist/utils/blogUtils.js +118 -0
  40. package/dist/utils/blogUtils.js.map +1 -0
  41. package/dist/utils/dateTimeUtils.d.ts +38 -0
  42. package/dist/utils/dateTimeUtils.d.ts.map +1 -0
  43. package/dist/utils/dateTimeUtils.js +207 -0
  44. package/dist/utils/dateTimeUtils.js.map +1 -0
  45. package/dist/utils/entityUtils.d.ts +5 -0
  46. package/dist/utils/entityUtils.d.ts.map +1 -0
  47. package/dist/utils/entityUtils.js +5 -0
  48. package/dist/utils/entityUtils.js.map +1 -0
  49. package/dist/utils/generalDateTimeUtils.d.ts +15 -0
  50. package/dist/utils/generalDateTimeUtils.d.ts.map +1 -0
  51. package/dist/utils/generalDateTimeUtils.js +38 -0
  52. package/dist/utils/generalDateTimeUtils.js.map +1 -0
  53. package/dist/utils/luxonUtils.d.ts +95 -0
  54. package/dist/utils/luxonUtils.d.ts.map +1 -0
  55. package/dist/utils/luxonUtils.js +623 -0
  56. package/dist/utils/luxonUtils.js.map +1 -0
  57. package/dist/utils/mathUtils.d.ts +2 -0
  58. package/dist/utils/mathUtils.d.ts.map +1 -0
  59. package/dist/utils/mathUtils.js +4 -0
  60. package/dist/utils/mathUtils.js.map +1 -0
  61. package/dist/utils/objUtils.d.ts +3 -0
  62. package/dist/utils/objUtils.d.ts.map +1 -0
  63. package/dist/utils/objUtils.js +29 -0
  64. package/dist/utils/objUtils.js.map +1 -0
  65. package/dist/utils/paymentUtils.d.ts +18 -0
  66. package/dist/utils/paymentUtils.d.ts.map +1 -0
  67. package/dist/utils/paymentUtils.js +50 -0
  68. package/dist/utils/paymentUtils.js.map +1 -0
  69. package/dist/utils/promoCodesUtils.d.ts +6 -0
  70. package/dist/utils/promoCodesUtils.d.ts.map +1 -0
  71. package/dist/utils/promoCodesUtils.js +23 -0
  72. package/dist/utils/promoCodesUtils.js.map +1 -0
  73. package/dist/utils/qrCodeUtils.d.ts +4 -0
  74. package/dist/utils/qrCodeUtils.d.ts.map +1 -0
  75. package/dist/utils/qrCodeUtils.js +22 -0
  76. package/dist/utils/qrCodeUtils.js.map +1 -0
  77. package/dist/utils/recurrenceUtils.d.ts +8 -0
  78. package/dist/utils/recurrenceUtils.d.ts.map +1 -0
  79. package/dist/utils/recurrenceUtils.js +153 -0
  80. package/dist/utils/recurrenceUtils.js.map +1 -0
  81. package/dist/utils/reviewUtils.d.ts +29 -0
  82. package/dist/utils/reviewUtils.d.ts.map +1 -0
  83. package/dist/utils/reviewUtils.js +65 -0
  84. package/dist/utils/reviewUtils.js.map +1 -0
  85. package/dist/utils/service/apiServiceBookingApiUtils.d.ts +21 -0
  86. package/dist/utils/service/apiServiceBookingApiUtils.d.ts.map +1 -0
  87. package/dist/utils/service/apiServiceBookingApiUtils.js +131 -0
  88. package/dist/utils/service/apiServiceBookingApiUtils.js.map +1 -0
  89. package/dist/utils/service/attendeeOptionUtils.d.ts +11 -0
  90. package/dist/utils/service/attendeeOptionUtils.d.ts.map +1 -0
  91. package/dist/utils/service/attendeeOptionUtils.js +9 -0
  92. package/dist/utils/service/attendeeOptionUtils.js.map +1 -0
  93. package/dist/utils/service/frontendServiceBookingUtils.d.ts +53 -0
  94. package/dist/utils/service/frontendServiceBookingUtils.d.ts.map +1 -0
  95. package/dist/utils/service/frontendServiceBookingUtils.js +134 -0
  96. package/dist/utils/service/frontendServiceBookingUtils.js.map +1 -0
  97. package/dist/utils/service/regexUtils.d.ts +6 -0
  98. package/dist/utils/service/regexUtils.d.ts.map +1 -0
  99. package/dist/utils/service/regexUtils.js +16 -0
  100. package/dist/utils/service/regexUtils.js.map +1 -0
  101. package/dist/utils/service/serviceBookingStatusUtils.d.ts +21 -0
  102. package/dist/utils/service/serviceBookingStatusUtils.d.ts.map +1 -0
  103. package/dist/utils/service/serviceBookingStatusUtils.js +130 -0
  104. package/dist/utils/service/serviceBookingStatusUtils.js.map +1 -0
  105. package/dist/utils/service/serviceBookingTypes.d.ts +19 -0
  106. package/dist/utils/service/serviceBookingTypes.d.ts.map +1 -0
  107. package/dist/utils/service/serviceBookingTypes.js +2 -0
  108. package/dist/utils/service/serviceBookingTypes.js.map +1 -0
  109. package/dist/utils/service/serviceDBUtils.d.ts +5 -0
  110. package/dist/utils/service/serviceDBUtils.d.ts.map +1 -0
  111. package/dist/utils/service/serviceDBUtils.js +48 -0
  112. package/dist/utils/service/serviceDBUtils.js.map +1 -0
  113. package/dist/utils/service/serviceRateDBUtils.d.ts +1 -0
  114. package/dist/utils/service/serviceRateDBUtils.d.ts.map +1 -0
  115. package/dist/utils/service/serviceRateDBUtils.js +159 -0
  116. package/dist/utils/service/serviceRateDBUtils.js.map +1 -0
  117. package/dist/utils/service/serviceRateTypes.d.ts +9 -0
  118. package/dist/utils/service/serviceRateTypes.d.ts.map +1 -0
  119. package/dist/utils/service/serviceRateTypes.js +2 -0
  120. package/dist/utils/service/serviceRateTypes.js.map +1 -0
  121. package/dist/utils/service/serviceRateUtils.d.ts +24 -0
  122. package/dist/utils/service/serviceRateUtils.d.ts.map +1 -0
  123. package/dist/utils/service/serviceRateUtils.js +183 -0
  124. package/dist/utils/service/serviceRateUtils.js.map +1 -0
  125. package/dist/utils/service/serviceUtils.d.ts +83 -0
  126. package/dist/utils/service/serviceUtils.d.ts.map +1 -0
  127. package/dist/utils/service/serviceUtils.js +311 -0
  128. package/dist/utils/service/serviceUtils.js.map +1 -0
  129. package/dist/utils/service/venueUtils.d.ts +13 -0
  130. package/dist/utils/service/venueUtils.d.ts.map +1 -0
  131. package/dist/utils/service/venueUtils.js +18 -0
  132. package/dist/utils/service/venueUtils.js.map +1 -0
  133. package/dist/utils/slugUtils.d.ts +9 -0
  134. package/dist/utils/slugUtils.d.ts.map +1 -0
  135. package/dist/utils/slugUtils.js +47 -0
  136. package/dist/utils/slugUtils.js.map +1 -0
  137. package/dist/utils/sortUtils.d.ts +7 -0
  138. package/dist/utils/sortUtils.d.ts.map +1 -0
  139. package/dist/utils/sortUtils.js +26 -0
  140. package/dist/utils/sortUtils.js.map +1 -0
  141. package/dist/utils/stringUtils.d.ts +2 -0
  142. package/dist/utils/stringUtils.d.ts.map +1 -0
  143. package/dist/utils/stringUtils.js +6 -0
  144. package/dist/utils/stringUtils.js.map +1 -0
  145. package/dist/utils/stripeAccountUtils.d.ts +3 -0
  146. package/dist/utils/stripeAccountUtils.d.ts.map +1 -0
  147. package/dist/utils/stripeAccountUtils.js +10 -0
  148. package/dist/utils/stripeAccountUtils.js.map +1 -0
  149. package/dist/utils/ticketListUtils.d.ts +12 -0
  150. package/dist/utils/ticketListUtils.d.ts.map +1 -0
  151. package/dist/utils/ticketListUtils.js +78 -0
  152. package/dist/utils/ticketListUtils.js.map +1 -0
  153. package/dist/utils/typeUtils.d.ts +11 -0
  154. package/dist/utils/typeUtils.d.ts.map +1 -0
  155. package/dist/utils/typeUtils.js +8 -0
  156. package/dist/utils/typeUtils.js.map +1 -0
  157. package/dist/utils/urlUtils.d.ts +10 -0
  158. package/dist/utils/urlUtils.d.ts.map +1 -0
  159. package/dist/utils/urlUtils.js +66 -0
  160. package/dist/utils/urlUtils.js.map +1 -0
  161. package/dist/utils/userPromoCodeUtils.d.ts +21 -0
  162. package/dist/utils/userPromoCodeUtils.d.ts.map +1 -0
  163. package/dist/utils/userPromoCodeUtils.js +13 -0
  164. package/dist/utils/userPromoCodeUtils.js.map +1 -0
  165. package/dist/utils/userSubscriptionUtils.d.ts +36 -0
  166. package/dist/utils/userSubscriptionUtils.d.ts.map +1 -0
  167. package/dist/utils/userSubscriptionUtils.js +56 -0
  168. package/dist/utils/userSubscriptionUtils.js.map +1 -0
  169. package/dist/utils/userUtils.d.ts +2 -0
  170. package/dist/utils/userUtils.d.ts.map +1 -0
  171. package/dist/utils/userUtils.js +2 -0
  172. package/dist/utils/userUtils.js.map +1 -0
  173. package/package.json +4 -2
  174. package/prisma/schema.prisma +117 -0
  175. package/src/definitions.ts +52 -1
  176. package/src/extendedSchemas.ts +177 -6
  177. package/src/index.ts +32 -21
  178. package/src/utils/blog/blogDbUtils.ts +343 -0
  179. package/src/utils/blogUtils.ts +134 -0
  180. package/src/utils/qrCodeUtils.ts +4 -2
  181. package/src/utils/service/apiServiceBookingApiUtils.ts +0 -0
  182. package/src/utils/slugUtils.ts +60 -0
  183. package/src/utils/ticketListUtils.ts +24 -6
  184. package/src/utils/typeUtils.ts +0 -0
@@ -0,0 +1,2206 @@
1
+ import { AmountOfGuests, AssociatedBash, AssociatedService, BashComment, BashEvent, BashEventPromoCode, BlogPost, BlogCategory, BlogTag, BlogComment, Checkout, Contact, Coordinates, Demerit, EventTask, Invitation, Link, Media, Notification, Recurrence, Review, Service, ServiceAddon, ServiceBooking, ServiceBookingAddOn, ServiceBookingCheckout, ServiceBookingDay, ServiceBookingFee, ServiceBookingPackage, ServiceBookingPriceBreakdown, ServiceDailyRates, ServiceFormatOption, ServiceLink, ServicePackage, ServiceRange, ServiceRate, ServiceRatesAssociation, ServiceSpecialRates, ServiceSubscriptionCounts, SocialMediaPlatform, SocialMediaProfile, Sponsor, SponsoredEvent, StripeAccount, TargetAudience, Ticket, TicketMetadata, TicketTier, TicketTransfer, User, UserPreferences, UserStats, UserSubscription, Vendor, Venue, VolunteerService, EntertainmentService, EventService, Exhibitor, Organization, Reminder } from "@prisma/client";
2
+ import { BlogStatus } from "./definitions";
3
+ import { RemoveCommonProperties, UnionFromArray } from "./utils/typeUtils";
4
+ export interface ApiResponse<T> {
5
+ data: T;
6
+ error?: string;
7
+ }
8
+ export declare const PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT: {
9
+ type: true;
10
+ status: true;
11
+ ownerId: true;
12
+ subscriptionCount: true;
13
+ listedCount: true;
14
+ };
15
+ export declare const PRIVATE_USER_SUBSCRIPTION_DATA_TO_SELECT: {
16
+ stripeAccountId: true;
17
+ stripeCheckoutSessionId: true;
18
+ type: true;
19
+ status: true;
20
+ ownerId: true;
21
+ subscriptionCount: true;
22
+ listedCount: true;
23
+ };
24
+ export declare const USER_SUBSCRIPTION_DATA_TO_INCLUDE: {
25
+ stripeAccount: true;
26
+ subscriptionCount: true;
27
+ listedCount: true;
28
+ };
29
+ export type UserSubscriptionExt = {
30
+ stripeAccount?: StripeAccountExt;
31
+ subscriptionCount?: ServiceSubscriptionCounts;
32
+ listedCount?: ServiceSubscriptionCounts;
33
+ } & UserSubscription;
34
+ export declare const FRONT_END_USER_DATA_TO_SELECT: {
35
+ id: true;
36
+ username: true;
37
+ email: true;
38
+ givenName: true;
39
+ familyName: true;
40
+ image: true;
41
+ uploadedImage: true;
42
+ isSuperUser: true;
43
+ socialMediaProfiles: true;
44
+ city: true;
45
+ state: true;
46
+ createdOn: true;
47
+ dob: true;
48
+ gender: true;
49
+ sex: true;
50
+ documentIDId: true;
51
+ reviews: true;
52
+ contacts: true;
53
+ accepted: true;
54
+ boughtTicket: true;
55
+ noPay: true;
56
+ supportedEvent: true;
57
+ aboutMe: true;
58
+ levelBadge: true;
59
+ temporaryBadges: true;
60
+ };
61
+ export declare const PRIVATE_USER_ACCOUNT_TO_SELECT: {
62
+ street: true;
63
+ city: true;
64
+ state: true;
65
+ zipCode: true;
66
+ country: true;
67
+ phone: true;
68
+ userSubscription: {
69
+ select: {
70
+ stripeAccountId: true;
71
+ stripeCheckoutSessionId: true;
72
+ type: true;
73
+ status: true;
74
+ ownerId: true;
75
+ subscriptionCount: true;
76
+ listedCount: true;
77
+ };
78
+ };
79
+ id: true;
80
+ username: true;
81
+ email: true;
82
+ givenName: true;
83
+ familyName: true;
84
+ image: true;
85
+ uploadedImage: true;
86
+ isSuperUser: true;
87
+ socialMediaProfiles: true;
88
+ createdOn: true;
89
+ dob: true;
90
+ gender: true;
91
+ sex: true;
92
+ documentIDId: true;
93
+ reviews: true;
94
+ contacts: true;
95
+ accepted: true;
96
+ boughtTicket: true;
97
+ noPay: true;
98
+ supportedEvent: true;
99
+ aboutMe: true;
100
+ levelBadge: true;
101
+ temporaryBadges: true;
102
+ };
103
+ export interface SponsoredEventExt extends SponsoredEvent {
104
+ }
105
+ export interface BashEventExt extends BashEvent {
106
+ targetAudience?: TargetAudience;
107
+ amountOfGuests?: AmountOfGuests;
108
+ recurrence?: Recurrence;
109
+ creator?: PublicUser;
110
+ ticketTiers?: TicketTierExt[];
111
+ media: Media[];
112
+ eventTasks: EventTask[];
113
+ tickets?: Ticket[];
114
+ invitations: Partial<InvitationExt>[];
115
+ coordinates?: Coordinates[];
116
+ venueServiceId?: string;
117
+ venueOwner?: PublicUser;
118
+ sponsorships?: SponsoredEventExt[];
119
+ }
120
+ export declare const TICKET_TIER_DATA_TO_INCLUDE: {
121
+ tickets: {
122
+ include: {
123
+ owner: {
124
+ select: {
125
+ id: true;
126
+ email: true;
127
+ givenName: true;
128
+ familyName: true;
129
+ };
130
+ };
131
+ forUser: {
132
+ select: {
133
+ id: true;
134
+ email: true;
135
+ givenName: true;
136
+ familyName: true;
137
+ };
138
+ };
139
+ };
140
+ };
141
+ promoCodes: true;
142
+ };
143
+ export declare const BASH_EVENT_DATA_TO_INCLUDE: {
144
+ creator: {
145
+ select: {
146
+ id: true;
147
+ username: true;
148
+ email: true;
149
+ givenName: true;
150
+ familyName: true;
151
+ image: true;
152
+ uploadedImage: true;
153
+ isSuperUser: true;
154
+ socialMediaProfiles: true;
155
+ city: true;
156
+ state: true;
157
+ createdOn: true;
158
+ dob: true;
159
+ gender: true;
160
+ sex: true;
161
+ documentIDId: true;
162
+ reviews: true;
163
+ contacts: true;
164
+ accepted: true;
165
+ boughtTicket: true;
166
+ noPay: true;
167
+ supportedEvent: true;
168
+ aboutMe: true;
169
+ levelBadge: true;
170
+ temporaryBadges: true;
171
+ };
172
+ };
173
+ targetAudience: true;
174
+ amountOfGuests: true;
175
+ recurrence: true;
176
+ ticketTiers: true;
177
+ media: true;
178
+ eventTasks: true;
179
+ invitations: true;
180
+ };
181
+ export declare const BASH_EVENT_DATA_TO_CLONE: readonly ["ticketTiers", "media", "recurrence", "invitations"];
182
+ type BashEventExtMinusDataToCloneType = Omit<BashEventExt, UnionFromArray<typeof BASH_EVENT_DATA_TO_CLONE>>;
183
+ export declare const BASH_EVENT_DATA_TO_REMOVE: RemoveCommonProperties<BashEvent, BashEventExtMinusDataToCloneType>[];
184
+ export declare const PUBLIC_STRIPE_ACCOUNT_DATA_TO_SELECT: {
185
+ logo: true;
186
+ logoId: true;
187
+ createdAt: true;
188
+ updatedAt: true;
189
+ };
190
+ export declare const STRIPE_ACCOUNT_DATA_TO_INCLUDE: {
191
+ logo: true;
192
+ owner: {
193
+ select: {
194
+ id: true;
195
+ username: true;
196
+ email: true;
197
+ givenName: true;
198
+ familyName: true;
199
+ image: true;
200
+ uploadedImage: true;
201
+ isSuperUser: true;
202
+ socialMediaProfiles: true;
203
+ city: true;
204
+ state: true;
205
+ createdOn: true;
206
+ dob: true;
207
+ gender: true;
208
+ sex: true;
209
+ documentIDId: true;
210
+ reviews: true;
211
+ contacts: true;
212
+ accepted: true;
213
+ boughtTicket: true;
214
+ noPay: true;
215
+ supportedEvent: true;
216
+ aboutMe: true;
217
+ levelBadge: true;
218
+ temporaryBadges: true;
219
+ };
220
+ };
221
+ userSubscription: {
222
+ select: {
223
+ stripeAccountId: true;
224
+ stripeCheckoutSessionId: true;
225
+ type: true;
226
+ status: true;
227
+ ownerId: true;
228
+ subscriptionCount: true;
229
+ listedCount: true;
230
+ };
231
+ };
232
+ };
233
+ export declare const SERVICE_PACKAGE_DATA_TO_INCLUDE: {
234
+ serviceAddons: true;
235
+ };
236
+ export declare const SERVICE_DAILYRATES_DATA_TO_INCLUDE: {
237
+ serviceRate: true;
238
+ };
239
+ export declare const SERVICE_SPECIALRATES_DATA_TO_INCLUDE: {
240
+ serviceRate: true;
241
+ };
242
+ export declare const SERVICE_RATES_ASSOCIATION_DATA_TO_INCLUDE: {
243
+ serviceGeneralRates: true;
244
+ serviceDailyRates: {
245
+ include: {
246
+ serviceRate: true;
247
+ };
248
+ };
249
+ serviceSpecialRates: {
250
+ include: {
251
+ serviceRate: true;
252
+ };
253
+ };
254
+ addons: true;
255
+ packages: {
256
+ include: {
257
+ serviceAddons: true;
258
+ };
259
+ };
260
+ media: true;
261
+ };
262
+ export declare const VENUE_DATA_TO_CLONE: readonly [];
263
+ type VenueExtMinusDataToCloneType = Omit<Venue, UnionFromArray<typeof VENUE_DATA_TO_CLONE>>;
264
+ export declare const VENUE_DATA_TO_REMOVE: RemoveCommonProperties<Venue, VenueExtMinusDataToCloneType>[];
265
+ export declare const VENDOR_DATA_TO_INCLUDE: {
266
+ crowdSize: true;
267
+ serviceRange: true;
268
+ };
269
+ export declare const VOLUNTEER_DATA_TO_INCLUDE: {
270
+ links: {
271
+ include: {
272
+ serviceLinks: true;
273
+ };
274
+ };
275
+ media: true;
276
+ serviceRange: true;
277
+ };
278
+ export declare const VENUE_DATA_TO_INCLUDE: {};
279
+ export declare const EVENT_SERVICE_DATA_TO_INCLUDE: {
280
+ crowdSize: true;
281
+ serviceRange: true;
282
+ formatOptions: true;
283
+ };
284
+ export declare const ENTERTAINMENT_SERVICE_DATA_TO_INCLUDE: {
285
+ crowdSize: true;
286
+ serviceRange: true;
287
+ };
288
+ export declare const SPONSOR_DATA_TO_INCLUDE: {
289
+ crowdSize: true;
290
+ serviceRange: true;
291
+ };
292
+ export declare const EXHIBITOR_DATA_TO_INCLUDE: {
293
+ crowdSize: true;
294
+ serviceRange: true;
295
+ };
296
+ export declare const SERVICE_DATA_TO_INCLUDE: {
297
+ creator: {
298
+ select: {
299
+ id: true;
300
+ username: true;
301
+ email: true;
302
+ givenName: true;
303
+ familyName: true;
304
+ image: true;
305
+ uploadedImage: true;
306
+ isSuperUser: true;
307
+ socialMediaProfiles: true;
308
+ city: true;
309
+ state: true;
310
+ createdOn: true;
311
+ dob: true;
312
+ gender: true;
313
+ sex: true;
314
+ documentIDId: true;
315
+ reviews: true;
316
+ contacts: true;
317
+ accepted: true;
318
+ boughtTicket: true;
319
+ noPay: true;
320
+ supportedEvent: true;
321
+ aboutMe: true;
322
+ levelBadge: true;
323
+ temporaryBadges: true;
324
+ };
325
+ };
326
+ owner: {
327
+ select: {
328
+ id: true;
329
+ username: true;
330
+ email: true;
331
+ givenName: true;
332
+ familyName: true;
333
+ image: true;
334
+ uploadedImage: true;
335
+ isSuperUser: true;
336
+ socialMediaProfiles: true;
337
+ city: true;
338
+ state: true;
339
+ createdOn: true;
340
+ dob: true;
341
+ gender: true;
342
+ sex: true;
343
+ documentIDId: true;
344
+ reviews: true;
345
+ contacts: true;
346
+ accepted: true;
347
+ boughtTicket: true;
348
+ noPay: true;
349
+ supportedEvent: true;
350
+ aboutMe: true;
351
+ levelBadge: true;
352
+ temporaryBadges: true;
353
+ };
354
+ };
355
+ targetAudience: true;
356
+ media: true;
357
+ stripeAccount: {
358
+ select: {
359
+ logo: true;
360
+ logoId: true;
361
+ createdAt: true;
362
+ updatedAt: true;
363
+ };
364
+ };
365
+ serviceLinks: {
366
+ include: {
367
+ link: true;
368
+ };
369
+ };
370
+ serviceRatesAssociation: {
371
+ include: {
372
+ serviceGeneralRates: true;
373
+ serviceDailyRates: {
374
+ include: {
375
+ serviceRate: true;
376
+ };
377
+ };
378
+ serviceSpecialRates: {
379
+ include: {
380
+ serviceRate: true;
381
+ };
382
+ };
383
+ addons: true;
384
+ packages: {
385
+ include: {
386
+ serviceAddons: true;
387
+ };
388
+ };
389
+ media: true;
390
+ };
391
+ };
392
+ bashEvent: {
393
+ include: {
394
+ creator: {
395
+ select: {
396
+ id: true;
397
+ username: true;
398
+ email: true;
399
+ givenName: true;
400
+ familyName: true;
401
+ image: true;
402
+ uploadedImage: true;
403
+ isSuperUser: true;
404
+ socialMediaProfiles: true;
405
+ city: true;
406
+ state: true;
407
+ createdOn: true;
408
+ dob: true;
409
+ gender: true;
410
+ sex: true;
411
+ documentIDId: true;
412
+ reviews: true;
413
+ contacts: true;
414
+ accepted: true;
415
+ boughtTicket: true;
416
+ noPay: true;
417
+ supportedEvent: true;
418
+ aboutMe: true;
419
+ levelBadge: true;
420
+ temporaryBadges: true;
421
+ };
422
+ };
423
+ targetAudience: true;
424
+ amountOfGuests: true;
425
+ recurrence: true;
426
+ ticketTiers: true;
427
+ media: true;
428
+ eventTasks: true;
429
+ invitations: true;
430
+ };
431
+ };
432
+ venue: {
433
+ include: {};
434
+ };
435
+ eventService: {
436
+ include: {
437
+ crowdSize: true;
438
+ serviceRange: true;
439
+ formatOptions: true;
440
+ };
441
+ };
442
+ entertainmentService: {
443
+ include: {
444
+ crowdSize: true;
445
+ serviceRange: true;
446
+ };
447
+ };
448
+ vendor: {
449
+ include: {
450
+ crowdSize: true;
451
+ serviceRange: true;
452
+ };
453
+ };
454
+ exhibitor: {
455
+ include: {
456
+ crowdSize: true;
457
+ serviceRange: true;
458
+ };
459
+ };
460
+ sponsor: {
461
+ include: {
462
+ crowdSize: true;
463
+ serviceRange: true;
464
+ };
465
+ };
466
+ };
467
+ export declare const SERVICE_FULL_DATA_TO_CLONE: readonly ["media", "targetAudience", "serviceLinks"];
468
+ type ServiceExtMinusDataToCloneType = Omit<ServiceExt, UnionFromArray<typeof SERVICE_FULL_DATA_TO_CLONE>>;
469
+ export declare const SERVICE_FULL_DATA_TO_REMOVE: RemoveCommonProperties<Service, ServiceExtMinusDataToCloneType>[];
470
+ export interface StripeAccountExt extends StripeAccount {
471
+ logo?: Media | null;
472
+ }
473
+ export interface ServiceRateExt extends ServiceRate {
474
+ serviceSpecialRates?: ServiceSpecialRates;
475
+ serviceDailyRates?: ServiceDailyRates;
476
+ serviceRatesAssociation?: ServiceRatesAssociation;
477
+ }
478
+ export interface ServiceAddonExt extends ServiceAddon {
479
+ }
480
+ export interface ServicePackageExt extends ServicePackage {
481
+ serviceAddons: ServiceAddonExt[];
482
+ }
483
+ export interface ServiceDailyRatesExt extends ServiceDailyRates {
484
+ serviceRate?: ServiceRate;
485
+ }
486
+ export interface ServiceSpecialRatesExt extends ServiceSpecialRates {
487
+ serviceRate?: ServiceRate;
488
+ }
489
+ export interface ServiceRatesAssociationExt extends ServiceRatesAssociation {
490
+ serviceGeneralRates?: ServiceRate | null;
491
+ serviceDailyRates?: ServiceDailyRatesExt[];
492
+ serviceSpecialRates?: ServiceSpecialRatesExt[];
493
+ addons?: ServiceAddonExt[];
494
+ packages?: ServicePackageExt[];
495
+ media?: Media[];
496
+ }
497
+ export interface ServiceBookingAddOnExt extends ServiceBookingAddOn {
498
+ addOn: ServiceAddonExt;
499
+ }
500
+ export interface ServiceBookingPackageExt extends ServiceBookingPackage {
501
+ package: ServicePackageExt;
502
+ }
503
+ export interface ServiceBookingPriceBreakdownExt extends ServiceBookingPriceBreakdown {
504
+ }
505
+ export interface ServiceBookingFeeExt extends ServiceBookingFee {
506
+ }
507
+ export interface ServiceBookingDayExt extends ServiceBookingDay {
508
+ addOns: ServiceBookingAddOnExt[];
509
+ packages: ServiceBookingPackageExt[];
510
+ priceBreakdown: ServiceBookingPriceBreakdownExt[];
511
+ fees: ServiceBookingFeeExt[];
512
+ }
513
+ export interface ServiceBookingExt extends ServiceBooking {
514
+ bookedDays: ServiceBookingDayExt[];
515
+ additionalFees: ServiceBookingFeeExt[];
516
+ creator: PublicUser;
517
+ forUser: PublicUser;
518
+ service: ServiceExt;
519
+ checkout?: ServiceBookingCheckout | null;
520
+ }
521
+ export interface ServiceBookingCheckoutExt extends ServiceBookingCheckout {
522
+ creator: PublicUser;
523
+ }
524
+ export type ServiceBookingPublicExt = Omit<ServiceBookingExt, "checkout">;
525
+ export declare const SERVICE_BOOKING_ADDON_DATA_TO_INCLUDE: {
526
+ addOn: true;
527
+ };
528
+ export declare const SERVICE_BOOKING_PACKAGE_DATA_TO_INCLUDE: {
529
+ package: {
530
+ include: {
531
+ serviceAddons: true;
532
+ };
533
+ };
534
+ };
535
+ export declare const SERVICE_BOOKING_DAY_DATA_TO_INCLUDE: {
536
+ addOns: {
537
+ include: {
538
+ addOn: true;
539
+ };
540
+ };
541
+ packages: {
542
+ include: {
543
+ package: {
544
+ include: {
545
+ serviceAddons: true;
546
+ };
547
+ };
548
+ };
549
+ };
550
+ priceBreakdown: true;
551
+ fees: true;
552
+ };
553
+ export declare const SERVICE_BOOKING_CHECKOUT_DATA_TO_INCLUDE: {
554
+ creator: {
555
+ select: {
556
+ id: true;
557
+ username: true;
558
+ email: true;
559
+ givenName: true;
560
+ familyName: true;
561
+ image: true;
562
+ uploadedImage: true;
563
+ isSuperUser: true;
564
+ socialMediaProfiles: true;
565
+ city: true;
566
+ state: true;
567
+ createdOn: true;
568
+ dob: true;
569
+ gender: true;
570
+ sex: true;
571
+ documentIDId: true;
572
+ reviews: true;
573
+ contacts: true;
574
+ accepted: true;
575
+ boughtTicket: true;
576
+ noPay: true;
577
+ supportedEvent: true;
578
+ aboutMe: true;
579
+ levelBadge: true;
580
+ temporaryBadges: true;
581
+ };
582
+ };
583
+ };
584
+ export declare const FRONT_END_SERVICE_BOOKING_CHECKOUT_DATA_SELECT: {
585
+ id: true;
586
+ creatorId: true;
587
+ creator: {
588
+ select: {
589
+ id: true;
590
+ username: true;
591
+ email: true;
592
+ givenName: true;
593
+ familyName: true;
594
+ image: true;
595
+ uploadedImage: true;
596
+ isSuperUser: true;
597
+ socialMediaProfiles: true;
598
+ city: true;
599
+ state: true;
600
+ createdOn: true;
601
+ dob: true;
602
+ gender: true;
603
+ sex: true;
604
+ documentIDId: true;
605
+ reviews: true;
606
+ contacts: true;
607
+ accepted: true;
608
+ boughtTicket: true;
609
+ noPay: true;
610
+ supportedEvent: true;
611
+ aboutMe: true;
612
+ levelBadge: true;
613
+ temporaryBadges: true;
614
+ };
615
+ };
616
+ checkoutDateTime: true;
617
+ totalAmountCents: true;
618
+ depositAmountCents: true;
619
+ paidOn: true;
620
+ refundedOn: true;
621
+ };
622
+ export declare const SERVICE_BOOKING_PUBLIC_DATA_TO_INCLUDE: {
623
+ bookedDays: {
624
+ include: {
625
+ addOns: {
626
+ include: {
627
+ addOn: true;
628
+ };
629
+ };
630
+ packages: {
631
+ include: {
632
+ package: {
633
+ include: {
634
+ serviceAddons: true;
635
+ };
636
+ };
637
+ };
638
+ };
639
+ priceBreakdown: true;
640
+ fees: true;
641
+ };
642
+ };
643
+ service: {
644
+ include: {
645
+ bashEvent: undefined;
646
+ creator: {
647
+ select: {
648
+ id: true;
649
+ username: true;
650
+ email: true;
651
+ givenName: true;
652
+ familyName: true;
653
+ image: true;
654
+ uploadedImage: true;
655
+ isSuperUser: true;
656
+ socialMediaProfiles: true;
657
+ city: true;
658
+ state: true;
659
+ createdOn: true;
660
+ dob: true;
661
+ gender: true;
662
+ sex: true;
663
+ documentIDId: true;
664
+ reviews: true;
665
+ contacts: true;
666
+ accepted: true;
667
+ boughtTicket: true;
668
+ noPay: true;
669
+ supportedEvent: true;
670
+ aboutMe: true;
671
+ levelBadge: true;
672
+ temporaryBadges: true;
673
+ };
674
+ };
675
+ owner: {
676
+ select: {
677
+ id: true;
678
+ username: true;
679
+ email: true;
680
+ givenName: true;
681
+ familyName: true;
682
+ image: true;
683
+ uploadedImage: true;
684
+ isSuperUser: true;
685
+ socialMediaProfiles: true;
686
+ city: true;
687
+ state: true;
688
+ createdOn: true;
689
+ dob: true;
690
+ gender: true;
691
+ sex: true;
692
+ documentIDId: true;
693
+ reviews: true;
694
+ contacts: true;
695
+ accepted: true;
696
+ boughtTicket: true;
697
+ noPay: true;
698
+ supportedEvent: true;
699
+ aboutMe: true;
700
+ levelBadge: true;
701
+ temporaryBadges: true;
702
+ };
703
+ };
704
+ targetAudience: true;
705
+ media: true;
706
+ stripeAccount: {
707
+ select: {
708
+ logo: true;
709
+ logoId: true;
710
+ createdAt: true;
711
+ updatedAt: true;
712
+ };
713
+ };
714
+ serviceLinks: {
715
+ include: {
716
+ link: true;
717
+ };
718
+ };
719
+ serviceRatesAssociation: {
720
+ include: {
721
+ serviceGeneralRates: true;
722
+ serviceDailyRates: {
723
+ include: {
724
+ serviceRate: true;
725
+ };
726
+ };
727
+ serviceSpecialRates: {
728
+ include: {
729
+ serviceRate: true;
730
+ };
731
+ };
732
+ addons: true;
733
+ packages: {
734
+ include: {
735
+ serviceAddons: true;
736
+ };
737
+ };
738
+ media: true;
739
+ };
740
+ };
741
+ venue: {
742
+ include: {};
743
+ };
744
+ eventService: {
745
+ include: {
746
+ crowdSize: true;
747
+ serviceRange: true;
748
+ formatOptions: true;
749
+ };
750
+ };
751
+ entertainmentService: {
752
+ include: {
753
+ crowdSize: true;
754
+ serviceRange: true;
755
+ };
756
+ };
757
+ vendor: {
758
+ include: {
759
+ crowdSize: true;
760
+ serviceRange: true;
761
+ };
762
+ };
763
+ exhibitor: {
764
+ include: {
765
+ crowdSize: true;
766
+ serviceRange: true;
767
+ };
768
+ };
769
+ sponsor: {
770
+ include: {
771
+ crowdSize: true;
772
+ serviceRange: true;
773
+ };
774
+ };
775
+ };
776
+ };
777
+ additionalFees: true;
778
+ };
779
+ export declare const SERVICE_BOOKING_PRIVATE_DATA_TO_INCLUDE: {
780
+ checkout: {
781
+ select: {
782
+ id: true;
783
+ creatorId: true;
784
+ creator: {
785
+ select: {
786
+ id: true;
787
+ username: true;
788
+ email: true;
789
+ givenName: true;
790
+ familyName: true;
791
+ image: true;
792
+ uploadedImage: true;
793
+ isSuperUser: true;
794
+ socialMediaProfiles: true;
795
+ city: true;
796
+ state: true;
797
+ createdOn: true;
798
+ dob: true;
799
+ gender: true;
800
+ sex: true;
801
+ documentIDId: true;
802
+ reviews: true;
803
+ contacts: true;
804
+ accepted: true;
805
+ boughtTicket: true;
806
+ noPay: true;
807
+ supportedEvent: true;
808
+ aboutMe: true;
809
+ levelBadge: true;
810
+ temporaryBadges: true;
811
+ };
812
+ };
813
+ checkoutDateTime: true;
814
+ totalAmountCents: true;
815
+ depositAmountCents: true;
816
+ paidOn: true;
817
+ refundedOn: true;
818
+ };
819
+ };
820
+ creator: {
821
+ select: {
822
+ id: true;
823
+ username: true;
824
+ email: true;
825
+ givenName: true;
826
+ familyName: true;
827
+ image: true;
828
+ uploadedImage: true;
829
+ isSuperUser: true;
830
+ socialMediaProfiles: true;
831
+ city: true;
832
+ state: true;
833
+ createdOn: true;
834
+ dob: true;
835
+ gender: true;
836
+ sex: true;
837
+ documentIDId: true;
838
+ reviews: true;
839
+ contacts: true;
840
+ accepted: true;
841
+ boughtTicket: true;
842
+ noPay: true;
843
+ supportedEvent: true;
844
+ aboutMe: true;
845
+ levelBadge: true;
846
+ temporaryBadges: true;
847
+ };
848
+ };
849
+ forUser: {
850
+ select: {
851
+ id: true;
852
+ username: true;
853
+ email: true;
854
+ givenName: true;
855
+ familyName: true;
856
+ image: true;
857
+ uploadedImage: true;
858
+ isSuperUser: true;
859
+ socialMediaProfiles: true;
860
+ city: true;
861
+ state: true;
862
+ createdOn: true;
863
+ dob: true;
864
+ gender: true;
865
+ sex: true;
866
+ documentIDId: true;
867
+ reviews: true;
868
+ contacts: true;
869
+ accepted: true;
870
+ boughtTicket: true;
871
+ noPay: true;
872
+ supportedEvent: true;
873
+ aboutMe: true;
874
+ levelBadge: true;
875
+ temporaryBadges: true;
876
+ };
877
+ };
878
+ bookedDays: {
879
+ include: {
880
+ addOns: {
881
+ include: {
882
+ addOn: true;
883
+ };
884
+ };
885
+ packages: {
886
+ include: {
887
+ package: {
888
+ include: {
889
+ serviceAddons: true;
890
+ };
891
+ };
892
+ };
893
+ };
894
+ priceBreakdown: true;
895
+ fees: true;
896
+ };
897
+ };
898
+ service: {
899
+ include: {
900
+ bashEvent: undefined;
901
+ creator: {
902
+ select: {
903
+ id: true;
904
+ username: true;
905
+ email: true;
906
+ givenName: true;
907
+ familyName: true;
908
+ image: true;
909
+ uploadedImage: true;
910
+ isSuperUser: true;
911
+ socialMediaProfiles: true;
912
+ city: true;
913
+ state: true;
914
+ createdOn: true;
915
+ dob: true;
916
+ gender: true;
917
+ sex: true;
918
+ documentIDId: true;
919
+ reviews: true;
920
+ contacts: true;
921
+ accepted: true;
922
+ boughtTicket: true;
923
+ noPay: true;
924
+ supportedEvent: true;
925
+ aboutMe: true;
926
+ levelBadge: true;
927
+ temporaryBadges: true;
928
+ };
929
+ };
930
+ owner: {
931
+ select: {
932
+ id: true;
933
+ username: true;
934
+ email: true;
935
+ givenName: true;
936
+ familyName: true;
937
+ image: true;
938
+ uploadedImage: true;
939
+ isSuperUser: true;
940
+ socialMediaProfiles: true;
941
+ city: true;
942
+ state: true;
943
+ createdOn: true;
944
+ dob: true;
945
+ gender: true;
946
+ sex: true;
947
+ documentIDId: true;
948
+ reviews: true;
949
+ contacts: true;
950
+ accepted: true;
951
+ boughtTicket: true;
952
+ noPay: true;
953
+ supportedEvent: true;
954
+ aboutMe: true;
955
+ levelBadge: true;
956
+ temporaryBadges: true;
957
+ };
958
+ };
959
+ targetAudience: true;
960
+ media: true;
961
+ stripeAccount: {
962
+ select: {
963
+ logo: true;
964
+ logoId: true;
965
+ createdAt: true;
966
+ updatedAt: true;
967
+ };
968
+ };
969
+ serviceLinks: {
970
+ include: {
971
+ link: true;
972
+ };
973
+ };
974
+ serviceRatesAssociation: {
975
+ include: {
976
+ serviceGeneralRates: true;
977
+ serviceDailyRates: {
978
+ include: {
979
+ serviceRate: true;
980
+ };
981
+ };
982
+ serviceSpecialRates: {
983
+ include: {
984
+ serviceRate: true;
985
+ };
986
+ };
987
+ addons: true;
988
+ packages: {
989
+ include: {
990
+ serviceAddons: true;
991
+ };
992
+ };
993
+ media: true;
994
+ };
995
+ };
996
+ venue: {
997
+ include: {};
998
+ };
999
+ eventService: {
1000
+ include: {
1001
+ crowdSize: true;
1002
+ serviceRange: true;
1003
+ formatOptions: true;
1004
+ };
1005
+ };
1006
+ entertainmentService: {
1007
+ include: {
1008
+ crowdSize: true;
1009
+ serviceRange: true;
1010
+ };
1011
+ };
1012
+ vendor: {
1013
+ include: {
1014
+ crowdSize: true;
1015
+ serviceRange: true;
1016
+ };
1017
+ };
1018
+ exhibitor: {
1019
+ include: {
1020
+ crowdSize: true;
1021
+ serviceRange: true;
1022
+ };
1023
+ };
1024
+ sponsor: {
1025
+ include: {
1026
+ crowdSize: true;
1027
+ serviceRange: true;
1028
+ };
1029
+ };
1030
+ };
1031
+ };
1032
+ additionalFees: true;
1033
+ };
1034
+ export interface ServiceExt extends Service {
1035
+ owner?: PublicUser | null;
1036
+ creator?: PublicUser | null;
1037
+ stripeAccount?: PublicStripeAccount | null;
1038
+ latitude?: number;
1039
+ longitude?: number;
1040
+ targetAudience?: TargetAudienceExt | null;
1041
+ media?: Media[];
1042
+ serviceLinks?: ServiceLinkExt[];
1043
+ eventService?: EventServiceExt;
1044
+ entertainmentService?: EntertainmentServiceExt;
1045
+ vendor?: VendorExt;
1046
+ exhibitor?: ExhibitorExt;
1047
+ sponsor?: SponsorExt;
1048
+ venue?: VenueExt;
1049
+ organization?: OrganizationExt;
1050
+ volunteerService?: VolunteerServiceExt;
1051
+ bashEvent: BashEventExt[];
1052
+ serviceRatesAssociation?: ServiceRatesAssociationExt | null;
1053
+ associatedBashesReferencingMe?: AssociatedBashExt[];
1054
+ associatedServicesReferencingMe?: AssociatedServiceExt[];
1055
+ }
1056
+ export type ServiceExtNonSpecific = Exclude<ServiceExt, "id" | "venue" | "venueId" | "entertainmentService" | "entertainmentServiceId" | "eventService" | "eventServiceId" | "vendor" | "vendorId" | "organization" | "organizationId" | "sponsor" | "sponsorId" | "exhibitor" | "exhibitorId" | "volunteerService" | "volunteerServiceId" | "bashEvent" | "bashEventId">;
1057
+ export type ServiceExtNoIds = Exclude<ServiceExt, "id" | "venueId" | "entertainmentServiceId" | "eventServiceId" | "vendorId" | "organizationId" | "sponsorId" | "exhibitor" | "exhibitorId" | "volunteerServiceId" | "bashEventId" | "targetAudienceId" | "creatorId" | "ownerId" | "stripeAccountId" | "serviceRatesAssociationId" | "serviceId">;
1058
+ export interface EventServiceExt extends EventService {
1059
+ crowdSize?: AmountOfGuests;
1060
+ serviceRange?: ServiceRange;
1061
+ formatOptions?: ServiceFormatOption[];
1062
+ }
1063
+ export interface EntertainmentServiceExt extends EntertainmentService {
1064
+ crowdSize?: AmountOfGuests;
1065
+ serviceRange?: ServiceRange;
1066
+ }
1067
+ export interface ExhibitorExt extends Exhibitor {
1068
+ crowdSize?: AmountOfGuests;
1069
+ serviceRange?: ServiceRange;
1070
+ }
1071
+ export interface SponsorExt extends Sponsor {
1072
+ crowdSize?: AmountOfGuests;
1073
+ serviceRange?: ServiceRange;
1074
+ }
1075
+ export interface VendorExt extends Vendor {
1076
+ crowdSize?: AmountOfGuests;
1077
+ serviceRange?: ServiceRange;
1078
+ }
1079
+ export interface VenueExt extends Venue {
1080
+ }
1081
+ export interface OrganizationExt extends Organization {
1082
+ amountOfGuests?: AmountOfGuests;
1083
+ }
1084
+ export interface VolunteerServiceExt extends VolunteerService {
1085
+ service?: ServiceExt;
1086
+ serviceRange?: ServiceRange | null;
1087
+ media?: Media[];
1088
+ links?: Link[];
1089
+ }
1090
+ export interface ServiceLinkExt extends ServiceLink {
1091
+ link: Link;
1092
+ }
1093
+ export interface NotificationExt extends Notification {
1094
+ bashEvent?: BashEvent;
1095
+ creator?: PublicUser;
1096
+ eventTask?: EventTask;
1097
+ service?: ServiceExt;
1098
+ serviceBooking?: ServiceBookingExt;
1099
+ invitation?: Invitation;
1100
+ reminders?: Reminder[];
1101
+ }
1102
+ export interface TargetAudienceExt extends TargetAudience {
1103
+ formattedDetails?: string;
1104
+ isSelected?: boolean;
1105
+ priorityScore?: number;
1106
+ tags?: string[];
1107
+ createdAt?: Date;
1108
+ updatedAt?: Date;
1109
+ notes?: string;
1110
+ isHighlighted?: boolean;
1111
+ associatedCampaigns?: string[];
1112
+ icon?: string;
1113
+ relatedAudiences?: TargetAudienceExt[];
1114
+ conversionRate?: number;
1115
+ feedbackScore?: number;
1116
+ interactionHistory?: {
1117
+ date: Date;
1118
+ interaction: string;
1119
+ }[];
1120
+ customAttributes?: {
1121
+ [key: string]: any;
1122
+ };
1123
+ }
1124
+ export declare const BASH_NOTIFICATION_DATA_TO_INCLUDE: {
1125
+ bashEvent: {
1126
+ select: {
1127
+ coverPhoto: true;
1128
+ };
1129
+ };
1130
+ creator: {
1131
+ select: {
1132
+ image: true;
1133
+ };
1134
+ };
1135
+ service: {
1136
+ include: {
1137
+ bashEvent: undefined;
1138
+ creator: {
1139
+ select: {
1140
+ id: true;
1141
+ username: true;
1142
+ email: true;
1143
+ givenName: true;
1144
+ familyName: true;
1145
+ image: true;
1146
+ uploadedImage: true;
1147
+ isSuperUser: true;
1148
+ socialMediaProfiles: true;
1149
+ city: true;
1150
+ state: true;
1151
+ createdOn: true;
1152
+ dob: true;
1153
+ gender: true;
1154
+ sex: true;
1155
+ documentIDId: true;
1156
+ reviews: true;
1157
+ contacts: true;
1158
+ accepted: true;
1159
+ boughtTicket: true;
1160
+ noPay: true;
1161
+ supportedEvent: true;
1162
+ aboutMe: true;
1163
+ levelBadge: true;
1164
+ temporaryBadges: true;
1165
+ };
1166
+ };
1167
+ owner: {
1168
+ select: {
1169
+ id: true;
1170
+ username: true;
1171
+ email: true;
1172
+ givenName: true;
1173
+ familyName: true;
1174
+ image: true;
1175
+ uploadedImage: true;
1176
+ isSuperUser: true;
1177
+ socialMediaProfiles: true;
1178
+ city: true;
1179
+ state: true;
1180
+ createdOn: true;
1181
+ dob: true;
1182
+ gender: true;
1183
+ sex: true;
1184
+ documentIDId: true;
1185
+ reviews: true;
1186
+ contacts: true;
1187
+ accepted: true;
1188
+ boughtTicket: true;
1189
+ noPay: true;
1190
+ supportedEvent: true;
1191
+ aboutMe: true;
1192
+ levelBadge: true;
1193
+ temporaryBadges: true;
1194
+ };
1195
+ };
1196
+ targetAudience: true;
1197
+ media: true;
1198
+ stripeAccount: {
1199
+ select: {
1200
+ logo: true;
1201
+ logoId: true;
1202
+ createdAt: true;
1203
+ updatedAt: true;
1204
+ };
1205
+ };
1206
+ serviceLinks: {
1207
+ include: {
1208
+ link: true;
1209
+ };
1210
+ };
1211
+ serviceRatesAssociation: {
1212
+ include: {
1213
+ serviceGeneralRates: true;
1214
+ serviceDailyRates: {
1215
+ include: {
1216
+ serviceRate: true;
1217
+ };
1218
+ };
1219
+ serviceSpecialRates: {
1220
+ include: {
1221
+ serviceRate: true;
1222
+ };
1223
+ };
1224
+ addons: true;
1225
+ packages: {
1226
+ include: {
1227
+ serviceAddons: true;
1228
+ };
1229
+ };
1230
+ media: true;
1231
+ };
1232
+ };
1233
+ venue: {
1234
+ include: {};
1235
+ };
1236
+ eventService: {
1237
+ include: {
1238
+ crowdSize: true;
1239
+ serviceRange: true;
1240
+ formatOptions: true;
1241
+ };
1242
+ };
1243
+ entertainmentService: {
1244
+ include: {
1245
+ crowdSize: true;
1246
+ serviceRange: true;
1247
+ };
1248
+ };
1249
+ vendor: {
1250
+ include: {
1251
+ crowdSize: true;
1252
+ serviceRange: true;
1253
+ };
1254
+ };
1255
+ exhibitor: {
1256
+ include: {
1257
+ crowdSize: true;
1258
+ serviceRange: true;
1259
+ };
1260
+ };
1261
+ sponsor: {
1262
+ include: {
1263
+ crowdSize: true;
1264
+ serviceRange: true;
1265
+ };
1266
+ };
1267
+ };
1268
+ };
1269
+ serviceBooking: {
1270
+ include: {
1271
+ bookedDays: {
1272
+ include: {
1273
+ addOns: {
1274
+ include: {
1275
+ addOn: true;
1276
+ };
1277
+ };
1278
+ packages: {
1279
+ include: {
1280
+ package: {
1281
+ include: {
1282
+ serviceAddons: true;
1283
+ };
1284
+ };
1285
+ };
1286
+ };
1287
+ priceBreakdown: true;
1288
+ fees: true;
1289
+ };
1290
+ };
1291
+ service: {
1292
+ include: {
1293
+ bashEvent: undefined;
1294
+ creator: {
1295
+ select: {
1296
+ id: true;
1297
+ username: true;
1298
+ email: true;
1299
+ givenName: true;
1300
+ familyName: true;
1301
+ image: true;
1302
+ uploadedImage: true;
1303
+ isSuperUser: true;
1304
+ socialMediaProfiles: true;
1305
+ city: true;
1306
+ state: true;
1307
+ createdOn: true;
1308
+ dob: true;
1309
+ gender: true;
1310
+ sex: true;
1311
+ documentIDId: true;
1312
+ reviews: true;
1313
+ contacts: true;
1314
+ accepted: true;
1315
+ boughtTicket: true;
1316
+ noPay: true;
1317
+ supportedEvent: true;
1318
+ aboutMe: true;
1319
+ levelBadge: true;
1320
+ temporaryBadges: true;
1321
+ };
1322
+ };
1323
+ owner: {
1324
+ select: {
1325
+ id: true;
1326
+ username: true;
1327
+ email: true;
1328
+ givenName: true;
1329
+ familyName: true;
1330
+ image: true;
1331
+ uploadedImage: true;
1332
+ isSuperUser: true;
1333
+ socialMediaProfiles: true;
1334
+ city: true;
1335
+ state: true;
1336
+ createdOn: true;
1337
+ dob: true;
1338
+ gender: true;
1339
+ sex: true;
1340
+ documentIDId: true;
1341
+ reviews: true;
1342
+ contacts: true;
1343
+ accepted: true;
1344
+ boughtTicket: true;
1345
+ noPay: true;
1346
+ supportedEvent: true;
1347
+ aboutMe: true;
1348
+ levelBadge: true;
1349
+ temporaryBadges: true;
1350
+ };
1351
+ };
1352
+ targetAudience: true;
1353
+ media: true;
1354
+ stripeAccount: {
1355
+ select: {
1356
+ logo: true;
1357
+ logoId: true;
1358
+ createdAt: true;
1359
+ updatedAt: true;
1360
+ };
1361
+ };
1362
+ serviceLinks: {
1363
+ include: {
1364
+ link: true;
1365
+ };
1366
+ };
1367
+ serviceRatesAssociation: {
1368
+ include: {
1369
+ serviceGeneralRates: true;
1370
+ serviceDailyRates: {
1371
+ include: {
1372
+ serviceRate: true;
1373
+ };
1374
+ };
1375
+ serviceSpecialRates: {
1376
+ include: {
1377
+ serviceRate: true;
1378
+ };
1379
+ };
1380
+ addons: true;
1381
+ packages: {
1382
+ include: {
1383
+ serviceAddons: true;
1384
+ };
1385
+ };
1386
+ media: true;
1387
+ };
1388
+ };
1389
+ venue: {
1390
+ include: {};
1391
+ };
1392
+ eventService: {
1393
+ include: {
1394
+ crowdSize: true;
1395
+ serviceRange: true;
1396
+ formatOptions: true;
1397
+ };
1398
+ };
1399
+ entertainmentService: {
1400
+ include: {
1401
+ crowdSize: true;
1402
+ serviceRange: true;
1403
+ };
1404
+ };
1405
+ vendor: {
1406
+ include: {
1407
+ crowdSize: true;
1408
+ serviceRange: true;
1409
+ };
1410
+ };
1411
+ exhibitor: {
1412
+ include: {
1413
+ crowdSize: true;
1414
+ serviceRange: true;
1415
+ };
1416
+ };
1417
+ sponsor: {
1418
+ include: {
1419
+ crowdSize: true;
1420
+ serviceRange: true;
1421
+ };
1422
+ };
1423
+ };
1424
+ };
1425
+ additionalFees: true;
1426
+ };
1427
+ };
1428
+ };
1429
+ export interface EventTaskExt extends EventTask {
1430
+ creator: PublicUser;
1431
+ assignedTo?: PublicUser | null;
1432
+ }
1433
+ export declare const EVENT_TASK_DATA_TO_INCLUDE: {
1434
+ creator: {
1435
+ select: {
1436
+ id: true;
1437
+ username: true;
1438
+ email: true;
1439
+ givenName: true;
1440
+ familyName: true;
1441
+ image: true;
1442
+ uploadedImage: true;
1443
+ isSuperUser: true;
1444
+ socialMediaProfiles: true;
1445
+ city: true;
1446
+ state: true;
1447
+ createdOn: true;
1448
+ dob: true;
1449
+ gender: true;
1450
+ sex: true;
1451
+ documentIDId: true;
1452
+ reviews: true;
1453
+ contacts: true;
1454
+ accepted: true;
1455
+ boughtTicket: true;
1456
+ noPay: true;
1457
+ supportedEvent: true;
1458
+ aboutMe: true;
1459
+ levelBadge: true;
1460
+ temporaryBadges: true;
1461
+ };
1462
+ };
1463
+ assignedTo: {
1464
+ select: {
1465
+ id: true;
1466
+ username: true;
1467
+ email: true;
1468
+ givenName: true;
1469
+ familyName: true;
1470
+ image: true;
1471
+ uploadedImage: true;
1472
+ isSuperUser: true;
1473
+ socialMediaProfiles: true;
1474
+ city: true;
1475
+ state: true;
1476
+ createdOn: true;
1477
+ dob: true;
1478
+ gender: true;
1479
+ sex: true;
1480
+ documentIDId: true;
1481
+ reviews: true;
1482
+ contacts: true;
1483
+ accepted: true;
1484
+ boughtTicket: true;
1485
+ noPay: true;
1486
+ supportedEvent: true;
1487
+ aboutMe: true;
1488
+ levelBadge: true;
1489
+ temporaryBadges: true;
1490
+ };
1491
+ };
1492
+ };
1493
+ export interface InvitationExt extends Invitation {
1494
+ creator: PublicUser;
1495
+ sentTo?: PublicUser;
1496
+ associatedBash?: Partial<AssociatedBashExt> | null;
1497
+ tickets: Ticket[];
1498
+ }
1499
+ export declare const INVITATION_DATA_TO_INCLUDE: {
1500
+ creator: {
1501
+ select: {
1502
+ id: true;
1503
+ username: true;
1504
+ email: true;
1505
+ givenName: true;
1506
+ familyName: true;
1507
+ image: true;
1508
+ uploadedImage: true;
1509
+ isSuperUser: true;
1510
+ socialMediaProfiles: true;
1511
+ city: true;
1512
+ state: true;
1513
+ createdOn: true;
1514
+ dob: true;
1515
+ gender: true;
1516
+ sex: true;
1517
+ documentIDId: true;
1518
+ reviews: true;
1519
+ contacts: true;
1520
+ accepted: true;
1521
+ boughtTicket: true;
1522
+ noPay: true;
1523
+ supportedEvent: true;
1524
+ aboutMe: true;
1525
+ levelBadge: true;
1526
+ temporaryBadges: true;
1527
+ };
1528
+ };
1529
+ sentTo: {
1530
+ select: {
1531
+ id: true;
1532
+ username: true;
1533
+ email: true;
1534
+ givenName: true;
1535
+ familyName: true;
1536
+ image: true;
1537
+ uploadedImage: true;
1538
+ isSuperUser: true;
1539
+ socialMediaProfiles: true;
1540
+ city: true;
1541
+ state: true;
1542
+ createdOn: true;
1543
+ dob: true;
1544
+ gender: true;
1545
+ sex: true;
1546
+ documentIDId: true;
1547
+ reviews: true;
1548
+ contacts: true;
1549
+ accepted: true;
1550
+ boughtTicket: true;
1551
+ noPay: true;
1552
+ supportedEvent: true;
1553
+ aboutMe: true;
1554
+ levelBadge: true;
1555
+ temporaryBadges: true;
1556
+ };
1557
+ };
1558
+ tickets: true;
1559
+ };
1560
+ export interface InvitationExtraData extends Invitation {
1561
+ isFreeGuest: boolean;
1562
+ isOrganizer?: boolean;
1563
+ isOwnershipTransfer?: boolean;
1564
+ }
1565
+ export interface AssociatedBashExt extends AssociatedBash {
1566
+ bashEvent: BashEventExt;
1567
+ invitation?: Partial<InvitationExt>;
1568
+ }
1569
+ export interface AssociatedServiceExt extends AssociatedService {
1570
+ service: ServiceExt;
1571
+ }
1572
+ export declare const ASSOCIATED_BASH_DATA_TO_INCLUDE: {
1573
+ bashEvent: {
1574
+ include: {
1575
+ creator: {
1576
+ select: {
1577
+ id: true;
1578
+ username: true;
1579
+ email: true;
1580
+ givenName: true;
1581
+ familyName: true;
1582
+ image: true;
1583
+ uploadedImage: true;
1584
+ isSuperUser: true;
1585
+ socialMediaProfiles: true;
1586
+ city: true;
1587
+ state: true;
1588
+ createdOn: true;
1589
+ dob: true;
1590
+ gender: true;
1591
+ sex: true;
1592
+ documentIDId: true;
1593
+ reviews: true;
1594
+ contacts: true;
1595
+ accepted: true;
1596
+ boughtTicket: true;
1597
+ noPay: true;
1598
+ supportedEvent: true;
1599
+ aboutMe: true;
1600
+ levelBadge: true;
1601
+ temporaryBadges: true;
1602
+ };
1603
+ };
1604
+ targetAudience: true;
1605
+ amountOfGuests: true;
1606
+ recurrence: true;
1607
+ ticketTiers: true;
1608
+ media: true;
1609
+ eventTasks: true;
1610
+ invitations: true;
1611
+ };
1612
+ };
1613
+ invitation: {
1614
+ include: {
1615
+ creator: {
1616
+ select: {
1617
+ id: true;
1618
+ username: true;
1619
+ email: true;
1620
+ givenName: true;
1621
+ familyName: true;
1622
+ image: true;
1623
+ uploadedImage: true;
1624
+ isSuperUser: true;
1625
+ socialMediaProfiles: true;
1626
+ city: true;
1627
+ state: true;
1628
+ createdOn: true;
1629
+ dob: true;
1630
+ gender: true;
1631
+ sex: true;
1632
+ documentIDId: true;
1633
+ reviews: true;
1634
+ contacts: true;
1635
+ accepted: true;
1636
+ boughtTicket: true;
1637
+ noPay: true;
1638
+ supportedEvent: true;
1639
+ aboutMe: true;
1640
+ levelBadge: true;
1641
+ temporaryBadges: true;
1642
+ };
1643
+ };
1644
+ sentTo: {
1645
+ select: {
1646
+ id: true;
1647
+ username: true;
1648
+ email: true;
1649
+ givenName: true;
1650
+ familyName: true;
1651
+ image: true;
1652
+ uploadedImage: true;
1653
+ isSuperUser: true;
1654
+ socialMediaProfiles: true;
1655
+ city: true;
1656
+ state: true;
1657
+ createdOn: true;
1658
+ dob: true;
1659
+ gender: true;
1660
+ sex: true;
1661
+ documentIDId: true;
1662
+ reviews: true;
1663
+ contacts: true;
1664
+ accepted: true;
1665
+ boughtTicket: true;
1666
+ noPay: true;
1667
+ supportedEvent: true;
1668
+ aboutMe: true;
1669
+ levelBadge: true;
1670
+ temporaryBadges: true;
1671
+ };
1672
+ };
1673
+ tickets: true;
1674
+ };
1675
+ };
1676
+ };
1677
+ export declare const ASSOCIATED_SERVICE_DATA_TO_INCLUDE: {
1678
+ service: {
1679
+ include: {
1680
+ creator: {
1681
+ select: {
1682
+ id: true;
1683
+ username: true;
1684
+ email: true;
1685
+ givenName: true;
1686
+ familyName: true;
1687
+ image: true;
1688
+ uploadedImage: true;
1689
+ isSuperUser: true;
1690
+ socialMediaProfiles: true;
1691
+ city: true;
1692
+ state: true;
1693
+ createdOn: true;
1694
+ dob: true;
1695
+ gender: true;
1696
+ sex: true;
1697
+ documentIDId: true;
1698
+ reviews: true;
1699
+ contacts: true;
1700
+ accepted: true;
1701
+ boughtTicket: true;
1702
+ noPay: true;
1703
+ supportedEvent: true;
1704
+ aboutMe: true;
1705
+ levelBadge: true;
1706
+ temporaryBadges: true;
1707
+ };
1708
+ };
1709
+ owner: {
1710
+ select: {
1711
+ id: true;
1712
+ username: true;
1713
+ email: true;
1714
+ givenName: true;
1715
+ familyName: true;
1716
+ image: true;
1717
+ uploadedImage: true;
1718
+ isSuperUser: true;
1719
+ socialMediaProfiles: true;
1720
+ city: true;
1721
+ state: true;
1722
+ createdOn: true;
1723
+ dob: true;
1724
+ gender: true;
1725
+ sex: true;
1726
+ documentIDId: true;
1727
+ reviews: true;
1728
+ contacts: true;
1729
+ accepted: true;
1730
+ boughtTicket: true;
1731
+ noPay: true;
1732
+ supportedEvent: true;
1733
+ aboutMe: true;
1734
+ levelBadge: true;
1735
+ temporaryBadges: true;
1736
+ };
1737
+ };
1738
+ targetAudience: true;
1739
+ media: true;
1740
+ stripeAccount: {
1741
+ select: {
1742
+ logo: true;
1743
+ logoId: true;
1744
+ createdAt: true;
1745
+ updatedAt: true;
1746
+ };
1747
+ };
1748
+ serviceLinks: {
1749
+ include: {
1750
+ link: true;
1751
+ };
1752
+ };
1753
+ serviceRatesAssociation: {
1754
+ include: {
1755
+ serviceGeneralRates: true;
1756
+ serviceDailyRates: {
1757
+ include: {
1758
+ serviceRate: true;
1759
+ };
1760
+ };
1761
+ serviceSpecialRates: {
1762
+ include: {
1763
+ serviceRate: true;
1764
+ };
1765
+ };
1766
+ addons: true;
1767
+ packages: {
1768
+ include: {
1769
+ serviceAddons: true;
1770
+ };
1771
+ };
1772
+ media: true;
1773
+ };
1774
+ };
1775
+ bashEvent: {
1776
+ include: {
1777
+ creator: {
1778
+ select: {
1779
+ id: true;
1780
+ username: true;
1781
+ email: true;
1782
+ givenName: true;
1783
+ familyName: true;
1784
+ image: true;
1785
+ uploadedImage: true;
1786
+ isSuperUser: true;
1787
+ socialMediaProfiles: true;
1788
+ city: true;
1789
+ state: true;
1790
+ createdOn: true;
1791
+ dob: true;
1792
+ gender: true;
1793
+ sex: true;
1794
+ documentIDId: true;
1795
+ reviews: true;
1796
+ contacts: true;
1797
+ accepted: true;
1798
+ boughtTicket: true;
1799
+ noPay: true;
1800
+ supportedEvent: true;
1801
+ aboutMe: true;
1802
+ levelBadge: true;
1803
+ temporaryBadges: true;
1804
+ };
1805
+ };
1806
+ targetAudience: true;
1807
+ amountOfGuests: true;
1808
+ recurrence: true;
1809
+ ticketTiers: true;
1810
+ media: true;
1811
+ eventTasks: true;
1812
+ invitations: true;
1813
+ };
1814
+ };
1815
+ venue: {
1816
+ include: {};
1817
+ };
1818
+ eventService: {
1819
+ include: {
1820
+ crowdSize: true;
1821
+ serviceRange: true;
1822
+ formatOptions: true;
1823
+ };
1824
+ };
1825
+ entertainmentService: {
1826
+ include: {
1827
+ crowdSize: true;
1828
+ serviceRange: true;
1829
+ };
1830
+ };
1831
+ vendor: {
1832
+ include: {
1833
+ crowdSize: true;
1834
+ serviceRange: true;
1835
+ };
1836
+ };
1837
+ exhibitor: {
1838
+ include: {
1839
+ crowdSize: true;
1840
+ serviceRange: true;
1841
+ };
1842
+ };
1843
+ sponsor: {
1844
+ include: {
1845
+ crowdSize: true;
1846
+ serviceRange: true;
1847
+ };
1848
+ };
1849
+ };
1850
+ };
1851
+ };
1852
+ export interface TicketTierExt extends TicketTier {
1853
+ bashEvent: BashEvent;
1854
+ tickets: TicketExt[];
1855
+ promoCodes: BashEventPromoCode[];
1856
+ }
1857
+ export interface TicketExt extends Ticket {
1858
+ owner: PublicUser;
1859
+ forUser: PublicUser;
1860
+ checkout?: Checkout;
1861
+ transfers?: TicketTransfer[];
1862
+ metadata?: TicketMetadata[];
1863
+ }
1864
+ export interface CheckoutExt extends Checkout {
1865
+ owner: PublicUser;
1866
+ tickets: Ticket[];
1867
+ }
1868
+ export declare const CHECKOUT_DATA_TO_INCLUDE: {
1869
+ owner: {
1870
+ select: {
1871
+ id: true;
1872
+ username: true;
1873
+ email: true;
1874
+ givenName: true;
1875
+ familyName: true;
1876
+ image: true;
1877
+ uploadedImage: true;
1878
+ isSuperUser: true;
1879
+ socialMediaProfiles: true;
1880
+ city: true;
1881
+ state: true;
1882
+ createdOn: true;
1883
+ dob: true;
1884
+ gender: true;
1885
+ sex: true;
1886
+ documentIDId: true;
1887
+ reviews: true;
1888
+ contacts: true;
1889
+ accepted: true;
1890
+ boughtTicket: true;
1891
+ noPay: true;
1892
+ supportedEvent: true;
1893
+ aboutMe: true;
1894
+ levelBadge: true;
1895
+ temporaryBadges: true;
1896
+ };
1897
+ };
1898
+ tickets: {
1899
+ select: {
1900
+ ownerId: true;
1901
+ };
1902
+ };
1903
+ };
1904
+ export interface ReviewExt extends Review {
1905
+ comments?: BashComment[];
1906
+ }
1907
+ export declare const CONTACT_DATA_TO_INCLUDE: {
1908
+ contactOwner: {
1909
+ select: {
1910
+ id: true;
1911
+ username: true;
1912
+ email: true;
1913
+ givenName: true;
1914
+ familyName: true;
1915
+ image: true;
1916
+ uploadedImage: true;
1917
+ isSuperUser: true;
1918
+ socialMediaProfiles: true;
1919
+ city: true;
1920
+ state: true;
1921
+ createdOn: true;
1922
+ dob: true;
1923
+ gender: true;
1924
+ sex: true;
1925
+ documentIDId: true;
1926
+ reviews: true;
1927
+ contacts: true;
1928
+ accepted: true;
1929
+ boughtTicket: true;
1930
+ noPay: true;
1931
+ supportedEvent: true;
1932
+ aboutMe: true;
1933
+ levelBadge: true;
1934
+ temporaryBadges: true;
1935
+ };
1936
+ };
1937
+ };
1938
+ export interface UserExt extends User {
1939
+ services?: Service[] | null;
1940
+ preferences?: UserPreferences | null;
1941
+ stats?: UserStats | null;
1942
+ demerits?: Demerit[] | null;
1943
+ userSubscription?: UserSubscriptionExt | null;
1944
+ associatedBashes?: AssociatedBash[] | null;
1945
+ associatedServices?: AssociatedService[] | null;
1946
+ socialMediaProfiles?: SocialMediaProfile[] | null;
1947
+ socialMediaPlatforms?: SocialMediaPlatform[] | null;
1948
+ reviews?: ReviewExt[] | null;
1949
+ contacts?: Contact[] | null;
1950
+ ticketsIOwn?: TicketExt[] | null;
1951
+ ownedServices?: ServiceExt[];
1952
+ createdServices?: ServiceExt[];
1953
+ password?: string;
1954
+ otp?: string;
1955
+ }
1956
+ export declare const USER_DATA_SELECT_REVIEWS_COMMENTS: {
1957
+ reviews: {
1958
+ select: {
1959
+ id: true;
1960
+ rating: true;
1961
+ creatorId: true;
1962
+ bashEventId: true;
1963
+ createdAt: true;
1964
+ updatedAt: true;
1965
+ comments: {
1966
+ select: {
1967
+ id: true;
1968
+ content: true;
1969
+ };
1970
+ };
1971
+ };
1972
+ };
1973
+ };
1974
+ export type PublicUser = Pick<UserExt, keyof typeof FRONT_END_USER_DATA_TO_SELECT> & Partial<Pick<UserExt, keyof typeof USER_DATA_SELECT_REVIEWS_COMMENTS>>;
1975
+ export type PublicStripeAccount = Pick<StripeAccountExt, keyof typeof PUBLIC_STRIPE_ACCOUNT_DATA_TO_SELECT>;
1976
+ export declare const BLOG_POST_DATA_TO_INCLUDE: {
1977
+ author: {
1978
+ select: {
1979
+ id: true;
1980
+ username: true;
1981
+ email: true;
1982
+ givenName: true;
1983
+ familyName: true;
1984
+ image: true;
1985
+ uploadedImage: true;
1986
+ isSuperUser: true;
1987
+ socialMediaProfiles: true;
1988
+ city: true;
1989
+ state: true;
1990
+ createdOn: true;
1991
+ dob: true;
1992
+ gender: true;
1993
+ sex: true;
1994
+ documentIDId: true;
1995
+ reviews: true;
1996
+ contacts: true;
1997
+ accepted: true;
1998
+ boughtTicket: true;
1999
+ noPay: true;
2000
+ supportedEvent: true;
2001
+ aboutMe: true;
2002
+ levelBadge: true;
2003
+ temporaryBadges: true;
2004
+ };
2005
+ };
2006
+ category: true;
2007
+ tags: true;
2008
+ comments: {
2009
+ include: {
2010
+ author: {
2011
+ select: {
2012
+ id: true;
2013
+ username: true;
2014
+ email: true;
2015
+ givenName: true;
2016
+ familyName: true;
2017
+ image: true;
2018
+ uploadedImage: true;
2019
+ isSuperUser: true;
2020
+ socialMediaProfiles: true;
2021
+ city: true;
2022
+ state: true;
2023
+ createdOn: true;
2024
+ dob: true;
2025
+ gender: true;
2026
+ sex: true;
2027
+ documentIDId: true;
2028
+ reviews: true;
2029
+ contacts: true;
2030
+ accepted: true;
2031
+ boughtTicket: true;
2032
+ noPay: true;
2033
+ supportedEvent: true;
2034
+ aboutMe: true;
2035
+ levelBadge: true;
2036
+ temporaryBadges: true;
2037
+ };
2038
+ };
2039
+ replies: {
2040
+ include: {
2041
+ author: {
2042
+ select: {
2043
+ id: true;
2044
+ username: true;
2045
+ email: true;
2046
+ givenName: true;
2047
+ familyName: true;
2048
+ image: true;
2049
+ uploadedImage: true;
2050
+ isSuperUser: true;
2051
+ socialMediaProfiles: true;
2052
+ city: true;
2053
+ state: true;
2054
+ createdOn: true;
2055
+ dob: true;
2056
+ gender: true;
2057
+ sex: true;
2058
+ documentIDId: true;
2059
+ reviews: true;
2060
+ contacts: true;
2061
+ accepted: true;
2062
+ boughtTicket: true;
2063
+ noPay: true;
2064
+ supportedEvent: true;
2065
+ aboutMe: true;
2066
+ levelBadge: true;
2067
+ temporaryBadges: true;
2068
+ };
2069
+ };
2070
+ };
2071
+ };
2072
+ };
2073
+ where: {
2074
+ status: "Published";
2075
+ };
2076
+ orderBy: {
2077
+ createdAt: "desc";
2078
+ };
2079
+ };
2080
+ };
2081
+ export declare const BLOG_POST_PREVIEW_DATA_TO_INCLUDE: {
2082
+ author: {
2083
+ select: {
2084
+ id: true;
2085
+ username: true;
2086
+ email: true;
2087
+ givenName: true;
2088
+ familyName: true;
2089
+ image: true;
2090
+ uploadedImage: true;
2091
+ isSuperUser: true;
2092
+ socialMediaProfiles: true;
2093
+ city: true;
2094
+ state: true;
2095
+ createdOn: true;
2096
+ dob: true;
2097
+ gender: true;
2098
+ sex: true;
2099
+ documentIDId: true;
2100
+ reviews: true;
2101
+ contacts: true;
2102
+ accepted: true;
2103
+ boughtTicket: true;
2104
+ noPay: true;
2105
+ supportedEvent: true;
2106
+ aboutMe: true;
2107
+ levelBadge: true;
2108
+ temporaryBadges: true;
2109
+ };
2110
+ };
2111
+ category: true;
2112
+ tags: true;
2113
+ _count: {
2114
+ select: {
2115
+ comments: {
2116
+ where: {
2117
+ status: "Published";
2118
+ };
2119
+ };
2120
+ };
2121
+ };
2122
+ };
2123
+ export interface BlogPostExt extends BlogPost {
2124
+ author: PublicUser;
2125
+ category?: BlogCategory | null;
2126
+ tags: BlogTag[];
2127
+ comments?: BlogCommentExt[];
2128
+ _count?: {
2129
+ comments: number;
2130
+ };
2131
+ }
2132
+ export interface BlogCommentExt extends BlogComment {
2133
+ author: PublicUser;
2134
+ replies?: BlogCommentExt[];
2135
+ }
2136
+ export interface BlogCategoryExt extends BlogCategory {
2137
+ _count?: {
2138
+ posts: number;
2139
+ };
2140
+ }
2141
+ export interface BlogTagExt extends BlogTag {
2142
+ _count?: {
2143
+ posts: number;
2144
+ };
2145
+ }
2146
+ export interface BlogSearchParams {
2147
+ query?: string;
2148
+ category?: string;
2149
+ tag?: string;
2150
+ author?: string;
2151
+ status?: BlogStatus;
2152
+ page?: number;
2153
+ limit?: number;
2154
+ sortBy?: 'createdAt' | 'publishedAt' | 'viewCount' | 'title';
2155
+ sortOrder?: 'asc' | 'desc';
2156
+ }
2157
+ export interface BlogSearchResult {
2158
+ posts: BlogPostExt[];
2159
+ totalCount: number;
2160
+ totalPages: number;
2161
+ currentPage: number;
2162
+ categories: BlogCategoryExt[];
2163
+ tags: BlogTagExt[];
2164
+ }
2165
+ export interface BlogAnalytics {
2166
+ totalPosts: number;
2167
+ totalViews: number;
2168
+ totalComments: number;
2169
+ popularPosts: BlogPostExt[];
2170
+ popularCategories: BlogCategoryExt[];
2171
+ popularTags: BlogTagExt[];
2172
+ recentActivity: {
2173
+ date: string;
2174
+ views: number;
2175
+ comments: number;
2176
+ posts: number;
2177
+ }[];
2178
+ }
2179
+ export interface BlogPostFormData {
2180
+ title: string;
2181
+ slug?: string;
2182
+ excerpt?: string;
2183
+ content: string;
2184
+ coverImage?: string;
2185
+ metaTitle?: string;
2186
+ metaDescription?: string;
2187
+ metaKeywords: string[];
2188
+ categoryId?: string;
2189
+ tags: string[];
2190
+ status: BlogStatus;
2191
+ publishedAt?: Date;
2192
+ scheduledFor?: Date;
2193
+ }
2194
+ export interface BlogCategoryFormData {
2195
+ name: string;
2196
+ slug?: string;
2197
+ description?: string;
2198
+ color?: string;
2199
+ }
2200
+ export interface BlogTagFormData {
2201
+ name: string;
2202
+ slug?: string;
2203
+ color?: string;
2204
+ }
2205
+ export {};
2206
+ //# sourceMappingURL=extendedSchemas.d.ts.map