@bash-app/bash-common 30.424.0 → 30.427.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 (472) 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__/guestSurface.test.js +1 -0
  176. package/dist/utils/__tests__/guestSurface.test.js.map +1 -1
  177. package/dist/utils/__tests__/organizationEntitlements.test.js +1 -1
  178. package/dist/utils/__tests__/organizationEntitlements.test.js.map +1 -1
  179. package/dist/utils/__tests__/paymentUtils.test.js +7 -7
  180. package/dist/utils/__tests__/paymentUtils.test.js.map +1 -1
  181. package/dist/utils/__tests__/promoCodesUtils.test.js +2 -2
  182. package/dist/utils/__tests__/promoCodesUtils.test.js.map +1 -1
  183. package/dist/utils/__tests__/qrCodeUtils.test.js +4 -4
  184. package/dist/utils/__tests__/qrCodeUtils.test.js.map +1 -1
  185. package/dist/utils/__tests__/recurrenceUtils.test.js +18 -0
  186. package/dist/utils/__tests__/recurrenceUtils.test.js.map +1 -1
  187. package/dist/utils/__tests__/reviewDimensionUtils.test.js +1 -1
  188. package/dist/utils/__tests__/reviewDimensionUtils.test.js.map +1 -1
  189. package/dist/utils/__tests__/stripeAccountUtils.test.js +1 -1
  190. package/dist/utils/__tests__/ticketPrintPostageUtils.test.js +1 -1
  191. package/dist/utils/__tests__/ticketPrintPostageUtils.test.js.map +1 -1
  192. package/dist/utils/addressUtils.js +1 -1
  193. package/dist/utils/addressUtils.js.map +1 -1
  194. package/dist/utils/apiUtils.js +1 -1
  195. package/dist/utils/apiUtils.js.map +1 -1
  196. package/dist/utils/birthdayExperienceQuality.d.ts +1 -1
  197. package/dist/utils/birthdayExperienceQuality.js +4 -4
  198. package/dist/utils/birthdayExperienceQuality.js.map +1 -1
  199. package/dist/utils/blogUtils.d.ts +1 -1
  200. package/dist/utils/blogUtils.d.ts.map +1 -1
  201. package/dist/utils/blogUtils.js +2 -2
  202. package/dist/utils/blogUtils.js.map +1 -1
  203. package/dist/utils/discountEngine/discountCalculator.js +1 -1
  204. package/dist/utils/discountEngine/discountCalculator.js.map +1 -1
  205. package/dist/utils/displayDateUtils.d.ts +2 -2
  206. package/dist/utils/displayDateUtils.d.ts.map +1 -1
  207. package/dist/utils/displayDateUtils.js +2 -2
  208. package/dist/utils/displayDateUtils.js.map +1 -1
  209. package/dist/utils/entertainmentDrawFit.d.ts +1 -1
  210. package/dist/utils/entertainmentDrawFit.js +1 -1
  211. package/dist/utils/eventTimezoneIana.d.ts +1 -1
  212. package/dist/utils/eventTimezoneIana.js +4 -4
  213. package/dist/utils/eventTimezoneIana.js.map +1 -1
  214. package/dist/utils/flyerUtils.d.ts +2 -2
  215. package/dist/utils/flyerUtils.d.ts.map +1 -1
  216. package/dist/utils/flyerUtils.js +3 -3
  217. package/dist/utils/flyerUtils.js.map +1 -1
  218. package/dist/utils/groupTicketCartUtils.js +1 -1
  219. package/dist/utils/groupTicketCartUtils.js.map +1 -1
  220. package/dist/utils/guestSurface.d.ts +2 -2
  221. package/dist/utils/guestSurface.d.ts.map +1 -1
  222. package/dist/utils/guestSurface.js +8 -5
  223. package/dist/utils/guestSurface.js.map +1 -1
  224. package/dist/utils/lobFlyerUtils.d.ts +2 -2
  225. package/dist/utils/lobFlyerUtils.js +2 -2
  226. package/dist/utils/luxonUtils.d.ts +4 -4
  227. package/dist/utils/luxonUtils.js +5 -5
  228. package/dist/utils/luxonUtils.js.map +1 -1
  229. package/dist/utils/moodTrackUtils.d.ts +1 -1
  230. package/dist/utils/moodTrackUtils.js +1 -1
  231. package/dist/utils/nonprofitUtils.d.ts +3 -3
  232. package/dist/utils/nonprofitUtils.js +2 -2
  233. package/dist/utils/orgPromotionalPackageUtils.d.ts +1 -1
  234. package/dist/utils/orgPromotionalPackageUtils.js +1 -1
  235. package/dist/utils/organizationEntitlements.d.ts +4 -4
  236. package/dist/utils/organizationEntitlements.js +3 -3
  237. package/dist/utils/paymentUtils.d.ts +10 -10
  238. package/dist/utils/paymentUtils.js +9 -9
  239. package/dist/utils/promoterCompetitionUtils.d.ts +4 -4
  240. package/dist/utils/promoterCompetitionUtils.d.ts.map +1 -1
  241. package/dist/utils/promoterCompetitionUtils.js +7 -7
  242. package/dist/utils/promoterCompetitionUtils.js.map +1 -1
  243. package/dist/utils/promotionBlastUtils.d.ts +1 -1
  244. package/dist/utils/promotionBlastUtils.js +4 -4
  245. package/dist/utils/promotionBlastUtils.js.map +1 -1
  246. package/dist/utils/qrCodeUtils.d.ts +3 -3
  247. package/dist/utils/qrCodeUtils.d.ts.map +1 -1
  248. package/dist/utils/qrCodeUtils.js +3 -3
  249. package/dist/utils/qrCodeUtils.js.map +1 -1
  250. package/dist/utils/recurrenceUtils.d.ts +7 -4
  251. package/dist/utils/recurrenceUtils.d.ts.map +1 -1
  252. package/dist/utils/recurrenceUtils.js +32 -5
  253. package/dist/utils/recurrenceUtils.js.map +1 -1
  254. package/dist/utils/reputationUtils.d.ts +2 -2
  255. package/dist/utils/reputationUtils.d.ts.map +1 -1
  256. package/dist/utils/reputationUtils.js +1 -1
  257. package/dist/utils/reputationUtils.js.map +1 -1
  258. package/dist/utils/reviewDimensionUtils.d.ts +2 -2
  259. package/dist/utils/reviewDimensionUtils.d.ts.map +1 -1
  260. package/dist/utils/reviewDimensionUtils.js +1 -1
  261. package/dist/utils/reviewDimensionUtils.js.map +1 -1
  262. package/dist/utils/service/__tests__/billingCapUtils.test.js +3 -3
  263. package/dist/utils/service/__tests__/billingCapUtils.test.js.map +1 -1
  264. package/dist/utils/service/__tests__/eventPromoterPhase3.test.js +1 -1
  265. package/dist/utils/service/__tests__/eventPromoterUtils.test.js +1 -1
  266. package/dist/utils/service/__tests__/eventPromoterUtils.test.js.map +1 -1
  267. package/dist/utils/service/__tests__/frontendServiceBookingUtils.test.js +2 -2
  268. package/dist/utils/service/__tests__/frontendServiceBookingUtils.test.js.map +1 -1
  269. package/dist/utils/service/__tests__/serviceBookingExposureUtils.test.js +1 -1
  270. package/dist/utils/service/__tests__/serviceBookingExposureUtils.test.js.map +1 -1
  271. package/dist/utils/service/__tests__/serviceBookingStatusUtils.test.js +2 -2
  272. package/dist/utils/service/__tests__/serviceBookingStatusUtils.test.js.map +1 -1
  273. package/dist/utils/service/__tests__/serviceRateUtils.test.js +6 -6
  274. package/dist/utils/service/__tests__/serviceRateUtils.test.js.map +1 -1
  275. package/dist/utils/service/apiServiceBookingApiUtils.js +1 -1
  276. package/dist/utils/service/apiServiceBookingApiUtils.js.map +1 -1
  277. package/dist/utils/service/billingCapUtils.d.ts +5 -5
  278. package/dist/utils/service/billingCapUtils.js +5 -5
  279. package/dist/utils/service/cancellationPolicyRefundResolver.d.ts +1 -1
  280. package/dist/utils/service/cancellationPolicyRefundResolver.d.ts.map +1 -1
  281. package/dist/utils/service/eventPromoterUtils.d.ts +17 -17
  282. package/dist/utils/service/eventPromoterUtils.d.ts.map +1 -1
  283. package/dist/utils/service/eventPromoterUtils.js +11 -11
  284. package/dist/utils/service/eventPromoterUtils.js.map +1 -1
  285. package/dist/utils/service/foodAndBeverageQuote.d.ts +8 -8
  286. package/dist/utils/service/foodAndBeverageQuote.js +8 -8
  287. package/dist/utils/service/offerAllowListUtils.d.ts +1 -1
  288. package/dist/utils/service/offerComparisonUtils.d.ts +6 -6
  289. package/dist/utils/service/offerComparisonUtils.js +2 -2
  290. package/dist/utils/service/offerComparisonUtils.js.map +1 -1
  291. package/dist/utils/service/serviceBookingExposureUtils.d.ts +7 -7
  292. package/dist/utils/service/serviceBookingExposureUtils.js +5 -5
  293. package/dist/utils/service/serviceBookingExposureUtils.js.map +1 -1
  294. package/dist/utils/service/serviceFeaturedSortUtils.js +2 -2
  295. package/dist/utils/service/serviceFeaturedSortUtils.js.map +1 -1
  296. package/dist/utils/service/serviceListingMediaUtils.d.ts +2 -2
  297. package/dist/utils/service/serviceListingMediaUtils.d.ts.map +1 -1
  298. package/dist/utils/service/serviceListingMediaUtils.js +2 -2
  299. package/dist/utils/service/serviceListingMediaUtils.js.map +1 -1
  300. package/dist/utils/service/serviceUtils.js +2 -2
  301. package/dist/utils/service/serviceUtils.js.map +1 -1
  302. package/dist/utils/service/unifiedPricingResolver.d.ts +5 -5
  303. package/dist/utils/service/unifiedPricingResolver.d.ts.map +1 -1
  304. package/dist/utils/service/venueSettlementUtils.d.ts +2 -2
  305. package/dist/utils/service/venueSettlementUtils.js +3 -3
  306. package/dist/utils/service/venueSettlementUtils.js.map +1 -1
  307. package/dist/utils/service/volunteerCompensationUtils.d.ts +2 -2
  308. package/dist/utils/service/volunteerCompensationUtils.js +1 -1
  309. package/dist/utils/service/volunteerCompensationUtils.js.map +1 -1
  310. package/dist/utils/slugUtils.d.ts +1 -1
  311. package/dist/utils/slugUtils.js +1 -1
  312. package/dist/utils/ticketPrintPostageUtils.d.ts +4 -4
  313. package/dist/utils/ticketPrintPostageUtils.js +5 -5
  314. package/dist/utils/ticketPrintPostageUtils.js.map +1 -1
  315. package/dist/utils/ticketTierSchedule.d.ts +1 -1
  316. package/dist/utils/ticketTierSchedule.js +4 -4
  317. package/dist/utils/ticketTierSchedule.js.map +1 -1
  318. package/dist/utils/trustScoreUtils.d.ts +1 -1
  319. package/dist/utils/trustScoreUtils.js +1 -1
  320. package/dist/utils/urlUtils.d.ts +2 -2
  321. package/dist/utils/urlUtils.js +2 -2
  322. package/dist/utils/userUtils.d.ts +4 -4
  323. package/dist/utils/userUtils.js +3 -3
  324. package/dist/utils/venueLoyalty/__tests__/eligibilityUtils.test.js +1 -1
  325. package/dist/utils/venueLoyalty/__tests__/redemptionCodeUtils.test.js +1 -1
  326. package/dist/utils/venueLoyalty/redemptionCodeUtils.d.ts +3 -3
  327. package/dist/utils/venueLoyalty/redemptionCodeUtils.js +3 -3
  328. package/dist/venueLoyaltyRedemption.d.ts +2 -2
  329. package/dist/venueLoyaltyRedemption.js +1 -1
  330. package/dist/venueMatch.d.ts +4 -4
  331. package/dist/venueMatch.d.ts.map +1 -1
  332. package/dist/venueMatch.js +1 -1
  333. package/dist/venueMatch.js.map +1 -1
  334. package/package.json +1 -1
  335. package/prisma/schema.prisma +3 -3
  336. package/src/__tests__/agePolicy.test.ts +6 -6
  337. package/src/__tests__/bashEventCancellationPolicy.test.ts +2 -2
  338. package/src/__tests__/bashSectionTitleForBashType.test.ts +3 -3
  339. package/src/__tests__/definitionsHelpers.test.ts +1 -1
  340. package/src/__tests__/entertainmentNotableVenues.test.ts +1 -1
  341. package/src/__tests__/hostCrmCrowdPulse.test.ts +1 -1
  342. package/src/__tests__/hostCrmSegments.test.ts +2 -2
  343. package/src/__tests__/hostPromoter.test.ts +1 -1
  344. package/src/__tests__/influencerAudience.test.ts +1 -1
  345. package/src/__tests__/promoterCompetitionUtils.test.ts +3 -3
  346. package/src/__tests__/scenePulse.test.ts +1 -1
  347. package/src/__tests__/seatMap.test.ts +1 -1
  348. package/src/__tests__/ticketAdmission.test.ts +1 -1
  349. package/src/accessScreening.ts +1 -1
  350. package/src/aiApproval.ts +3 -3
  351. package/src/appleIapProducts.ts +1 -1
  352. package/src/applicationFunnel.ts +1 -1
  353. package/src/audienceImport.ts +2 -2
  354. package/src/bashEventCancellationPolicy.ts +3 -3
  355. package/src/budgetApproval.ts +1 -1
  356. package/src/causeTags.ts +4 -4
  357. package/src/competitionIdeas.ts +12 -12
  358. package/src/competitionValidation.ts +1 -1
  359. package/src/definitions.ts +42 -42
  360. package/src/discoveryScope.ts +2 -2
  361. package/src/entertainmentNotableVenues.ts +1 -1
  362. package/src/extendedSchemas.ts +41 -41
  363. package/src/fundingMeter.ts +1 -1
  364. package/src/giveaway.ts +2 -2
  365. package/src/guestPartySize.ts +3 -3
  366. package/src/home.ts +1 -1
  367. package/src/homepageSyntheticRows.ts +2 -2
  368. package/src/hostCrmAutomation.ts +11 -11
  369. package/src/hostCrmConstants.ts +1 -1
  370. package/src/hostCrmCrowdPulse.ts +2 -2
  371. package/src/hostCrmInsights.ts +3 -3
  372. package/src/hostCrmLastBashProof.ts +2 -2
  373. package/src/hostCrmSegments.ts +12 -12
  374. package/src/hostPromoter.ts +1 -1
  375. package/src/icebreakerPrompts.ts +2 -2
  376. package/src/index.ts +1 -1
  377. package/src/influencerAudience.ts +3 -3
  378. package/src/liveActivity/liveActivityTypes.ts +10 -10
  379. package/src/locationShare.ts +2 -2
  380. package/src/membershipDefinitions.ts +21 -21
  381. package/src/mirroredPrismaEnums.ts +6 -6
  382. package/src/onSaleCapabilityRecommendations.ts +1 -1
  383. package/src/partnerStoreTypes.ts +1 -1
  384. package/src/productLaunch.ts +2 -2
  385. package/src/relationshipHealth.ts +5 -5
  386. package/src/scenePulse.ts +2 -2
  387. package/src/seatMap.ts +3 -3
  388. package/src/seatMapBestAvailable.ts +2 -2
  389. package/src/serviceTypeLabels.ts +3 -3
  390. package/src/sideQuestIdeas.ts +8 -8
  391. package/src/sideQuestTypes.ts +2 -2
  392. package/src/sms/smsTemplates.ts +1 -1
  393. package/src/stripeListingSubscriptionMessages.ts +1 -1
  394. package/src/targetAudienceLabels.ts +1 -1
  395. package/src/ticketBnplPaymentMethods.ts +3 -3
  396. package/src/userReportTypes.ts +1 -1
  397. package/src/userTaste.ts +2 -2
  398. package/src/utils/__tests__/badgeUtils.test.ts +5 -5
  399. package/src/utils/__tests__/bashPointsPaymentUtils.test.ts +4 -4
  400. package/src/utils/__tests__/contentFilterUtils.test.ts +23 -23
  401. package/src/utils/__tests__/dateTimeUtils.test.ts +1 -1
  402. package/src/utils/__tests__/displayDateUtils.test.ts +1 -1
  403. package/src/utils/__tests__/flyerUtils.test.ts +1 -1
  404. package/src/utils/__tests__/getBackendHost.test.ts +8 -8
  405. package/src/utils/__tests__/getFrontendHost.native.test.ts +1 -1
  406. package/src/utils/__tests__/getFrontendHost.test.ts +9 -9
  407. package/src/utils/__tests__/guestSurface.test.ts +1 -0
  408. package/src/utils/__tests__/organizationEntitlements.test.ts +1 -1
  409. package/src/utils/__tests__/paymentUtils.test.ts +7 -7
  410. package/src/utils/__tests__/promoCodesUtils.test.ts +2 -2
  411. package/src/utils/__tests__/qrCodeUtils.test.ts +4 -4
  412. package/src/utils/__tests__/recurrenceUtils.test.ts +26 -0
  413. package/src/utils/__tests__/reviewDimensionUtils.test.ts +1 -1
  414. package/src/utils/__tests__/stripeAccountUtils.test.ts +1 -1
  415. package/src/utils/__tests__/ticketPrintPostageUtils.test.ts +1 -1
  416. package/src/utils/addressUtils.ts +1 -1
  417. package/src/utils/apiUtils.ts +1 -1
  418. package/src/utils/birthdayExperienceQuality.ts +4 -4
  419. package/src/utils/blogUtils.ts +2 -2
  420. package/src/utils/discountEngine/discountCalculator.ts +1 -1
  421. package/src/utils/displayDateUtils.ts +2 -2
  422. package/src/utils/entertainmentDrawFit.ts +1 -1
  423. package/src/utils/eventTimezoneIana.ts +4 -4
  424. package/src/utils/flyerUtils.ts +3 -3
  425. package/src/utils/groupTicketCartUtils.ts +1 -1
  426. package/src/utils/guestSurface.ts +8 -6
  427. package/src/utils/lobFlyerUtils.ts +2 -2
  428. package/src/utils/luxonUtils.ts +5 -5
  429. package/src/utils/moodTrackUtils.ts +1 -1
  430. package/src/utils/nonprofitUtils.ts +3 -3
  431. package/src/utils/orgPromotionalPackageUtils.ts +1 -1
  432. package/src/utils/organizationEntitlements.ts +4 -4
  433. package/src/utils/paymentUtils.ts +10 -10
  434. package/src/utils/promoterCompetitionUtils.ts +8 -8
  435. package/src/utils/promotionBlastUtils.ts +4 -4
  436. package/src/utils/qrCodeUtils.ts +3 -3
  437. package/src/utils/recurrenceUtils.ts +33 -5
  438. package/src/utils/reputationUtils.ts +3 -3
  439. package/src/utils/reviewDimensionUtils.ts +2 -2
  440. package/src/utils/service/__tests__/billingCapUtils.test.ts +3 -3
  441. package/src/utils/service/__tests__/eventPromoterPhase3.test.ts +1 -1
  442. package/src/utils/service/__tests__/eventPromoterUtils.test.ts +1 -1
  443. package/src/utils/service/__tests__/frontendServiceBookingUtils.test.ts +2 -2
  444. package/src/utils/service/__tests__/serviceBookingExposureUtils.test.ts +1 -1
  445. package/src/utils/service/__tests__/serviceBookingStatusUtils.test.ts +2 -2
  446. package/src/utils/service/__tests__/serviceRateUtils.test.ts +6 -6
  447. package/src/utils/service/apiServiceBookingApiUtils.ts +1 -1
  448. package/src/utils/service/billingCapUtils.ts +5 -5
  449. package/src/utils/service/cancellationPolicyRefundResolver.ts +1 -1
  450. package/src/utils/service/eventPromoterUtils.ts +27 -27
  451. package/src/utils/service/foodAndBeverageQuote.ts +8 -8
  452. package/src/utils/service/offerAllowListUtils.ts +1 -1
  453. package/src/utils/service/offerComparisonUtils.ts +8 -8
  454. package/src/utils/service/serviceBookingExposureUtils.ts +8 -8
  455. package/src/utils/service/serviceBookingTypes.ts +2 -2
  456. package/src/utils/service/serviceFeaturedSortUtils.ts +2 -2
  457. package/src/utils/service/serviceListingMediaUtils.ts +2 -2
  458. package/src/utils/service/serviceUtils.ts +2 -2
  459. package/src/utils/service/unifiedPricingResolver.ts +5 -5
  460. package/src/utils/service/venueSettlementUtils.ts +3 -3
  461. package/src/utils/service/volunteerCompensationUtils.ts +3 -3
  462. package/src/utils/slugUtils.ts +1 -1
  463. package/src/utils/ticketPrintPostageUtils.ts +5 -5
  464. package/src/utils/ticketTierSchedule.ts +4 -4
  465. package/src/utils/trustScoreUtils.ts +1 -1
  466. package/src/utils/urlUtils.ts +2 -2
  467. package/src/utils/userUtils.ts +4 -4
  468. package/src/utils/venueLoyalty/__tests__/eligibilityUtils.test.ts +1 -1
  469. package/src/utils/venueLoyalty/__tests__/redemptionCodeUtils.test.ts +1 -1
  470. package/src/utils/venueLoyalty/redemptionCodeUtils.ts +3 -3
  471. package/src/venueLoyaltyRedemption.ts +2 -2
  472. package/src/venueMatch.ts +4 -4
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Phase 2 of the unified-pricing roadmap — pure math for Venue F&B minimums
2
+ * Phase 2 of the unified-pricing roadmap. Pure math for Venue F&B minimums
3
3
  * and revenue share. Pure functions only (no Prisma / no fetches) so the
4
4
  * wizard, api validators, settlement worker, and offer-suggestion AI can all
5
5
  * share one source of truth.
@@ -34,7 +34,7 @@ export const REVENUE_SHARE_BASES = [
34
34
  ] as const;
35
35
  export type RevenueShareBasis = (typeof REVENUE_SHARE_BASES)[number];
36
36
 
37
- /** Internal helper — cents → non-negative rounded integer. */
37
+ /** Internal helper. Cents → non-negative rounded integer. */
38
38
  function nonNegInt(value: number): number {
39
39
  if (!Number.isFinite(value) || value <= 0) return 0;
40
40
  return Math.round(value);
@@ -63,7 +63,7 @@ export interface ResolveFBMinimumInput {
63
63
  * is used. Returns `null` if neither produces a value.
64
64
  *
65
65
  * Callers that need timezone-aware day-of-week selection should pre-shift the
66
- * Date before passing it in — this function uses `Date.getDay()` directly.
66
+ * Date before passing it in. This function uses `Date.getDay()` directly.
67
67
  */
68
68
  export function resolveFBMinimumForDate(
69
69
  input: ResolveFBMinimumInput
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Volunteer compensation — closed-loop BashPoints stipends + on-site perks.
2
+ * Volunteer compensation. Closed-loop BashPoints stipends + on-site perks.
3
3
  *
4
4
  * Volunteers are NOT employees or contractors. This util intentionally avoids
5
5
  * any USD rate / wage / per-attendee math, because crossing that line would
@@ -9,7 +9,7 @@
9
9
  * - never cashed out,
10
10
  * - never used to settle third-party USD invoices,
11
11
  * - only redeemable against Bash-issued goods (tickets, BashPass upgrades,
12
- * premium features) — see the closed-loop BP plan.
12
+ * premium features). See the closed-loop BP plan.
13
13
  *
14
14
  * Pure functions only so the wizard, api validators, and help-center page
15
15
  * share one source of truth.
@@ -119,7 +119,7 @@ export function volunteerCompensationSummary(args: {
119
119
  }): string {
120
120
  switch (args.compensationType) {
121
121
  case "None":
122
- return "Pure volunteer — no stipend or perks beyond appreciation.";
122
+ return "Pure volunteer. No stipend or perks beyond appreciation.";
123
123
  case "BashPointsStipend":
124
124
  return `${args.bashPointsStipend ?? 0} BashPoints per ${args.rateUnit ?? "shift"}.`;
125
125
  case "PerksOnly":
@@ -85,7 +85,7 @@ export function getPublicBashDetailPath(
85
85
  }
86
86
 
87
87
  /**
88
- * Path to Your Memories (private vault) for a bash — nested under bash detail
88
+ * Path to Your Memories (private vault) for a bash. Nested under bash detail
89
89
  * (`/bash/{id}-{slug}/memories`). Requires sign-in + eligibility; not a public
90
90
  * unauthenticated recap page.
91
91
  */
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Buyer-facing surcharge for physical ticket delivery (mail-to-buyer or venue
3
- * will-call), both fulfilled as individually-addressed Lob postcards — one
3
+ * will-call), both fulfilled as individually-addressed Lob postcards. One
4
4
  * ticket = one piece, same product used by Flyer Blast's addressed mail path.
5
5
  *
6
6
  * Reuses the Lob per-piece cost table from `lobFlyerUtils.ts` rather than
7
- * duplicating pricing — same "verify before production" caveat applies here.
7
+ * duplicating pricing. Same "verify before production" caveat applies here.
8
8
  */
9
9
 
10
10
  import { TicketDeliveryMethod, TicketPrintOrderStatus } from "@prisma/client";
@@ -21,7 +21,7 @@ export function ticketPrintSurchargeCentsPerPiece(size: LobPostcardSizeKey): num
21
21
 
22
22
  /**
23
23
  * Total buyer-facing surcharge (integer cents) for `quantity` physical ticket
24
- * pieces of the given size — used as the Stripe checkout line item amount.
24
+ * pieces of the given size. Used as the Stripe checkout line item amount.
25
25
  */
26
26
  export function ticketPrintSurchargeCentsForQuantity(
27
27
  size: LobPostcardSizeKey,
@@ -32,7 +32,7 @@ export function ticketPrintSurchargeCentsForQuantity(
32
32
  }
33
33
 
34
34
  /**
35
- * Buyer-facing badge copy for a ticket's physical delivery status — shared by
35
+ * Buyer-facing badge copy for a ticket's physical delivery status. Shared by
36
36
  * My Tickets and the ticket details view so both surfaces stay in sync.
37
37
  * `null`/`undefined` (Digital) means no badge should render.
38
38
  */
@@ -52,7 +52,7 @@ export function ticketDeliveryStatusLabel(
52
52
  return "Physical ticket cancelled";
53
53
  }
54
54
  if (status === TicketPrintOrderStatus.Failed) {
55
- return "Physical ticket delivery failed — contact the host";
55
+ return "Physical ticket delivery failed. Contact the host";
56
56
  }
57
57
  if (deliveryMethod === TicketDeliveryMethod.VenueWillCall) {
58
58
  switch (status) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Ticket tier release / expiry / sold-out schedule resolver — shared by API + bash-app.
2
+ * Ticket tier release / expiry / sold-out schedule resolver. Shared by API + bash-app.
3
3
  */
4
4
 
5
5
  import type { TicketTierAvailability } from "../definitions.js";
@@ -138,7 +138,7 @@ export function resolveTicketTierScheduleState(
138
138
  const publicAvailableAt = toDate(tier.publicAvailableAt);
139
139
  const inventory = ctx.availableInventory;
140
140
  const manualSoldOut = tier.isManuallySoldOut === true;
141
- /** Only treat as inventory sold-out when callers supply a count — unknown ≠ zero. */
141
+ /** Only treat as inventory sold-out when callers supply a count. Unknown ≠ zero. */
142
142
  const soldOut =
143
143
  manualSoldOut || (inventory !== undefined && inventory <= 0);
144
144
  const preDisplay = normalizePreReleaseDisplay(tier.preReleaseDisplay);
@@ -357,7 +357,7 @@ export function validateTicketTierScheduleInput(
357
357
  if (start && availableAt && availableAt > start) {
358
358
  issues.push({
359
359
  field: "availableAt",
360
- message: "Release is after the event start — double-check the time.",
360
+ message: "Release is after the event start. Double-check the time.",
361
361
  severity: "warn",
362
362
  });
363
363
  }
@@ -365,7 +365,7 @@ export function validateTicketTierScheduleInput(
365
365
  if (start && expiresAt && expiresAt > start) {
366
366
  issues.push({
367
367
  field: "expiresAt",
368
- message: "Tier expires after the event starts — unusual but allowed.",
368
+ message: "Tier expires after the event starts. Unusual but allowed.",
369
369
  severity: "warn",
370
370
  });
371
371
  }
@@ -65,7 +65,7 @@ function inverseRate(rate: number): number {
65
65
  }
66
66
 
67
67
  /**
68
- * Compute a 0–100 trust score from normalized component signals (0–1 each).
68
+ * Compute a 0 to 100 trust score from normalized component signals (0 to 1 each).
69
69
  */
70
70
  export function computeTrustScoreFromInputs(
71
71
  actorType: TrustScoreActorType,
@@ -30,7 +30,7 @@ function isLocalDevHostname(hostname: string): boolean {
30
30
  * Canonical frontend origin for share links, embeds, QR codes, etc.
31
31
  *
32
32
  * Browser-hostname-driven (NOT env-var driven) so the answer is correct in any
33
- * deployed environment — including ones where `process.env.ENVIRONMENT` /
33
+ * deployed environment. Including ones where `process.env.ENVIRONMENT` /
34
34
  * `BASH_ENV` aren't inlined into the bundle (Vite only inlines REACT_APP_* /
35
35
  * VITE_* / NODE_ENV / PUBLIC_URL). Previously this depended on `isProduction()`
36
36
  * and produced URLs like `https://bash.community:3000/bash/...` in production,
@@ -277,7 +277,7 @@ export function redirectToStripeWithTimeout(
277
277
  *
278
278
  * Browsers resolve `href="example.com"` as a **relative** URL (under the current path),
279
279
  * not `https://example.com`, so bare domains must be prefixed with `https://`.
280
- * Stores sometimes save Instagram as `@handle` instead of a full URL — those are mapped
280
+ * Stores sometimes save Instagram as `@handle` instead of a full URL. Those are mapped
281
281
  * to `https://www.instagram.com/{handle}/`.
282
282
  *
283
283
  * @returns `"#"` when the value is empty or unsafe (`javascript:`, `data:`).
@@ -3,7 +3,7 @@ import { Gender, SocialEventCadence } from "@prisma/client";
3
3
  export const MAX_USER_NAME_CHANGES = 3 as const;
4
4
 
5
5
  /**
6
- * Minimum shape needed by `getDisplayGender` — accepts any object that has the
6
+ * Minimum shape needed by `getDisplayGender`. Accepts any object that has the
7
7
  * two relevant columns (e.g. `User`, `UserExt`, `PublicUser`, or a partial
8
8
  * select). The free-text `genderIdentity` is the source of truth for *display*
9
9
  * because it is user-self-described and may not map to a `Gender` enum value
@@ -20,7 +20,7 @@ export interface GenderDisplayUser {
20
20
  *
21
21
  * Precedence:
22
22
  * 1. `genderIdentity` (free-text self-description) when present and
23
- * non-blank — wins over the enum so the user sees their own words.
23
+ * non-blank. Wins over the enum so the user sees their own words.
24
24
  * 2. `gender` (enum) when present.
25
25
  * 3. `null` when neither is set.
26
26
  *
@@ -41,7 +41,7 @@ export function getDisplayGender(user: GenderDisplayUser): string | null {
41
41
  }
42
42
 
43
43
  /**
44
- * Plain labels for the social event cadence enum — used in Settings, the account
44
+ * Plain labels for the social event cadence enum. Used in Settings, the account
45
45
  * edit forms, and the host CRM filter where clarity beats personality.
46
46
  */
47
47
  export const SOCIAL_EVENT_CADENCE_LABELS: Record<SocialEventCadence, string> = {
@@ -53,7 +53,7 @@ export const SOCIAL_EVENT_CADENCE_LABELS: Record<SocialEventCadence, string> = {
53
53
  };
54
54
 
55
55
  /**
56
- * Promoter-voice labels for the public profile — friendlier phrasing of how often
56
+ * Promoter-voice labels for the public profile. Friendlier phrasing of how often
57
57
  * someone likes to go out. Falls back to the plain label when no flourish exists.
58
58
  */
59
59
  export const SOCIAL_EVENT_CADENCE_PROFILE_LABELS: Record<SocialEventCadence, string> = {
@@ -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 {
@@ -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 {
@@ -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
  */
@@ -23,7 +23,7 @@ export function isValidRedemptionCodeShape(code: string): boolean {
23
23
  }
24
24
 
25
25
  /**
26
- * Normalize user input — uppercase, strip whitespace + dashes — before
26
+ * Normalize user input. Uppercase, strip whitespace + dashes. Before
27
27
  * validation or DB lookup. Lets us accept "ab12-cd34" from a phone keyboard.
28
28
  */
29
29
  export function normalizeRedemptionCode(input: string): string {
@@ -45,7 +45,7 @@ export function generateRedemptionCode(
45
45
  /**
46
46
  * Sample fresh codes until `existsInVenue(code)` returns false. Bounded to
47
47
  * `maxAttempts` so a misbehaving uniqueness probe can't spin forever. Throws
48
- * after exhausting attempts — caller should surface a 5xx, this would mean
48
+ * after exhausting attempts. Caller should surface a 5xx, this would mean
49
49
  * the keyspace is exhausted (impossible in practice) or the DB is unhealthy.
50
50
  */
51
51
  export async function generateUniqueRedemptionCode(
@@ -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
 
@@ -179,7 +179,7 @@ export interface ClaimVenueLoyaltyResponse {
179
179
  /**
180
180
  * Convenience copy of `redemption.redemptionCode` so the success UI can
181
181
  * pull it without branching on null. Equals `null` only when the offer was
182
- * free (bashPointsCost == null) — currently still issued for traceability.
182
+ * free (bashPointsCost == null). Currently still issued for traceability.
183
183
  */
184
184
  code: string;
185
185
  remainingBashPoints: number;
package/src/venueMatch.ts CHANGED
@@ -48,7 +48,7 @@ export const VENUE_SUPPLY_LEAD_STAGES = {
48
48
  export type VenueSupplyLeadStage =
49
49
  (typeof VENUE_SUPPLY_LEAD_STAGES)[keyof typeof VENUE_SUPPLY_LEAD_STAGES];
50
50
 
51
- /** Admin display labels — single source for the pipeline UI + CSV export. */
51
+ /** Admin display labels. Single source for the pipeline UI + CSV export. */
52
52
  export const VenueSupplyLeadStageLabel: Record<VenueSupplyLeadStage, string> = {
53
53
  Surfaced: "Surfaced",
54
54
  Prioritized: "Hot lead",
@@ -74,10 +74,10 @@ export const VENUE_SUPPLY_LEAD_REP_STAGES: VenueSupplyLeadStage[] = [
74
74
  /**
75
75
  * Structured intent extracted from the host's prompt + current event fields.
76
76
  * Persisted as `VenueMatchRun.intent` (Json column).
77
- * All fields nullable — the scorer omits weights for missing signals.
77
+ * All fields nullable. The scorer omits weights for missing signals.
78
78
  */
79
79
  export interface VenueMatchIntent {
80
- /** e.g. "bachelor party", "baby shower" — free text, lowercased */
80
+ /** e.g. "bachelor party", "baby shower". Free text, lowercased */
81
81
  occasion: string | null;
82
82
  /** From amountOfGuests.expected or parsed from prompt */
83
83
  guestCount: number | null;
@@ -132,7 +132,7 @@ export interface VenueCandidateDisplay {
132
132
  capacity: number | null;
133
133
  distanceMiles: number | null;
134
134
  phone: string | null;
135
- /** Marketplace only — deep link target */
135
+ /** Marketplace only. Deep link target */
136
136
  serviceDetailPath: string | null;
137
137
  }
138
138