@riverbankcms/sdk 0.130.2 → 0.134.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 (405) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/dist/{PreviewEditorSidebar-BY-1QdE2.mjs → PreviewEditorSidebar-DfRhJPFQ.mjs} +351 -95
  3. package/dist/{PreviewEditorUI-BS34jI9_.mjs → PreviewEditorUI-Dppxcr_g.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-BD0kOjtI.mjs → PreviewQueryProvider-D51gQaG3.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-B1pWnhu-.mjs → SdkPreviewModeRuntime-8CyGCXir.mjs} +91 -21
  6. package/dist/{SiteChromeCustomizeContext-BhUG_72i.mjs → SiteChromeCustomizeContext-DVMTMvqA.mjs} +6896 -4335
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +1105 -533
  8. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +363 -276
  9. package/dist/_dts/api/src/accountApi.d.ts +5 -5
  10. package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +1 -1
  11. package/dist/_dts/api/src/bookingConfig.d.ts +13 -9
  12. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +8 -19
  13. package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +31 -2
  14. package/dist/_dts/api/src/bookingOperations.d.ts +2 -14
  15. package/dist/_dts/api/src/bookingVerticals.d.ts +1 -140
  16. package/dist/_dts/api/src/bookings.d.ts +2 -2
  17. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +45 -12
  18. package/dist/_dts/api/src/contentRuntime.d.ts +3 -2
  19. package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +2 -2
  20. package/dist/_dts/api/src/courses.d.ts +1 -19
  21. package/dist/_dts/api/src/endpoints.d.ts +469 -349
  22. package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
  23. package/dist/_dts/api/src/eventManagementContracts.d.ts +91 -1
  24. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +32 -0
  25. package/dist/_dts/api/src/giftingDashboard.d.ts +117 -0
  26. package/dist/_dts/api/src/giftingEndpointDefinitions.d.ts +124 -0
  27. package/dist/_dts/api/src/index.d.ts +4 -4
  28. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
  29. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  30. package/dist/_dts/api/src/media.d.ts +1 -0
  31. package/dist/_dts/api/src/navigation/contracts.d.ts +9 -6
  32. package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +3 -4
  33. package/dist/_dts/api/src/navigation/linkResolver.d.ts +6 -2
  34. package/dist/_dts/api/src/navigation/types.d.ts +23 -6
  35. package/dist/_dts/api/src/navigation.d.ts +1 -1
  36. package/dist/_dts/api/src/publicBookingService.d.ts +15 -0
  37. package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +11 -0
  38. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +28 -13
  39. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +2 -0
  40. package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +3 -0
  41. package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -3
  42. package/dist/_dts/api/src/sdkBookingVerticalContracts.d.ts +29 -0
  43. package/dist/_dts/api/src/sdkContracts.d.ts +9 -32
  44. package/dist/_dts/api/src/sdkEndpointDefinitions.d.ts +23 -0
  45. package/dist/_dts/api/src/sdkSettingsContracts.d.ts +25 -0
  46. package/dist/_dts/api/src/sdkThemeCatalogContracts.d.ts +20 -0
  47. package/dist/_dts/api/src/sdkThemeWire.d.ts +64 -54
  48. package/dist/_dts/api/src/siteBanner.d.ts +4 -2
  49. package/dist/_dts/api/src/siteOnboarding.d.ts +3 -3
  50. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +4 -10
  51. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +0 -3
  52. package/dist/_dts/api/src/types.d.ts +2 -3
  53. package/dist/_dts/api/src/webhooks.d.ts +12 -12
  54. package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -13
  55. package/dist/_dts/blocks/src/client.d.ts +1 -1
  56. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +9 -0
  57. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +54 -116
  58. package/dist/_dts/blocks/src/index.d.ts +4 -3
  59. package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -2
  60. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
  61. package/dist/_dts/blocks/src/subroutes/fold.d.ts +2 -1
  62. package/dist/_dts/blocks/src/system/blocks/courses/shared/index.d.ts +0 -3
  63. package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +2 -50
  64. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +1 -929
  65. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -97
  66. package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +39 -6
  67. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -1
  68. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +3 -3
  69. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -3
  70. package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +2 -2
  71. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -20
  72. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +5 -9
  73. package/dist/_dts/blocks/src/system/blocks/events/whole-series/index.d.ts +3 -0
  74. package/dist/_dts/blocks/src/system/blocks/events/whole-series/pricing.d.ts +50 -0
  75. package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +135 -0
  76. package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +84 -0
  77. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -4
  78. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +148 -148
  79. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +3 -2
  80. package/dist/_dts/blocks/src/system/blocks/shared/bookingConsent.d.ts +36 -0
  81. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +7 -8
  82. package/dist/_dts/blocks/src/system/manifest/hydrateLinks.d.ts +9 -2
  83. package/dist/_dts/blocks/src/system/manifest/resolveBlockData.d.ts +8 -0
  84. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +79 -79
  85. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  86. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -11
  87. package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +2 -0
  88. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -0
  89. package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +1 -1
  90. package/dist/_dts/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts +3 -19
  91. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +45 -72
  92. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +22 -37
  93. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +6 -6
  94. package/dist/_dts/blocks/src/system/runtime/hooks/useSelectedAppointmentConsentForm.d.ts +2 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.consent.d.ts +10 -0
  96. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts +4 -0
  97. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.fields.d.ts +21 -0
  98. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +2 -1
  99. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +38 -144
  100. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -19
  101. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -2
  102. package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +2 -5
  103. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +4 -2
  104. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +19 -7
  105. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +25 -4
  106. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +75 -0
  107. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +4 -1
  108. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +5 -2
  109. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -2
  110. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +2 -0
  111. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
  112. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.d.ts +5 -0
  113. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SiteCreditPreviewPanel.d.ts +6 -0
  114. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +2 -0
  115. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +17 -0
  116. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +21 -4
  117. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/siteCreditPreview.d.ts +51 -0
  118. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -3
  119. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +6 -4
  120. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/validation.d.ts +2 -1
  121. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/BookingModeStep.d.ts +1 -1
  122. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/CheckIcon.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/ErrorStep.d.ts +1 -1
  124. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/MembershipHero.d.ts +3 -3
  125. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PaymentFailedStep.d.ts +1 -1
  126. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/StepIndicator.d.ts +6 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/VerifyingTimeoutStep.d.ts +1 -1
  128. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationActiveSteps.d.ts +9 -0
  129. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/CourseRegistrationErrorBoundary.d.ts → event-registration/whole-series/WholeSeriesRegistrationErrorBoundary.d.ts} +5 -2
  130. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationTerminalContent.d.ts +8 -0
  131. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationWizard.d.ts +8 -0
  132. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +46 -0
  133. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/index.d.ts +4 -4
  134. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/presentation.d.ts +7 -0
  135. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/pricing.d.ts +14 -0
  136. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/types.d.ts +18 -16
  137. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseEligibility.d.ts → event-registration/whole-series/useWholeSeriesEligibility.d.ts} +6 -6
  138. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesPaymentVerification.d.ts +10 -0
  139. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationActions.d.ts +35 -0
  140. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseRegistrationPortal.d.ts → event-registration/whole-series/useWholeSeriesRegistrationPortal.d.ts} +2 -2
  141. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationSelection.d.ts +35 -0
  142. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationWizard.d.ts +185 -0
  143. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseWaitlistSelection.d.ts → event-registration/whole-series/useWholeSeriesWaitlistSelection.d.ts} +5 -5
  144. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/utils.d.ts +4 -4
  145. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.contract.d.ts +7 -7
  146. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.planning.d.ts +2 -2
  147. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesPageSurfaceScope.d.ts +17 -0
  148. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/courseRegistrationViewState.d.ts → event-registration/whole-series/wholeSeriesRegistrationViewState.d.ts} +7 -7
  149. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/wizardSteps.d.ts +4 -4
  150. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -54
  151. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -0
  152. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
  153. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +12 -11
  154. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +3 -2
  155. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +3 -2
  156. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +3 -2
  157. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +4 -3
  158. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModalCloseButton.d.ts +7 -0
  159. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +4 -3
  160. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +14 -0
  161. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +51 -14
  162. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -1
  163. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingConsentAgreement.d.ts +7 -0
  164. package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +12 -12
  165. package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
  166. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +1 -0
  167. package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +30 -11
  168. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +15 -4
  169. package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
  170. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -4
  171. package/dist/_dts/blocks/src/system/types/link.d.ts +7 -1
  172. package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +13 -0
  173. package/dist/_dts/commerce/src/purchase/cancellationPolicy.d.ts +7 -0
  174. package/dist/_dts/commerce/src/purchase/canonicalRefundPlanner.d.ts +48 -0
  175. package/dist/_dts/commerce/src/purchase/checkoutCollectionPlan.d.ts +39 -0
  176. package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +40 -0
  177. package/dist/_dts/commerce/src/purchase/checkoutDiscountContextPlanning.d.ts +80 -0
  178. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -0
  179. package/dist/_dts/commerce/src/purchase/checkoutOrderItemProjection.d.ts +22 -0
  180. package/dist/_dts/commerce/src/purchase/checkoutPaymentFlow.d.ts +50 -0
  181. package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +30 -0
  182. package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +10 -0
  183. package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +53 -0
  184. package/dist/_dts/commerce/src/purchase/checkoutQuantity.d.ts +8 -0
  185. package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +76 -0
  186. package/dist/_dts/commerce/src/purchase/checkoutSettlement.d.ts +46 -0
  187. package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +12 -0
  188. package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +125 -0
  189. package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +55 -0
  190. package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +91 -0
  191. package/dist/_dts/commerce/src/purchase/discountApplication.d.ts +74 -0
  192. package/dist/_dts/commerce/src/purchase/index.d.ts +55 -0
  193. package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +86 -0
  194. package/dist/_dts/commerce/src/purchase/order-number.d.ts +33 -0
  195. package/dist/_dts/commerce/src/purchase/orderCancellationPlan.d.ts +19 -0
  196. package/dist/_dts/commerce/src/purchase/orderCompletionEmailPlan.d.ts +71 -0
  197. package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +120 -0
  198. package/dist/_dts/commerce/src/purchase/orderFulfillmentPlan.d.ts +81 -0
  199. package/dist/_dts/commerce/src/purchase/orderFulfillmentResult.d.ts +8 -0
  200. package/dist/_dts/commerce/src/purchase/orderHistoryLedgerFilters.d.ts +1 -0
  201. package/dist/_dts/commerce/src/purchase/orderHistorySource.d.ts +11 -0
  202. package/dist/_dts/commerce/src/purchase/orderInstalmentAdminSettlement.d.ts +43 -0
  203. package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +29 -0
  204. package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +44 -0
  205. package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +24 -0
  206. package/dist/_dts/commerce/src/purchase/orderInstalmentPlan.d.ts +40 -0
  207. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +151 -0
  208. package/dist/_dts/commerce/src/purchase/orderItemSupport.d.ts +14 -0
  209. package/dist/_dts/commerce/src/purchase/orderListFilters.d.ts +3 -0
  210. package/dist/_dts/commerce/src/purchase/orderPaymentLinkPlanning.d.ts +60 -0
  211. package/dist/_dts/commerce/src/purchase/orderPaymentReceipt.d.ts +184 -0
  212. package/dist/_dts/commerce/src/purchase/orderPaymentState.d.ts +135 -0
  213. package/dist/_dts/commerce/src/purchase/orderPlanningTypes.d.ts +102 -0
  214. package/dist/_dts/commerce/src/purchase/orderRefundPlanning.d.ts +50 -0
  215. package/dist/_dts/commerce/src/purchase/orderRefundPolicy.d.ts +36 -0
  216. package/dist/_dts/commerce/src/purchase/orderTotals.d.ts +23 -0
  217. package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +39 -0
  218. package/dist/_dts/commerce/src/purchase/pendingCheckoutSessionClaim.d.ts +1 -0
  219. package/dist/_dts/commerce/src/purchase/persistedCheckoutLines.d.ts +27 -0
  220. package/dist/_dts/commerce/src/purchase/protectedDepositRefundPolicy.d.ts +86 -0
  221. package/dist/_dts/commerce/src/purchase/refundPolicy.d.ts +8 -0
  222. package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +40 -0
  223. package/dist/_dts/commerce/src/purchase/result.d.ts +2 -0
  224. package/dist/_dts/commerce/src/purchase/settlement.d.ts +97 -0
  225. package/dist/_dts/commerce/src/purchase/shopRefundPlanning.d.ts +43 -0
  226. package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +31 -0
  227. package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +10 -0
  228. package/dist/_dts/commerce/src/purchase/types.d.ts +168 -0
  229. package/dist/_dts/commerce/src/shop/shipmentEligibility.d.ts +14 -0
  230. package/dist/_dts/commerce/src/utils/assertNever.d.ts +1 -0
  231. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -0
  232. package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -0
  233. package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -4
  234. package/dist/_dts/core/src/booking-consent.d.ts +8 -0
  235. package/dist/_dts/core/src/booking-vertical-catalog.d.ts +741 -0
  236. package/dist/_dts/core/src/booking-vertical-config.d.ts +66 -0
  237. package/dist/_dts/core/src/booking-vertical-definitions.d.ts +68 -0
  238. package/dist/_dts/{api/src/bookingVerticalPreset.d.ts → core/src/booking-vertical-preset.d.ts} +1 -1
  239. package/dist/_dts/core/src/booking-verticals.d.ts +98 -0
  240. package/dist/_dts/core/src/event-page-selection.d.ts +22 -0
  241. package/dist/_dts/core/src/event-pricing.d.ts +5 -0
  242. package/dist/_dts/core/src/event-series-behaviour.d.ts +16 -0
  243. package/dist/_dts/core/src/index.d.ts +4 -0
  244. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +81 -3
  245. package/dist/_dts/db/src/schemas/forms.d.ts +25 -25
  246. package/dist/_dts/db/src/types/jsonb.d.ts +1 -1
  247. package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +2 -1
  248. package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +2 -1
  249. package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +3 -2
  250. package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +3 -4
  251. package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +3 -0
  252. package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +2 -0
  253. package/dist/_dts/media-core/src/identifiers.d.ts +10 -0
  254. package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
  255. package/dist/_dts/media-core/src/types.d.ts +2 -1
  256. package/dist/_dts/media-core/src/usageScanner.d.ts +1 -1
  257. package/dist/_dts/media-editor/src/index.d.ts +2 -2
  258. package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -22
  259. package/dist/_dts/media-editor/src/useMediaSelection.d.ts +0 -9
  260. package/dist/_dts/preview-next/src/client/preview/ButtonHoverRoleControls.d.ts +10 -0
  261. package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +3 -2
  262. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -1
  263. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -1
  264. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
  265. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -1
  266. package/dist/_dts/preview-next/src/client/preview/StyleConfiguratorWarningNotice.d.ts +7 -0
  267. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +1 -1
  268. package/dist/_dts/sdk/src/bookings/types.d.ts +7 -89
  269. package/dist/_dts/sdk/src/client/eventSubrouteReadOperations.d.ts +11 -0
  270. package/dist/_dts/sdk/src/client/types.d.ts +12 -5
  271. package/dist/_dts/sdk/src/components.d.ts +1 -1
  272. package/dist/_dts/sdk/src/config/validation.d.ts +30 -30
  273. package/dist/_dts/sdk/src/contracts/content.d.ts +10 -36
  274. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  275. package/dist/_dts/sdk/src/contracts/page.d.ts +2 -13
  276. package/dist/_dts/sdk/src/contracts/rendering.d.ts +1 -1
  277. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -16
  278. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +9 -9
  279. package/dist/_dts/sdk/src/next/pageMetadataProjection.d.ts +7 -0
  280. package/dist/_dts/sdk/src/next/resolveEventPageSubroute.d.ts +12 -0
  281. package/dist/_dts/sdk/src/public-api/contracts.d.ts +11 -38
  282. package/dist/_dts/sdk/src/public-api/eventSubrouteContracts.d.ts +12 -0
  283. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  284. package/dist/_dts/sdk/src/rendering/client.d.ts +44 -0
  285. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
  286. package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +1 -1
  287. package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +4 -3
  288. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +7 -3
  289. package/dist/_dts/sdk/src/version.d.ts +1 -1
  290. package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
  291. package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +1 -1
  292. package/dist/_dts/theme-core/src/buttons/contextualHover.d.ts +41 -0
  293. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  294. package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +3 -0
  295. package/dist/_dts/theme-core/src/buttons/resolveButtonHoverTreatment.d.ts +14 -0
  296. package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +21 -4
  297. package/dist/_dts/theme-core/src/buttons/styles/recipes/flatInk.d.ts +92 -0
  298. package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +10 -150
  299. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -102
  300. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +50 -2
  301. package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -12
  302. package/dist/_dts/theme-core/src/cards/types.d.ts +7 -29
  303. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  304. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +90 -75
  305. package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
  306. package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
  307. package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
  308. package/dist/_dts/theme-core/src/schema.d.ts +98 -110
  309. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +27 -0
  310. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +27 -0
  311. package/dist/_dts/theme-core/src/site-styles/buttonSelectionCompiler.d.ts +18 -0
  312. package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +1 -1
  313. package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +21 -0
  314. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
  315. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
  316. package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
  317. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -11
  318. package/dist/_dts/theme-core/src/site-styles/selectionFallbackWarning.d.ts +15 -0
  319. package/dist/_dts/theme-core/src/site-styles/types.d.ts +13 -1
  320. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
  321. package/dist/_dts/ui/src/badge.d.ts +1 -1
  322. package/dist/_dts/ui/src/button.d.ts +1 -1
  323. package/dist/_dts/ui/src/callout.d.ts +1 -1
  324. package/dist/_dts/ui/src/card.d.ts +1 -1
  325. package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -0
  326. package/dist/client/{StepIndicator-CLjQhkDb.mjs → BookingConsentAgreement-BxgpGEFD.mjs} +26 -4
  327. package/dist/client/{DiscountCodeDisclosure-BPZ-yfGI.mjs → DiscountCodeDisclosure-CfuPOHD0.mjs} +12 -12
  328. package/dist/client/{EventCombined.client-Cjt3kKYR.mjs → EventCombined.client-DB8Qfzi-.mjs} +37 -49
  329. package/dist/client/{EventListing.client-DY9dn6Fh.mjs → EventListing.client-DD4X8hp4.mjs} +2 -2
  330. package/dist/client/{LeafletStaticMap--2c61XYn.mjs → LeafletStaticMap-QhgIBQbv.mjs} +1 -1
  331. package/dist/client/{CourseRegistrationWizard-DGW9F0SQ.mjs → WholeSeriesRegistrationWizard-DwtC7bCs.mjs} +1460 -1247
  332. package/dist/client/{accordion-_boYwHHi.mjs → accordion-DFXpLvwg.mjs} +1 -1
  333. package/dist/client/{bookingForm--AqEfyBX.mjs → bookingForm-sI05d3lk.mjs} +73 -47
  334. package/dist/client/bookings.mjs +1719 -706
  335. package/dist/client/{carousel-CVI2dqZr.mjs → carousel-wjyWTZCh.mjs} +1 -1
  336. package/dist/client/{cart-DR6IiPz9.mjs → cart-DCwdpA4i.mjs} +3 -3
  337. package/dist/client/{checkout-CsrGAfQt.mjs → checkout-DTDW3l0R.mjs} +3 -3
  338. package/dist/client/checkoutUrls-DQYC_Br-.mjs +187 -0
  339. package/dist/client/client.mjs +6830 -3672
  340. package/dist/client/{context-B83PiNzm.mjs → context-TSK1CGx8.mjs} +1 -14
  341. package/dist/client/{courseRegistration-aNJVaLa3.mjs → courseRegistration-A-Tg7qw_.mjs} +11 -5
  342. package/dist/client/{eventCalendar-OZ7h59VN.mjs → eventCalendar-B0Zg-i_w.mjs} +41 -44
  343. package/dist/client/{eventCombined-BbJ6bFKz.mjs → eventCombined-B8Y2wizd.mjs} +3 -3
  344. package/dist/client/{eventDetails-BLyUBiCT.mjs → eventDetails-DPDOwURJ.mjs} +276 -94
  345. package/dist/client/{eventListing-DuP1yhBS.mjs → eventListing-CjBcmSLn.mjs} +3 -3
  346. package/dist/client/{eventRegistration-BXyECPa-.mjs → eventRegistration-CK30HsAq.mjs} +730 -190
  347. package/dist/client/{form-BA4t3kKU.mjs → form-CUXfsABE.mjs} +2 -2
  348. package/dist/client/{headerSection-CpNaJxhW.mjs → headerSection-N-mN3rjr.mjs} +2 -2
  349. package/dist/client/hooks.mjs +1418 -484
  350. package/dist/client/{locationMap-3HGMCL7_.mjs → locationMap-oiIDQMBt.mjs} +2 -2
  351. package/dist/client/{newsletterForm-C2s6Mw67.mjs → newsletterForm-CkQ2tTrM.mjs} +2 -2
  352. package/dist/client/pricing-Caa0QWzh.mjs +195 -0
  353. package/dist/client/{productDetail-C9joWhdE.mjs → productDetail-CnidyrsN.mjs} +3 -3
  354. package/dist/client/{productList-CjzdU3pB.mjs → productList-CttYcS_S.mjs} +3 -3
  355. package/dist/client/{propsDecoder-CBPGXEYX.mjs → propsDecoder-CeUMxI9a.mjs} +677 -350
  356. package/dist/client/rendering/client.mjs +6075 -4150
  357. package/dist/client/rendering/islands.mjs +18 -18
  358. package/dist/client/rendering.mjs +7589 -4388
  359. package/dist/client/{scrollToBlock-DZ73aEX6.mjs → scrollToBlock-lPr1oqxB.mjs} +1 -1
  360. package/dist/client/{shop-CQRai7hj.mjs → shop-DXQtMo2O.mjs} +6 -6
  361. package/dist/client/{shop-commerce-hP9UboOx.mjs → shop-commerce-quDL411J.mjs} +7 -164
  362. package/dist/client/{shop-commerce-store-DiD5a32e.mjs → shop-commerce-store-Dnu-8Iub.mjs} +1 -1
  363. package/dist/client/{shopShared-DP8DXTkF.mjs → shopShared-BWPUURvG.mjs} +3 -3
  364. package/dist/client/{useEventFilters-pF_OJNQP.mjs → useEventFilters-DRhWp2_5.mjs} +196 -7
  365. package/dist/client/{usePolling-Cls91SD2.mjs → usePolling-UN4WKnaM.mjs} +3 -3
  366. package/dist/preview-next/before-render.mjs +247 -60
  367. package/dist/preview-next/client/runtime.mjs +4 -4
  368. package/dist/preview-next/keepAlive.mjs +247 -60
  369. package/dist/preview-next/middleware.mjs +247 -60
  370. package/dist/{previewAuthStore-CX1C_KJ4.mjs → previewAuthStore-BFKd4LrN.mjs} +247 -60
  371. package/dist/{sdk-runtime-5CcPAI14.mjs → sdk-runtime-Ca5RD78X.mjs} +2 -2
  372. package/dist/{separator-BXlYN_gr.mjs → separator-CMhj6BTi.mjs} +1 -1
  373. package/dist/server/components.mjs +3578 -1614
  374. package/dist/server/config-validation.mjs +1418 -485
  375. package/dist/server/config.mjs +1418 -485
  376. package/dist/server/data.mjs +1418 -484
  377. package/dist/server/index.mjs +289 -81
  378. package/dist/server/manifest.mjs +0 -1
  379. package/dist/server/next.mjs +3761 -1794
  380. package/dist/server/page-converter.mjs +911 -261
  381. package/dist/server/prebuild.mjs +1 -1
  382. package/dist/server/rendering/server.mjs +3580 -1613
  383. package/dist/server/rendering.mjs +3578 -1614
  384. package/dist/server/routing.mjs +1687 -689
  385. package/dist/server/server.mjs +1458 -563
  386. package/dist/server/theme-bridge.mjs +1996 -935
  387. package/dist/server/theme.mjs +346 -133
  388. package/dist/styles/index.css +1602 -796
  389. package/package.json +2 -2
  390. package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +0 -746
  391. package/dist/_dts/api/src/eventSeriesPresentationPreset.d.ts +0 -12
  392. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +0 -3
  393. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +0 -6
  394. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +0 -45
  395. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +0 -14
  396. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +0 -9
  397. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +0 -35
  398. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +0 -31
  399. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +0 -102
  400. package/dist/client/checkoutUrls-Ct8Mxna3.mjs +0 -26
  401. package/dist/client/eventProductEligibility-AVxyCB1u.mjs +0 -50
  402. package/dist/client/pricing-BiqIMgZk.mjs +0 -174
  403. /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PortalAuthSidebar.d.ts +0 -0
  404. /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/SuccessStep.d.ts +0 -0
  405. /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/WaitlistStep.d.ts +0 -0
@@ -0,0 +1,35 @@
1
+ import type { PublicWholeSeriesOffering, ResolvedWholeSeriesPricingState } from '../../../../blocks/events/whole-series';
2
+ import type { BlockApiClient } from '../../../api';
3
+ import type { WholeSeriesEligibilityResponse } from '../../../api/types';
4
+ import type { WholeSeriesRegistrationWizardActionResult, WholeSeriesRegistrationWizardOptions, EnrollmentResult, EnrollmentStep, FormData, PortalAuthState } from './types';
5
+ import type { PaymentChoice } from './useWholeSeriesEligibility';
6
+ type Membership = Readonly<{
7
+ customerMembershipId: string;
8
+ membershipName: string;
9
+ }>;
10
+ type ActionState = Readonly<{
11
+ api: BlockApiClient;
12
+ selectedRun: PublicWholeSeriesOffering | null;
13
+ pricing: ResolvedWholeSeriesPricingState | null;
14
+ formData: FormData;
15
+ portalAuthState: PortalAuthState;
16
+ eligibility: WholeSeriesEligibilityResponse | null;
17
+ eligibleMemberships: readonly Membership[];
18
+ paymentChoice: PaymentChoice;
19
+ selectedMembershipId: string | null;
20
+ claimToken: string | null;
21
+ hasClaim: boolean;
22
+ altchaSolution: string | null;
23
+ discountCode: string;
24
+ options: WholeSeriesRegistrationWizardOptions;
25
+ }>;
26
+ export declare function useWholeSeriesRegistrationActions(state: ActionState, setStep: (step: EnrollmentStep) => void): {
27
+ errors: Partial<Record<keyof FormData, string>>;
28
+ enrollmentResult: EnrollmentResult | null;
29
+ errorMessage: string;
30
+ reportError: (message: string) => void;
31
+ recordEnrollmentResult: (result: EnrollmentResult) => void;
32
+ handleSubmit: () => Promise<WholeSeriesRegistrationWizardActionResult>;
33
+ handlePaymentContinue: () => Promise<WholeSeriesRegistrationWizardActionResult>;
34
+ };
35
+ export {};
@@ -1,6 +1,6 @@
1
- import type { BlockApiClient } from '../../api';
1
+ import type { BlockApiClient } from '../../../api';
2
2
  import type { FormData, PortalAuthState } from './types';
3
- export declare function useCourseRegistrationPortal(api: BlockApiClient): {
3
+ export declare function useWholeSeriesRegistrationPortal(api: BlockApiClient): {
4
4
  formData: FormData;
5
5
  updateFormData: (updater: FormData | ((current: FormData) => FormData)) => void;
6
6
  portalAuthState: PortalAuthState;
@@ -0,0 +1,35 @@
1
+ import type { PublicWholeSeriesOffering } from '../../../../blocks/events/whole-series';
2
+ import type { WholeSeriesRegistrationClientProps, EnrollmentStep } from './types';
3
+ export type WholeSeriesRegistrationLocation = Readonly<{
4
+ search: string;
5
+ hash: string;
6
+ }>;
7
+ export declare function getWholeSeriesCheckoutSessionId(location?: WholeSeriesRegistrationLocation): string | null;
8
+ export declare function useWholeSeriesRegistrationSelection(props: WholeSeriesRegistrationClientProps, location?: WholeSeriesRegistrationLocation): {
9
+ scopedRuns: readonly PublicWholeSeriesOffering[];
10
+ step: EnrollmentStep;
11
+ goToStep: (nextStep: EnrollmentStep) => void;
12
+ selectedRun: PublicWholeSeriesOffering | null;
13
+ chooseRun: (run: PublicWholeSeriesOffering) => void;
14
+ selectedPricingOptionId: string | null;
15
+ choosePricingOption: (pricingOptionId: string | null) => void;
16
+ selectedSlidingAmountInput: string;
17
+ changeSlidingAmount: (amount: string) => void;
18
+ selectedRunPricing: Readonly<{
19
+ currency: string;
20
+ display: import("../../../../blocks/events/whole-series").WholeSeriesPriceDisplay;
21
+ selectableOptions: readonly import("../../../../blocks/events/whole-series").WholeSeriesPricingOption[];
22
+ requiresSelection: boolean;
23
+ selectedOption: import("../../../../blocks/events/whole-series").WholeSeriesPricingOption | null;
24
+ slidingScale: Readonly<{
25
+ minAmount: number;
26
+ maxAmount: number;
27
+ suggestedAmount: number | null;
28
+ }> | null;
29
+ selectedSlidingAmount: number | null;
30
+ selectedPriceAmount: number | null;
31
+ selectedRequiresPayment: boolean;
32
+ hasPaidSelection: boolean;
33
+ hasFreeSelection: boolean;
34
+ }> | null;
35
+ };
@@ -0,0 +1,185 @@
1
+ import { useBlockApi } from '../../../api';
2
+ import type { UseWaitlistClaimResult } from '../../../shared/useWaitlistClaim';
3
+ import { useDiscountCodeUi } from '../useDiscountCodeUi';
4
+ import type { BookingMode, WholeSeriesRegistrationClientProps, WholeSeriesRegistrationWizardOptions } from './types';
5
+ import { deriveWholeSeriesRegistrationViewState } from './wholeSeriesRegistrationViewState';
6
+ import { useWholeSeriesEligibility } from './useWholeSeriesEligibility';
7
+ import { useWholeSeriesRegistrationActions } from './useWholeSeriesRegistrationActions';
8
+ import { useWholeSeriesRegistrationPortal } from './useWholeSeriesRegistrationPortal';
9
+ import { useWholeSeriesRegistrationSelection } from './useWholeSeriesRegistrationSelection';
10
+ import type { WholeSeriesRegistrationLocation } from './useWholeSeriesRegistrationSelection';
11
+ export declare function useWholeSeriesRegistrationWizard(props: WholeSeriesRegistrationClientProps, options?: WholeSeriesRegistrationWizardOptions): {
12
+ handleRunSelect: (run: NonNullable<WizardParts["selection"]["selectedRun"]>) => void;
13
+ handleRetry: () => void;
14
+ handleBookingModeChange: (mode: BookingMode) => void;
15
+ handleLogout: (() => void) | undefined;
16
+ selectedRunPricingPayload: {
17
+ pricingOptionId?: string;
18
+ selectedSlidingAmount?: number;
19
+ };
20
+ hasRunPayment: boolean;
21
+ canUseMembership: boolean;
22
+ hasPreSelectedRun: boolean;
23
+ wizardSteps: readonly import("./types").EnrollmentStep[];
24
+ currentStepNumber: number;
25
+ totalSteps: number;
26
+ stepLabels: string[];
27
+ showPortalAuthSidebar: boolean;
28
+ waitlistClaim: UseWaitlistClaimResult;
29
+ bookingMode: BookingMode;
30
+ altchaSolution: string | null;
31
+ setAltchaSolution: (solution: string | null) => void;
32
+ showSpamProtection: boolean;
33
+ discountUiOpen: boolean;
34
+ setDiscountUiOpen: (isOpen: boolean) => void;
35
+ discountCode: string;
36
+ setDiscountCode: (code: string) => void;
37
+ discountsAvailable: boolean;
38
+ manualCodeEntryAllowed: boolean;
39
+ discountsAvailableLoading: boolean;
40
+ errors: Partial<Record<keyof import("./types").FormData, string>>;
41
+ enrollmentResult: import("./types").EnrollmentResult | null;
42
+ errorMessage: string;
43
+ reportError: (message: string) => void;
44
+ recordEnrollmentResult: (result: import("./types").EnrollmentResult) => void;
45
+ handleSubmit: () => Promise<import("./types").WholeSeriesRegistrationWizardActionResult>;
46
+ handlePaymentContinue: () => Promise<import("./types").WholeSeriesRegistrationWizardActionResult>;
47
+ eligibilityLoading: boolean;
48
+ eligibilityError: string | null;
49
+ runEligibility: import("../../../api/types").WholeSeriesEligibilityResponse | null;
50
+ eligibleMemberships: Readonly<{
51
+ customerMembershipId: string;
52
+ membershipName: string;
53
+ }>[];
54
+ paymentChoice: import("./useWholeSeriesEligibility").PaymentChoice;
55
+ choosePaymentChoice: (choice: import("./useWholeSeriesEligibility").PaymentChoice) => void;
56
+ selectedMembershipId: string | null;
57
+ chooseMembership: (membershipId: string | null) => void;
58
+ formData: import("./types").FormData;
59
+ updateFormData: (updater: import("./types").FormData | ((current: import("./types").FormData) => import("./types").FormData)) => void;
60
+ portalAuthState: import("./types").PortalAuthState;
61
+ scopedRuns: readonly import("../../../..").PublicCourse[];
62
+ step: import("./types").EnrollmentStep;
63
+ goToStep: (nextStep: import("./types").EnrollmentStep) => void;
64
+ selectedRun: import("../../../..").PublicCourse | null;
65
+ chooseRun: (run: import("../../../..").PublicCourse) => void;
66
+ selectedPricingOptionId: string | null;
67
+ choosePricingOption: (pricingOptionId: string | null) => void;
68
+ selectedSlidingAmountInput: string;
69
+ changeSlidingAmount: (amount: string) => void;
70
+ selectedRunPricing: Readonly<{
71
+ currency: string;
72
+ display: import("../../../../blocks/events/whole-series").WholeSeriesPriceDisplay;
73
+ selectableOptions: readonly import("../../../../blocks/events/whole-series").WholeSeriesPricingOption[];
74
+ requiresSelection: boolean;
75
+ selectedOption: import("../../../../blocks/events/whole-series").WholeSeriesPricingOption | null;
76
+ slidingScale: Readonly<{
77
+ minAmount: number;
78
+ maxAmount: number;
79
+ suggestedAmount: number | null;
80
+ }> | null;
81
+ selectedSlidingAmount: number | null;
82
+ selectedPriceAmount: number | null;
83
+ selectedRequiresPayment: boolean;
84
+ hasPaidSelection: boolean;
85
+ hasFreeSelection: boolean;
86
+ }> | null;
87
+ api: import("../../../api").BlockApiClient;
88
+ };
89
+ export type WholeSeriesRegistrationWizardDeps = Readonly<{
90
+ readLocation: () => WholeSeriesRegistrationLocation;
91
+ }>;
92
+ export declare function useWholeSeriesRegistrationWizardWithDeps(deps: WholeSeriesRegistrationWizardDeps, props: WholeSeriesRegistrationClientProps, options?: WholeSeriesRegistrationWizardOptions): {
93
+ handleRunSelect: (run: NonNullable<WizardParts["selection"]["selectedRun"]>) => void;
94
+ handleRetry: () => void;
95
+ handleBookingModeChange: (mode: BookingMode) => void;
96
+ handleLogout: (() => void) | undefined;
97
+ selectedRunPricingPayload: {
98
+ pricingOptionId?: string;
99
+ selectedSlidingAmount?: number;
100
+ };
101
+ hasRunPayment: boolean;
102
+ canUseMembership: boolean;
103
+ hasPreSelectedRun: boolean;
104
+ wizardSteps: readonly import("./types").EnrollmentStep[];
105
+ currentStepNumber: number;
106
+ totalSteps: number;
107
+ stepLabels: string[];
108
+ showPortalAuthSidebar: boolean;
109
+ waitlistClaim: UseWaitlistClaimResult;
110
+ bookingMode: BookingMode;
111
+ altchaSolution: string | null;
112
+ setAltchaSolution: (solution: string | null) => void;
113
+ showSpamProtection: boolean;
114
+ discountUiOpen: boolean;
115
+ setDiscountUiOpen: (isOpen: boolean) => void;
116
+ discountCode: string;
117
+ setDiscountCode: (code: string) => void;
118
+ discountsAvailable: boolean;
119
+ manualCodeEntryAllowed: boolean;
120
+ discountsAvailableLoading: boolean;
121
+ errors: Partial<Record<keyof import("./types").FormData, string>>;
122
+ enrollmentResult: import("./types").EnrollmentResult | null;
123
+ errorMessage: string;
124
+ reportError: (message: string) => void;
125
+ recordEnrollmentResult: (result: import("./types").EnrollmentResult) => void;
126
+ handleSubmit: () => Promise<import("./types").WholeSeriesRegistrationWizardActionResult>;
127
+ handlePaymentContinue: () => Promise<import("./types").WholeSeriesRegistrationWizardActionResult>;
128
+ eligibilityLoading: boolean;
129
+ eligibilityError: string | null;
130
+ runEligibility: import("../../../api/types").WholeSeriesEligibilityResponse | null;
131
+ eligibleMemberships: Readonly<{
132
+ customerMembershipId: string;
133
+ membershipName: string;
134
+ }>[];
135
+ paymentChoice: import("./useWholeSeriesEligibility").PaymentChoice;
136
+ choosePaymentChoice: (choice: import("./useWholeSeriesEligibility").PaymentChoice) => void;
137
+ selectedMembershipId: string | null;
138
+ chooseMembership: (membershipId: string | null) => void;
139
+ formData: import("./types").FormData;
140
+ updateFormData: (updater: import("./types").FormData | ((current: import("./types").FormData) => import("./types").FormData)) => void;
141
+ portalAuthState: import("./types").PortalAuthState;
142
+ scopedRuns: readonly import("../../../..").PublicCourse[];
143
+ step: import("./types").EnrollmentStep;
144
+ goToStep: (nextStep: import("./types").EnrollmentStep) => void;
145
+ selectedRun: import("../../../..").PublicCourse | null;
146
+ chooseRun: (run: import("../../../..").PublicCourse) => void;
147
+ selectedPricingOptionId: string | null;
148
+ choosePricingOption: (pricingOptionId: string | null) => void;
149
+ selectedSlidingAmountInput: string;
150
+ changeSlidingAmount: (amount: string) => void;
151
+ selectedRunPricing: Readonly<{
152
+ currency: string;
153
+ display: import("../../../../blocks/events/whole-series").WholeSeriesPriceDisplay;
154
+ selectableOptions: readonly import("../../../../blocks/events/whole-series").WholeSeriesPricingOption[];
155
+ requiresSelection: boolean;
156
+ selectedOption: import("../../../../blocks/events/whole-series").WholeSeriesPricingOption | null;
157
+ slidingScale: Readonly<{
158
+ minAmount: number;
159
+ maxAmount: number;
160
+ suggestedAmount: number | null;
161
+ }> | null;
162
+ selectedSlidingAmount: number | null;
163
+ selectedPriceAmount: number | null;
164
+ selectedRequiresPayment: boolean;
165
+ hasPaidSelection: boolean;
166
+ hasFreeSelection: boolean;
167
+ }> | null;
168
+ api: import("../../../api").BlockApiClient;
169
+ };
170
+ type WizardParts = Readonly<{
171
+ api: ReturnType<typeof useBlockApi>;
172
+ selection: ReturnType<typeof useWholeSeriesRegistrationSelection>;
173
+ portal: ReturnType<typeof useWholeSeriesRegistrationPortal>;
174
+ eligibility: ReturnType<typeof useWholeSeriesEligibility>;
175
+ actions: ReturnType<typeof useWholeSeriesRegistrationActions>;
176
+ discountUi: ReturnType<typeof useDiscountCodeUi>;
177
+ waitlistClaim: UseWaitlistClaimResult;
178
+ view: ReturnType<typeof deriveWholeSeriesRegistrationViewState>;
179
+ bookingMode: BookingMode;
180
+ setBookingMode: (mode: BookingMode) => void;
181
+ altchaSolution: string | null;
182
+ setAltchaSolution: (solution: string | null) => void;
183
+ anchorId: 'event-registration' | 'course-registration';
184
+ }>;
185
+ export {};
@@ -1,13 +1,13 @@
1
- import type { PublicCourse } from '../../../blocks/courses/shared';
1
+ import type { PublicWholeSeriesOffering } from '../../../../blocks/events/whole-series';
2
2
  import type { EnrollmentStep, FormData } from './types';
3
- import type { useWaitlistClaim } from '../../shared/useWaitlistClaim';
3
+ import type { useWaitlistClaim } from '../../../shared/useWaitlistClaim';
4
4
  type WaitlistClaimState = ReturnType<typeof useWaitlistClaim>;
5
- export declare function useCourseWaitlistSelection(input: Readonly<{
5
+ export declare function useWholeSeriesWaitlistSelection(input: Readonly<{
6
6
  waitlistClaim: WaitlistClaimState;
7
- scopedCourses: readonly PublicCourse[];
7
+ scopedRuns: readonly PublicWholeSeriesOffering[];
8
8
  step: EnrollmentStep;
9
9
  goToStep: (step: EnrollmentStep) => void;
10
- chooseCourse: (course: PublicCourse) => void;
10
+ chooseRun: (run: PublicWholeSeriesOffering) => void;
11
11
  updateFormData: (updater: (current: FormData) => FormData) => void;
12
12
  reportError: (message: string) => void;
13
13
  }>): void;
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Course Registration Utilities
2
+ * Run Registration Utilities
3
3
  *
4
- * Formatting and validation helpers for course registration.
4
+ * Formatting and validation helpers for run registration.
5
5
  */
6
- export { buildCheckoutReturnUrls, formatPrice, validateFormData } from '../../shared';
6
+ export { buildCheckoutReturnUrls, formatPrice, validateFormData, } from '../../../shared';
7
7
  /**
8
8
  * Format a date string to a localized date.
9
9
  *
@@ -40,4 +40,4 @@ export declare function formatDateTime(dateString: string, options?: {
40
40
  /**
41
41
  * Anchor ID for the registration block, used for scroll targeting.
42
42
  */
43
- export declare const COURSE_REGISTRATION_ANCHOR_ID = "course-registration";
43
+ export declare const WHOLE_SERIES_REGISTRATION_ANCHOR_ID = "event-registration";
@@ -1,6 +1,7 @@
1
- import type { BlockBookingPaymentTerms } from '../../../blocks/shared/bookingPaymentTerms';
2
- import type { PublicTeamMemberSummary } from '../../../blocks/shared/teamMembers';
3
- import type { CourseRegistrationClientProps, EnrollmentResult, FormData } from './types';
1
+ import type { BlockBookingPaymentTerms } from '../../../../blocks/shared/bookingPaymentTerms';
2
+ import type { PublicTeamMemberSummary } from '../../../../blocks/shared/teamMembers';
3
+ import type { WholeSeriesRegistrationClientProps, EnrollmentResult, FormData } from './types';
4
+ import type { BlockBookingConsent } from '../../../../blocks/shared/bookingConsent';
4
5
  export type WholeSeriesRegistrationPricingOptionInput = Readonly<{
5
6
  id: string;
6
7
  name: string;
@@ -33,9 +34,7 @@ export type WholeSeriesRegistrationPricingInput = (WholeSeriesRegistrationPricin
33
34
  suggestedAmountCents: number | null;
34
35
  }>);
35
36
  export type WholeSeriesRegistrationRunInput = Readonly<{
36
- /** Stable dated-offering run identity. */
37
- runId: string;
38
- /** Offering identity owning this run in the public course experience. */
37
+ /** Offering identity owning this run in the public run experience. */
39
38
  eventOfferingId: string;
40
39
  registrationTarget: Readonly<{
41
40
  kind: 'event_series_whole_series';
@@ -45,6 +44,7 @@ export type WholeSeriesRegistrationRunInput = Readonly<{
45
44
  slug: string;
46
45
  description: unknown;
47
46
  teamMembers?: readonly PublicTeamMemberSummary[];
47
+ consent: BlockBookingConsent | null;
48
48
  registrationOpen: boolean;
49
49
  pricing: WholeSeriesRegistrationPricingInput;
50
50
  capacity: number | null;
@@ -158,7 +158,7 @@ export type WholeSeriesRegistrationRunsModel = Readonly<{
158
158
  scoped: readonly WholeSeriesRegistrationRun[];
159
159
  selected: WholeSeriesRegistrationRun | null;
160
160
  hasPreSelectedRun: boolean;
161
- subject: CourseRegistrationClientProps['subject'];
161
+ subject: WholeSeriesRegistrationClientProps['subject'];
162
162
  }>;
163
163
  export type WholeSeriesRegistrationPricingModel = Readonly<{
164
164
  currency: string | null;
@@ -1,4 +1,4 @@
1
- import type { ResolvedCoursePricingState } from '../../../blocks/courses/shared';
1
+ import type { ResolvedWholeSeriesPricingState } from '../../../../blocks/events/whole-series';
2
2
  import type { EnrollmentStep } from './types';
3
3
  import type { HeadlessWholeSeriesRegistrationFlow, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingModel } from './whole-series-registration.headless.contract';
4
4
  export declare function deriveWholeSeriesRegistrationSteps(input: Readonly<{
@@ -19,7 +19,7 @@ export declare function resolveWholeSeriesRegistrationView(wizard: Readonly<{
19
19
  enrollmentResult: HeadlessWholeSeriesRegistrationFlow['terminal']['result'];
20
20
  errorMessage: string;
21
21
  }>): WholeSeriesRegistrationFlowView;
22
- export declare function resolveWholeSeriesPricingSelection(pricing: ResolvedCoursePricingState | null): WholeSeriesRegistrationPricingModel['selection'];
22
+ export declare function resolveWholeSeriesPricingSelection(pricing: ResolvedWholeSeriesPricingState | null): WholeSeriesRegistrationPricingModel['selection'];
23
23
  export declare function resolveWholeSeriesPaymentSelection(input: Readonly<{
24
24
  paymentChoice: 'checkout' | 'membership';
25
25
  selectedMembershipId: string | null;
@@ -0,0 +1,17 @@
1
+ import { type EventPageSurfaceSubject, type EventPageSurfaceSubjectParseError } from '../../../../../../../core/src/index';
2
+ import type { PublicWholeSeriesOffering } from '../../../../blocks/events/whole-series/types';
3
+ export type WholeSeriesPageSurfaceScope = Readonly<{
4
+ kind: 'absent';
5
+ }> | Readonly<{
6
+ kind: 'scoped';
7
+ subject: EventPageSurfaceSubject;
8
+ runs: readonly PublicWholeSeriesOffering[];
9
+ }> | Readonly<{
10
+ kind: 'unsupported';
11
+ reason: EventPageSurfaceSubjectParseError['kind'];
12
+ }>;
13
+ /**
14
+ * Resolves native run-page ownership without falling back to entry or slug
15
+ * coincidence when a page-surface subject is present but invalid.
16
+ */
17
+ export declare function resolveWholeSeriesPageSurfaceScope(runs: readonly PublicWholeSeriesOffering[], subjectValue: unknown): WholeSeriesPageSurfaceScope;
@@ -1,18 +1,18 @@
1
- import type { PublicCourse, ResolvedCoursePricingState } from '../../../blocks/courses/shared';
1
+ import type { PublicWholeSeriesOffering, ResolvedWholeSeriesPricingState } from '../../../../blocks/events/whole-series';
2
2
  import type { BookingMode, EnrollmentStep, PortalAuthState } from './types';
3
- export declare function deriveCourseRegistrationViewState(input: Readonly<{
4
- scopedCourses: readonly PublicCourse[];
5
- selectedCourse: PublicCourse | null;
6
- pricing: ResolvedCoursePricingState | null;
3
+ export declare function deriveWholeSeriesRegistrationViewState(input: Readonly<{
4
+ scopedRuns: readonly PublicWholeSeriesOffering[];
5
+ selectedRun: PublicWholeSeriesOffering | null;
6
+ pricing: ResolvedWholeSeriesPricingState | null;
7
7
  portalAuthState: PortalAuthState;
8
8
  eligibleMembershipCount: number;
9
9
  bookingMode: BookingMode;
10
10
  step: EnrollmentStep;
11
11
  waitlistRequiresPortalLogin: boolean;
12
12
  }>): {
13
- hasCoursePayment: boolean;
13
+ hasRunPayment: boolean;
14
14
  canUseMembership: boolean;
15
- hasPreSelectedCourse: boolean;
15
+ hasPreSelectedRun: boolean;
16
16
  wizardSteps: readonly EnrollmentStep[];
17
17
  currentStepNumber: number;
18
18
  totalSteps: number;
@@ -11,15 +11,15 @@ export declare const STEP_LABELS: Record<EnrollmentStep, string>;
11
11
  /**
12
12
  * Determine which wizard steps to show based on context and eligibility.
13
13
  *
14
- * @param hasPreSelectedCourse - Whether course is pre-selected (skips course selection)
15
- * @param requiresPayment - Whether the course requires payment
14
+ * @param hasPreSelectedRun - Whether run is pre-selected (skips run selection)
15
+ * @param requiresPayment - Whether the run requires payment
16
16
  * @param hasEligibleMemberships - Whether user has eligible memberships
17
17
  * @param bookingMode - Current booking mode selection
18
18
  * @param isMembershipFastTrack - Whether user qualifies for single-step membership flow
19
19
  * @returns Array of wizard steps to display
20
20
  */
21
- export declare function getWizardStepsForContext(hasPreSelectedCourse: boolean, requiresPayment: boolean, hasEligibleMemberships: boolean, bookingMode: BookingMode, isMembershipFastTrack: boolean): readonly EnrollmentStep[];
22
- export { getStepNumber } from '../../shared';
21
+ export declare function getWizardStepsForContext(hasPreSelectedRun: boolean, requiresPayment: boolean, hasEligibleMemberships: boolean, bookingMode: BookingMode, isMembershipFastTrack: boolean): readonly EnrollmentStep[];
22
+ export { getStepNumber } from '../../../shared';
23
23
  /**
24
24
  * Get the label for a step
25
25
  */
@@ -1,6 +1,6 @@
1
1
  import type { BlockButtonRole } from '../../constants/buttonRoles';
2
2
  import type { PublicEvent } from '../../blocks/events/shared/types';
3
- import type { PublicCourse } from '../../blocks/courses/shared/types';
3
+ import type { PublicWholeSeriesOffering } from '../../blocks/events/whole-series';
4
4
  import { type PublicMembershipProductCollection, type PublicPassProductCollection } from '../../blocks/shop.shared';
5
5
  import type { OccurrenceContext } from '../../blocks/event-registration.shared';
6
6
  import type { EventRegistrationClientProps as InternalEventRegistrationClientProps } from './event-registration/types';
@@ -18,8 +18,9 @@ export type EventRegistrationSourceProps = Readonly<{
18
18
  occurrenceContext?: OccurrenceContext | null;
19
19
  subject?: EventRegistrationPageSurfaceSubject | null;
20
20
  events?: PublicEvent[] | null;
21
- wholeSeriesOfferings?: PublicCourse[] | null;
22
- wholeSeriesOffering?: PublicCourse | null;
21
+ wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
22
+ wholeSeriesOffering?: PublicWholeSeriesOffering | null;
23
+ subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
23
24
  className?: string | null;
24
25
  buttonText?: string | null;
25
26
  maxTickets?: string | null;
@@ -46,6 +47,12 @@ export type EventRegistrationDisplay = Readonly<{
46
47
  bodyText: string;
47
48
  stepLabels: readonly EventRegistrationShellStepLabel[];
48
49
  summaryButtonText: string;
50
+ }> | Readonly<{
51
+ kind: 'event-registration';
52
+ state: 'registration-closed';
53
+ className: string | null;
54
+ titleText: string;
55
+ bodyText: string;
49
56
  }>;
50
57
  export type EventRegistrationHydration = Readonly<Omit<InternalEventRegistrationClientProps, 'siteId' | 'stage' | 'registrationEndpoint' | 'eligibilityEndpoint' | 'checkoutEndpoint' | 'buttonText' | 'className'>>;
51
58
  type EventRegistrationIslandMeta = Readonly<{
@@ -67,8 +74,9 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
67
74
  occurrenceContext?: OccurrenceContext | null;
68
75
  subject?: EventRegistrationPageSurfaceSubject | null;
69
76
  events?: PublicEvent[] | null;
70
- wholeSeriesOfferings?: PublicCourse[] | null;
71
- wholeSeriesOffering?: PublicCourse | null;
77
+ wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
78
+ wholeSeriesOffering?: PublicWholeSeriesOffering | null;
79
+ subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
72
80
  className?: string | null;
73
81
  buttonText?: string | null;
74
82
  maxTickets?: string | null;
@@ -91,15 +99,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
91
99
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
92
100
  }> | null;
93
101
  }>) => Readonly<{
94
- display: Readonly<{
95
- kind: "event-registration";
96
- state: "generic-shell";
97
- className: string | null;
98
- titleText: string;
99
- bodyText: string;
100
- stepLabels: readonly EventRegistrationShellStepLabel[];
101
- summaryButtonText: string;
102
- }>;
102
+ display: EventRegistrationDisplay;
103
103
  hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
104
104
  }>;
105
105
  contracts: Readonly<{
@@ -112,8 +112,9 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
112
112
  occurrenceContext?: OccurrenceContext | null;
113
113
  subject?: EventRegistrationPageSurfaceSubject | null;
114
114
  events?: PublicEvent[] | null;
115
- wholeSeriesOfferings?: PublicCourse[] | null;
116
- wholeSeriesOffering?: PublicCourse | null;
115
+ wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
116
+ wholeSeriesOffering?: PublicWholeSeriesOffering | null;
117
+ subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
117
118
  className?: string | null;
118
119
  buttonText?: string | null;
119
120
  maxTickets?: string | null;
@@ -144,8 +145,9 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
144
145
  occurrenceContext?: OccurrenceContext | null;
145
146
  subject?: EventRegistrationPageSurfaceSubject | null;
146
147
  events?: PublicEvent[] | null;
147
- wholeSeriesOfferings?: PublicCourse[] | null;
148
- wholeSeriesOffering?: PublicCourse | null;
148
+ wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
149
+ wholeSeriesOffering?: PublicWholeSeriesOffering | null;
150
+ subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
149
151
  className?: string | null;
150
152
  buttonText?: string | null;
151
153
  maxTickets?: string | null;
@@ -171,27 +173,11 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
171
173
  }>;
172
174
  render: Readonly<{
173
175
  encode: (value: Readonly<{
174
- display: Readonly<{
175
- kind: "event-registration";
176
- state: "generic-shell";
177
- className: string | null;
178
- titleText: string;
179
- bodyText: string;
180
- stepLabels: readonly EventRegistrationShellStepLabel[];
181
- summaryButtonText: string;
182
- }>;
176
+ display: EventRegistrationDisplay;
183
177
  hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
184
178
  }>) => unknown;
185
179
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
186
- display: Readonly<{
187
- kind: "event-registration";
188
- state: "generic-shell";
189
- className: string | null;
190
- titleText: string;
191
- bodyText: string;
192
- stepLabels: readonly EventRegistrationShellStepLabel[];
193
- summaryButtonText: string;
194
- }>;
180
+ display: EventRegistrationDisplay;
195
181
  hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
196
182
  }>>;
197
183
  }>;
@@ -209,15 +195,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
209
195
  render: Readonly<{
210
196
  mode: "event-registration";
211
197
  } & Readonly<{
212
- display: Readonly<{
213
- kind: "event-registration";
214
- state: "generic-shell";
215
- className: string | null;
216
- titleText: string;
217
- bodyText: string;
218
- stepLabels: readonly EventRegistrationShellStepLabel[];
219
- summaryButtonText: string;
220
- }>;
198
+ display: EventRegistrationDisplay;
221
199
  hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
222
200
  }>>;
223
201
  }>) => unknown;
@@ -232,15 +210,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
232
210
  render: Readonly<{
233
211
  mode: "event-registration";
234
212
  } & Readonly<{
235
- display: Readonly<{
236
- kind: "event-registration";
237
- state: "generic-shell";
238
- className: string | null;
239
- titleText: string;
240
- bodyText: string;
241
- stepLabels: readonly EventRegistrationShellStepLabel[];
242
- summaryButtonText: string;
243
- }>;
213
+ display: EventRegistrationDisplay;
244
214
  hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
245
215
  }>>;
246
216
  }>>;
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import type { PublicEvent, ButtonVariant, EventLayout, ColumnOption, WeekStart, CalendarTabViews, FilterAutoShow, CalendarView, EventScheduleScope, EventSurfaceScope } from "../../../blocks/events/shared/types";
3
+ import type { CardRole } from "../../../../../../theme-core/src/cards/index";
3
4
  import type { EventCombinedInteractiveIslandProps } from "./EventCombined.interactive";
4
5
  import { type EventListPaginationAction, type EventPageSize } from "./shared/listOptions";
5
6
  export type EventCombinedClientProps = Readonly<{
@@ -26,6 +27,7 @@ export type EventCombinedClientProps = Readonly<{
26
27
  showVenue?: boolean | null;
27
28
  showMap?: boolean | null;
28
29
  showCapacity?: boolean | null;
30
+ cardRole: CardRole;
29
31
  buttonVariant?: ButtonVariant;
30
32
  buttonText?: string;
31
33
  emptyMessage?: string;
@@ -47,6 +47,7 @@ export declare const eventCombinedBlockRuntime: Readonly<{
47
47
  showVenue?: boolean | null;
48
48
  showMap?: boolean | null;
49
49
  showCapacity?: boolean | null;
50
+ cardRole?: import("../../../../../../theme-core/src/cards/index").CardRole;
50
51
  buttonVariant?: import("../../..").ButtonVariant;
51
52
  buttonText?: string;
52
53
  emptyMessage?: string;
@@ -91,6 +92,7 @@ export declare const eventCombinedBlockRuntime: Readonly<{
91
92
  showVenue?: boolean | null;
92
93
  showMap?: boolean | null;
93
94
  showCapacity?: boolean | null;
95
+ cardRole?: import("../../../../../../theme-core/src/cards/index").CardRole;
94
96
  buttonVariant?: import("../../..").ButtonVariant;
95
97
  buttonText?: string;
96
98
  emptyMessage?: string;
@@ -123,6 +125,7 @@ export declare const eventCombinedBlockRuntime: Readonly<{
123
125
  showVenue?: boolean | null;
124
126
  showMap?: boolean | null;
125
127
  showCapacity?: boolean | null;
128
+ cardRole?: import("../../../../../../theme-core/src/cards/index").CardRole;
126
129
  buttonVariant?: import("../../..").ButtonVariant;
127
130
  buttonText?: string;
128
131
  emptyMessage?: string;