@bash-app/bash-common 30.203.0 → 30.210.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.
@@ -477,6 +477,38 @@ export function partnerServiceProfileWizardPaymentMethodUrl(
477
477
  );
478
478
  }
479
479
 
480
+ /** Venue wizard: major step index for Loyalty Builder (before Finish). */
481
+ export const VENUE_WIZARD_LOYALTY_MAJOR_STEP = 7;
482
+ /** Venue wizard: major step index for Finish (after Loyalty Builder). */
483
+ export const VENUE_WIZARD_FINISH_MAJOR_STEP = 8;
484
+
485
+ export function venueWizardLoyaltyBuilderUrl(
486
+ serviceId: string,
487
+ serviceType: string,
488
+ venueId: string
489
+ ): string {
490
+ return serviceWizardUrl(
491
+ serviceId,
492
+ serviceType,
493
+ venueId,
494
+ VENUE_WIZARD_LOYALTY_MAJOR_STEP,
495
+ 0
496
+ );
497
+ }
498
+
499
+ /** Stable ids for Venue loyalty template chips (stored in Venue.loyaltyTemplateIds). */
500
+ export const VENUE_LOYALTY_TEMPLATE_IDS = [
501
+ "booking_discount",
502
+ "vip_access",
503
+ "early_access",
504
+ "parking",
505
+ "merch",
506
+ "custom",
507
+ ] as const;
508
+
509
+ export type VenueLoyaltyTemplateId =
510
+ (typeof VENUE_LOYALTY_TEMPLATE_IDS)[number];
511
+
480
512
  export function serviceCheckoutUrl(
481
513
  serviceId: string,
482
514
  serviceType: string,