@bowlos/reservations 0.36.0 → 0.43.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 (76) hide show
  1. package/AGENTS.md +306 -0
  2. package/HEADLESS.md +595 -10
  3. package/README.md +303 -2
  4. package/dist/account-B4sZBmPI.d.cts +1837 -0
  5. package/dist/account-B4sZBmPI.d.ts +1837 -0
  6. package/dist/booking-change-Dd4PVgd3.d.cts +487 -0
  7. package/dist/booking-change-DzYs9133.d.ts +487 -0
  8. package/dist/chunk-4JMGS4YB.js +808 -0
  9. package/dist/chunk-4JMGS4YB.js.map +1 -0
  10. package/dist/chunk-I37IJNYU.js +139 -0
  11. package/dist/chunk-I37IJNYU.js.map +1 -0
  12. package/dist/{chunk-Y3YSDO3H.js → chunk-T2E6AEC7.js} +150 -6
  13. package/dist/chunk-T2E6AEC7.js.map +1 -0
  14. package/dist/{chunk-3JSVEOKG.js → chunk-V4JRDYW4.js} +61 -6
  15. package/dist/chunk-V4JRDYW4.js.map +1 -0
  16. package/dist/{chunk-TEHRROVY.js → chunk-YQRTBGXU.js} +47 -192
  17. package/dist/chunk-YQRTBGXU.js.map +1 -0
  18. package/dist/cli.cjs +34 -3
  19. package/dist/cli.cjs.map +1 -1
  20. package/dist/components.cjs +2059 -153
  21. package/dist/components.cjs.map +1 -1
  22. package/dist/components.d.cts +214 -7
  23. package/dist/components.d.ts +214 -7
  24. package/dist/components.js +1148 -7
  25. package/dist/components.js.map +1 -1
  26. package/dist/index.cjs +303 -3
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +56 -5
  29. package/dist/index.d.ts +56 -5
  30. package/dist/index.js +58 -3
  31. package/dist/index.js.map +1 -1
  32. package/dist/payments.cjs +225 -0
  33. package/dist/payments.cjs.map +1 -1
  34. package/dist/payments.d.cts +24 -2
  35. package/dist/payments.d.ts +24 -2
  36. package/dist/payments.js +4 -1
  37. package/dist/payments.js.map +1 -1
  38. package/dist/{react-CWAG4cW0.d.cts → react-C6NWC80d.d.cts} +2 -2
  39. package/dist/{react-0MyyTtE4.d.ts → react-DVdtpw5n.d.ts} +2 -2
  40. package/dist/react.cjs +870 -27
  41. package/dist/react.cjs.map +1 -1
  42. package/dist/react.d.cts +155 -12
  43. package/dist/react.d.ts +155 -12
  44. package/dist/react.js +72 -4
  45. package/dist/react.js.map +1 -1
  46. package/package.json +8 -2
  47. package/templates/center-site/README.md +5 -0
  48. package/templates/center-site/app/account/game-cards/page.tsx +17 -0
  49. package/templates/center-site/app/account/layout.tsx +16 -0
  50. package/templates/center-site/app/account/memberships/[id]/page.tsx +23 -0
  51. package/templates/center-site/app/account/memberships/page.tsx +33 -0
  52. package/templates/center-site/app/account/orders/page.tsx +17 -0
  53. package/templates/center-site/app/account/page.tsx +14 -0
  54. package/templates/center-site/app/account/payment-methods/page.tsx +23 -0
  55. package/templates/center-site/app/account/privacy/page.tsx +17 -0
  56. package/templates/center-site/app/account/profile/page.tsx +45 -0
  57. package/templates/center-site/app/account/reservations/[displayId]/change/page.tsx +46 -0
  58. package/templates/center-site/app/account/reservations/[displayId]/page.tsx +41 -0
  59. package/templates/center-site/app/account/reservations/page.tsx +35 -0
  60. package/templates/center-site/app/account/security/page.tsx +17 -0
  61. package/templates/center-site/app/events/[slug]/page.tsx +130 -0
  62. package/templates/center-site/app/events/page.tsx +57 -0
  63. package/templates/center-site/app/pay/[token]/page.tsx +53 -0
  64. package/templates/center-site/app/site-header.tsx +1 -0
  65. package/templates/center-site/lib/reservation.ts +14 -0
  66. package/templates/center-site/package.json +1 -1
  67. package/templates/center-site/tsconfig.json +7 -9
  68. package/dist/account-DfM2COaz.d.ts +0 -210
  69. package/dist/account-oCvYWmO9.d.cts +0 -210
  70. package/dist/catalog-DbhdwmnX.d.cts +0 -224
  71. package/dist/catalog-XkjgPI5C.d.ts +0 -224
  72. package/dist/chunk-3JSVEOKG.js.map +0 -1
  73. package/dist/chunk-TEHRROVY.js.map +0 -1
  74. package/dist/chunk-Y3YSDO3H.js.map +0 -1
  75. package/dist/data-BJkB-tvM.d.cts +0 -778
  76. package/dist/data-BJkB-tvM.d.ts +0 -778
@@ -1,9 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { m as PublicSurface, g as CatalogItem } from './catalog-DbhdwmnX.cjs';
4
- export { h as CatalogResult, i as CatalogSection } from './catalog-DbhdwmnX.cjs';
5
- import { U as PricingMode, S as PaymentIntentInfo, l as Customer } from './data-BJkB-tvM.cjs';
6
- import { d as UseAccountResult } from './react-CWAG4cW0.cjs';
3
+ import { Y as PublicSurface, D as CatalogItem, N as EventOffer, l as GetWalletPassUrlArgs, p as BookingChangePayment } from './booking-change-Dd4PVgd3.cjs';
4
+ export { F as CatalogResult, H as CatalogSection } from './booking-change-Dd4PVgd3.cjs';
5
+ import { b3 as PricingMode, b1 as PaymentIntentInfo, an as Customer, b9 as SavedCardScope, aG as JoinWaitlistArgs } from './account-B4sZBmPI.cjs';
6
+ import { d as UseAccountResult } from './react-C6NWC80d.cjs';
7
7
  import { InquiryFormType } from '@bowlos/shared';
8
8
 
9
9
  /**
@@ -295,6 +295,16 @@ interface MyPass {
295
295
  walletEligible: boolean;
296
296
  }
297
297
  interface AccountDashboardLabels {
298
+ eventOrders?: string;
299
+ packageOrders?: string;
300
+ gameCards?: string;
301
+ history?: string;
302
+ closeHistory?: string;
303
+ profile?: string;
304
+ communications?: string;
305
+ paymentMethods?: string;
306
+ security?: string;
307
+ privacy?: string;
298
308
  welcome: string;
299
309
  signOut: string;
300
310
  reservations: string;
@@ -316,7 +326,7 @@ interface AccountDashboardLabels {
316
326
  autoRenews: string;
317
327
  balanceDue: string;
318
328
  }
319
- type AccountSection = "reservations" | "memberships" | "loyalty" | "credits" | "passes";
329
+ type AccountSection = "waitlist" | "reservations" | "memberships" | "loyalty" | "credits" | "passes" | "eventOrders" | "packageOrders" | "gameCards" | "profile" | "communications" | "paymentMethods" | "security" | "privacy";
320
330
  interface AccountDashboardProps {
321
331
  /** The Brand this site belongs to (account reads are Brand-scoped). */
322
332
  brandId: string;
@@ -324,6 +334,10 @@ interface AccountDashboardProps {
324
334
  sections?: AccountSection[];
325
335
  labels?: Partial<AccountDashboardLabels & AuthGateLabels>;
326
336
  className?: string;
337
+ /** Required for paymentMethods; card management is Center-scoped. */
338
+ centerId?: string;
339
+ unitNoun?: string;
340
+ supportHref?: string;
327
341
  }
328
342
  /**
329
343
  * A complete, themeable account page: signs the customer in (via `<AuthGate>`),
@@ -331,7 +345,7 @@ interface AccountDashboardProps {
331
345
  * passes. Must render inside a `<BowlosProvider>`; theme with `<BowlosTheme>` or
332
346
  * the `--bowlos-*` CSS vars. White-label by design — no BowlOS branding.
333
347
  */
334
- declare function AccountDashboard({ brandId, sections, labels, className }: AccountDashboardProps): react_jsx_runtime.JSX.Element;
348
+ declare function AccountDashboard({ brandId, sections, labels, className, centerId, unitNoun, supportHref, }: AccountDashboardProps): react_jsx_runtime.JSX.Element;
335
349
 
336
350
  interface FlashBrand {
337
351
  name: string;
@@ -569,4 +583,197 @@ interface PricingTableProps {
569
583
  }
570
584
  declare function PricingTable({ centerId, specialsOnly, labels, className, style, }: PricingTableProps): react_jsx_runtime.JSX.Element | null;
571
585
 
572
- export { AccountDashboard, type AccountDashboardLabels, type AccountDashboardProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountSection, AuthForm, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateRenderContext, BOWLOS_DEFAULT_THEME, BookingCatalog, type BookingCatalogLabels, type BookingCatalogProps, BookingFlow, type BookingFlowLabels, type BookingFlowProps, BowlosTheme, type BowlosThemeTokens, CatalogItem, type FlashBrand, FlashSale, FlashSaleIndex, type FlashSaleIndexItem, type FlashSaleIndexLabels, type FlashSaleIndexProps, type FlashSaleIndexView, type FlashSaleItem, type FlashSaleLabels, type FlashSaleProps, type FlashSaleView, InquiryForm, type InquiryFormProps, MaintenanceBanner, type MaintenanceBannerProps, type MyCreditEntry, type MyCredits, type MyLoyalty, type MyMembershipSummary, type MyPass, type MyReservationSummary, PricingTable, type PricingTableLabels, type PricingTableProps, formatCents, formatCentsRange };
586
+ interface EventListLabels {
587
+ title: string;
588
+ empty: string;
589
+ loading: string;
590
+ error: string;
591
+ }
592
+ interface EventListProps {
593
+ /** Pass landing-page-gated offers; fetch headlessly with includeWithoutLandingPage: false. */
594
+ items: EventOffer[];
595
+ loading?: boolean;
596
+ error?: {
597
+ message: string;
598
+ } | null;
599
+ labels?: Partial<EventListLabels>;
600
+ children?: (item: EventOffer) => ReactNode;
601
+ className?: string;
602
+ }
603
+ /** Render-only reference list. Data fetching and pagination remain under site control. */
604
+ declare function EventList({ items, loading, error, labels, children, className }: EventListProps): react_jsx_runtime.JSX.Element;
605
+
606
+ interface SavedCardsProps extends SavedCardScope {
607
+ labels?: Partial<{
608
+ title: string;
609
+ empty: string;
610
+ remove: string;
611
+ makeDefault: string;
612
+ default: string;
613
+ loading: string;
614
+ }>;
615
+ renderAddCard?: (onAdded: () => void) => ReactNode;
616
+ className?: string;
617
+ }
618
+ declare function SavedCards({ brandId, centerId, labels, renderAddCard, className, }: SavedCardsProps): react_jsx_runtime.JSX.Element;
619
+
620
+ interface ChangePasswordFormProps {
621
+ labels?: Partial<{
622
+ title: string;
623
+ currentPassword: string;
624
+ newPassword: string;
625
+ save: string;
626
+ forgot: string;
627
+ code: string;
628
+ reset: string;
629
+ sent: string;
630
+ success: string;
631
+ }>;
632
+ className?: string;
633
+ }
634
+ declare function ChangePasswordForm({ labels, className }: ChangePasswordFormProps): react_jsx_runtime.JSX.Element;
635
+
636
+ interface ProfileFormProps {
637
+ brandId: string;
638
+ labels?: Partial<{
639
+ title: string;
640
+ name: string;
641
+ mobile: string;
642
+ save: string;
643
+ saved: string;
644
+ reload: string;
645
+ missingVersion: string;
646
+ }>;
647
+ className?: string;
648
+ }
649
+ declare function ProfileForm({ brandId, labels, className }: ProfileFormProps): react_jsx_runtime.JSX.Element;
650
+
651
+ interface CommunicationPrefsProps {
652
+ brandId: string;
653
+ labels?: Partial<{
654
+ title: string;
655
+ email: string;
656
+ sms: string;
657
+ transactional: string;
658
+ consent: string;
659
+ }>;
660
+ className?: string;
661
+ }
662
+ declare function CommunicationPrefs({ brandId, labels, className }: CommunicationPrefsProps): react_jsx_runtime.JSX.Element;
663
+
664
+ interface MembershipDetailProps {
665
+ brandId: string;
666
+ membershipId: string;
667
+ centerId?: string;
668
+ timeZone?: string;
669
+ returnUrl: string;
670
+ labels?: Partial<{
671
+ title: string;
672
+ members: string;
673
+ email: string;
674
+ add: string;
675
+ cancel: string;
676
+ reason: string;
677
+ billing: string;
678
+ ends: string;
679
+ cancelled: string;
680
+ }>;
681
+ className?: string;
682
+ }
683
+ declare function MembershipDetail({ brandId, membershipId, centerId, timeZone, returnUrl, labels, className, }: MembershipDetailProps): react_jsx_runtime.JSX.Element;
684
+
685
+ interface GameCardHistoryProps {
686
+ brandId: string;
687
+ centerId?: string;
688
+ gameCardId?: string;
689
+ unitNoun?: string;
690
+ /** Center local timezone; otherwise resolved by each redemption's center name. */
691
+ timeZone?: string;
692
+ labels?: Partial<{
693
+ title: string;
694
+ empty: string;
695
+ more: string;
696
+ back: string;
697
+ }>;
698
+ className?: string;
699
+ }
700
+ declare function GameCardHistory({ brandId, centerId, gameCardId, unitNoun, timeZone, labels, className, }: GameCardHistoryProps): react_jsx_runtime.JSX.Element;
701
+
702
+ interface AddToWalletButtonsProps extends Omit<GetWalletPassUrlArgs, "platform"> {
703
+ eligible?: boolean;
704
+ labels?: Partial<{
705
+ apple: string;
706
+ google: string;
707
+ }>;
708
+ className?: string;
709
+ }
710
+ declare function AddToWalletButtons({ eligible, labels, className, ...scope }: AddToWalletButtonsProps): react_jsx_runtime.JSX.Element;
711
+
712
+ interface PrivacyCenterProps {
713
+ brandId: string;
714
+ supportHref?: string;
715
+ labels?: Partial<{
716
+ title: string;
717
+ export: string;
718
+ download: string;
719
+ confirm: string;
720
+ delete: string;
721
+ retry: string;
722
+ support: string;
723
+ loading: string;
724
+ deleted: string;
725
+ pending: string;
726
+ stale: string;
727
+ cancelRenewal: string;
728
+ membershipEnds: string;
729
+ forfeits: string;
730
+ refund: string;
731
+ credit: string;
732
+ fee: string;
733
+ }>;
734
+ className?: string;
735
+ }
736
+ declare function PrivacyCenter({ brandId, supportHref, labels, className, }: PrivacyCenterProps): react_jsx_runtime.JSX.Element;
737
+
738
+ interface BookingChangeProps {
739
+ brandId: string;
740
+ centerId?: string;
741
+ reservationId: string;
742
+ expectedVersion: number;
743
+ initial: {
744
+ dateISO: string;
745
+ startMinuteOfDay: number;
746
+ endMinuteOfDay: number;
747
+ units: number;
748
+ persons: number;
749
+ };
750
+ unitNoun?: string;
751
+ renderPayment?: (payment: BookingChangePayment, onPaid: () => void) => ReactNode;
752
+ labels?: Partial<{
753
+ title: string;
754
+ date: string;
755
+ start: string;
756
+ end: string;
757
+ persons: string;
758
+ preview: string;
759
+ apply: string;
760
+ payment: string;
761
+ reset: string;
762
+ reason: string;
763
+ done: string;
764
+ slotTaken: string;
765
+ expired: string;
766
+ cancelled: string;
767
+ paymentRequired: string;
768
+ }>;
769
+ className?: string;
770
+ }
771
+ declare function BookingChange({ brandId, centerId, reservationId, expectedVersion, initial, unitNoun, renderPayment, labels, className, }: BookingChangeProps): react_jsx_runtime.JSX.Element;
772
+
773
+ interface WaitlistJoinProps {
774
+ args: JoinWaitlistArgs;
775
+ onJoined?: () => void;
776
+ }
777
+ declare function WaitlistJoin({ args, onJoined }: WaitlistJoinProps): react_jsx_runtime.JSX.Element;
778
+
779
+ export { AccountDashboard, type AccountDashboardLabels, type AccountDashboardProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountSection, AddToWalletButtons, type AddToWalletButtonsProps, AuthForm, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateRenderContext, BOWLOS_DEFAULT_THEME, BookingCatalog, type BookingCatalogLabels, type BookingCatalogProps, BookingChange, type BookingChangeProps, BookingFlow, type BookingFlowLabels, type BookingFlowProps, BowlosTheme, type BowlosThemeTokens, CatalogItem, ChangePasswordForm, type ChangePasswordFormProps, CommunicationPrefs, type CommunicationPrefsProps, EventList, type EventListLabels, type EventListProps, type FlashBrand, FlashSale, FlashSaleIndex, type FlashSaleIndexItem, type FlashSaleIndexLabels, type FlashSaleIndexProps, type FlashSaleIndexView, type FlashSaleItem, type FlashSaleLabels, type FlashSaleProps, type FlashSaleView, GameCardHistory, type GameCardHistoryProps, InquiryForm, type InquiryFormProps, MaintenanceBanner, type MaintenanceBannerProps, MembershipDetail, type MembershipDetailProps, type MyCreditEntry, type MyCredits, type MyLoyalty, type MyMembershipSummary, type MyPass, type MyReservationSummary, PricingTable, type PricingTableLabels, type PricingTableProps, PrivacyCenter, type PrivacyCenterProps, ProfileForm, type ProfileFormProps, SavedCards, type SavedCardsProps, WaitlistJoin, type WaitlistJoinProps, formatCents, formatCentsRange };
@@ -1,9 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { m as PublicSurface, g as CatalogItem } from './catalog-XkjgPI5C.js';
4
- export { h as CatalogResult, i as CatalogSection } from './catalog-XkjgPI5C.js';
5
- import { U as PricingMode, S as PaymentIntentInfo, l as Customer } from './data-BJkB-tvM.js';
6
- import { d as UseAccountResult } from './react-0MyyTtE4.js';
3
+ import { Y as PublicSurface, D as CatalogItem, N as EventOffer, l as GetWalletPassUrlArgs, p as BookingChangePayment } from './booking-change-DzYs9133.js';
4
+ export { F as CatalogResult, H as CatalogSection } from './booking-change-DzYs9133.js';
5
+ import { b3 as PricingMode, b1 as PaymentIntentInfo, an as Customer, b9 as SavedCardScope, aG as JoinWaitlistArgs } from './account-B4sZBmPI.js';
6
+ import { d as UseAccountResult } from './react-DVdtpw5n.js';
7
7
  import { InquiryFormType } from '@bowlos/shared';
8
8
 
9
9
  /**
@@ -295,6 +295,16 @@ interface MyPass {
295
295
  walletEligible: boolean;
296
296
  }
297
297
  interface AccountDashboardLabels {
298
+ eventOrders?: string;
299
+ packageOrders?: string;
300
+ gameCards?: string;
301
+ history?: string;
302
+ closeHistory?: string;
303
+ profile?: string;
304
+ communications?: string;
305
+ paymentMethods?: string;
306
+ security?: string;
307
+ privacy?: string;
298
308
  welcome: string;
299
309
  signOut: string;
300
310
  reservations: string;
@@ -316,7 +326,7 @@ interface AccountDashboardLabels {
316
326
  autoRenews: string;
317
327
  balanceDue: string;
318
328
  }
319
- type AccountSection = "reservations" | "memberships" | "loyalty" | "credits" | "passes";
329
+ type AccountSection = "waitlist" | "reservations" | "memberships" | "loyalty" | "credits" | "passes" | "eventOrders" | "packageOrders" | "gameCards" | "profile" | "communications" | "paymentMethods" | "security" | "privacy";
320
330
  interface AccountDashboardProps {
321
331
  /** The Brand this site belongs to (account reads are Brand-scoped). */
322
332
  brandId: string;
@@ -324,6 +334,10 @@ interface AccountDashboardProps {
324
334
  sections?: AccountSection[];
325
335
  labels?: Partial<AccountDashboardLabels & AuthGateLabels>;
326
336
  className?: string;
337
+ /** Required for paymentMethods; card management is Center-scoped. */
338
+ centerId?: string;
339
+ unitNoun?: string;
340
+ supportHref?: string;
327
341
  }
328
342
  /**
329
343
  * A complete, themeable account page: signs the customer in (via `<AuthGate>`),
@@ -331,7 +345,7 @@ interface AccountDashboardProps {
331
345
  * passes. Must render inside a `<BowlosProvider>`; theme with `<BowlosTheme>` or
332
346
  * the `--bowlos-*` CSS vars. White-label by design — no BowlOS branding.
333
347
  */
334
- declare function AccountDashboard({ brandId, sections, labels, className }: AccountDashboardProps): react_jsx_runtime.JSX.Element;
348
+ declare function AccountDashboard({ brandId, sections, labels, className, centerId, unitNoun, supportHref, }: AccountDashboardProps): react_jsx_runtime.JSX.Element;
335
349
 
336
350
  interface FlashBrand {
337
351
  name: string;
@@ -569,4 +583,197 @@ interface PricingTableProps {
569
583
  }
570
584
  declare function PricingTable({ centerId, specialsOnly, labels, className, style, }: PricingTableProps): react_jsx_runtime.JSX.Element | null;
571
585
 
572
- export { AccountDashboard, type AccountDashboardLabels, type AccountDashboardProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountSection, AuthForm, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateRenderContext, BOWLOS_DEFAULT_THEME, BookingCatalog, type BookingCatalogLabels, type BookingCatalogProps, BookingFlow, type BookingFlowLabels, type BookingFlowProps, BowlosTheme, type BowlosThemeTokens, CatalogItem, type FlashBrand, FlashSale, FlashSaleIndex, type FlashSaleIndexItem, type FlashSaleIndexLabels, type FlashSaleIndexProps, type FlashSaleIndexView, type FlashSaleItem, type FlashSaleLabels, type FlashSaleProps, type FlashSaleView, InquiryForm, type InquiryFormProps, MaintenanceBanner, type MaintenanceBannerProps, type MyCreditEntry, type MyCredits, type MyLoyalty, type MyMembershipSummary, type MyPass, type MyReservationSummary, PricingTable, type PricingTableLabels, type PricingTableProps, formatCents, formatCentsRange };
586
+ interface EventListLabels {
587
+ title: string;
588
+ empty: string;
589
+ loading: string;
590
+ error: string;
591
+ }
592
+ interface EventListProps {
593
+ /** Pass landing-page-gated offers; fetch headlessly with includeWithoutLandingPage: false. */
594
+ items: EventOffer[];
595
+ loading?: boolean;
596
+ error?: {
597
+ message: string;
598
+ } | null;
599
+ labels?: Partial<EventListLabels>;
600
+ children?: (item: EventOffer) => ReactNode;
601
+ className?: string;
602
+ }
603
+ /** Render-only reference list. Data fetching and pagination remain under site control. */
604
+ declare function EventList({ items, loading, error, labels, children, className }: EventListProps): react_jsx_runtime.JSX.Element;
605
+
606
+ interface SavedCardsProps extends SavedCardScope {
607
+ labels?: Partial<{
608
+ title: string;
609
+ empty: string;
610
+ remove: string;
611
+ makeDefault: string;
612
+ default: string;
613
+ loading: string;
614
+ }>;
615
+ renderAddCard?: (onAdded: () => void) => ReactNode;
616
+ className?: string;
617
+ }
618
+ declare function SavedCards({ brandId, centerId, labels, renderAddCard, className, }: SavedCardsProps): react_jsx_runtime.JSX.Element;
619
+
620
+ interface ChangePasswordFormProps {
621
+ labels?: Partial<{
622
+ title: string;
623
+ currentPassword: string;
624
+ newPassword: string;
625
+ save: string;
626
+ forgot: string;
627
+ code: string;
628
+ reset: string;
629
+ sent: string;
630
+ success: string;
631
+ }>;
632
+ className?: string;
633
+ }
634
+ declare function ChangePasswordForm({ labels, className }: ChangePasswordFormProps): react_jsx_runtime.JSX.Element;
635
+
636
+ interface ProfileFormProps {
637
+ brandId: string;
638
+ labels?: Partial<{
639
+ title: string;
640
+ name: string;
641
+ mobile: string;
642
+ save: string;
643
+ saved: string;
644
+ reload: string;
645
+ missingVersion: string;
646
+ }>;
647
+ className?: string;
648
+ }
649
+ declare function ProfileForm({ brandId, labels, className }: ProfileFormProps): react_jsx_runtime.JSX.Element;
650
+
651
+ interface CommunicationPrefsProps {
652
+ brandId: string;
653
+ labels?: Partial<{
654
+ title: string;
655
+ email: string;
656
+ sms: string;
657
+ transactional: string;
658
+ consent: string;
659
+ }>;
660
+ className?: string;
661
+ }
662
+ declare function CommunicationPrefs({ brandId, labels, className }: CommunicationPrefsProps): react_jsx_runtime.JSX.Element;
663
+
664
+ interface MembershipDetailProps {
665
+ brandId: string;
666
+ membershipId: string;
667
+ centerId?: string;
668
+ timeZone?: string;
669
+ returnUrl: string;
670
+ labels?: Partial<{
671
+ title: string;
672
+ members: string;
673
+ email: string;
674
+ add: string;
675
+ cancel: string;
676
+ reason: string;
677
+ billing: string;
678
+ ends: string;
679
+ cancelled: string;
680
+ }>;
681
+ className?: string;
682
+ }
683
+ declare function MembershipDetail({ brandId, membershipId, centerId, timeZone, returnUrl, labels, className, }: MembershipDetailProps): react_jsx_runtime.JSX.Element;
684
+
685
+ interface GameCardHistoryProps {
686
+ brandId: string;
687
+ centerId?: string;
688
+ gameCardId?: string;
689
+ unitNoun?: string;
690
+ /** Center local timezone; otherwise resolved by each redemption's center name. */
691
+ timeZone?: string;
692
+ labels?: Partial<{
693
+ title: string;
694
+ empty: string;
695
+ more: string;
696
+ back: string;
697
+ }>;
698
+ className?: string;
699
+ }
700
+ declare function GameCardHistory({ brandId, centerId, gameCardId, unitNoun, timeZone, labels, className, }: GameCardHistoryProps): react_jsx_runtime.JSX.Element;
701
+
702
+ interface AddToWalletButtonsProps extends Omit<GetWalletPassUrlArgs, "platform"> {
703
+ eligible?: boolean;
704
+ labels?: Partial<{
705
+ apple: string;
706
+ google: string;
707
+ }>;
708
+ className?: string;
709
+ }
710
+ declare function AddToWalletButtons({ eligible, labels, className, ...scope }: AddToWalletButtonsProps): react_jsx_runtime.JSX.Element;
711
+
712
+ interface PrivacyCenterProps {
713
+ brandId: string;
714
+ supportHref?: string;
715
+ labels?: Partial<{
716
+ title: string;
717
+ export: string;
718
+ download: string;
719
+ confirm: string;
720
+ delete: string;
721
+ retry: string;
722
+ support: string;
723
+ loading: string;
724
+ deleted: string;
725
+ pending: string;
726
+ stale: string;
727
+ cancelRenewal: string;
728
+ membershipEnds: string;
729
+ forfeits: string;
730
+ refund: string;
731
+ credit: string;
732
+ fee: string;
733
+ }>;
734
+ className?: string;
735
+ }
736
+ declare function PrivacyCenter({ brandId, supportHref, labels, className, }: PrivacyCenterProps): react_jsx_runtime.JSX.Element;
737
+
738
+ interface BookingChangeProps {
739
+ brandId: string;
740
+ centerId?: string;
741
+ reservationId: string;
742
+ expectedVersion: number;
743
+ initial: {
744
+ dateISO: string;
745
+ startMinuteOfDay: number;
746
+ endMinuteOfDay: number;
747
+ units: number;
748
+ persons: number;
749
+ };
750
+ unitNoun?: string;
751
+ renderPayment?: (payment: BookingChangePayment, onPaid: () => void) => ReactNode;
752
+ labels?: Partial<{
753
+ title: string;
754
+ date: string;
755
+ start: string;
756
+ end: string;
757
+ persons: string;
758
+ preview: string;
759
+ apply: string;
760
+ payment: string;
761
+ reset: string;
762
+ reason: string;
763
+ done: string;
764
+ slotTaken: string;
765
+ expired: string;
766
+ cancelled: string;
767
+ paymentRequired: string;
768
+ }>;
769
+ className?: string;
770
+ }
771
+ declare function BookingChange({ brandId, centerId, reservationId, expectedVersion, initial, unitNoun, renderPayment, labels, className, }: BookingChangeProps): react_jsx_runtime.JSX.Element;
772
+
773
+ interface WaitlistJoinProps {
774
+ args: JoinWaitlistArgs;
775
+ onJoined?: () => void;
776
+ }
777
+ declare function WaitlistJoin({ args, onJoined }: WaitlistJoinProps): react_jsx_runtime.JSX.Element;
778
+
779
+ export { AccountDashboard, type AccountDashboardLabels, type AccountDashboardProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountSection, AddToWalletButtons, type AddToWalletButtonsProps, AuthForm, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateRenderContext, BOWLOS_DEFAULT_THEME, BookingCatalog, type BookingCatalogLabels, type BookingCatalogProps, BookingChange, type BookingChangeProps, BookingFlow, type BookingFlowLabels, type BookingFlowProps, BowlosTheme, type BowlosThemeTokens, CatalogItem, ChangePasswordForm, type ChangePasswordFormProps, CommunicationPrefs, type CommunicationPrefsProps, EventList, type EventListLabels, type EventListProps, type FlashBrand, FlashSale, FlashSaleIndex, type FlashSaleIndexItem, type FlashSaleIndexLabels, type FlashSaleIndexProps, type FlashSaleIndexView, type FlashSaleItem, type FlashSaleLabels, type FlashSaleProps, type FlashSaleView, GameCardHistory, type GameCardHistoryProps, InquiryForm, type InquiryFormProps, MaintenanceBanner, type MaintenanceBannerProps, MembershipDetail, type MembershipDetailProps, type MyCreditEntry, type MyCredits, type MyLoyalty, type MyMembershipSummary, type MyPass, type MyReservationSummary, PricingTable, type PricingTableLabels, type PricingTableProps, PrivacyCenter, type PrivacyCenterProps, ProfileForm, type ProfileFormProps, SavedCards, type SavedCardsProps, WaitlistJoin, type WaitlistJoinProps, formatCents, formatCentsRange };