@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.
Files changed (463) hide show
  1. package/dist/__tests__/agePolicy.test.js +6 -6
  2. package/dist/__tests__/agePolicy.test.js.map +1 -1
  3. package/dist/__tests__/bashEventCancellationPolicy.test.js +2 -2
  4. package/dist/__tests__/bashEventCancellationPolicy.test.js.map +1 -1
  5. package/dist/__tests__/bashSectionTitleForBashType.test.js +3 -3
  6. package/dist/__tests__/definitionsHelpers.test.js +1 -1
  7. package/dist/__tests__/definitionsHelpers.test.js.map +1 -1
  8. package/dist/__tests__/entertainmentNotableVenues.test.js +1 -1
  9. package/dist/__tests__/entertainmentNotableVenues.test.js.map +1 -1
  10. package/dist/__tests__/hostCrmCrowdPulse.test.js +1 -1
  11. package/dist/__tests__/hostCrmSegments.test.js +2 -2
  12. package/dist/__tests__/hostCrmSegments.test.js.map +1 -1
  13. package/dist/__tests__/hostPromoter.test.js +1 -1
  14. package/dist/__tests__/influencerAudience.test.js +1 -1
  15. package/dist/__tests__/influencerAudience.test.js.map +1 -1
  16. package/dist/__tests__/promoterCompetitionUtils.test.js +3 -3
  17. package/dist/__tests__/promoterCompetitionUtils.test.js.map +1 -1
  18. package/dist/__tests__/scenePulse.test.js +1 -1
  19. package/dist/__tests__/seatMap.test.js +1 -1
  20. package/dist/__tests__/seatMap.test.js.map +1 -1
  21. package/dist/__tests__/ticketAdmission.test.d.ts +1 -1
  22. package/dist/__tests__/ticketAdmission.test.js +1 -1
  23. package/dist/accessScreening.js +1 -1
  24. package/dist/aiApproval.d.ts +3 -3
  25. package/dist/aiApproval.js +3 -3
  26. package/dist/appleIapProducts.d.ts +1 -1
  27. package/dist/appleIapProducts.d.ts.map +1 -1
  28. package/dist/appleIapProducts.js +1 -1
  29. package/dist/appleIapProducts.js.map +1 -1
  30. package/dist/applicationFunnel.d.ts +1 -1
  31. package/dist/applicationFunnel.js +1 -1
  32. package/dist/audienceImport.d.ts +2 -2
  33. package/dist/audienceImport.d.ts.map +1 -1
  34. package/dist/audienceImport.js +2 -2
  35. package/dist/audienceImport.js.map +1 -1
  36. package/dist/bashEventCancellationPolicy.js +3 -3
  37. package/dist/bashEventCancellationPolicy.js.map +1 -1
  38. package/dist/budgetApproval.d.ts +1 -1
  39. package/dist/budgetApproval.js +1 -1
  40. package/dist/causeTags.js +4 -4
  41. package/dist/causeTags.js.map +1 -1
  42. package/dist/competitionIdeas.js +12 -12
  43. package/dist/competitionIdeas.js.map +1 -1
  44. package/dist/competitionValidation.d.ts +1 -1
  45. package/dist/competitionValidation.d.ts.map +1 -1
  46. package/dist/competitionValidation.js +1 -1
  47. package/dist/competitionValidation.js.map +1 -1
  48. package/dist/definitions.d.ts +35 -35
  49. package/dist/definitions.d.ts.map +1 -1
  50. package/dist/definitions.js +30 -30
  51. package/dist/definitions.js.map +1 -1
  52. package/dist/discoveryScope.d.ts +2 -2
  53. package/dist/discoveryScope.js +2 -2
  54. package/dist/entertainmentNotableVenues.js +1 -1
  55. package/dist/entertainmentNotableVenues.js.map +1 -1
  56. package/dist/extendedSchemas.d.ts +150 -150
  57. package/dist/extendedSchemas.d.ts.map +1 -1
  58. package/dist/extendedSchemas.js +11 -11
  59. package/dist/extendedSchemas.js.map +1 -1
  60. package/dist/fundingMeter.d.ts +1 -1
  61. package/dist/fundingMeter.js +1 -1
  62. package/dist/giveaway.d.ts +2 -2
  63. package/dist/giveaway.d.ts.map +1 -1
  64. package/dist/giveaway.js +2 -2
  65. package/dist/giveaway.js.map +1 -1
  66. package/dist/guestPartySize.js +3 -3
  67. package/dist/guestPartySize.js.map +1 -1
  68. package/dist/home.d.ts +1 -1
  69. package/dist/homepageSyntheticRows.d.ts +2 -2
  70. package/dist/homepageSyntheticRows.d.ts.map +1 -1
  71. package/dist/homepageSyntheticRows.js +2 -2
  72. package/dist/homepageSyntheticRows.js.map +1 -1
  73. package/dist/hostCrmAutomation.d.ts +11 -11
  74. package/dist/hostCrmAutomation.d.ts.map +1 -1
  75. package/dist/hostCrmAutomation.js +9 -9
  76. package/dist/hostCrmAutomation.js.map +1 -1
  77. package/dist/hostCrmConstants.d.ts +1 -1
  78. package/dist/hostCrmConstants.d.ts.map +1 -1
  79. package/dist/hostCrmConstants.js +1 -1
  80. package/dist/hostCrmConstants.js.map +1 -1
  81. package/dist/hostCrmCrowdPulse.d.ts +2 -2
  82. package/dist/hostCrmCrowdPulse.d.ts.map +1 -1
  83. package/dist/hostCrmCrowdPulse.js +1 -1
  84. package/dist/hostCrmInsights.d.ts +3 -3
  85. package/dist/hostCrmLastBashProof.d.ts +2 -2
  86. package/dist/hostCrmLastBashProof.d.ts.map +1 -1
  87. package/dist/hostCrmLastBashProof.js +1 -1
  88. package/dist/hostCrmSegments.d.ts +10 -10
  89. package/dist/hostCrmSegments.d.ts.map +1 -1
  90. package/dist/hostCrmSegments.js +2 -2
  91. package/dist/hostCrmSegments.js.map +1 -1
  92. package/dist/hostPromoter.d.ts +1 -1
  93. package/dist/hostPromoter.d.ts.map +1 -1
  94. package/dist/hostPromoter.js +1 -1
  95. package/dist/hostPromoter.js.map +1 -1
  96. package/dist/icebreakerPrompts.js +2 -2
  97. package/dist/icebreakerPrompts.js.map +1 -1
  98. package/dist/index.js +1 -1
  99. package/dist/index.js.map +1 -1
  100. package/dist/influencerAudience.js +3 -3
  101. package/dist/influencerAudience.js.map +1 -1
  102. package/dist/liveActivity/liveActivityTypes.d.ts +10 -10
  103. package/dist/liveActivity/liveActivityTypes.d.ts.map +1 -1
  104. package/dist/liveActivity/liveActivityTypes.js +2 -2
  105. package/dist/liveActivity/liveActivityTypes.js.map +1 -1
  106. package/dist/locationShare.d.ts +2 -2
  107. package/dist/locationShare.d.ts.map +1 -1
  108. package/dist/locationShare.js +2 -2
  109. package/dist/locationShare.js.map +1 -1
  110. package/dist/membershipDefinitions.d.ts +5 -5
  111. package/dist/membershipDefinitions.d.ts.map +1 -1
  112. package/dist/membershipDefinitions.js +21 -21
  113. package/dist/membershipDefinitions.js.map +1 -1
  114. package/dist/mirroredPrismaEnums.d.ts +6 -6
  115. package/dist/mirroredPrismaEnums.js +6 -6
  116. package/dist/onSaleCapabilityRecommendations.d.ts +1 -1
  117. package/dist/onSaleCapabilityRecommendations.js +1 -1
  118. package/dist/partnerStoreTypes.d.ts +1 -1
  119. package/dist/partnerStoreTypes.d.ts.map +1 -1
  120. package/dist/productLaunch.d.ts +2 -2
  121. package/dist/productLaunch.d.ts.map +1 -1
  122. package/dist/productLaunch.js +2 -2
  123. package/dist/productLaunch.js.map +1 -1
  124. package/dist/relationshipHealth.d.ts +3 -3
  125. package/dist/relationshipHealth.d.ts.map +1 -1
  126. package/dist/relationshipHealth.js +3 -3
  127. package/dist/relationshipHealth.js.map +1 -1
  128. package/dist/scenePulse.d.ts +2 -2
  129. package/dist/scenePulse.js +1 -1
  130. package/dist/seatMap.d.ts +1 -1
  131. package/dist/seatMap.d.ts.map +1 -1
  132. package/dist/seatMap.js +2 -2
  133. package/dist/seatMap.js.map +1 -1
  134. package/dist/seatMapBestAvailable.js +2 -2
  135. package/dist/seatMapBestAvailable.js.map +1 -1
  136. package/dist/serviceTypeLabels.d.ts +3 -3
  137. package/dist/serviceTypeLabels.js +3 -3
  138. package/dist/sideQuestIdeas.js +8 -8
  139. package/dist/sideQuestIdeas.js.map +1 -1
  140. package/dist/sideQuestTypes.js +2 -2
  141. package/dist/sideQuestTypes.js.map +1 -1
  142. package/dist/sms/smsTemplates.d.ts +1 -1
  143. package/dist/sms/smsTemplates.js +1 -1
  144. package/dist/stripeListingSubscriptionMessages.d.ts +1 -1
  145. package/dist/stripeListingSubscriptionMessages.js +1 -1
  146. package/dist/targetAudienceLabels.d.ts +1 -1
  147. package/dist/targetAudienceLabels.js +1 -1
  148. package/dist/ticketBnplPaymentMethods.d.ts +3 -3
  149. package/dist/ticketBnplPaymentMethods.d.ts.map +1 -1
  150. package/dist/ticketBnplPaymentMethods.js +2 -2
  151. package/dist/userReportTypes.d.ts +1 -1
  152. package/dist/userReportTypes.d.ts.map +1 -1
  153. package/dist/userReportTypes.js +1 -1
  154. package/dist/userReportTypes.js.map +1 -1
  155. package/dist/userTaste.d.ts +2 -2
  156. package/dist/userTaste.d.ts.map +1 -1
  157. package/dist/userTaste.js +2 -2
  158. package/dist/userTaste.js.map +1 -1
  159. package/dist/utils/__tests__/badgeUtils.test.js +5 -5
  160. package/dist/utils/__tests__/badgeUtils.test.js.map +1 -1
  161. package/dist/utils/__tests__/bashPointsPaymentUtils.test.js +4 -4
  162. package/dist/utils/__tests__/bashPointsPaymentUtils.test.js.map +1 -1
  163. package/dist/utils/__tests__/contentFilterUtils.test.js +23 -23
  164. package/dist/utils/__tests__/contentFilterUtils.test.js.map +1 -1
  165. package/dist/utils/__tests__/dateTimeUtils.test.js +1 -1
  166. package/dist/utils/__tests__/displayDateUtils.test.js +1 -1
  167. package/dist/utils/__tests__/flyerUtils.test.js +1 -1
  168. package/dist/utils/__tests__/flyerUtils.test.js.map +1 -1
  169. package/dist/utils/__tests__/getBackendHost.test.js +8 -8
  170. package/dist/utils/__tests__/getBackendHost.test.js.map +1 -1
  171. package/dist/utils/__tests__/getFrontendHost.native.test.js +1 -1
  172. package/dist/utils/__tests__/getFrontendHost.native.test.js.map +1 -1
  173. package/dist/utils/__tests__/getFrontendHost.test.js +9 -9
  174. package/dist/utils/__tests__/getFrontendHost.test.js.map +1 -1
  175. package/dist/utils/__tests__/organizationEntitlements.test.js +1 -1
  176. package/dist/utils/__tests__/organizationEntitlements.test.js.map +1 -1
  177. package/dist/utils/__tests__/paymentUtils.test.js +7 -7
  178. package/dist/utils/__tests__/paymentUtils.test.js.map +1 -1
  179. package/dist/utils/__tests__/promoCodesUtils.test.js +2 -2
  180. package/dist/utils/__tests__/promoCodesUtils.test.js.map +1 -1
  181. package/dist/utils/__tests__/qrCodeUtils.test.js +4 -4
  182. package/dist/utils/__tests__/qrCodeUtils.test.js.map +1 -1
  183. package/dist/utils/__tests__/reviewDimensionUtils.test.js +1 -1
  184. package/dist/utils/__tests__/reviewDimensionUtils.test.js.map +1 -1
  185. package/dist/utils/__tests__/stripeAccountUtils.test.js +1 -1
  186. package/dist/utils/__tests__/ticketPrintPostageUtils.test.js +1 -1
  187. package/dist/utils/__tests__/ticketPrintPostageUtils.test.js.map +1 -1
  188. package/dist/utils/addressUtils.js +1 -1
  189. package/dist/utils/addressUtils.js.map +1 -1
  190. package/dist/utils/apiUtils.js +1 -1
  191. package/dist/utils/apiUtils.js.map +1 -1
  192. package/dist/utils/birthdayExperienceQuality.d.ts +1 -1
  193. package/dist/utils/birthdayExperienceQuality.js +4 -4
  194. package/dist/utils/birthdayExperienceQuality.js.map +1 -1
  195. package/dist/utils/blogUtils.d.ts +1 -1
  196. package/dist/utils/blogUtils.d.ts.map +1 -1
  197. package/dist/utils/blogUtils.js +2 -2
  198. package/dist/utils/blogUtils.js.map +1 -1
  199. package/dist/utils/discountEngine/discountCalculator.js +1 -1
  200. package/dist/utils/discountEngine/discountCalculator.js.map +1 -1
  201. package/dist/utils/displayDateUtils.d.ts +2 -2
  202. package/dist/utils/displayDateUtils.d.ts.map +1 -1
  203. package/dist/utils/displayDateUtils.js +2 -2
  204. package/dist/utils/displayDateUtils.js.map +1 -1
  205. package/dist/utils/entertainmentDrawFit.d.ts +1 -1
  206. package/dist/utils/entertainmentDrawFit.js +1 -1
  207. package/dist/utils/eventTimezoneIana.d.ts +1 -1
  208. package/dist/utils/eventTimezoneIana.js +4 -4
  209. package/dist/utils/eventTimezoneIana.js.map +1 -1
  210. package/dist/utils/flyerUtils.d.ts +2 -2
  211. package/dist/utils/flyerUtils.d.ts.map +1 -1
  212. package/dist/utils/flyerUtils.js +3 -3
  213. package/dist/utils/flyerUtils.js.map +1 -1
  214. package/dist/utils/groupTicketCartUtils.js +1 -1
  215. package/dist/utils/groupTicketCartUtils.js.map +1 -1
  216. package/dist/utils/guestSurface.d.ts +2 -2
  217. package/dist/utils/guestSurface.d.ts.map +1 -1
  218. package/dist/utils/guestSurface.js +4 -4
  219. package/dist/utils/guestSurface.js.map +1 -1
  220. package/dist/utils/lobFlyerUtils.d.ts +2 -2
  221. package/dist/utils/lobFlyerUtils.js +2 -2
  222. package/dist/utils/luxonUtils.d.ts +4 -4
  223. package/dist/utils/luxonUtils.js +5 -5
  224. package/dist/utils/luxonUtils.js.map +1 -1
  225. package/dist/utils/moodTrackUtils.d.ts +1 -1
  226. package/dist/utils/moodTrackUtils.js +1 -1
  227. package/dist/utils/nonprofitUtils.d.ts +3 -3
  228. package/dist/utils/nonprofitUtils.js +2 -2
  229. package/dist/utils/orgPromotionalPackageUtils.d.ts +1 -1
  230. package/dist/utils/orgPromotionalPackageUtils.js +1 -1
  231. package/dist/utils/organizationEntitlements.d.ts +4 -4
  232. package/dist/utils/organizationEntitlements.js +3 -3
  233. package/dist/utils/paymentUtils.d.ts +10 -10
  234. package/dist/utils/paymentUtils.js +9 -9
  235. package/dist/utils/promoterCompetitionUtils.d.ts +4 -4
  236. package/dist/utils/promoterCompetitionUtils.d.ts.map +1 -1
  237. package/dist/utils/promoterCompetitionUtils.js +7 -7
  238. package/dist/utils/promoterCompetitionUtils.js.map +1 -1
  239. package/dist/utils/promotionBlastUtils.d.ts +1 -1
  240. package/dist/utils/promotionBlastUtils.js +4 -4
  241. package/dist/utils/promotionBlastUtils.js.map +1 -1
  242. package/dist/utils/qrCodeUtils.d.ts +3 -3
  243. package/dist/utils/qrCodeUtils.d.ts.map +1 -1
  244. package/dist/utils/qrCodeUtils.js +3 -3
  245. package/dist/utils/qrCodeUtils.js.map +1 -1
  246. package/dist/utils/recurrenceUtils.d.ts +1 -1
  247. package/dist/utils/recurrenceUtils.js +1 -1
  248. package/dist/utils/reputationUtils.d.ts +2 -2
  249. package/dist/utils/reputationUtils.d.ts.map +1 -1
  250. package/dist/utils/reputationUtils.js +1 -1
  251. package/dist/utils/reputationUtils.js.map +1 -1
  252. package/dist/utils/reviewDimensionUtils.d.ts +2 -2
  253. package/dist/utils/reviewDimensionUtils.d.ts.map +1 -1
  254. package/dist/utils/reviewDimensionUtils.js +1 -1
  255. package/dist/utils/reviewDimensionUtils.js.map +1 -1
  256. package/dist/utils/service/__tests__/billingCapUtils.test.js +3 -3
  257. package/dist/utils/service/__tests__/billingCapUtils.test.js.map +1 -1
  258. package/dist/utils/service/__tests__/eventPromoterPhase3.test.js +1 -1
  259. package/dist/utils/service/__tests__/eventPromoterUtils.test.js +1 -1
  260. package/dist/utils/service/__tests__/eventPromoterUtils.test.js.map +1 -1
  261. package/dist/utils/service/__tests__/frontendServiceBookingUtils.test.js +2 -2
  262. package/dist/utils/service/__tests__/frontendServiceBookingUtils.test.js.map +1 -1
  263. package/dist/utils/service/__tests__/serviceBookingExposureUtils.test.js +1 -1
  264. package/dist/utils/service/__tests__/serviceBookingExposureUtils.test.js.map +1 -1
  265. package/dist/utils/service/__tests__/serviceBookingStatusUtils.test.js +2 -2
  266. package/dist/utils/service/__tests__/serviceBookingStatusUtils.test.js.map +1 -1
  267. package/dist/utils/service/__tests__/serviceRateUtils.test.js +6 -6
  268. package/dist/utils/service/__tests__/serviceRateUtils.test.js.map +1 -1
  269. package/dist/utils/service/apiServiceBookingApiUtils.js +1 -1
  270. package/dist/utils/service/apiServiceBookingApiUtils.js.map +1 -1
  271. package/dist/utils/service/billingCapUtils.d.ts +5 -5
  272. package/dist/utils/service/billingCapUtils.js +5 -5
  273. package/dist/utils/service/cancellationPolicyRefundResolver.d.ts +1 -1
  274. package/dist/utils/service/cancellationPolicyRefundResolver.d.ts.map +1 -1
  275. package/dist/utils/service/eventPromoterUtils.d.ts +17 -17
  276. package/dist/utils/service/eventPromoterUtils.d.ts.map +1 -1
  277. package/dist/utils/service/eventPromoterUtils.js +11 -11
  278. package/dist/utils/service/eventPromoterUtils.js.map +1 -1
  279. package/dist/utils/service/foodAndBeverageQuote.d.ts +8 -8
  280. package/dist/utils/service/foodAndBeverageQuote.js +8 -8
  281. package/dist/utils/service/offerAllowListUtils.d.ts +1 -1
  282. package/dist/utils/service/offerComparisonUtils.d.ts +6 -6
  283. package/dist/utils/service/offerComparisonUtils.js +2 -2
  284. package/dist/utils/service/offerComparisonUtils.js.map +1 -1
  285. package/dist/utils/service/serviceBookingExposureUtils.d.ts +7 -7
  286. package/dist/utils/service/serviceBookingExposureUtils.js +5 -5
  287. package/dist/utils/service/serviceBookingExposureUtils.js.map +1 -1
  288. package/dist/utils/service/serviceFeaturedSortUtils.js +2 -2
  289. package/dist/utils/service/serviceFeaturedSortUtils.js.map +1 -1
  290. package/dist/utils/service/serviceListingMediaUtils.d.ts +2 -2
  291. package/dist/utils/service/serviceListingMediaUtils.d.ts.map +1 -1
  292. package/dist/utils/service/serviceListingMediaUtils.js +2 -2
  293. package/dist/utils/service/serviceListingMediaUtils.js.map +1 -1
  294. package/dist/utils/service/serviceUtils.js +2 -2
  295. package/dist/utils/service/serviceUtils.js.map +1 -1
  296. package/dist/utils/service/unifiedPricingResolver.d.ts +5 -5
  297. package/dist/utils/service/unifiedPricingResolver.d.ts.map +1 -1
  298. package/dist/utils/service/venueSettlementUtils.d.ts +2 -2
  299. package/dist/utils/service/venueSettlementUtils.js +3 -3
  300. package/dist/utils/service/venueSettlementUtils.js.map +1 -1
  301. package/dist/utils/service/volunteerCompensationUtils.d.ts +2 -2
  302. package/dist/utils/service/volunteerCompensationUtils.js +1 -1
  303. package/dist/utils/service/volunteerCompensationUtils.js.map +1 -1
  304. package/dist/utils/slugUtils.d.ts +1 -1
  305. package/dist/utils/slugUtils.js +1 -1
  306. package/dist/utils/ticketPrintPostageUtils.d.ts +4 -4
  307. package/dist/utils/ticketPrintPostageUtils.js +5 -5
  308. package/dist/utils/ticketPrintPostageUtils.js.map +1 -1
  309. package/dist/utils/ticketTierSchedule.d.ts +1 -1
  310. package/dist/utils/ticketTierSchedule.js +4 -4
  311. package/dist/utils/ticketTierSchedule.js.map +1 -1
  312. package/dist/utils/trustScoreUtils.d.ts +1 -1
  313. package/dist/utils/trustScoreUtils.js +1 -1
  314. package/dist/utils/urlUtils.d.ts +2 -2
  315. package/dist/utils/urlUtils.js +2 -2
  316. package/dist/utils/userUtils.d.ts +4 -4
  317. package/dist/utils/userUtils.js +3 -3
  318. package/dist/utils/venueLoyalty/__tests__/eligibilityUtils.test.js +1 -1
  319. package/dist/utils/venueLoyalty/__tests__/redemptionCodeUtils.test.js +1 -1
  320. package/dist/utils/venueLoyalty/redemptionCodeUtils.d.ts +3 -3
  321. package/dist/utils/venueLoyalty/redemptionCodeUtils.js +3 -3
  322. package/dist/venueLoyaltyRedemption.d.ts +2 -2
  323. package/dist/venueLoyaltyRedemption.js +1 -1
  324. package/dist/venueMatch.d.ts +4 -4
  325. package/dist/venueMatch.d.ts.map +1 -1
  326. package/dist/venueMatch.js +1 -1
  327. package/dist/venueMatch.js.map +1 -1
  328. package/package.json +1 -1
  329. package/src/__tests__/agePolicy.test.ts +6 -6
  330. package/src/__tests__/bashEventCancellationPolicy.test.ts +2 -2
  331. package/src/__tests__/bashSectionTitleForBashType.test.ts +3 -3
  332. package/src/__tests__/definitionsHelpers.test.ts +1 -1
  333. package/src/__tests__/entertainmentNotableVenues.test.ts +1 -1
  334. package/src/__tests__/hostCrmCrowdPulse.test.ts +1 -1
  335. package/src/__tests__/hostCrmSegments.test.ts +2 -2
  336. package/src/__tests__/hostPromoter.test.ts +1 -1
  337. package/src/__tests__/influencerAudience.test.ts +1 -1
  338. package/src/__tests__/promoterCompetitionUtils.test.ts +3 -3
  339. package/src/__tests__/scenePulse.test.ts +1 -1
  340. package/src/__tests__/seatMap.test.ts +1 -1
  341. package/src/__tests__/ticketAdmission.test.ts +1 -1
  342. package/src/accessScreening.ts +1 -1
  343. package/src/aiApproval.ts +3 -3
  344. package/src/appleIapProducts.ts +1 -1
  345. package/src/applicationFunnel.ts +1 -1
  346. package/src/audienceImport.ts +2 -2
  347. package/src/bashEventCancellationPolicy.ts +3 -3
  348. package/src/budgetApproval.ts +1 -1
  349. package/src/causeTags.ts +4 -4
  350. package/src/competitionIdeas.ts +12 -12
  351. package/src/competitionValidation.ts +1 -1
  352. package/src/definitions.ts +42 -42
  353. package/src/discoveryScope.ts +2 -2
  354. package/src/entertainmentNotableVenues.ts +1 -1
  355. package/src/extendedSchemas.ts +41 -41
  356. package/src/fundingMeter.ts +1 -1
  357. package/src/giveaway.ts +2 -2
  358. package/src/guestPartySize.ts +3 -3
  359. package/src/home.ts +1 -1
  360. package/src/homepageSyntheticRows.ts +2 -2
  361. package/src/hostCrmAutomation.ts +11 -11
  362. package/src/hostCrmConstants.ts +1 -1
  363. package/src/hostCrmCrowdPulse.ts +2 -2
  364. package/src/hostCrmInsights.ts +3 -3
  365. package/src/hostCrmLastBashProof.ts +2 -2
  366. package/src/hostCrmSegments.ts +12 -12
  367. package/src/hostPromoter.ts +1 -1
  368. package/src/icebreakerPrompts.ts +2 -2
  369. package/src/index.ts +1 -1
  370. package/src/influencerAudience.ts +3 -3
  371. package/src/liveActivity/liveActivityTypes.ts +10 -10
  372. package/src/locationShare.ts +2 -2
  373. package/src/membershipDefinitions.ts +21 -21
  374. package/src/mirroredPrismaEnums.ts +6 -6
  375. package/src/onSaleCapabilityRecommendations.ts +1 -1
  376. package/src/partnerStoreTypes.ts +1 -1
  377. package/src/productLaunch.ts +2 -2
  378. package/src/relationshipHealth.ts +5 -5
  379. package/src/scenePulse.ts +2 -2
  380. package/src/seatMap.ts +3 -3
  381. package/src/seatMapBestAvailable.ts +2 -2
  382. package/src/serviceTypeLabels.ts +3 -3
  383. package/src/sideQuestIdeas.ts +8 -8
  384. package/src/sideQuestTypes.ts +2 -2
  385. package/src/sms/smsTemplates.ts +1 -1
  386. package/src/stripeListingSubscriptionMessages.ts +1 -1
  387. package/src/targetAudienceLabels.ts +1 -1
  388. package/src/ticketBnplPaymentMethods.ts +3 -3
  389. package/src/userReportTypes.ts +1 -1
  390. package/src/userTaste.ts +2 -2
  391. package/src/utils/__tests__/badgeUtils.test.ts +5 -5
  392. package/src/utils/__tests__/bashPointsPaymentUtils.test.ts +4 -4
  393. package/src/utils/__tests__/contentFilterUtils.test.ts +23 -23
  394. package/src/utils/__tests__/dateTimeUtils.test.ts +1 -1
  395. package/src/utils/__tests__/displayDateUtils.test.ts +1 -1
  396. package/src/utils/__tests__/flyerUtils.test.ts +1 -1
  397. package/src/utils/__tests__/getBackendHost.test.ts +8 -8
  398. package/src/utils/__tests__/getFrontendHost.native.test.ts +1 -1
  399. package/src/utils/__tests__/getFrontendHost.test.ts +9 -9
  400. package/src/utils/__tests__/organizationEntitlements.test.ts +1 -1
  401. package/src/utils/__tests__/paymentUtils.test.ts +7 -7
  402. package/src/utils/__tests__/promoCodesUtils.test.ts +2 -2
  403. package/src/utils/__tests__/qrCodeUtils.test.ts +4 -4
  404. package/src/utils/__tests__/reviewDimensionUtils.test.ts +1 -1
  405. package/src/utils/__tests__/stripeAccountUtils.test.ts +1 -1
  406. package/src/utils/__tests__/ticketPrintPostageUtils.test.ts +1 -1
  407. package/src/utils/addressUtils.ts +1 -1
  408. package/src/utils/apiUtils.ts +1 -1
  409. package/src/utils/birthdayExperienceQuality.ts +4 -4
  410. package/src/utils/blogUtils.ts +2 -2
  411. package/src/utils/discountEngine/discountCalculator.ts +1 -1
  412. package/src/utils/displayDateUtils.ts +2 -2
  413. package/src/utils/entertainmentDrawFit.ts +1 -1
  414. package/src/utils/eventTimezoneIana.ts +4 -4
  415. package/src/utils/flyerUtils.ts +3 -3
  416. package/src/utils/groupTicketCartUtils.ts +1 -1
  417. package/src/utils/guestSurface.ts +5 -5
  418. package/src/utils/lobFlyerUtils.ts +2 -2
  419. package/src/utils/luxonUtils.ts +5 -5
  420. package/src/utils/moodTrackUtils.ts +1 -1
  421. package/src/utils/nonprofitUtils.ts +3 -3
  422. package/src/utils/orgPromotionalPackageUtils.ts +1 -1
  423. package/src/utils/organizationEntitlements.ts +4 -4
  424. package/src/utils/paymentUtils.ts +10 -10
  425. package/src/utils/promoterCompetitionUtils.ts +8 -8
  426. package/src/utils/promotionBlastUtils.ts +4 -4
  427. package/src/utils/qrCodeUtils.ts +3 -3
  428. package/src/utils/recurrenceUtils.ts +1 -1
  429. package/src/utils/reputationUtils.ts +3 -3
  430. package/src/utils/reviewDimensionUtils.ts +2 -2
  431. package/src/utils/service/__tests__/billingCapUtils.test.ts +3 -3
  432. package/src/utils/service/__tests__/eventPromoterPhase3.test.ts +1 -1
  433. package/src/utils/service/__tests__/eventPromoterUtils.test.ts +1 -1
  434. package/src/utils/service/__tests__/frontendServiceBookingUtils.test.ts +2 -2
  435. package/src/utils/service/__tests__/serviceBookingExposureUtils.test.ts +1 -1
  436. package/src/utils/service/__tests__/serviceBookingStatusUtils.test.ts +2 -2
  437. package/src/utils/service/__tests__/serviceRateUtils.test.ts +6 -6
  438. package/src/utils/service/apiServiceBookingApiUtils.ts +1 -1
  439. package/src/utils/service/billingCapUtils.ts +5 -5
  440. package/src/utils/service/cancellationPolicyRefundResolver.ts +1 -1
  441. package/src/utils/service/eventPromoterUtils.ts +27 -27
  442. package/src/utils/service/foodAndBeverageQuote.ts +8 -8
  443. package/src/utils/service/offerAllowListUtils.ts +1 -1
  444. package/src/utils/service/offerComparisonUtils.ts +8 -8
  445. package/src/utils/service/serviceBookingExposureUtils.ts +8 -8
  446. package/src/utils/service/serviceBookingTypes.ts +2 -2
  447. package/src/utils/service/serviceFeaturedSortUtils.ts +2 -2
  448. package/src/utils/service/serviceListingMediaUtils.ts +2 -2
  449. package/src/utils/service/serviceUtils.ts +2 -2
  450. package/src/utils/service/unifiedPricingResolver.ts +5 -5
  451. package/src/utils/service/venueSettlementUtils.ts +3 -3
  452. package/src/utils/service/volunteerCompensationUtils.ts +3 -3
  453. package/src/utils/slugUtils.ts +1 -1
  454. package/src/utils/ticketPrintPostageUtils.ts +5 -5
  455. package/src/utils/ticketTierSchedule.ts +4 -4
  456. package/src/utils/trustScoreUtils.ts +1 -1
  457. package/src/utils/urlUtils.ts +2 -2
  458. package/src/utils/userUtils.ts +4 -4
  459. package/src/utils/venueLoyalty/__tests__/eligibilityUtils.test.ts +1 -1
  460. package/src/utils/venueLoyalty/__tests__/redemptionCodeUtils.test.ts +1 -1
  461. package/src/utils/venueLoyalty/redemptionCodeUtils.ts +3 -3
  462. package/src/venueLoyaltyRedemption.ts +2 -2
  463. 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` — accepts any object that has the
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 — wins over the enum so the user sees their own words.
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 — used in Settings, the account
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 — friendlier phrasing of how often
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>;
@@ -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 — wins over the enum so the user sees their own words.
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 — used in Settings, the account
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 — friendlier phrasing of how often
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 — same logic runs on API + bash-app, so this
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 — fat-finger characters
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 — the retry loop in
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 — uppercase, strip whitespace + dashes — before
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 — caller should surface a 5xx, this would mean
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 — the retry loop in
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 — uppercase, strip whitespace + dashes — before
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 — caller should surface a 5xx, this would mean
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` — see
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) — currently still issued for traceability.
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` — see
4
+ * `CreditSourceType.VenueLoyaltyRedemption`. See
5
5
  * `api/src/services/venueLoyaltyRedemptionService.ts`.
6
6
  */
7
7
  /**
@@ -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 — single source for the pipeline UI + CSV export. */
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 — the scorer omits weights for missing signals.
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" — free text, lowercased */
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 — deep link target */
106
+ /** Marketplace only. Deep link target */
107
107
  serviceDetailPath: string | null;
108
108
  }
109
109
  /** One candidate as served to the host UI. */
@@ -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,8F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B,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"}
@@ -38,7 +38,7 @@ export const VENUE_SUPPLY_LEAD_STAGES = {
38
38
  Declined: "Declined",
39
39
  DoNotContact: "DoNotContact",
40
40
  };
41
- /** Admin display labels — single source for the pipeline UI + CSV export. */
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",
@@ -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;IACtC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,mBAAmB,EAAE,qBAAqB;IAC1C,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CACpB,CAAC;AAIX,wEAAwE;AACxE,MAAM,CAAC,MAAM,wBAAwB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pB,CAAC;AAIX,wEAAwE;AACxE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;CACpB,CAAC;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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "30.424.0",
3
+ "version": "30.425.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * AgePolicy helpers — unit tests.
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 — birthday already passed this year.
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 — under 1 year old.
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 — even with no DOB", () => {
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+ — still a match.
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+ — no match.
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 — 7 days", () => {
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 — 7 days");
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") — these have
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 — for example
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 — never with
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 — good icebreaker."
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 ★ — Great sound · Pro staff / crew");
88
+ ).toBe("Main Room ★. Great sound · Pro staff / crew");
89
89
  });
90
90
 
91
91
  it("includes other note when Other tag selected", () => {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * hostCrmCrowdPulse — horizon classification for Crowd Pulse / My Bashes.
2
+ * hostCrmCrowdPulse. Horizon classification for Crowd Pulse / My Bashes.
3
3
  */
4
4
  import { describe, expect, test } from "@jest/globals";
5
5
 
@@ -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 — see filterHostCrmAudience.
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 — behavioral + spend rules", () => {
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,5 +1,5 @@
1
1
  /**
2
- * hostPromoter — kind/subtype mapping, hireable guards, deep links, influencer tiers.
2
+ * hostPromoter. Kind/subtype mapping, hireable guards, deep links, influencer tiers.
3
3
  */
4
4
  import { describe, expect, test } from "@jest/globals";
5
5
  import {
@@ -13,7 +13,7 @@ describe("influencerAudience", () => {
13
13
 
14
14
  it("formats tier with follower band", () => {
15
15
  expect(formatInfluencerAudienceTier("Micro")).toBe(
16
- "Micro (10K–100K followers)"
16
+ "Micro (10K. 100K followers)"
17
17
  );
18
18
  });
19
19
 
@@ -1,10 +1,10 @@
1
1
  /**
2
- * bash-common promoterCompetitionUtils — pure function tests.
2
+ * bash-common promoterCompetitionUtils. Pure function tests.
3
3
  *
4
4
  * Covers: formatPromoterRewardLabel, computePromoterCompetitionEconomics,
5
5
  * suggestPromoterSalesGoal, getPromoterReputationLabel.
6
6
  *
7
- * No mocks needed — all functions are side-effect free.
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–100 percentage rounded to 1 decimal", () => {
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,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * parseScenePulseScope — city default, invalid → null.
2
+ * parseScenePulseScope. City default, invalid → null.
3
3
  */
4
4
  import { describe, expect, test } from "@jest/globals";
5
5
 
@@ -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–B/);
36
+ expect(loc?.line).toMatch(/Rows A to B/);
37
37
  expect(isSeatMapDocument(map)).toBe(true);
38
38
  });
39
39
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Ticket admission helpers — paid vs pay-at-door state.
2
+ * Ticket admission helpers. Paid vs pay-at-door state.
3
3
  */
4
4
 
5
5
  import { describe, expect, test } from "@jest/globals";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Event access screening — shared status values for API + app.
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 — it controls the persisted JSON shape, the prompt
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 — used in the admin queue and any host-facing breakdown.
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 — the
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
@@ -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 — dollars in SERVICE_SUBSCRIPTION_TIERS → cents. */
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) => ({
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Host application funnel — shared evaluation for API + app.
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 /
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Competitor audience import — shared types, CSV header maps, and fee comparison math.
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 — their fee varies by event.";
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 — 24 hours",
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 — 7 days",
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 — 30 days",
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.",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Event-level budget approval requests — plan sign-off and pre-plan cap asks.
2
+ * Event-level budget approval requests. Plan sign-off and pre-plan cap asks.
3
3
  * Shared types and validation for api + bash-app.
4
4
  */
5
5
 
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 — building our block crew.",
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 — come through for the sound.",
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 — everyone who shows respect is welcome.",
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 — talk, organize, and show up for our city.",
100
+ bashSeed: "A civic hang. Talk, organize, and show up for our city.",
101
101
  },
102
102
  {
103
103
  id: "fundraiser",