@bash-app/bash-common 29.67.0 → 29.69.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.
- package/package.json +3 -1
- package/prisma/schema.prisma +242 -80
- package/src/definitions.ts +228 -123
- package/src/extendedSchemas.ts +176 -105
- package/src/index.ts +11 -1
- package/src/utils/generalDateTimeUtils.ts +43 -0
- package/src/utils/luxonUtils.ts +906 -0
- package/src/utils/mathUtils.ts +3 -0
- package/src/utils/paymentUtils.ts +25 -10
- package/src/utils/service/attendeeOptionUtils.ts +19 -0
- package/src/utils/service/serviceBookingApiUtils.ts +259 -0
- package/src/utils/service/serviceBookingStatusUtils.ts +106 -0
- package/src/utils/service/serviceBookingUtils.ts +391 -0
- package/src/utils/service/serviceDBUtils.ts +51 -0
- package/src/utils/service/serviceRateDBUtils.ts +179 -0
- package/src/utils/service/serviceRateUtils.ts +350 -0
- package/src/utils/service/serviceUtils.ts +35 -0
- package/src/utils/stringUtils.ts +8 -0
- package/src/utils/typeUtils.ts +16 -0
- package/src/utils/urlUtils.ts +64 -5
- package/tsconfig.json +2 -2
package/src/definitions.ts
CHANGED
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
Contact,
|
|
6
6
|
DayOfWeek,
|
|
7
7
|
Prisma,
|
|
8
|
+
ServiceBookingAddOn,
|
|
9
|
+
ServiceBookingDay,
|
|
8
10
|
// Rate,
|
|
9
11
|
ServiceTypes,
|
|
10
12
|
Ticket,
|
|
@@ -19,61 +21,22 @@ import {
|
|
|
19
21
|
PublicUser,
|
|
20
22
|
VolunteerServiceExt,
|
|
21
23
|
BashEventExt,
|
|
24
|
+
ServiceBookingExt,
|
|
22
25
|
} from "./extendedSchemas";
|
|
23
26
|
import { ServiceSubscriptionTier } from "./utils/userSubscriptionUtils";
|
|
27
|
+
import {
|
|
28
|
+
ServiceAddonInput,
|
|
29
|
+
ServiceGetPriceToBookResult,
|
|
30
|
+
} from "./utils/service/serviceBookingUtils";
|
|
31
|
+
import { LuxonDateRange } from "./utils/luxonUtils";
|
|
32
|
+
import { ServiceCantBookReason } from "./utils/service/serviceBookingApiUtils";
|
|
33
|
+
import { urlAppendQueryParam } from "./utils/urlUtils";
|
|
34
|
+
import { ServiceAttendeeOption } from "./utils/service/attendeeOptionUtils";
|
|
24
35
|
|
|
25
36
|
export const PASSWORD_MIN_LENGTH = 8 as const;
|
|
26
37
|
export const PASSWORD_REQUIREMENTS_REGEX = new RegExp(
|
|
27
38
|
String.raw`^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&^#])[A-Za-z\d@$!%*?&^#]{${PASSWORD_MIN_LENGTH},}$`
|
|
28
39
|
);
|
|
29
|
-
export const BASH_FEE_PERCENTAGE = 0.1;
|
|
30
|
-
export const GOOGLE_CALLBACK_URL = "/auth/google/callback" as const;
|
|
31
|
-
export const CHECKOUT_RETURN_SUCCESS_URL =
|
|
32
|
-
`/checkout-return/success/{CHECKOUT_SESSION_ID}` as const;
|
|
33
|
-
export const CHECKOUT_RETURN_CANCEL_URL =
|
|
34
|
-
`/checkout-return/cancel/{CHECKOUT_SESSION_ID}` as const;
|
|
35
|
-
export const CHECKOUT_RETURN_SUCCESS_URL_PAGE =
|
|
36
|
-
"/checkout-return/success/$checkoutSessionId" as const;
|
|
37
|
-
export const CHECKOUT_RETURN_CANCEL_URL_PAGE =
|
|
38
|
-
"/checkout-return/cancel/$checkoutSessionId" as const;
|
|
39
|
-
export const DONATION_CHECKOUT_RETURN_SUCCESS_URL =
|
|
40
|
-
`/donation-checkout-return/success/{CHECKOUT_SESSION_ID}` as const;
|
|
41
|
-
export const DONATION_CHECKOUT_RETURN_CANCEL_URL =
|
|
42
|
-
`/donation-checkout-return/cancel/{CHECKOUT_SESSION_ID}` as const;
|
|
43
|
-
export const DONATION_CHECKOUT_RETURN_SUCCESS_URL_PAGE =
|
|
44
|
-
"/donation-checkout-return/success/$checkoutSessionId" as const;
|
|
45
|
-
export const DONATION_CHECKOUT_RETURN_CANCEL_URL_PAGE =
|
|
46
|
-
"/donation-checkout-return/cancel/$checkoutSessionId" as const;
|
|
47
|
-
export const VERIFICATION_RETURN_URL = `/sign-up` as const;
|
|
48
|
-
export const MY_SERVICES_URL = "/my-services" as const;
|
|
49
|
-
export const BASH_DETAIL_URL = `/bash-detail` as const;
|
|
50
|
-
export const SERVICE_PAGE_URL = `/service-page` as const;
|
|
51
|
-
export const LOGIN_URL = `/login` as const;
|
|
52
|
-
export const TICKET_DETAILS = `/ticket-details` as const;
|
|
53
|
-
|
|
54
|
-
export const SWR_KEY_AUTH_TOKEN = "auth-token" as const;
|
|
55
|
-
|
|
56
|
-
export const PRICE_DOLLARS_AND_CENTS_RATIO = 100 as const;
|
|
57
|
-
|
|
58
|
-
export const MIN_AMOUNT_OF_TICKETS_FOR_PUBLIC_EVENT_TO_SHOW = 0 as const;
|
|
59
|
-
export const DEFAULT_MAX_NUMBER_OF_TICKETS = 35 as const;
|
|
60
|
-
export const MIN_NUMBER_OF_TICKETS = 0 as const;
|
|
61
|
-
|
|
62
|
-
export const MAX_NUMBER_OF_FREE_TICKETS_PER_USER_FOR_A_BASH_EVENT =
|
|
63
|
-
100 as const;
|
|
64
|
-
export const MAX_NUMBER_OF_TICKETS_PER_REQUEST_FOR_A_BASH_EVENT = 50 as const;
|
|
65
|
-
|
|
66
|
-
export const MONTHS_PREVIOUS_THAT_STRIPE_ACCOUNTS_WILL_BE_SEARCHED_BY_EMAIL =
|
|
67
|
-
1 as const;
|
|
68
|
-
|
|
69
|
-
export const HTTP_CODE_OK = 200 as const;
|
|
70
|
-
export const HTTP_CODE_TEMPORARY_REDIRECT = 307 as const;
|
|
71
|
-
export const HTTP_CODE_INTERNAL_SERVER_ERR = 500 as const;
|
|
72
|
-
export const HTTP_CODE_BAD_REQUEST = 400 as const;
|
|
73
|
-
export const HTTP_CODE_UNAUTHORIZED = 401 as const;
|
|
74
|
-
export const HTTP_CODE_NOT_FOUND = 404 as const;
|
|
75
|
-
export const ERR_UNAUTHORIZED_REQUEST =
|
|
76
|
-
"Unauthorized to perform requested action. Have you logged in?" as const;
|
|
77
40
|
|
|
78
41
|
export const URL_PARAMS_BASH_EVENT_ID = "bashEventId" as const;
|
|
79
42
|
export const URL_PARAMS_BASH_EVENT_TITLE = "bashEventTitle" as const;
|
|
@@ -130,6 +93,85 @@ export const URL_PARAMS_TICKETS_DATE_DELIM = ";;" as const;
|
|
|
130
93
|
export const URL_INCLUDE_QUERY_PARAM_DELIM = "," as const;
|
|
131
94
|
export const URL_INCLUDE_PRISMA_DATA_KEYS_DELIM = "." as const;
|
|
132
95
|
|
|
96
|
+
export const BASH_FEE_PERCENTAGE = 0.1;
|
|
97
|
+
export const GOOGLE_CALLBACK_URL = "/auth/google/callback" as const;
|
|
98
|
+
export const CHECKOUT_RETURN_SUCCESS_URL =
|
|
99
|
+
`/checkout-return/success/{CHECKOUT_SESSION_ID}` as const;
|
|
100
|
+
export const CHECKOUT_RETURN_CANCEL_URL =
|
|
101
|
+
`/checkout-return/cancel/{CHECKOUT_SESSION_ID}` as const;
|
|
102
|
+
export const CHECKOUT_RETURN_SUCCESS_URL_PAGE =
|
|
103
|
+
"/checkout-return/success/$checkoutSessionId" as const;
|
|
104
|
+
export const CHECKOUT_RETURN_CANCEL_URL_PAGE =
|
|
105
|
+
"/checkout-return/cancel/$checkoutSessionId" as const;
|
|
106
|
+
export const DONATION_CHECKOUT_RETURN_SUCCESS_URL =
|
|
107
|
+
`/donation-checkout-return/success/{CHECKOUT_SESSION_ID}` as const;
|
|
108
|
+
export const DONATION_CHECKOUT_RETURN_CANCEL_URL =
|
|
109
|
+
`/donation-checkout-return/cancel/{CHECKOUT_SESSION_ID}` as const;
|
|
110
|
+
export const DONATION_CHECKOUT_RETURN_SUCCESS_URL_PAGE =
|
|
111
|
+
"/donation-checkout-return/success/$checkoutSessionId" as const;
|
|
112
|
+
export const DONATION_CHECKOUT_RETURN_CANCEL_URL_PAGE =
|
|
113
|
+
"/donation-checkout-return/cancel/$checkoutSessionId" as const;
|
|
114
|
+
|
|
115
|
+
// export const SERVICE_BOOKING_CHECKOUT_RETURN_SUCCESS_URL = urlAppendQueryParam(
|
|
116
|
+
// `/service/{SERVICE_ID}/booking/{BOOKING_ID}/checkout-return/{CHECKOUT_SESSION_ID}`,
|
|
117
|
+
// [
|
|
118
|
+
// {
|
|
119
|
+
// key: URL_PARAMS_STRIPE_CHECKOUT,
|
|
120
|
+
// value: URL_PARAMS_STRIPE_CHECKOUT_OPTIONS.complete,
|
|
121
|
+
// },
|
|
122
|
+
// ]
|
|
123
|
+
// );
|
|
124
|
+
// export const SERVICE_BOOKING_CHECKOUT_RETURN_CANCEL_URL = urlAppendQueryParam(
|
|
125
|
+
// `/service/{SERVICE_ID}/booking/{BOOKING_ID}/checkout-return/{CHECKOUT_SESSION_ID}`,
|
|
126
|
+
// [
|
|
127
|
+
// {
|
|
128
|
+
// key: URL_PARAMS_STRIPE_CHECKOUT,
|
|
129
|
+
// value: URL_PARAMS_STRIPE_CHECKOUT_OPTIONS.incomplete,
|
|
130
|
+
// },
|
|
131
|
+
// ]
|
|
132
|
+
// );
|
|
133
|
+
|
|
134
|
+
export const SERVICE_BOOKING_CHECKOUT_RETURN_SUCCESS_URL =
|
|
135
|
+
"/service/${SERVICE_ID}/booking/${BOOKING_ID}/checkout-return/success/{CHECKOUT_SESSION_ID}" as const; //CHECKOUT_SESSION_ID filled by stripe
|
|
136
|
+
export const SERVICE_BOOKING_CHECKOUT_RETURN_CANCEL_URL =
|
|
137
|
+
"/service/${SERVICE_ID}/booking/${BOOKING_ID}/checkout-return/cancel/{CHECKOUT_SESSION_ID}" as const;
|
|
138
|
+
|
|
139
|
+
export const SERVICE_BOOKING_CHECKOUT_RETURN_SUCCESS_URL_PAGE =
|
|
140
|
+
"/service/:serviceId/booking/:bookingId/checkout-return/success/:checkoutSessionId" as const;
|
|
141
|
+
export const SERVICE_BOOKING_CHECKOUT_RETURN_CANCEL_URL_PAGE =
|
|
142
|
+
"/service/:serviceId/booking/:bookingId/checkout-return/cancel/:checkoutSessionId" as const;
|
|
143
|
+
|
|
144
|
+
export const VERIFICATION_RETURN_URL = `/sign-up` as const;
|
|
145
|
+
export const MY_SERVICES_URL = "/my-services" as const;
|
|
146
|
+
export const BASH_DETAIL_URL = `/bash-detail` as const;
|
|
147
|
+
export const SERVICE_PAGE_URL = `/service-page` as const;
|
|
148
|
+
export const LOGIN_URL = `/login` as const;
|
|
149
|
+
export const TICKET_DETAILS = `/ticket-details` as const;
|
|
150
|
+
|
|
151
|
+
export const SWR_KEY_AUTH_TOKEN = "auth-token" as const;
|
|
152
|
+
|
|
153
|
+
export const PRICE_DOLLARS_AND_CENTS_RATIO = 100 as const;
|
|
154
|
+
|
|
155
|
+
export const MIN_AMOUNT_OF_TICKETS_FOR_PUBLIC_EVENT_TO_SHOW = 0 as const;
|
|
156
|
+
export const DEFAULT_MAX_NUMBER_OF_TICKETS = 35 as const;
|
|
157
|
+
export const MIN_NUMBER_OF_TICKETS = 0 as const;
|
|
158
|
+
|
|
159
|
+
export const MAX_NUMBER_OF_FREE_TICKETS_PER_USER_FOR_A_BASH_EVENT =
|
|
160
|
+
100 as const;
|
|
161
|
+
export const MAX_NUMBER_OF_TICKETS_PER_REQUEST_FOR_A_BASH_EVENT = 50 as const;
|
|
162
|
+
|
|
163
|
+
export const MONTHS_PREVIOUS_THAT_STRIPE_ACCOUNTS_WILL_BE_SEARCHED_BY_EMAIL =
|
|
164
|
+
1 as const;
|
|
165
|
+
|
|
166
|
+
export const HTTP_CODE_OK = 200 as const;
|
|
167
|
+
export const HTTP_CODE_TEMPORARY_REDIRECT = 307 as const;
|
|
168
|
+
export const HTTP_CODE_INTERNAL_SERVER_ERR = 500 as const;
|
|
169
|
+
export const HTTP_CODE_BAD_REQUEST = 400 as const;
|
|
170
|
+
export const HTTP_CODE_UNAUTHORIZED = 401 as const;
|
|
171
|
+
export const HTTP_CODE_NOT_FOUND = 404 as const;
|
|
172
|
+
export const ERR_UNAUTHORIZED_REQUEST =
|
|
173
|
+
"Unauthorized to perform requested action. Have you logged in?" as const;
|
|
174
|
+
|
|
133
175
|
export const DEFAULT_PRISMA_TTL_SECONDS = 60 as const;
|
|
134
176
|
export const PRISMA_MEDIA_TTL_SECONDS = 60 * 5; // 5 hours
|
|
135
177
|
export const PRISMA_USER_TTL_SECONDS = 60 * 7; // 7 hours
|
|
@@ -181,7 +223,6 @@ export type RequiredStripeInfoMissingErrorDataType = {
|
|
|
181
223
|
};
|
|
182
224
|
export type ContactOrUser = Contact | PublicUser;
|
|
183
225
|
|
|
184
|
-
export type UnionFromArray<T extends ReadonlyArray<any>> = T[number];
|
|
185
226
|
export type ValueOf<T> = T[keyof T];
|
|
186
227
|
|
|
187
228
|
export type FilterFields = {
|
|
@@ -201,6 +242,72 @@ export type TicketTierWherePriceIsAString = Omit<TicketTier, "price"> & {
|
|
|
201
242
|
price: string;
|
|
202
243
|
} & { cannotDelete: boolean };
|
|
203
244
|
|
|
245
|
+
export type ServiceAddonApiParams = {
|
|
246
|
+
addonId: string;
|
|
247
|
+
chosenQuantity: number;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export type ServiceBookedDayApiParams = {
|
|
251
|
+
serviceId: string;
|
|
252
|
+
forUserId: string;
|
|
253
|
+
|
|
254
|
+
startDate: string;
|
|
255
|
+
endDate: string;
|
|
256
|
+
addOns: ServiceAddonApiParams[];
|
|
257
|
+
|
|
258
|
+
isFreeGuest?: boolean;
|
|
259
|
+
allowPromiseToPay?: boolean;
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
export type ServiceBookedDayApiParamsLuxon = Omit<
|
|
263
|
+
ServiceBookedDayApiParams,
|
|
264
|
+
"startDate" | "endDate"
|
|
265
|
+
> & {
|
|
266
|
+
dateTimeRange: LuxonDateRange;
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
export type ServiceBookingApiParamsLuxon = Omit<
|
|
270
|
+
ServiceBookingApiParams,
|
|
271
|
+
"bookedDays"
|
|
272
|
+
> & {
|
|
273
|
+
bookedDays: ServiceBookedDayApiParamsLuxon[];
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export type ServiceBookingApiParams = {
|
|
277
|
+
serviceId: string;
|
|
278
|
+
bookedDays: ServiceBookedDayApiParams[];
|
|
279
|
+
timezone: string;
|
|
280
|
+
attendeeOption: ServiceAttendeeOption;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export type ServiceCanBookApiParams = {} & ServiceBookingApiParams;
|
|
284
|
+
|
|
285
|
+
export type ServicePriceToBookApiParams = {
|
|
286
|
+
// stripeAccountDBId: string;
|
|
287
|
+
} & ServiceBookingApiParams;
|
|
288
|
+
|
|
289
|
+
export type ServicePriceToBookApiResult = {
|
|
290
|
+
// taxes: number;
|
|
291
|
+
// totalAfterTaxes: number;
|
|
292
|
+
// currency: string;
|
|
293
|
+
} & ServiceGetPriceToBookResult;
|
|
294
|
+
|
|
295
|
+
// export type ServiceBookingApiResult = {
|
|
296
|
+
// serviceId: string;
|
|
297
|
+
// bookedDays: ServiceBookingDay[];
|
|
298
|
+
// };
|
|
299
|
+
|
|
300
|
+
export type ServiceCanBookApiResult = {
|
|
301
|
+
canBook: boolean;
|
|
302
|
+
reason?: ServiceCantBookReason;
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
export type ServiceBookingApiResult = {
|
|
306
|
+
canBook: ServiceCanBookApiResult;
|
|
307
|
+
priceToBook: ServiceGetPriceToBookResult;
|
|
308
|
+
booking?: ServiceBookingExt;
|
|
309
|
+
};
|
|
310
|
+
|
|
204
311
|
export interface DeletedAndHiddenTiers {
|
|
205
312
|
deletedTiers: TicketTier[];
|
|
206
313
|
hiddenTiers: TicketTier[];
|
|
@@ -313,6 +420,7 @@ export enum ApiErrorType {
|
|
|
313
420
|
UserExceededMaxTicketNumberForOneRequest,
|
|
314
421
|
UserDoesNotExist,
|
|
315
422
|
StripeCreateCheckoutSessionFailed,
|
|
423
|
+
StripeCreateRefundFailed,
|
|
316
424
|
StripeUserInfoIncomplete,
|
|
317
425
|
TicketsAlreadyPurchasedUsingThisCheckoutSession,
|
|
318
426
|
StripeAccountHasNotSetupTaxData,
|
|
@@ -377,9 +485,15 @@ export interface StripeCreateBashEventDonationCheckoutSessionArgs {
|
|
|
377
485
|
}
|
|
378
486
|
|
|
379
487
|
export interface StripeCreateSetupPaymentMethodSessionArgs {
|
|
380
|
-
currency: string;
|
|
381
|
-
successUrl: string;
|
|
382
|
-
cancelUrl: string;
|
|
488
|
+
// currency: string;
|
|
489
|
+
// successUrl: string;
|
|
490
|
+
// cancelUrl: string;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export interface StripeCreatePayForBookingSessionArgs {
|
|
494
|
+
// currency: string;
|
|
495
|
+
// successUrl: string;
|
|
496
|
+
// cancelUrl: string;
|
|
383
497
|
}
|
|
384
498
|
|
|
385
499
|
export interface StripeSetDefaultPaymentMethodArgs {
|
|
@@ -537,28 +651,6 @@ export const DressTagsToString: { [key in BashEventDressTags]: string } = {
|
|
|
537
651
|
// [ServicesTags.AwardRecipient]: "Award recipient"
|
|
538
652
|
// }
|
|
539
653
|
|
|
540
|
-
export type DayOfWeekIdx = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
541
|
-
|
|
542
|
-
export const DayOfWeekToString: { [key in DayOfWeek]: string } = {
|
|
543
|
-
[DayOfWeek.Sunday]: "S",
|
|
544
|
-
[DayOfWeek.Monday]: "M",
|
|
545
|
-
[DayOfWeek.Tuesday]: "T",
|
|
546
|
-
[DayOfWeek.Wednesday]: "W",
|
|
547
|
-
[DayOfWeek.Thursday]: "T",
|
|
548
|
-
[DayOfWeek.Friday]: "F",
|
|
549
|
-
[DayOfWeek.Saturday]: "S",
|
|
550
|
-
};
|
|
551
|
-
|
|
552
|
-
export const DayOfWeekToIdx: { [key in DayOfWeek]: DayOfWeekIdx } = {
|
|
553
|
-
[DayOfWeek.Sunday]: 1,
|
|
554
|
-
[DayOfWeek.Monday]: 2,
|
|
555
|
-
[DayOfWeek.Tuesday]: 3,
|
|
556
|
-
[DayOfWeek.Wednesday]: 4,
|
|
557
|
-
[DayOfWeek.Thursday]: 5,
|
|
558
|
-
[DayOfWeek.Friday]: 6,
|
|
559
|
-
[DayOfWeek.Saturday]: 7,
|
|
560
|
-
};
|
|
561
|
-
|
|
562
654
|
export const YearsOfExperienceToString: { [key in YearsOfExperience]: string } =
|
|
563
655
|
{
|
|
564
656
|
[YearsOfExperience.LessThanOneYear]: "Less than one year",
|
|
@@ -575,118 +667,131 @@ export const BashEventTypeToString: BashEventTypeToStringType = {
|
|
|
575
667
|
[BashEventType.AnimeAndCosplayFestival]: "Anime and Cosplay Festival",
|
|
576
668
|
[BashEventType.AnniversaryCelebration]: "Anniversary Celebration",
|
|
577
669
|
[BashEventType.ArtExhibitOpening]: "Art Exhibit Opening",
|
|
578
|
-
[BashEventType.ArtAndCraftNight]: "Art and Craft Night",
|
|
579
|
-
[BashEventType.BBQCookout]: "BBQ Cookout",
|
|
580
|
-
[BashEventType.BabyShower]: "Baby Shower",
|
|
581
670
|
[BashEventType.BachelorOrBacheloretteParty]: "Bachelor/Bachelorette Party",
|
|
582
671
|
[BashEventType.BeachParty]: "Beach Party",
|
|
583
|
-
[BashEventType.Birthday]: "Birthday",
|
|
584
672
|
[BashEventType.BoatPartyOrCruise]: "Boat Party or Cruise",
|
|
585
|
-
[BashEventType.Bonfire]: "Bonfire",
|
|
586
|
-
[BashEventType.BookClubMeeting]: "Book Club Meeting",
|
|
587
|
-
[BashEventType.BridalShower]: "Bridal Shower",
|
|
588
|
-
[BashEventType.BrunchGathering]: "Brunch Gathering",
|
|
589
673
|
[BashEventType.CarShow]: "Car Show",
|
|
590
674
|
[BashEventType.CarnivalAndFair]: "Carnival and Fair",
|
|
591
675
|
[BashEventType.CasinoNight]: "Casino Night",
|
|
592
676
|
[BashEventType.CasualMixer]: "Casual Mixer",
|
|
593
|
-
[BashEventType.CharityBall]: "Charity Ball",
|
|
594
|
-
[BashEventType.CharityFundraiser]: "Charity Fundraiser",
|
|
595
677
|
[BashEventType.ChristmasParty]: "Christmas Party",
|
|
596
|
-
[BashEventType.
|
|
678
|
+
[BashEventType.CharityGala]: "Charity Gala",
|
|
597
679
|
[BashEventType.CircusOrCarnivalParty]: "Circus/Carnival Party",
|
|
598
|
-
[BashEventType.CocktailParty]: "Cocktail Party",
|
|
599
680
|
[BashEventType.CollegeParty_FraternityOrSorority]:
|
|
600
681
|
"College Party (Fraternity/Sorority)",
|
|
601
682
|
[BashEventType.ComedyShowOrStandUpComedyNight]:
|
|
602
683
|
"Comedy Show Or Stand-Up Comedy Night",
|
|
603
684
|
[BashEventType.ComicConvention]: "Comic Convention",
|
|
685
|
+
[BashEventType.CommunityMovieNight]: "Community Movie Night",
|
|
604
686
|
[BashEventType.Competition]: "Competition",
|
|
605
687
|
[BashEventType.Concert]: "Concert",
|
|
606
688
|
[BashEventType.CookingCompetition]: "Cooking Competition",
|
|
607
689
|
[BashEventType.CorporateEventOrOfficeParty]: "Corporate Event/Office Party",
|
|
608
|
-
[BashEventType.CostumeParty_Theme_Based]: "Costume Party (Theme-Based)",
|
|
609
690
|
[BashEventType.CulturalFestival]: "Cultural Festival",
|
|
610
691
|
[BashEventType.DanceParty]: "Dance Party",
|
|
692
|
+
[BashEventType.ESportsGamingTournament]: "E-sports Gaming Tournament",
|
|
693
|
+
[BashEventType.LuxuryRetreat]: "Luxury Retreat",
|
|
694
|
+
[BashEventType.FashionShow]: "Fashion Show",
|
|
695
|
+
[BashEventType.Festival]: "Festival",
|
|
696
|
+
[BashEventType.FestivalFilm]: "Film Festival",
|
|
697
|
+
[BashEventType.FestivalFood]: "Food Festival",
|
|
698
|
+
[BashEventType.Fundraiser]: "Fundraiser",
|
|
699
|
+
[BashEventType.HalloweenParty]: "Halloween Party",
|
|
700
|
+
[BashEventType.HolidayParty]: "Holiday Party",
|
|
701
|
+
[BashEventType.HouseParty]: "House Party",
|
|
702
|
+
[BashEventType.KaraokeNight]: "Karaoke Night",
|
|
703
|
+
[BashEventType.MansionParty]: "Mansion Party",
|
|
704
|
+
[BashEventType.MardiGras]: "Mardi Gras",
|
|
705
|
+
[BashEventType.MasqueradeBall]: "Masquerade Ball",
|
|
706
|
+
[BashEventType.Mastermind]: "Mastermind",
|
|
707
|
+
[BashEventType.MoviePremiere]: "Movie Premiere",
|
|
708
|
+
[BashEventType.MusicFestival]: "Music Festival",
|
|
709
|
+
[BashEventType.NewYearsEveCelebration]: "New Year's Eve Celebration",
|
|
710
|
+
[BashEventType.OpenMicNight]: "Open Mic Night",
|
|
711
|
+
[BashEventType.OutdoorConcert]: "Outdoor Concert",
|
|
712
|
+
[BashEventType.Parade]: "Parade",
|
|
713
|
+
[BashEventType.Potluck]: "Potluck",
|
|
714
|
+
[BashEventType.PoolParty]: "Pool Party",
|
|
715
|
+
[BashEventType.ProductLaunch]: "Product Launch",
|
|
716
|
+
[BashEventType.ProfessionalNetworkingEvent]: "Professional Networking Event",
|
|
717
|
+
[BashEventType.Rave]: "Rave (EDM)",
|
|
718
|
+
[BashEventType.Reunion]: "Reunion",
|
|
719
|
+
[BashEventType.SchoolEvent]: "School Event",
|
|
720
|
+
[BashEventType.UniversityEvent]: "University Event",
|
|
721
|
+
[BashEventType.SportsTournament]: "Sports Tournament",
|
|
722
|
+
[BashEventType.PubCrawl]: "Pub Crawl",
|
|
723
|
+
[BashEventType.Tournament]: "Tournament",
|
|
724
|
+
[BashEventType.TradeShow]: "Trade Show",
|
|
725
|
+
[BashEventType.ValentinesDayParty]: "Valentine's Day Party",
|
|
726
|
+
[BashEventType.WeddingReception]: "Wedding Reception",
|
|
727
|
+
[BashEventType.WellnessFestival]: "Wellness Festival",
|
|
728
|
+
[BashEventType.WineTastingEvent]: "Wine Tasting Event",
|
|
729
|
+
[BashEventType.Other]: "Other",
|
|
730
|
+
[BashEventType.ExclusiveLuxuryRetreat]: "Exclusive Luxury Retreat",
|
|
731
|
+
[BashEventType.LaunchParty]: "Launch Party",
|
|
732
|
+
[BashEventType.ArtAndCraftNight]: "Art and Craft Night",
|
|
733
|
+
[BashEventType.BBQCookout]: "BBQ Cookout",
|
|
734
|
+
[BashEventType.BabyShower]: "Baby Shower",
|
|
735
|
+
[BashEventType.Birthday]: "Birthday",
|
|
736
|
+
[BashEventType.Bonfire]: "Bonfire",
|
|
737
|
+
[BashEventType.BookClubMeeting]: "Book Club Meeting",
|
|
738
|
+
[BashEventType.BridalShower]: "Bridal Shower",
|
|
739
|
+
[BashEventType.BrunchGathering]: "Brunch Gathering",
|
|
740
|
+
[BashEventType.CharityFundraiser]: "Charity Fundraiser",
|
|
741
|
+
[BashEventType.ChurchEvent]: "Church Event",
|
|
742
|
+
[BashEventType.CocktailParty]: "Cocktail Party",
|
|
743
|
+
[BashEventType.CostumeParty_Theme_Based]: "Theme-Based Costume Party",
|
|
611
744
|
[BashEventType.DesertRave]: "Desert Rave",
|
|
612
745
|
[BashEventType.DiscoNight]: "Disco Night",
|
|
613
746
|
[BashEventType.EasterGathering]: "Easter Gathering",
|
|
614
747
|
[BashEventType.EngagementParty]: "Engagement Party",
|
|
615
|
-
[BashEventType.ESportsGamingTournament]: "E-sports Gaming Tournament",
|
|
616
|
-
[BashEventType.ExclusiveLuxuryRetreat]: "Exclusive Luxury Retreat",
|
|
617
748
|
[BashEventType.FantasyThemedParty]: "Fantasy Themed Party",
|
|
618
|
-
[BashEventType.FashionShow]: "Fashion Show",
|
|
619
749
|
[BashEventType.Fireside]: "Fireside",
|
|
620
750
|
[BashEventType.FitnessFestival]: "Fitness Festival",
|
|
621
751
|
[BashEventType.FlashMob]: "Flash Mob",
|
|
622
|
-
[BashEventType.Festival]: "Festival",
|
|
623
|
-
[BashEventType.FestivalFilm]: "Film Festival",
|
|
624
|
-
[BashEventType.FestivalFood]: "Food Festival",
|
|
625
752
|
[BashEventType.FundraisingEvent]: "Fundraising Event",
|
|
626
753
|
[BashEventType.GalaDinner]: "Gala Dinner",
|
|
627
754
|
[BashEventType.GameNight]: "Game Night",
|
|
628
755
|
[BashEventType.GamingEvent]: "Gaming Event",
|
|
629
756
|
[BashEventType.GardenParty]: "Garden Party",
|
|
630
|
-
[BashEventType.GoingAwayPartyOrFarewell]: "Going
|
|
757
|
+
[BashEventType.GoingAwayPartyOrFarewell]: "Going Away Party/Farewell",
|
|
631
758
|
[BashEventType.GraduationParty]: "Graduation Party",
|
|
632
|
-
[BashEventType.HalloweenCostumeParty]: "Halloween Costume Party",
|
|
633
759
|
[BashEventType.HanukkahParty]: "Hanukkah Party",
|
|
634
760
|
[BashEventType.HistoricalEraParty]: "Historical Era Party",
|
|
635
|
-
[BashEventType.HolidayParty]: "Holiday Party",
|
|
636
|
-
[BashEventType.HouseParty]: "House Party",
|
|
637
761
|
[BashEventType.HousewarmingParty]: "Housewarming Party",
|
|
638
|
-
[BashEventType.KaraokeNight]: "Karaoke Night",
|
|
639
762
|
[BashEventType.KiteFlyingFestival]: "Kite Flying Festival",
|
|
640
763
|
[BashEventType.LiveBandPerformanceInALocalVenue]:
|
|
641
764
|
"Live Band Performance in a Local Venue",
|
|
642
765
|
[BashEventType.Luau]: "Luau",
|
|
643
|
-
[BashEventType.MansionParty]: "Mansion Party",
|
|
644
|
-
[BashEventType.MardiGras]: "Mardi Gras",
|
|
645
|
-
[BashEventType.MasqueradeBall]: "Masquerade Ball",
|
|
646
766
|
[BashEventType.MotorcycleRally]: "Motorcycle Rally",
|
|
647
767
|
[BashEventType.MovieNight]: "Movie Night",
|
|
648
|
-
[BashEventType.MoviePremiere]: "Movie Premiere",
|
|
649
|
-
[BashEventType.MusicFestival]: "Music Festival",
|
|
650
|
-
[BashEventType.NewYearsEveCelebration]: "New Year's Eve Celebration",
|
|
651
|
-
[BashEventType.OpenMicNight]: "Open Mic Night",
|
|
652
768
|
[BashEventType.OutdoorActivity]: "Outdoor Activity",
|
|
653
|
-
[BashEventType.OutdoorConcert]: "Outdoor Concert",
|
|
654
769
|
[BashEventType.OutdoorMovieNight_WithAProjector]:
|
|
655
|
-
"Outdoor Movie Night (With
|
|
656
|
-
[BashEventType.Parade]: "Parade",
|
|
770
|
+
"Outdoor Movie Night (With Projector)",
|
|
657
771
|
[BashEventType.Party]: "Party",
|
|
658
|
-
[BashEventType.
|
|
659
|
-
[BashEventType.Potluck]: "Potluck",
|
|
660
|
-
[BashEventType.PotluckVegan]: "Potluck (Vegan)",
|
|
772
|
+
[BashEventType.PotluckVegan]: "Vegan Potluck",
|
|
661
773
|
[BashEventType.PreParty]: "Pre-Party",
|
|
662
|
-
[BashEventType.ProductLaunch]: "Product Launch",
|
|
663
|
-
[BashEventType.ProfessionalNetworkingEvent]: "Professional Networking Event",
|
|
664
774
|
[BashEventType.Rave_General]: "Rave (General)",
|
|
665
775
|
[BashEventType.RetirementCelebration]: "Retirement Celebration",
|
|
666
776
|
[BashEventType.Reunion_FamilyOrSchoolOrFriends]:
|
|
667
777
|
"Reunion (Family/School/Friends)",
|
|
668
778
|
[BashEventType.SafariAdventureParty]: "Safari Adventure Party",
|
|
669
779
|
[BashEventType.SchoolEvent_MiddleSchoolOrHighSchoolOrCollege]:
|
|
670
|
-
"School Event (
|
|
671
|
-
[BashEventType.ScienceFictionThemedParty]: "Science Fiction
|
|
780
|
+
"School Event (Middle School/High School/College)",
|
|
781
|
+
[BashEventType.ScienceFictionThemedParty]: "Science Fiction Themed Party",
|
|
672
782
|
[BashEventType.SocialClubEvent]: "Social Club Event",
|
|
673
|
-
[BashEventType.SportsTournament]: "Sports Tournament",
|
|
674
783
|
[BashEventType.SportsWatchParty]: "Sports Watch Party",
|
|
675
784
|
[BashEventType.SuperheroThemedParty]: "Superhero Themed Party",
|
|
676
|
-
[BashEventType.SurfCompetition]: "Surf Competition",
|
|
677
785
|
[BashEventType.ThanksgivingDinner]: "Thanksgiving Dinner",
|
|
678
786
|
[BashEventType.ThemedCostumeParty]: "Themed Costume Party",
|
|
679
787
|
[BashEventType.ThemedDinnerParty]: "Themed Dinner Party",
|
|
680
788
|
[BashEventType.ThemedPubCrawl]: "Themed Pub Crawl",
|
|
681
|
-
[BashEventType.Tournament]: "Tournament",
|
|
682
789
|
[BashEventType.TravelAndTradeShow]: "Travel and Trade Show",
|
|
683
790
|
[BashEventType.TriviaNight]: "Trivia Night",
|
|
684
|
-
[BashEventType.ValentinesDayParty]: "Valentine's Day Party",
|
|
685
|
-
[BashEventType.WeddingReception]: "Wedding Reception",
|
|
686
791
|
[BashEventType.WelcomeHomeParty]: "Welcome Home Party",
|
|
687
|
-
[BashEventType.
|
|
688
|
-
[BashEventType.
|
|
689
|
-
[BashEventType.
|
|
792
|
+
[BashEventType.HalloweenCostumeParty]: "Halloween Costume Party",
|
|
793
|
+
[BashEventType.SurfCompetition]: "Surf Competition",
|
|
794
|
+
[BashEventType.CharityBall]: "Charity Ball",
|
|
690
795
|
};
|
|
691
796
|
|
|
692
797
|
export type RecordKey = string | number | symbol;
|