@bash-app/bash-common 30.424.0 → 30.425.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/dist/__tests__/agePolicy.test.js +6 -6
- package/dist/__tests__/agePolicy.test.js.map +1 -1
- package/dist/__tests__/bashEventCancellationPolicy.test.js +2 -2
- package/dist/__tests__/bashEventCancellationPolicy.test.js.map +1 -1
- package/dist/__tests__/bashSectionTitleForBashType.test.js +3 -3
- package/dist/__tests__/definitionsHelpers.test.js +1 -1
- package/dist/__tests__/definitionsHelpers.test.js.map +1 -1
- package/dist/__tests__/entertainmentNotableVenues.test.js +1 -1
- package/dist/__tests__/entertainmentNotableVenues.test.js.map +1 -1
- package/dist/__tests__/hostCrmCrowdPulse.test.js +1 -1
- package/dist/__tests__/hostCrmSegments.test.js +2 -2
- package/dist/__tests__/hostCrmSegments.test.js.map +1 -1
- package/dist/__tests__/hostPromoter.test.js +1 -1
- package/dist/__tests__/influencerAudience.test.js +1 -1
- package/dist/__tests__/influencerAudience.test.js.map +1 -1
- package/dist/__tests__/promoterCompetitionUtils.test.js +3 -3
- package/dist/__tests__/promoterCompetitionUtils.test.js.map +1 -1
- package/dist/__tests__/scenePulse.test.js +1 -1
- package/dist/__tests__/seatMap.test.js +1 -1
- package/dist/__tests__/seatMap.test.js.map +1 -1
- package/dist/__tests__/ticketAdmission.test.d.ts +1 -1
- package/dist/__tests__/ticketAdmission.test.js +1 -1
- package/dist/accessScreening.js +1 -1
- package/dist/aiApproval.d.ts +3 -3
- package/dist/aiApproval.js +3 -3
- package/dist/appleIapProducts.d.ts +1 -1
- package/dist/appleIapProducts.d.ts.map +1 -1
- package/dist/appleIapProducts.js +1 -1
- package/dist/appleIapProducts.js.map +1 -1
- package/dist/applicationFunnel.d.ts +1 -1
- package/dist/applicationFunnel.js +1 -1
- package/dist/audienceImport.d.ts +2 -2
- package/dist/audienceImport.d.ts.map +1 -1
- package/dist/audienceImport.js +2 -2
- package/dist/audienceImport.js.map +1 -1
- package/dist/bashEventCancellationPolicy.js +3 -3
- package/dist/bashEventCancellationPolicy.js.map +1 -1
- package/dist/budgetApproval.d.ts +1 -1
- package/dist/budgetApproval.js +1 -1
- package/dist/causeTags.js +4 -4
- package/dist/causeTags.js.map +1 -1
- package/dist/competitionIdeas.js +12 -12
- package/dist/competitionIdeas.js.map +1 -1
- package/dist/competitionValidation.d.ts +1 -1
- package/dist/competitionValidation.d.ts.map +1 -1
- package/dist/competitionValidation.js +1 -1
- package/dist/competitionValidation.js.map +1 -1
- package/dist/definitions.d.ts +35 -35
- package/dist/definitions.d.ts.map +1 -1
- package/dist/definitions.js +30 -30
- package/dist/definitions.js.map +1 -1
- package/dist/discoveryScope.d.ts +2 -2
- package/dist/discoveryScope.js +2 -2
- package/dist/entertainmentNotableVenues.js +1 -1
- package/dist/entertainmentNotableVenues.js.map +1 -1
- package/dist/extendedSchemas.d.ts +150 -150
- package/dist/extendedSchemas.d.ts.map +1 -1
- package/dist/extendedSchemas.js +11 -11
- package/dist/extendedSchemas.js.map +1 -1
- package/dist/fundingMeter.d.ts +1 -1
- package/dist/fundingMeter.js +1 -1
- package/dist/giveaway.d.ts +2 -2
- package/dist/giveaway.d.ts.map +1 -1
- package/dist/giveaway.js +2 -2
- package/dist/giveaway.js.map +1 -1
- package/dist/guestPartySize.js +3 -3
- package/dist/guestPartySize.js.map +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/homepageSyntheticRows.d.ts +2 -2
- package/dist/homepageSyntheticRows.d.ts.map +1 -1
- package/dist/homepageSyntheticRows.js +2 -2
- package/dist/homepageSyntheticRows.js.map +1 -1
- package/dist/hostCrmAutomation.d.ts +11 -11
- package/dist/hostCrmAutomation.d.ts.map +1 -1
- package/dist/hostCrmAutomation.js +9 -9
- package/dist/hostCrmAutomation.js.map +1 -1
- package/dist/hostCrmConstants.d.ts +1 -1
- package/dist/hostCrmConstants.d.ts.map +1 -1
- package/dist/hostCrmConstants.js +1 -1
- package/dist/hostCrmConstants.js.map +1 -1
- package/dist/hostCrmCrowdPulse.d.ts +2 -2
- package/dist/hostCrmCrowdPulse.d.ts.map +1 -1
- package/dist/hostCrmCrowdPulse.js +1 -1
- package/dist/hostCrmInsights.d.ts +3 -3
- package/dist/hostCrmLastBashProof.d.ts +2 -2
- package/dist/hostCrmLastBashProof.d.ts.map +1 -1
- package/dist/hostCrmLastBashProof.js +1 -1
- package/dist/hostCrmSegments.d.ts +10 -10
- package/dist/hostCrmSegments.d.ts.map +1 -1
- package/dist/hostCrmSegments.js +2 -2
- package/dist/hostCrmSegments.js.map +1 -1
- package/dist/hostPromoter.d.ts +1 -1
- package/dist/hostPromoter.d.ts.map +1 -1
- package/dist/hostPromoter.js +1 -1
- package/dist/hostPromoter.js.map +1 -1
- package/dist/icebreakerPrompts.js +2 -2
- package/dist/icebreakerPrompts.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/influencerAudience.js +3 -3
- package/dist/influencerAudience.js.map +1 -1
- package/dist/liveActivity/liveActivityTypes.d.ts +10 -10
- package/dist/liveActivity/liveActivityTypes.d.ts.map +1 -1
- package/dist/liveActivity/liveActivityTypes.js +2 -2
- package/dist/liveActivity/liveActivityTypes.js.map +1 -1
- package/dist/locationShare.d.ts +2 -2
- package/dist/locationShare.d.ts.map +1 -1
- package/dist/locationShare.js +2 -2
- package/dist/locationShare.js.map +1 -1
- package/dist/membershipDefinitions.d.ts +5 -5
- package/dist/membershipDefinitions.d.ts.map +1 -1
- package/dist/membershipDefinitions.js +21 -21
- package/dist/membershipDefinitions.js.map +1 -1
- package/dist/mirroredPrismaEnums.d.ts +6 -6
- package/dist/mirroredPrismaEnums.js +6 -6
- package/dist/onSaleCapabilityRecommendations.d.ts +1 -1
- package/dist/onSaleCapabilityRecommendations.js +1 -1
- package/dist/partnerStoreTypes.d.ts +1 -1
- package/dist/partnerStoreTypes.d.ts.map +1 -1
- package/dist/productLaunch.d.ts +2 -2
- package/dist/productLaunch.d.ts.map +1 -1
- package/dist/productLaunch.js +2 -2
- package/dist/productLaunch.js.map +1 -1
- package/dist/relationshipHealth.d.ts +3 -3
- package/dist/relationshipHealth.d.ts.map +1 -1
- package/dist/relationshipHealth.js +3 -3
- package/dist/relationshipHealth.js.map +1 -1
- package/dist/scenePulse.d.ts +2 -2
- package/dist/scenePulse.js +1 -1
- package/dist/seatMap.d.ts +1 -1
- package/dist/seatMap.d.ts.map +1 -1
- package/dist/seatMap.js +2 -2
- package/dist/seatMap.js.map +1 -1
- package/dist/seatMapBestAvailable.js +2 -2
- package/dist/seatMapBestAvailable.js.map +1 -1
- package/dist/serviceTypeLabels.d.ts +3 -3
- package/dist/serviceTypeLabels.js +3 -3
- package/dist/sideQuestIdeas.js +8 -8
- package/dist/sideQuestIdeas.js.map +1 -1
- package/dist/sideQuestTypes.js +2 -2
- package/dist/sideQuestTypes.js.map +1 -1
- package/dist/sms/smsTemplates.d.ts +1 -1
- package/dist/sms/smsTemplates.js +1 -1
- package/dist/stripeListingSubscriptionMessages.d.ts +1 -1
- package/dist/stripeListingSubscriptionMessages.js +1 -1
- package/dist/targetAudienceLabels.d.ts +1 -1
- package/dist/targetAudienceLabels.js +1 -1
- package/dist/ticketBnplPaymentMethods.d.ts +3 -3
- package/dist/ticketBnplPaymentMethods.d.ts.map +1 -1
- package/dist/ticketBnplPaymentMethods.js +2 -2
- package/dist/userReportTypes.d.ts +1 -1
- package/dist/userReportTypes.d.ts.map +1 -1
- package/dist/userReportTypes.js +1 -1
- package/dist/userReportTypes.js.map +1 -1
- package/dist/userTaste.d.ts +2 -2
- package/dist/userTaste.d.ts.map +1 -1
- package/dist/userTaste.js +2 -2
- package/dist/userTaste.js.map +1 -1
- package/dist/utils/__tests__/badgeUtils.test.js +5 -5
- package/dist/utils/__tests__/badgeUtils.test.js.map +1 -1
- package/dist/utils/__tests__/bashPointsPaymentUtils.test.js +4 -4
- package/dist/utils/__tests__/bashPointsPaymentUtils.test.js.map +1 -1
- package/dist/utils/__tests__/contentFilterUtils.test.js +23 -23
- package/dist/utils/__tests__/contentFilterUtils.test.js.map +1 -1
- package/dist/utils/__tests__/dateTimeUtils.test.js +1 -1
- package/dist/utils/__tests__/displayDateUtils.test.js +1 -1
- package/dist/utils/__tests__/flyerUtils.test.js +1 -1
- package/dist/utils/__tests__/flyerUtils.test.js.map +1 -1
- package/dist/utils/__tests__/getBackendHost.test.js +8 -8
- package/dist/utils/__tests__/getBackendHost.test.js.map +1 -1
- package/dist/utils/__tests__/getFrontendHost.native.test.js +1 -1
- package/dist/utils/__tests__/getFrontendHost.native.test.js.map +1 -1
- package/dist/utils/__tests__/getFrontendHost.test.js +9 -9
- package/dist/utils/__tests__/getFrontendHost.test.js.map +1 -1
- package/dist/utils/__tests__/organizationEntitlements.test.js +1 -1
- package/dist/utils/__tests__/organizationEntitlements.test.js.map +1 -1
- package/dist/utils/__tests__/paymentUtils.test.js +7 -7
- package/dist/utils/__tests__/paymentUtils.test.js.map +1 -1
- package/dist/utils/__tests__/promoCodesUtils.test.js +2 -2
- package/dist/utils/__tests__/promoCodesUtils.test.js.map +1 -1
- package/dist/utils/__tests__/qrCodeUtils.test.js +4 -4
- package/dist/utils/__tests__/qrCodeUtils.test.js.map +1 -1
- package/dist/utils/__tests__/reviewDimensionUtils.test.js +1 -1
- package/dist/utils/__tests__/reviewDimensionUtils.test.js.map +1 -1
- package/dist/utils/__tests__/stripeAccountUtils.test.js +1 -1
- package/dist/utils/__tests__/ticketPrintPostageUtils.test.js +1 -1
- package/dist/utils/__tests__/ticketPrintPostageUtils.test.js.map +1 -1
- package/dist/utils/addressUtils.js +1 -1
- package/dist/utils/addressUtils.js.map +1 -1
- package/dist/utils/apiUtils.js +1 -1
- package/dist/utils/apiUtils.js.map +1 -1
- package/dist/utils/birthdayExperienceQuality.d.ts +1 -1
- package/dist/utils/birthdayExperienceQuality.js +4 -4
- package/dist/utils/birthdayExperienceQuality.js.map +1 -1
- package/dist/utils/blogUtils.d.ts +1 -1
- package/dist/utils/blogUtils.d.ts.map +1 -1
- package/dist/utils/blogUtils.js +2 -2
- package/dist/utils/blogUtils.js.map +1 -1
- package/dist/utils/discountEngine/discountCalculator.js +1 -1
- package/dist/utils/discountEngine/discountCalculator.js.map +1 -1
- package/dist/utils/displayDateUtils.d.ts +2 -2
- package/dist/utils/displayDateUtils.d.ts.map +1 -1
- package/dist/utils/displayDateUtils.js +2 -2
- package/dist/utils/displayDateUtils.js.map +1 -1
- package/dist/utils/entertainmentDrawFit.d.ts +1 -1
- package/dist/utils/entertainmentDrawFit.js +1 -1
- package/dist/utils/eventTimezoneIana.d.ts +1 -1
- package/dist/utils/eventTimezoneIana.js +4 -4
- package/dist/utils/eventTimezoneIana.js.map +1 -1
- package/dist/utils/flyerUtils.d.ts +2 -2
- package/dist/utils/flyerUtils.d.ts.map +1 -1
- package/dist/utils/flyerUtils.js +3 -3
- package/dist/utils/flyerUtils.js.map +1 -1
- package/dist/utils/groupTicketCartUtils.js +1 -1
- package/dist/utils/groupTicketCartUtils.js.map +1 -1
- package/dist/utils/guestSurface.d.ts +2 -2
- package/dist/utils/guestSurface.d.ts.map +1 -1
- package/dist/utils/guestSurface.js +4 -4
- package/dist/utils/guestSurface.js.map +1 -1
- package/dist/utils/lobFlyerUtils.d.ts +2 -2
- package/dist/utils/lobFlyerUtils.js +2 -2
- package/dist/utils/luxonUtils.d.ts +4 -4
- package/dist/utils/luxonUtils.js +5 -5
- package/dist/utils/luxonUtils.js.map +1 -1
- package/dist/utils/moodTrackUtils.d.ts +1 -1
- package/dist/utils/moodTrackUtils.js +1 -1
- package/dist/utils/nonprofitUtils.d.ts +3 -3
- package/dist/utils/nonprofitUtils.js +2 -2
- package/dist/utils/orgPromotionalPackageUtils.d.ts +1 -1
- package/dist/utils/orgPromotionalPackageUtils.js +1 -1
- package/dist/utils/organizationEntitlements.d.ts +4 -4
- package/dist/utils/organizationEntitlements.js +3 -3
- package/dist/utils/paymentUtils.d.ts +10 -10
- package/dist/utils/paymentUtils.js +9 -9
- package/dist/utils/promoterCompetitionUtils.d.ts +4 -4
- package/dist/utils/promoterCompetitionUtils.d.ts.map +1 -1
- package/dist/utils/promoterCompetitionUtils.js +7 -7
- package/dist/utils/promoterCompetitionUtils.js.map +1 -1
- package/dist/utils/promotionBlastUtils.d.ts +1 -1
- package/dist/utils/promotionBlastUtils.js +4 -4
- package/dist/utils/promotionBlastUtils.js.map +1 -1
- package/dist/utils/qrCodeUtils.d.ts +3 -3
- package/dist/utils/qrCodeUtils.d.ts.map +1 -1
- package/dist/utils/qrCodeUtils.js +3 -3
- package/dist/utils/qrCodeUtils.js.map +1 -1
- package/dist/utils/recurrenceUtils.d.ts +1 -1
- package/dist/utils/recurrenceUtils.js +1 -1
- package/dist/utils/reputationUtils.d.ts +2 -2
- package/dist/utils/reputationUtils.d.ts.map +1 -1
- package/dist/utils/reputationUtils.js +1 -1
- package/dist/utils/reputationUtils.js.map +1 -1
- package/dist/utils/reviewDimensionUtils.d.ts +2 -2
- package/dist/utils/reviewDimensionUtils.d.ts.map +1 -1
- package/dist/utils/reviewDimensionUtils.js +1 -1
- package/dist/utils/reviewDimensionUtils.js.map +1 -1
- package/dist/utils/service/__tests__/billingCapUtils.test.js +3 -3
- package/dist/utils/service/__tests__/billingCapUtils.test.js.map +1 -1
- package/dist/utils/service/__tests__/eventPromoterPhase3.test.js +1 -1
- package/dist/utils/service/__tests__/eventPromoterUtils.test.js +1 -1
- package/dist/utils/service/__tests__/eventPromoterUtils.test.js.map +1 -1
- package/dist/utils/service/__tests__/frontendServiceBookingUtils.test.js +2 -2
- package/dist/utils/service/__tests__/frontendServiceBookingUtils.test.js.map +1 -1
- package/dist/utils/service/__tests__/serviceBookingExposureUtils.test.js +1 -1
- package/dist/utils/service/__tests__/serviceBookingExposureUtils.test.js.map +1 -1
- package/dist/utils/service/__tests__/serviceBookingStatusUtils.test.js +2 -2
- package/dist/utils/service/__tests__/serviceBookingStatusUtils.test.js.map +1 -1
- package/dist/utils/service/__tests__/serviceRateUtils.test.js +6 -6
- package/dist/utils/service/__tests__/serviceRateUtils.test.js.map +1 -1
- package/dist/utils/service/apiServiceBookingApiUtils.js +1 -1
- package/dist/utils/service/apiServiceBookingApiUtils.js.map +1 -1
- package/dist/utils/service/billingCapUtils.d.ts +5 -5
- package/dist/utils/service/billingCapUtils.js +5 -5
- package/dist/utils/service/cancellationPolicyRefundResolver.d.ts +1 -1
- package/dist/utils/service/cancellationPolicyRefundResolver.d.ts.map +1 -1
- package/dist/utils/service/eventPromoterUtils.d.ts +17 -17
- package/dist/utils/service/eventPromoterUtils.d.ts.map +1 -1
- package/dist/utils/service/eventPromoterUtils.js +11 -11
- package/dist/utils/service/eventPromoterUtils.js.map +1 -1
- package/dist/utils/service/foodAndBeverageQuote.d.ts +8 -8
- package/dist/utils/service/foodAndBeverageQuote.js +8 -8
- package/dist/utils/service/offerAllowListUtils.d.ts +1 -1
- package/dist/utils/service/offerComparisonUtils.d.ts +6 -6
- package/dist/utils/service/offerComparisonUtils.js +2 -2
- package/dist/utils/service/offerComparisonUtils.js.map +1 -1
- package/dist/utils/service/serviceBookingExposureUtils.d.ts +7 -7
- package/dist/utils/service/serviceBookingExposureUtils.js +5 -5
- package/dist/utils/service/serviceBookingExposureUtils.js.map +1 -1
- package/dist/utils/service/serviceFeaturedSortUtils.js +2 -2
- package/dist/utils/service/serviceFeaturedSortUtils.js.map +1 -1
- package/dist/utils/service/serviceListingMediaUtils.d.ts +2 -2
- package/dist/utils/service/serviceListingMediaUtils.d.ts.map +1 -1
- package/dist/utils/service/serviceListingMediaUtils.js +2 -2
- package/dist/utils/service/serviceListingMediaUtils.js.map +1 -1
- package/dist/utils/service/serviceUtils.js +2 -2
- package/dist/utils/service/serviceUtils.js.map +1 -1
- package/dist/utils/service/unifiedPricingResolver.d.ts +5 -5
- package/dist/utils/service/unifiedPricingResolver.d.ts.map +1 -1
- package/dist/utils/service/venueSettlementUtils.d.ts +2 -2
- package/dist/utils/service/venueSettlementUtils.js +3 -3
- package/dist/utils/service/venueSettlementUtils.js.map +1 -1
- package/dist/utils/service/volunteerCompensationUtils.d.ts +2 -2
- package/dist/utils/service/volunteerCompensationUtils.js +1 -1
- package/dist/utils/service/volunteerCompensationUtils.js.map +1 -1
- package/dist/utils/slugUtils.d.ts +1 -1
- package/dist/utils/slugUtils.js +1 -1
- package/dist/utils/ticketPrintPostageUtils.d.ts +4 -4
- package/dist/utils/ticketPrintPostageUtils.js +5 -5
- package/dist/utils/ticketPrintPostageUtils.js.map +1 -1
- package/dist/utils/ticketTierSchedule.d.ts +1 -1
- package/dist/utils/ticketTierSchedule.js +4 -4
- package/dist/utils/ticketTierSchedule.js.map +1 -1
- package/dist/utils/trustScoreUtils.d.ts +1 -1
- package/dist/utils/trustScoreUtils.js +1 -1
- package/dist/utils/urlUtils.d.ts +2 -2
- package/dist/utils/urlUtils.js +2 -2
- package/dist/utils/userUtils.d.ts +4 -4
- package/dist/utils/userUtils.js +3 -3
- package/dist/utils/venueLoyalty/__tests__/eligibilityUtils.test.js +1 -1
- package/dist/utils/venueLoyalty/__tests__/redemptionCodeUtils.test.js +1 -1
- package/dist/utils/venueLoyalty/redemptionCodeUtils.d.ts +3 -3
- package/dist/utils/venueLoyalty/redemptionCodeUtils.js +3 -3
- package/dist/venueLoyaltyRedemption.d.ts +2 -2
- package/dist/venueLoyaltyRedemption.js +1 -1
- package/dist/venueMatch.d.ts +4 -4
- package/dist/venueMatch.d.ts.map +1 -1
- package/dist/venueMatch.js +1 -1
- package/dist/venueMatch.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/agePolicy.test.ts +6 -6
- package/src/__tests__/bashEventCancellationPolicy.test.ts +2 -2
- package/src/__tests__/bashSectionTitleForBashType.test.ts +3 -3
- package/src/__tests__/definitionsHelpers.test.ts +1 -1
- package/src/__tests__/entertainmentNotableVenues.test.ts +1 -1
- package/src/__tests__/hostCrmCrowdPulse.test.ts +1 -1
- package/src/__tests__/hostCrmSegments.test.ts +2 -2
- package/src/__tests__/hostPromoter.test.ts +1 -1
- package/src/__tests__/influencerAudience.test.ts +1 -1
- package/src/__tests__/promoterCompetitionUtils.test.ts +3 -3
- package/src/__tests__/scenePulse.test.ts +1 -1
- package/src/__tests__/seatMap.test.ts +1 -1
- package/src/__tests__/ticketAdmission.test.ts +1 -1
- package/src/accessScreening.ts +1 -1
- package/src/aiApproval.ts +3 -3
- package/src/appleIapProducts.ts +1 -1
- package/src/applicationFunnel.ts +1 -1
- package/src/audienceImport.ts +2 -2
- package/src/bashEventCancellationPolicy.ts +3 -3
- package/src/budgetApproval.ts +1 -1
- package/src/causeTags.ts +4 -4
- package/src/competitionIdeas.ts +12 -12
- package/src/competitionValidation.ts +1 -1
- package/src/definitions.ts +42 -42
- package/src/discoveryScope.ts +2 -2
- package/src/entertainmentNotableVenues.ts +1 -1
- package/src/extendedSchemas.ts +41 -41
- package/src/fundingMeter.ts +1 -1
- package/src/giveaway.ts +2 -2
- package/src/guestPartySize.ts +3 -3
- package/src/home.ts +1 -1
- package/src/homepageSyntheticRows.ts +2 -2
- package/src/hostCrmAutomation.ts +11 -11
- package/src/hostCrmConstants.ts +1 -1
- package/src/hostCrmCrowdPulse.ts +2 -2
- package/src/hostCrmInsights.ts +3 -3
- package/src/hostCrmLastBashProof.ts +2 -2
- package/src/hostCrmSegments.ts +12 -12
- package/src/hostPromoter.ts +1 -1
- package/src/icebreakerPrompts.ts +2 -2
- package/src/index.ts +1 -1
- package/src/influencerAudience.ts +3 -3
- package/src/liveActivity/liveActivityTypes.ts +10 -10
- package/src/locationShare.ts +2 -2
- package/src/membershipDefinitions.ts +21 -21
- package/src/mirroredPrismaEnums.ts +6 -6
- package/src/onSaleCapabilityRecommendations.ts +1 -1
- package/src/partnerStoreTypes.ts +1 -1
- package/src/productLaunch.ts +2 -2
- package/src/relationshipHealth.ts +5 -5
- package/src/scenePulse.ts +2 -2
- package/src/seatMap.ts +3 -3
- package/src/seatMapBestAvailable.ts +2 -2
- package/src/serviceTypeLabels.ts +3 -3
- package/src/sideQuestIdeas.ts +8 -8
- package/src/sideQuestTypes.ts +2 -2
- package/src/sms/smsTemplates.ts +1 -1
- package/src/stripeListingSubscriptionMessages.ts +1 -1
- package/src/targetAudienceLabels.ts +1 -1
- package/src/ticketBnplPaymentMethods.ts +3 -3
- package/src/userReportTypes.ts +1 -1
- package/src/userTaste.ts +2 -2
- package/src/utils/__tests__/badgeUtils.test.ts +5 -5
- package/src/utils/__tests__/bashPointsPaymentUtils.test.ts +4 -4
- package/src/utils/__tests__/contentFilterUtils.test.ts +23 -23
- package/src/utils/__tests__/dateTimeUtils.test.ts +1 -1
- package/src/utils/__tests__/displayDateUtils.test.ts +1 -1
- package/src/utils/__tests__/flyerUtils.test.ts +1 -1
- package/src/utils/__tests__/getBackendHost.test.ts +8 -8
- package/src/utils/__tests__/getFrontendHost.native.test.ts +1 -1
- package/src/utils/__tests__/getFrontendHost.test.ts +9 -9
- package/src/utils/__tests__/organizationEntitlements.test.ts +1 -1
- package/src/utils/__tests__/paymentUtils.test.ts +7 -7
- package/src/utils/__tests__/promoCodesUtils.test.ts +2 -2
- package/src/utils/__tests__/qrCodeUtils.test.ts +4 -4
- package/src/utils/__tests__/reviewDimensionUtils.test.ts +1 -1
- package/src/utils/__tests__/stripeAccountUtils.test.ts +1 -1
- package/src/utils/__tests__/ticketPrintPostageUtils.test.ts +1 -1
- package/src/utils/addressUtils.ts +1 -1
- package/src/utils/apiUtils.ts +1 -1
- package/src/utils/birthdayExperienceQuality.ts +4 -4
- package/src/utils/blogUtils.ts +2 -2
- package/src/utils/discountEngine/discountCalculator.ts +1 -1
- package/src/utils/displayDateUtils.ts +2 -2
- package/src/utils/entertainmentDrawFit.ts +1 -1
- package/src/utils/eventTimezoneIana.ts +4 -4
- package/src/utils/flyerUtils.ts +3 -3
- package/src/utils/groupTicketCartUtils.ts +1 -1
- package/src/utils/guestSurface.ts +5 -5
- package/src/utils/lobFlyerUtils.ts +2 -2
- package/src/utils/luxonUtils.ts +5 -5
- package/src/utils/moodTrackUtils.ts +1 -1
- package/src/utils/nonprofitUtils.ts +3 -3
- package/src/utils/orgPromotionalPackageUtils.ts +1 -1
- package/src/utils/organizationEntitlements.ts +4 -4
- package/src/utils/paymentUtils.ts +10 -10
- package/src/utils/promoterCompetitionUtils.ts +8 -8
- package/src/utils/promotionBlastUtils.ts +4 -4
- package/src/utils/qrCodeUtils.ts +3 -3
- package/src/utils/recurrenceUtils.ts +1 -1
- package/src/utils/reputationUtils.ts +3 -3
- package/src/utils/reviewDimensionUtils.ts +2 -2
- package/src/utils/service/__tests__/billingCapUtils.test.ts +3 -3
- package/src/utils/service/__tests__/eventPromoterPhase3.test.ts +1 -1
- package/src/utils/service/__tests__/eventPromoterUtils.test.ts +1 -1
- package/src/utils/service/__tests__/frontendServiceBookingUtils.test.ts +2 -2
- package/src/utils/service/__tests__/serviceBookingExposureUtils.test.ts +1 -1
- package/src/utils/service/__tests__/serviceBookingStatusUtils.test.ts +2 -2
- package/src/utils/service/__tests__/serviceRateUtils.test.ts +6 -6
- package/src/utils/service/apiServiceBookingApiUtils.ts +1 -1
- package/src/utils/service/billingCapUtils.ts +5 -5
- package/src/utils/service/cancellationPolicyRefundResolver.ts +1 -1
- package/src/utils/service/eventPromoterUtils.ts +27 -27
- package/src/utils/service/foodAndBeverageQuote.ts +8 -8
- package/src/utils/service/offerAllowListUtils.ts +1 -1
- package/src/utils/service/offerComparisonUtils.ts +8 -8
- package/src/utils/service/serviceBookingExposureUtils.ts +8 -8
- package/src/utils/service/serviceBookingTypes.ts +2 -2
- package/src/utils/service/serviceFeaturedSortUtils.ts +2 -2
- package/src/utils/service/serviceListingMediaUtils.ts +2 -2
- package/src/utils/service/serviceUtils.ts +2 -2
- package/src/utils/service/unifiedPricingResolver.ts +5 -5
- package/src/utils/service/venueSettlementUtils.ts +3 -3
- package/src/utils/service/volunteerCompensationUtils.ts +3 -3
- package/src/utils/slugUtils.ts +1 -1
- package/src/utils/ticketPrintPostageUtils.ts +5 -5
- package/src/utils/ticketTierSchedule.ts +4 -4
- package/src/utils/trustScoreUtils.ts +1 -1
- package/src/utils/urlUtils.ts +2 -2
- package/src/utils/userUtils.ts +4 -4
- package/src/utils/venueLoyalty/__tests__/eligibilityUtils.test.ts +1 -1
- package/src/utils/venueLoyalty/__tests__/redemptionCodeUtils.test.ts +1 -1
- package/src/utils/venueLoyalty/redemptionCodeUtils.ts +3 -3
- package/src/venueLoyaltyRedemption.ts +2 -2
- package/src/venueMatch.ts +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Gender, SocialEventCadence } from "@prisma/client";
|
|
2
2
|
export declare const MAX_USER_NAME_CHANGES: 3;
|
|
3
3
|
/**
|
|
4
|
-
* Minimum shape needed by `getDisplayGender
|
|
4
|
+
* Minimum shape needed by `getDisplayGender`. Accepts any object that has the
|
|
5
5
|
* two relevant columns (e.g. `User`, `UserExt`, `PublicUser`, or a partial
|
|
6
6
|
* select). The free-text `genderIdentity` is the source of truth for *display*
|
|
7
7
|
* because it is user-self-described and may not map to a `Gender` enum value
|
|
@@ -17,7 +17,7 @@ export interface GenderDisplayUser {
|
|
|
17
17
|
*
|
|
18
18
|
* Precedence:
|
|
19
19
|
* 1. `genderIdentity` (free-text self-description) when present and
|
|
20
|
-
* non-blank
|
|
20
|
+
* non-blank. Wins over the enum so the user sees their own words.
|
|
21
21
|
* 2. `gender` (enum) when present.
|
|
22
22
|
* 3. `null` when neither is set.
|
|
23
23
|
*
|
|
@@ -32,12 +32,12 @@ export interface GenderDisplayUser {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare function getDisplayGender(user: GenderDisplayUser): string | null;
|
|
34
34
|
/**
|
|
35
|
-
* Plain labels for the social event cadence enum
|
|
35
|
+
* Plain labels for the social event cadence enum. Used in Settings, the account
|
|
36
36
|
* edit forms, and the host CRM filter where clarity beats personality.
|
|
37
37
|
*/
|
|
38
38
|
export declare const SOCIAL_EVENT_CADENCE_LABELS: Record<SocialEventCadence, string>;
|
|
39
39
|
/**
|
|
40
|
-
* Promoter-voice labels for the public profile
|
|
40
|
+
* Promoter-voice labels for the public profile. Friendlier phrasing of how often
|
|
41
41
|
* someone likes to go out. Falls back to the plain label when no flourish exists.
|
|
42
42
|
*/
|
|
43
43
|
export declare const SOCIAL_EVENT_CADENCE_PROFILE_LABELS: Record<SocialEventCadence, string>;
|
package/dist/utils/userUtils.js
CHANGED
|
@@ -5,7 +5,7 @@ export const MAX_USER_NAME_CHANGES = 3;
|
|
|
5
5
|
*
|
|
6
6
|
* Precedence:
|
|
7
7
|
* 1. `genderIdentity` (free-text self-description) when present and
|
|
8
|
-
* non-blank
|
|
8
|
+
* non-blank. Wins over the enum so the user sees their own words.
|
|
9
9
|
* 2. `gender` (enum) when present.
|
|
10
10
|
* 3. `null` when neither is set.
|
|
11
11
|
*
|
|
@@ -27,7 +27,7 @@ export function getDisplayGender(user) {
|
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Plain labels for the social event cadence enum
|
|
30
|
+
* Plain labels for the social event cadence enum. Used in Settings, the account
|
|
31
31
|
* edit forms, and the host CRM filter where clarity beats personality.
|
|
32
32
|
*/
|
|
33
33
|
export const SOCIAL_EVENT_CADENCE_LABELS = {
|
|
@@ -38,7 +38,7 @@ export const SOCIAL_EVENT_CADENCE_LABELS = {
|
|
|
38
38
|
Never: "Never",
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
* Promoter-voice labels for the public profile
|
|
41
|
+
* Promoter-voice labels for the public profile. Friendlier phrasing of how often
|
|
42
42
|
* someone likes to go out. Falls back to the plain label when no flourish exists.
|
|
43
43
|
*/
|
|
44
44
|
export const SOCIAL_EVENT_CADENCE_PROFILE_LABELS = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pure eligibility evaluator
|
|
2
|
+
* Pure eligibility evaluator. Same logic runs on API + bash-app, so this
|
|
3
3
|
* suite locks the truth table for both call sites.
|
|
4
4
|
*/
|
|
5
5
|
import { evaluateEligibility, evaluateOffersEligibility, } from "../eligibilityUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pin the redemption code alphabet, length, normalization, and uniqueness
|
|
3
|
-
* retry loop. Hosts type these codes from a phone
|
|
3
|
+
* retry loop. Hosts type these codes from a phone. Fat-finger characters
|
|
4
4
|
* (I, O, 0, 1) must never appear.
|
|
5
5
|
*/
|
|
6
6
|
import { REDEMPTION_CODE_LENGTH, __testInternals, generateRedemptionCode, generateUniqueRedemptionCode, isValidRedemptionCodeShape, normalizeRedemptionCode, } from "../redemptionCodeUtils.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ambiguous `I`, `O`, `0`, `1` so a host typing the code from a phone screen
|
|
6
6
|
* doesn't fat-finger it. Collisions are scoped per-venue (see the unique
|
|
7
7
|
* constraint on `VenueLoyaltyRedemption(venueId, redemptionCode)`), so the
|
|
8
|
-
* 32^8 ≈ 1.1 trillion keyspace is enormous overkill
|
|
8
|
+
* 32^8 ≈ 1.1 trillion keyspace is enormous overkill. The retry loop in
|
|
9
9
|
* `generateUniqueRedemptionCode` exists to be defensive, not because we
|
|
10
10
|
* expect contention.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export declare const REDEMPTION_CODE_LENGTH = 8;
|
|
|
13
13
|
/** True iff `code` matches the canonical 8-char alphabet. */
|
|
14
14
|
export declare function isValidRedemptionCodeShape(code: string): boolean;
|
|
15
15
|
/**
|
|
16
|
-
* Normalize user input
|
|
16
|
+
* Normalize user input. Uppercase, strip whitespace + dashes. Before
|
|
17
17
|
* validation or DB lookup. Lets us accept "ab12-cd34" from a phone keyboard.
|
|
18
18
|
*/
|
|
19
19
|
export declare function normalizeRedemptionCode(input: string): string;
|
|
@@ -22,7 +22,7 @@ export declare function generateRedemptionCode(randomBytes?: (length: number) =>
|
|
|
22
22
|
/**
|
|
23
23
|
* Sample fresh codes until `existsInVenue(code)` returns false. Bounded to
|
|
24
24
|
* `maxAttempts` so a misbehaving uniqueness probe can't spin forever. Throws
|
|
25
|
-
* after exhausting attempts
|
|
25
|
+
* after exhausting attempts. Caller should surface a 5xx, this would mean
|
|
26
26
|
* the keyspace is exhausted (impossible in practice) or the DB is unhealthy.
|
|
27
27
|
*/
|
|
28
28
|
export declare function generateUniqueRedemptionCode(existsInVenue: (code: string) => Promise<boolean>, options?: {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ambiguous `I`, `O`, `0`, `1` so a host typing the code from a phone screen
|
|
6
6
|
* doesn't fat-finger it. Collisions are scoped per-venue (see the unique
|
|
7
7
|
* constraint on `VenueLoyaltyRedemption(venueId, redemptionCode)`), so the
|
|
8
|
-
* 32^8 ≈ 1.1 trillion keyspace is enormous overkill
|
|
8
|
+
* 32^8 ≈ 1.1 trillion keyspace is enormous overkill. The retry loop in
|
|
9
9
|
* `generateUniqueRedemptionCode` exists to be defensive, not because we
|
|
10
10
|
* expect contention.
|
|
11
11
|
*/
|
|
@@ -17,7 +17,7 @@ export function isValidRedemptionCodeShape(code) {
|
|
|
17
17
|
return REDEMPTION_CODE_REGEX.test(code);
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Normalize user input
|
|
20
|
+
* Normalize user input. Uppercase, strip whitespace + dashes. Before
|
|
21
21
|
* validation or DB lookup. Lets us accept "ab12-cd34" from a phone keyboard.
|
|
22
22
|
*/
|
|
23
23
|
export function normalizeRedemptionCode(input) {
|
|
@@ -35,7 +35,7 @@ export function generateRedemptionCode(randomBytes = defaultRandomBytes) {
|
|
|
35
35
|
/**
|
|
36
36
|
* Sample fresh codes until `existsInVenue(code)` returns false. Bounded to
|
|
37
37
|
* `maxAttempts` so a misbehaving uniqueness probe can't spin forever. Throws
|
|
38
|
-
* after exhausting attempts
|
|
38
|
+
* after exhausting attempts. Caller should surface a 5xx, this would mean
|
|
39
39
|
* the keyspace is exhausted (impossible in practice) or the DB is unhealthy.
|
|
40
40
|
*/
|
|
41
41
|
export async function generateUniqueRedemptionCode(existsInVenue, options = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API shapes for venue loyalty perk offers + redemptions (guest claim / decline
|
|
3
3
|
* / redeem / expire). All BashPoints movements through these flows ledger via
|
|
4
|
-
* `CreditSourceType.VenueLoyaltyRedemption
|
|
4
|
+
* `CreditSourceType.VenueLoyaltyRedemption`. See
|
|
5
5
|
* `api/src/services/venueLoyaltyRedemptionService.ts`.
|
|
6
6
|
*/
|
|
7
7
|
import type { VenueLoyaltyTemplateId } from "./utils/service/serviceUtils.js";
|
|
@@ -149,7 +149,7 @@ export interface ClaimVenueLoyaltyResponse {
|
|
|
149
149
|
/**
|
|
150
150
|
* Convenience copy of `redemption.redemptionCode` so the success UI can
|
|
151
151
|
* pull it without branching on null. Equals `null` only when the offer was
|
|
152
|
-
* free (bashPointsCost == null)
|
|
152
|
+
* free (bashPointsCost == null). Currently still issued for traceability.
|
|
153
153
|
*/
|
|
154
154
|
code: string;
|
|
155
155
|
remainingBashPoints: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API shapes for venue loyalty perk offers + redemptions (guest claim / decline
|
|
3
3
|
* / redeem / expire). All BashPoints movements through these flows ledger via
|
|
4
|
-
* `CreditSourceType.VenueLoyaltyRedemption
|
|
4
|
+
* `CreditSourceType.VenueLoyaltyRedemption`. See
|
|
5
5
|
* `api/src/services/venueLoyaltyRedemptionService.ts`.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
package/dist/venueMatch.d.ts
CHANGED
|
@@ -41,17 +41,17 @@ export declare const VENUE_SUPPLY_LEAD_STAGES: {
|
|
|
41
41
|
readonly DoNotContact: "DoNotContact";
|
|
42
42
|
};
|
|
43
43
|
export type VenueSupplyLeadStage = (typeof VENUE_SUPPLY_LEAD_STAGES)[keyof typeof VENUE_SUPPLY_LEAD_STAGES];
|
|
44
|
-
/** Admin display labels
|
|
44
|
+
/** Admin display labels. Single source for the pipeline UI + CSV export. */
|
|
45
45
|
export declare const VenueSupplyLeadStageLabel: Record<VenueSupplyLeadStage, string>;
|
|
46
46
|
/** Stages a rep can manually transition to from the admin UI. */
|
|
47
47
|
export declare const VENUE_SUPPLY_LEAD_REP_STAGES: VenueSupplyLeadStage[];
|
|
48
48
|
/**
|
|
49
49
|
* Structured intent extracted from the host's prompt + current event fields.
|
|
50
50
|
* Persisted as `VenueMatchRun.intent` (Json column).
|
|
51
|
-
* All fields nullable
|
|
51
|
+
* All fields nullable. The scorer omits weights for missing signals.
|
|
52
52
|
*/
|
|
53
53
|
export interface VenueMatchIntent {
|
|
54
|
-
/** e.g. "bachelor party", "baby shower"
|
|
54
|
+
/** e.g. "bachelor party", "baby shower". Free text, lowercased */
|
|
55
55
|
occasion: string | null;
|
|
56
56
|
/** From amountOfGuests.expected or parsed from prompt */
|
|
57
57
|
guestCount: number | null;
|
|
@@ -103,7 +103,7 @@ export interface VenueCandidateDisplay {
|
|
|
103
103
|
capacity: number | null;
|
|
104
104
|
distanceMiles: number | null;
|
|
105
105
|
phone: string | null;
|
|
106
|
-
/** Marketplace only
|
|
106
|
+
/** Marketplace only. Deep link target */
|
|
107
107
|
serviceDetailPath: string | null;
|
|
108
108
|
}
|
|
109
109
|
/** One candidate as served to the host UI. */
|
package/dist/venueMatch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"venueMatch.d.ts","sourceRoot":"","sources":["../src/venueMatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,oFAAoF;AACpF,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AACX,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,8FAA8F;AAC9F,eAAO,MAAM,wBAAwB;;;;;;;;CAQ3B,CAAC;AACX,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAA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,CAAC;IACvB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,oDAAoD;IACpD,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,kDAAkD;AAClD,eAAO,MAAM,iBAAiB,gEAIpB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/venueMatch.js
CHANGED
|
@@ -38,7 +38,7 @@ export const VENUE_SUPPLY_LEAD_STAGES = {
|
|
|
38
38
|
Declined: "Declined",
|
|
39
39
|
DoNotContact: "DoNotContact",
|
|
40
40
|
};
|
|
41
|
-
/** Admin display labels
|
|
41
|
+
/** Admin display labels. Single source for the pipeline UI + CSV export. */
|
|
42
42
|
export const VenueSupplyLeadStageLabel = {
|
|
43
43
|
Surfaced: "Surfaced",
|
|
44
44
|
Prioritized: "Hot lead",
|
package/dist/venueMatch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"venueMatch.js","sourceRoot":"","sources":["../src/venueMatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,oFAAoF;AACpF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CACpB,CAAC;AAIX,8FAA8F;AAC9F,MAAM,CAAC,MAAM,wBAAwB,GAAG;IAC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C;AAIX,4EAA4E;AAC5E,MAAM,CAAC,MAAM,yBAAyB,GAAyC;IAC7E,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,UAAU;IACvB,MAAM,EAAE,qBAAqB;IAC7B,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,gBAAgB;IACxB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,gBAAgB;CAC/B,CAAC;AAEF,iEAAiE;AACjE,MAAM,CAAC,MAAM,4BAA4B,GAA2B;IAClE,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,eAAe;IACf,UAAU;IACV,cAAc;CACf,CAAC;AA4HF,kDAAkD;AAClD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK;IACL,kBAAkB;IAClB,wBAAwB;CAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AgePolicy helpers
|
|
2
|
+
* AgePolicy helpers. Unit tests.
|
|
3
3
|
*
|
|
4
4
|
* `getAgeFromDob` and `meetsAgePolicy` are the source of truth for both:
|
|
5
5
|
* - the `GET /me/id-status` endpoint (which returns `verifiedAge`)
|
|
@@ -69,7 +69,7 @@ describe("getAgeFromDob", () => {
|
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
it("computes whole-year age for a clearly-past birthday", () => {
|
|
72
|
-
// Born 25 years ago, 1 month ago
|
|
72
|
+
// Born 25 years ago, 1 month ago. Birthday already passed this year.
|
|
73
73
|
expect(getAgeFromDob(isoFromOffset(25, 1))).toBe(25);
|
|
74
74
|
});
|
|
75
75
|
|
|
@@ -104,7 +104,7 @@ describe("getAgeFromDob", () => {
|
|
|
104
104
|
});
|
|
105
105
|
|
|
106
106
|
it("returns 0 for a baby born earlier this year", () => {
|
|
107
|
-
// Born ~3 months ago
|
|
107
|
+
// Born ~3 months ago. Under 1 year old.
|
|
108
108
|
expect(getAgeFromDob(isoFromOffset(0, 3))).toBe(0);
|
|
109
109
|
});
|
|
110
110
|
});
|
|
@@ -137,7 +137,7 @@ describe("meetsAgePolicy", () => {
|
|
|
137
137
|
return d.toISOString();
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
-
it("All Ages always passes
|
|
140
|
+
it("All Ages always passes. Even with no DOB", () => {
|
|
141
141
|
expect(meetsAgePolicy(AgePolicy.AllAges, null)).toBe(true);
|
|
142
142
|
expect(meetsAgePolicy(AgePolicy.AllAges, undefined)).toBe(true);
|
|
143
143
|
expect(meetsAgePolicy(AgePolicy.AllAges, yearsAgo(5))).toBe(true);
|
|
@@ -259,11 +259,11 @@ describe("legacyAgeRangeMatchesFilter", () => {
|
|
|
259
259
|
});
|
|
260
260
|
|
|
261
261
|
it("returns true when ANY selected label matches (multi-select union semantics)", () => {
|
|
262
|
-
// Legacy blob says 21+; user selected both 18+ and 21
|
|
262
|
+
// Legacy blob says 21+; user selected both 18+ and 21+. Still a match.
|
|
263
263
|
expect(
|
|
264
264
|
legacyAgeRangeMatchesFilter(["21+"], ["18+", "21+"])
|
|
265
265
|
).toBe(true);
|
|
266
|
-
// Legacy blob says 21+; user selected only 18
|
|
266
|
+
// Legacy blob says 21+; user selected only 18+. No match.
|
|
267
267
|
expect(legacyAgeRangeMatchesFilter(["21+"], ["18+"])).toBe(false);
|
|
268
268
|
});
|
|
269
269
|
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "../bashEventCancellationPolicy";
|
|
10
10
|
|
|
11
11
|
describe("bashEventCancellationPolicy", () => {
|
|
12
|
-
it("defaults to Standard
|
|
12
|
+
it("defaults to Standard. 7 days", () => {
|
|
13
13
|
expect(DEFAULT_BASH_EVENT_CANCELLATION_PRESET_ID).toBe("flexible_7_day");
|
|
14
14
|
expect(defaultBashEventCancellationPolicyDisplayText()).toBe(
|
|
15
15
|
bashEventCancellationPresetDisplayText("flexible_7_day")
|
|
@@ -32,7 +32,7 @@ describe("bashEventCancellationPolicy", () => {
|
|
|
32
32
|
bashEventCancellationPolicyDetailLabel(
|
|
33
33
|
bashEventCancellationPresetDisplayText("flexible_7_day")
|
|
34
34
|
)
|
|
35
|
-
).toBe("Standard
|
|
35
|
+
).toBe("Standard. 7 days");
|
|
36
36
|
expect(
|
|
37
37
|
bashEventCancellationPolicyDetailLabel("Call the host for a refund.")
|
|
38
38
|
).toBe("Call the host for a refund.");
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Section heading copy for the homepage rows and `/category/:bashType` pages.
|
|
3
3
|
*
|
|
4
4
|
* Two input shapes need to coexist:
|
|
5
|
-
* 1. `BashEventType` enum values (e.g. "ComedyShow", "Rave")
|
|
5
|
+
* 1. `BashEventType` enum values (e.g. "ComedyShow", "Rave"). These have
|
|
6
6
|
* a singular label in `BashEventTypeToString` and get pluralized via
|
|
7
7
|
* explicit rules in `pluralizeBashEventSingularLabel`.
|
|
8
8
|
* 2. Free-text section keys persisted by scrapers as `bashEvent.eventType`
|
|
9
|
-
* strings that don't exist in the enum
|
|
9
|
+
* strings that don't exist in the enum. For example
|
|
10
10
|
* `scrapeInsomniacToBash.mjs` defaults to `"Raves"` and
|
|
11
11
|
* `wiseguysComedyScraper.mjs` writes `"Comedy"`. These are already
|
|
12
|
-
* meaningful as headings and must be returned verbatim
|
|
12
|
+
* meaningful as headings and must be returned verbatim. Never with
|
|
13
13
|
* a `" bashes"` suffix tacked on.
|
|
14
14
|
*/
|
|
15
15
|
import { BashEventType } from "@prisma/client";
|
|
@@ -211,7 +211,7 @@ describe("definitions helpers", () => {
|
|
|
211
211
|
expect(hasSensingIntuitionOverlap("ENFP", "INTJ")).toBe(true);
|
|
212
212
|
expect(hasSensingIntuitionOverlap("ESFP", "INTJ")).toBe(false);
|
|
213
213
|
expect(personalityOverlapHint("ENFP", "INTJ")).toBe(
|
|
214
|
-
"You both picked N
|
|
214
|
+
"You both picked N. Good icebreaker."
|
|
215
215
|
);
|
|
216
216
|
expect(isLocusOfControlId("internal")).toBe(true);
|
|
217
217
|
expect(isLocusOfControlId("random")).toBe(false);
|
|
@@ -85,7 +85,7 @@ describe("formatNotableVenueEntryLine", () => {
|
|
|
85
85
|
isFavorite: true,
|
|
86
86
|
reasonTags: ["GreatSound", "ProStaff"],
|
|
87
87
|
})
|
|
88
|
-
).toBe("Main Room
|
|
88
|
+
).toBe("Main Room ★. Great sound · Pro staff / crew");
|
|
89
89
|
});
|
|
90
90
|
|
|
91
91
|
it("includes other note when Other tag selected", () => {
|
|
@@ -282,14 +282,14 @@ describe("HOST_CRM_PRESET_SEGMENTS", () => {
|
|
|
282
282
|
HOST_CRM_PRESET_SEGMENTS.find((p) => p.id === "no_show")?.rules
|
|
283
283
|
).toEqual({ noShow: true });
|
|
284
284
|
// last3Events is resolved at query time (host's most recently ended
|
|
285
|
-
// events) rather than static rules
|
|
285
|
+
// events) rather than static rules. See filterHostCrmAudience.
|
|
286
286
|
expect(
|
|
287
287
|
HOST_CRM_PRESET_SEGMENTS.find((p) => p.id === "last3Events")?.rules
|
|
288
288
|
).toEqual({});
|
|
289
289
|
});
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
describe("applyHostCrmSegmentRules
|
|
292
|
+
describe("applyHostCrmSegmentRules. Behavioral + spend rules", () => {
|
|
293
293
|
it("filters by minTotalSpendCents, noShow, and the behavioral flags", () => {
|
|
294
294
|
const audience = [
|
|
295
295
|
member({ userId: "spender", totalSpendCents: 50000 }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* bash-common promoterCompetitionUtils
|
|
2
|
+
* bash-common promoterCompetitionUtils. Pure function tests.
|
|
3
3
|
*
|
|
4
4
|
* Covers: formatPromoterRewardLabel, computePromoterCompetitionEconomics,
|
|
5
5
|
* suggestPromoterSalesGoal, getPromoterReputationLabel.
|
|
6
6
|
*
|
|
7
|
-
* No mocks needed
|
|
7
|
+
* No mocks needed. All functions are side-effect free.
|
|
8
8
|
*/
|
|
9
9
|
import {
|
|
10
10
|
formatPromoterRewardLabel,
|
|
@@ -170,7 +170,7 @@ describe("computePromoterCompetitionEconomics (bash-common)", () => {
|
|
|
170
170
|
expect(additive.maxCashRewardExposureCents).toBe(15500 + 20000);
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
it("effectiveAcquisitionCostPct is expressed as a 0
|
|
173
|
+
it("effectiveAcquisitionCostPct is expressed as a 0 to 100 percentage rounded to 1 decimal", () => {
|
|
174
174
|
// 10000 / 400000 = 0.025 → × 1000 = 25 → round → 25 → /10 = 2.5
|
|
175
175
|
const result = computePromoterCompetitionEconomics({
|
|
176
176
|
ticketPriceCents: 4000,
|
|
@@ -33,7 +33,7 @@ describe("seat location display", () => {
|
|
|
33
33
|
const loc = formatTierSeatingArea(map, ["s1", "s2", "s3"]);
|
|
34
34
|
expect(loc?.section).toBe("Orchestra");
|
|
35
35
|
expect(loc?.line).toMatch(/Orchestra/);
|
|
36
|
-
expect(loc?.line).toMatch(/Rows A
|
|
36
|
+
expect(loc?.line).toMatch(/Rows A to B/);
|
|
37
37
|
expect(isSeatMapDocument(map)).toBe(true);
|
|
38
38
|
});
|
|
39
39
|
|
package/src/accessScreening.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Event access screening
|
|
2
|
+
* Event access screening. Shared status values for API + app.
|
|
3
3
|
*
|
|
4
4
|
* Simple "Request access" (a note + host approve) is only for events that
|
|
5
5
|
* are not using the Application funnel. Application is the richer gate.
|
package/src/aiApproval.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { AiApprovalVerdict } from "@prisma/client";
|
|
|
13
13
|
/**
|
|
14
14
|
* Each criterion the model grades on.
|
|
15
15
|
*
|
|
16
|
-
* Keep this list short and stable
|
|
16
|
+
* Keep this list short and stable. It controls the persisted JSON shape, the prompt
|
|
17
17
|
* the model sees, and the badges the admin UI renders. Adding a new criterion is a
|
|
18
18
|
* schema change (existing rows will be missing it).
|
|
19
19
|
*/
|
|
@@ -27,7 +27,7 @@ export const AI_APPROVAL_CRITERION_KEYS = [
|
|
|
27
27
|
export type AiApprovalCriterionKey = (typeof AI_APPROVAL_CRITERION_KEYS)[number];
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Display labels for criteria
|
|
30
|
+
* Display labels for criteria. Used in the admin queue and any host-facing breakdown.
|
|
31
31
|
* Keep keys exhaustive against `AiApprovalCriterionKey` (compiler will yell if drift).
|
|
32
32
|
*/
|
|
33
33
|
export const AiApprovalCriterionLabel: Record<AiApprovalCriterionKey, string> = {
|
|
@@ -65,7 +65,7 @@ export interface AiApprovalReasons {
|
|
|
65
65
|
/**
|
|
66
66
|
* Runtime values for the Prisma `AiApprovalVerdict` enum.
|
|
67
67
|
*
|
|
68
|
-
* Browser code (bash-app) cannot rely on `@prisma/client`'s runtime enum exports
|
|
68
|
+
* Browser code (bash-app) cannot rely on `@prisma/client`'s runtime enum exports. The
|
|
69
69
|
* package's `browser` resolution doesn't reliably surface them when imported transitively
|
|
70
70
|
* via `@bash-app/bash-common`. So we mirror the enum here as a plain string-keyed object
|
|
71
71
|
* and `satisfies Record<AiApprovalVerdict, AiApprovalVerdict>` to guarantee at compile
|
package/src/appleIapProducts.ts
CHANGED
|
@@ -105,7 +105,7 @@ export const APPLE_MEMBERSHIP_PRODUCTS: readonly AppleMembershipProduct[] =
|
|
|
105
105
|
return [monthly, yearly, lifetime];
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
/** Listing seat subscriptions
|
|
108
|
+
/** Listing seat subscriptions. Dollars in SERVICE_SUBSCRIPTION_TIERS → cents. */
|
|
109
109
|
export const APPLE_LISTING_PRODUCTS: readonly AppleListingProduct[] = (
|
|
110
110
|
["Ally", "Partner", "Patron"] as const
|
|
111
111
|
).map((tier) => ({
|
package/src/applicationFunnel.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Host application funnel
|
|
2
|
+
* Host application funnel. Shared evaluation for API + app.
|
|
3
3
|
* Choice questions can auto-deny or flag a mismatch; free text is review-only.
|
|
4
4
|
*
|
|
5
5
|
* Later Posh gaps (tracked, not in this module): bash-page screened badge /
|
package/src/audienceImport.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Competitor audience import
|
|
2
|
+
* Competitor audience import. Shared types, CSV header maps, and fee comparison math.
|
|
3
3
|
* Adapters normalize Eventbrite / Luma / Partiful / Posh / generic CSVs into one row shape.
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -55,7 +55,7 @@ export const IMPORT_BATCH_SIZE = 500;
|
|
|
55
55
|
/** Partiful's published June 2026 example: guest pays $112 for a $100 organizer price. */
|
|
56
56
|
export const PARTIFUL_PUBLISHED_GUEST_MULTIPLIER = 112 / 100;
|
|
57
57
|
export const PARTIFUL_FEE_EXAMPLE_CITATION =
|
|
58
|
-
"Based on Partiful's published June 2026 example
|
|
58
|
+
"Based on Partiful's published June 2026 example. Their fee varies by event.";
|
|
59
59
|
|
|
60
60
|
export type TicketFeeCompareInput = {
|
|
61
61
|
ticketPriceCents: number;
|
|
@@ -56,7 +56,7 @@ export const BASH_EVENT_CANCELLATION_PRESETS: readonly BashEventCancellationPres
|
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
id: "flexible_1_day",
|
|
59
|
-
name: "Flexible
|
|
59
|
+
name: "Flexible. 24 hours",
|
|
60
60
|
summary: "Full refund until 24 hours before start.",
|
|
61
61
|
displayText:
|
|
62
62
|
"Full refund if you cancel at least 24 hours before the event starts. No refunds after that.",
|
|
@@ -64,7 +64,7 @@ export const BASH_EVENT_CANCELLATION_PRESETS: readonly BashEventCancellationPres
|
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
id: "flexible_7_day",
|
|
67
|
-
name: "Standard
|
|
67
|
+
name: "Standard. 7 days",
|
|
68
68
|
summary: "Full refund until 7 days before start.",
|
|
69
69
|
displayText:
|
|
70
70
|
"Full refund if you cancel at least 7 days before the event starts. No refunds after that.",
|
|
@@ -72,7 +72,7 @@ export const BASH_EVENT_CANCELLATION_PRESETS: readonly BashEventCancellationPres
|
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
id: "flexible_30_day",
|
|
75
|
-
name: "Strict
|
|
75
|
+
name: "Strict. 30 days",
|
|
76
76
|
summary: "Full refund until 30 days before start.",
|
|
77
77
|
displayText:
|
|
78
78
|
"Full refund if you cancel at least 30 days before the event starts. No refunds after that.",
|
package/src/budgetApproval.ts
CHANGED
package/src/causeTags.ts
CHANGED
|
@@ -32,7 +32,7 @@ export const CAUSE_TAGS: readonly CauseTag[] = [
|
|
|
32
32
|
{
|
|
33
33
|
id: "neighborhood",
|
|
34
34
|
label: "Neighborhood / block",
|
|
35
|
-
bashSeed: "This bash is for the neighbors
|
|
35
|
+
bashSeed: "This bash is for the neighbors. Building our block crew.",
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
id: "mutual_aid",
|
|
@@ -47,7 +47,7 @@ export const CAUSE_TAGS: readonly CauseTag[] = [
|
|
|
47
47
|
{
|
|
48
48
|
id: "music_scene",
|
|
49
49
|
label: "Music scene",
|
|
50
|
-
bashSeed: "Built for the local music scene
|
|
50
|
+
bashSeed: "Built for the local music scene. Come through for the sound.",
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
id: "youth",
|
|
@@ -57,7 +57,7 @@ export const CAUSE_TAGS: readonly CauseTag[] = [
|
|
|
57
57
|
{
|
|
58
58
|
id: "lgbtq",
|
|
59
59
|
label: "LGBTQ+",
|
|
60
|
-
bashSeed: "A queer-friendly bash
|
|
60
|
+
bashSeed: "A queer-friendly bash. Everyone who shows respect is welcome.",
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
id: "environment",
|
|
@@ -97,7 +97,7 @@ export const CAUSE_TAGS: readonly CauseTag[] = [
|
|
|
97
97
|
{
|
|
98
98
|
id: "civic",
|
|
99
99
|
label: "Civic / local politics",
|
|
100
|
-
bashSeed: "A civic hang
|
|
100
|
+
bashSeed: "A civic hang. Talk, organize, and show up for our city.",
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
id: "fundraiser",
|