@riverbankcms/sdk 0.172.0 → 0.173.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 (194) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
  5. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
  6. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
  15. package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
  18. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
  59. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
  61. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
  62. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
  63. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
  64. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
  65. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
  66. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  67. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  68. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
  69. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
  70. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  72. package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
  73. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
  74. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
  75. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
  76. package/dist/client/bookability-SargNwlO.mjs +17 -0
  77. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
  78. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  79. package/dist/client/bookings.mjs +5 -5
  80. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  81. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
  82. package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
  83. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  84. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
  85. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  87. package/dist/client/client.mjs +52 -4
  88. package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
  89. package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
  90. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  91. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  92. package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
  93. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
  94. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  95. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
  96. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  97. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  98. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  99. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  100. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  101. package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
  102. package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
  103. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
  104. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  105. package/dist/client/gifting/client.mjs +2 -2
  106. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  107. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
  108. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
  109. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  110. package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
  111. package/dist/client/portal/client.mjs +7 -7
  112. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  113. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  114. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  115. package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
  116. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  117. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
  118. package/dist/client/rendering/client.mjs +25 -25
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +24 -55
  121. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  123. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  124. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  125. package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
  126. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
  127. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  128. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  129. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
  130. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
  131. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  132. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  133. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
  134. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  135. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  136. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  137. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
  138. package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
  139. package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
  140. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
  141. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
  142. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
  145. package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
  146. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
  147. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  148. package/dist/preview-next/client/runtime.mjs +3 -3
  149. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
  150. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
  151. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +1 -1
  152. package/dist/preview-next/keepAlive.mjs +1 -1
  153. package/dist/preview-next/middleware.mjs +1 -1
  154. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
  155. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  156. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
  157. package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/server/data/resolveBlockData.mjs +1 -1
  161. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  162. package/dist/server/index.mjs +3 -3
  163. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
  164. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
  165. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  166. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  167. package/dist/server/navigation.mjs +1 -1
  168. package/dist/server/next.mjs +6 -6
  169. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  170. package/dist/server/page-converter.mjs +1 -1
  171. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
  172. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
  173. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
  174. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
  175. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  178. package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
  179. package/dist/server/rendering/components/pageShared.mjs +1 -1
  180. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  181. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  182. package/dist/server/rendering/server.mjs +3 -3
  183. package/dist/server/rendering.mjs +8 -8
  184. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
  185. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  186. package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
  187. package/dist/server/server.mjs +3 -3
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
  190. package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
  191. package/dist/styles/index.css +174 -0
  192. package/package.json +1 -1
  193. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  194. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,4 +1,4 @@
1
- import { $r as DisplayContext, An as BookingFlowActionResult, At as FormData, Bn as BookingSubmitOptions, Bt as EventSourceRecovery, Ct as PaymentStepState, Dt as RegistrationStep, En as BookingAppointmentPackagesModel, Et as RegistrationResult, Fn as BookingFlowView, Ft as RegistrationPresentation, Gr as MailingListRuntimeContext, Gt as AutoAppliedDiscountPreview, In as BookingResourceView, It as RegistrationAdmission, Jn as BookingQuestionsAnswerState, Kt as DiscountContext, Ln as BookingSlotSelection, Lr as BookingQuestionsSubmissionFailure, Lt as RegistrationTicketContinuation, Mn as BookingFlowStatus, Nn as BookingFlowStep, Ot as RegistrationSubject, Pn as BookingFlowStepId, Rn as BookingSlotView, Rr as EventRegistrationPricingOption, Rt as TicketSelectionPurpose, Sn as BookingPurchasablePackagesModel, St as PaymentStatusRecoveryState, Tt as RegistrationEvent, Un as LoadState, Vt as BookingPageKind, Wt as BoundBlockApiClient, Xn as getBookingServiceSlidingScale, Yn as BookingQuestionsPaymentSnapshot, Zn as ProtectedSubmission, _ as PublicEvent, _n as BookingFormServiceCategory, _t as EventRegistrationClientProps, ar as EventBookingOutcome, at as EventRegistrationSiteCreditPreview, bn as BookingPaymentAvailability, bt as GuestErrors, ci as NonNegativeCents, cr as CurrencyCode, ct as BookingQuestionsModel, d as CustomerEventRegistration, dt as PortalProfile, ei as ZoneLabel, f as DirectCheckoutCollectionOptionKind, ft as EligibilityLookupState, gn as BookingSelectedCollectionOptionKind, gt as EventPaymentState, h as PaymentMethod, hn as BookingFormService, ht as EligibilityData, ir as EventRegistrationPageSurfaceSubject, it as EventRegistrationDirectPaymentSelectionState, jn as BookingFlowFeedback, jt as OccurrenceContext, kn as BookingFieldView, kt as ThemedButtonProps, li as PositiveCents, lt as PortalAuthState, m as EventRegistrationPaymentSubject, mn as BookingFormData$1, mt as SelectableEventTicketType, ni as UtcIsoDateTimeString, nr as BrowserReadAuthority, nt as BookingFormInteractiveIslandProps, or as EventEmbeddedCheckout, p as EventCheckoutReturnRequest, pn as BookingFormConfig$1, pt as ExistingRegistrationLookupState, qn as BookingFieldValue, qt as ResolveWaitlistClaimResponse, ri as AppointmentBookingReview, rr as BlockSiteTerms, rt as EventRegistrationDirectPaymentOption, sr as EventRegistrationErrorAction, st as BookingPaymentSelectionViewModel, tr as BlockApiConfig, ut as PortalCreditState, vn as BookingFormField$1, vt as EventTicketSelectionLine, wt as RegistrationAttendanceMode, xi as BlockButtonRole, xn as BookingPaymentChoice, xt as PaymentSelection, yt as Guest, zn as BookingSubmitActionResult } from "./request-wQ28JWbr.js";
1
+ import { $n as BookingSubmitOptions, An as BookingFormServiceCategory, At as RegistrationSubject, Bt as RunPricingChoices, Ci as PositiveCents, Ct as PaymentSelection, Dn as BookingFormData$1, Dt as RegistrationEvent, En as BookingFormConfig$1, Et as RegistrationAttendanceMode, Fi as BlockButtonRole, Fn as BookingPurchasablePackagesModel, Gn as BookingFlowStatus, Gt as CopyPart, Hn as BookingFieldView, Ht as SelectionPaymentSummary, Jn as BookingFlowView, Jr as CombinationPricePlan, Jt as SelectionRequirementsLayout, Kn as BookingFlowStep, Kt as StateUpdate, Lt as BookingSelection, Mt as FormData, Nn as BookingPaymentAvailability, Nt as OccurrenceContext, On as BookingFormService, Ot as RegistrationResult, Pn as BookingPaymentChoice, Qn as BookingSubmitActionResult, Qt as TicketSelectionPurpose, Rt as RegistrationSelection, Si as NonNegativeCents, St as GuestErrors, Tt as PaymentStepState, Un as BookingFlowActionResult, Ut as SeveralItemsKind, Vt as SelectionPayment, Wn as BookingFlowFeedback, Wt as CombinationWorking, Xn as BookingSlotSelection, Xr as CurrencyCode, Xt as RegistrationAdmission, Yn as BookingResourceView, Yr as EventRegistrationErrorAction, Yt as RegistrationPresentation, Zn as BookingSlotView, Zr as EventRegistrationPricingOption, Zt as RegistrationTicketContinuation, _i as AppointmentBookingReview, _r as EventEmbeddedCheckout, _t as EligibilityData, an as AutoAppliedDiscountPreview, at as EventRegistrationDirectPaymentSelectionState, bt as EventTicketSelectionLine, cr as getBookingServiceSlidingScale, ct as BookingPaymentSelectionViewModel, dt as PortalAuthState, en as EventSourceRecovery, f as CustomerEventRegistration, fi as BookingConsent, ft as PortalCreditState, g as PaymentMethod, gi as UtcIsoDateTimeString, gr as EventRegistrationPageSurfaceSubject, gt as SelectableEventTicketType, h as EventRegistrationPaymentSubject, hr as BlockSiteTerms, ht as ExistingRegistrationLookupState, ii as MailingListRuntimeContext, in as BoundBlockApiClient, it as EventRegistrationDirectPaymentOption, jn as BookingFormField$1, jt as ThemedButtonProps, kn as BookingSelectedCollectionOptionKind, kt as RegistrationStep, l as SelectionAttendance, lr as ProtectedSubmission, lt as RegistrationFlowState, m as EventCheckoutReturnRequest, mi as ZoneLabel, mr as BrowserReadAuthority, mt as EligibilityLookupState, nr as LoadState, on as DiscountContext, or as BookingFieldValue, ot as EventRegistrationSiteCreditPreview, p as DirectCheckoutCollectionOptionKind, pi as DisplayContext, pr as BlockApiConfig, pt as PortalProfile, qn as BookingFlowStepId, qr as BookingQuestionsSubmissionFailure, qt as WaitlistInvitation, rt as BookingFormInteractiveIslandProps, sr as BookingQuestionsPaymentSnapshot, tn as BookingPageKind, ut as BookingQuestionsModel, v as PublicEvent, vt as EventPaymentState, wt as PaymentStatusRecoveryState, xt as Guest, yt as EventRegistrationClientProps, zn as BookingAppointmentPackagesModel, zt as RegistrationSelectionMode } from "./request-Bysk4QPI.js";
2
2
  import { z as z$1 } from "zod";
3
3
  import * as React$1 from "react";
4
4
  import React, { ReactNode } from "react";
@@ -363,93 +363,6 @@ declare const HeadlessBookingProvider: React$1.FC<HeadlessBookingProviderProps>;
363
363
  declare const HeadlessEventRegistrationProvider: React$1.FC<HeadlessEventRegistrationProviderProps>;
364
364
  declare const HeadlessBookingPaymentSelectionStep: React$1.FC<HeadlessBookingPaymentSelectionStepProps>;
365
365
  //#endregion
366
- //#region .cache/declarations/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts
367
- type WaitlistClaimCredential = Readonly<{
368
- kind: 'emailedToken';
369
- token: string;
370
- }> | Readonly<{
371
- kind: 'portalOwnedEntry';
372
- entryId: string;
373
- }>;
374
- /** Object identity binds one asynchronous lookup to the draft that requested it. */
375
- type WaitlistClaimRequest = Readonly<{
376
- credential: WaitlistClaimCredential;
377
- }>;
378
- //#endregion
379
- //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/waitlistClaimRestoration.d.ts
380
- type WaitlistClaimRestoration = Readonly<{
381
- kind: 'awaitingEvents';
382
- }> | Readonly<{
383
- kind: 'different-event';
384
- message: string;
385
- }> | Readonly<{
386
- kind: 'ready';
387
- event: RegistrationEvent | null;
388
- attendanceMode: 'in_person' | 'online';
389
- ticketSelections: readonly EventTicketSelectionLine[];
390
- ticketsCount: number;
391
- slidingAmountInput: string | null;
392
- }>;
393
- //#endregion
394
- //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationDraft.state.d.ts
395
- type WaitlistInvitation = Readonly<{
396
- kind: 'none';
397
- }> | Readonly<{
398
- kind: 'resolving';
399
- request: WaitlistClaimRequest;
400
- }> | Readonly<{
401
- kind: 'portal-login-required';
402
- request: WaitlistClaimRequest;
403
- message: string;
404
- }> | Readonly<{
405
- kind: 'error';
406
- request: WaitlistClaimRequest;
407
- message: string;
408
- action: EventRegistrationErrorAction;
409
- }> | Readonly<{
410
- kind: 'ready';
411
- request: WaitlistClaimRequest;
412
- claim: ResolveWaitlistClaimResponse;
413
- restoration: Extract<WaitlistClaimRestoration, {
414
- kind: 'ready';
415
- }>;
416
- }>;
417
- type RegistrationDraftData = Readonly<{
418
- selectedEvent: RegistrationEvent | null;
419
- formData: FormData;
420
- guests: Guest[];
421
- selectedAttendanceMode: 'in_person' | 'online' | null;
422
- selectedTicketLines: EventTicketSelectionLine[];
423
- selectedSlidingAmountInput: string; /** The during-booking answers; changed only through the shared answer events. */
424
- bookingQuestions: BookingQuestionsAnswerState;
425
- }>;
426
- type StateUpdate<T> = T | ((current: T) => T);
427
- //#endregion
428
- //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts
429
- type SelectionSource = 'auto' | 'manual';
430
- type RegistrationDraftState = {
431
- questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
432
- draft: RegistrationDraftData;
433
- ticketsCount: number;
434
- eligibility: EligibilityData | null;
435
- passOptOut: boolean;
436
- paymentSelection: PaymentSelection;
437
- selectionSource: SelectionSource;
438
- };
439
- type RegistrationFlowState = Readonly<{
440
- isAuthenticated: boolean;
441
- completedOutcomes: readonly EventBookingOutcome[];
442
- }> & RegistrationDraftState & (Readonly<{
443
- step: Exclude<RegistrationStep, 'success'>;
444
- invitation: WaitlistInvitation;
445
- }> | Readonly<{
446
- step: 'success';
447
- result: RegistrationResult;
448
- invitation: Readonly<{
449
- kind: 'none';
450
- }>;
451
- }>);
452
- //#endregion
453
366
  //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationQuestions.d.ts
454
367
  type EventRegistrationQuestionsModel = BookingQuestionsModel & Readonly<{
455
368
  /** The answers this checkout sends, kept so a payment return can put them back for the same person. */paymentSnapshot: BookingQuestionsPaymentSnapshot | undefined;
@@ -526,6 +439,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
526
439
  stepState: PaymentStepState;
527
440
  directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
528
441
  canShowDirectPaymentOptions: boolean;
442
+ paysNothing: boolean;
443
+ offersEntitlements: boolean;
444
+ paysInFullBecauseSeveral: boolean;
529
445
  };
530
446
  anchorId: string;
531
447
  occurrenceContext: {
@@ -539,7 +455,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
539
455
  } | null | undefined;
540
456
  registrationTarget: Readonly<{
541
457
  subject: RegistrationSubject;
542
- selectedEventId: string | null;
458
+ selectedEventIds: readonly string[];
459
+ selection: BookingSelection;
460
+ runs?: RegistrationSelection;
543
461
  }> | null;
544
462
  subject: EventRegistrationPageSurfaceSubject | null | undefined;
545
463
  events: readonly PublicEvent[];
@@ -553,8 +471,46 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
553
471
  admission: RegistrationAdmission;
554
472
  ticketContinuation: RegistrationTicketContinuation;
555
473
  handleTicketsComplete: () => EventRegistrationFlowActionResult;
556
- selectedEvent: RegistrationEvent | null;
557
- setSelectedEvent: (value: Parameters<(value: StateUpdate<RegistrationEvent | null>) => void>[0]) => void;
474
+ selectedEvent: RegistrationEvent | null; /** Every chosen item, in date order; the first is `selectedEvent`. */
475
+ selection: RegistrationSelection;
476
+ selectionMode: RegistrationSelectionMode; /** The kind of several items chosen, or null for a selection of one. */
477
+ severalItems: SeveralItemsKind | null; /** One way of attending for every chosen item. */
478
+ attendance: SelectionAttendance; /** How the whole selection is paid. */
479
+ selectionPayment: SelectionPayment; /** What each run's ticket choice is checked against when booking several runs. */
480
+ runChoiceFacts: Readonly<{
481
+ places: number;
482
+ maxTickets: number;
483
+ attendanceMode: RegistrationAttendanceMode | null;
484
+ }>;
485
+ selectionPrice: Readonly<{
486
+ listTotalCents: number | null;
487
+ totalCents: number | null;
488
+ combination: CombinationPricePlan | null;
489
+ }>; /** Combination prices' working and next saving for the summary bar (issue 1725). */
490
+ selectionCombination: Readonly<{
491
+ working: CombinationWorking | null;
492
+ hint: readonly CopyPart[] | null;
493
+ }>; /** The code field's apply-and-preview, while combination prices apply; null keeps the field as it was. */
494
+ combinationCodeField: Readonly<{
495
+ apply: () => Promise<void>;
496
+ applying: boolean;
497
+ failed: boolean;
498
+ feedback: Readonly<{
499
+ tone: 'success' | 'error';
500
+ message: string;
501
+ }> | null;
502
+ hint: string;
503
+ }> | null;
504
+ combinationAwaitingVisitor: boolean; /** The payment step's list of what several items cost; null for one item. */
505
+ selectionPaymentSummary: SelectionPaymentSummary | null;
506
+ runChoices: Readonly<Record<string, Readonly<{
507
+ pricingOptionId: string | null;
508
+ slidingAmountInput: string;
509
+ }>>>;
510
+ setRunChoice: (run: RegistrationEvent, choice: RunPricingChoices[string]) => void;
511
+ handleSelectionToggle: (event: RegistrationEvent) => void;
512
+ handleSelectionContinue: () => void;
513
+ handleWaitlistChoose: (event: RegistrationEvent) => void;
558
514
  ticketsCount: number;
559
515
  setTicketsCount: (value: Parameters<(ticketsCount: number) => void>[0]) => void;
560
516
  selectedAttendanceMode: "in_person" | "online" | null;
@@ -619,7 +575,17 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
619
575
  handleGuestShakeEnd: () => void;
620
576
  errorMessage: string;
621
577
  questionFieldErrors: Readonly<Record<string, string>>;
622
- bookingQuestions: EventRegistrationQuestionsModel; /** Where a sign-in link brings the booker back to, keeping this booking for that attempt. */
578
+ bookingQuestions: EventRegistrationQuestionsModel; /** How the selection's questions and agreement are asked: once, or once per run. */
579
+ requirementsLayout: SelectionRequirementsLayout; /** One section per run when several runs ask different questions or agreements. */
580
+ runRequirementSections: readonly Readonly<{
581
+ seriesId: string;
582
+ title: string;
583
+ bookingQuestions: BookingQuestionsModel | null;
584
+ consent: BookingConsent | null;
585
+ consentAccepted: boolean;
586
+ consentError: string | undefined;
587
+ onConsentChange: (accepted: boolean) => void;
588
+ }>[]; /** Where a sign-in link brings the booker back to, keeping this booking for that attempt. */
623
589
  signInReturnPath: (email: string) => string; /** The message under the details form while questions there need attention. */
624
590
  questionsMessage: string;
625
591
  errorAction: EventRegistrationErrorAction;
@@ -779,6 +745,195 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
779
745
  registrationId: string;
780
746
  };
781
747
  };
748
+ outcomes?: readonly [{
749
+ arrivalVenues?: Record<string, string> | undefined;
750
+ kind: "detailsAvailable";
751
+ identity: {
752
+ submissionId: string;
753
+ seriesId: string;
754
+ attendanceMode: "in_person" | "online";
755
+ scope: "occurrence";
756
+ attendeeId: string;
757
+ occurrenceId: string;
758
+ } | {
759
+ submissionId: string;
760
+ seriesId: string;
761
+ attendanceMode: "in_person" | "online";
762
+ scope: "wholeSeries";
763
+ registrationId: string;
764
+ };
765
+ ticketLines: readonly [{
766
+ label: string;
767
+ quantity: number;
768
+ }, ...{
769
+ label: string;
770
+ quantity: number;
771
+ }[]];
772
+ payment: {
773
+ kind: "free";
774
+ balance: {
775
+ kind: "settled";
776
+ };
777
+ } | {
778
+ kind: "waived";
779
+ balance: {
780
+ kind: "settled";
781
+ };
782
+ } | {
783
+ kind: "pass";
784
+ passName: string | null;
785
+ passCreditsUsed: number | null;
786
+ balance: {
787
+ kind: "settled";
788
+ };
789
+ } | {
790
+ kind: "membership";
791
+ membershipName: string | null;
792
+ balance: {
793
+ kind: "settled";
794
+ };
795
+ } | {
796
+ kind: "manual_due";
797
+ currency: CurrencyCode;
798
+ balance: {
799
+ kind: "due";
800
+ amountCents: PositiveCents;
801
+ dueAt: string | null;
802
+ };
803
+ } | {
804
+ amountPaidCents: NonNegativeCents;
805
+ currency: CurrencyCode;
806
+ kind: "managed_balance_due";
807
+ balance: {
808
+ kind: "due";
809
+ amountCents: PositiveCents;
810
+ dueAt: string | null;
811
+ };
812
+ } | {
813
+ amountPaidCents: NonNegativeCents;
814
+ currency: CurrencyCode;
815
+ kind: "monetary";
816
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
817
+ balance: {
818
+ kind: "settled";
819
+ } | {
820
+ kind: "due";
821
+ amountCents: PositiveCents;
822
+ dueAt: string | null;
823
+ };
824
+ };
825
+ } | {
826
+ arrivalVenues?: Record<string, string> | undefined;
827
+ kind: "detailsUnavailable";
828
+ identity: {
829
+ submissionId: string;
830
+ seriesId: string;
831
+ attendanceMode: "in_person" | "online";
832
+ scope: "occurrence";
833
+ attendeeId: string;
834
+ occurrenceId: string;
835
+ } | {
836
+ submissionId: string;
837
+ seriesId: string;
838
+ attendanceMode: "in_person" | "online";
839
+ scope: "wholeSeries";
840
+ registrationId: string;
841
+ };
842
+ }, ...({
843
+ arrivalVenues?: Record<string, string> | undefined;
844
+ kind: "detailsAvailable";
845
+ identity: {
846
+ submissionId: string;
847
+ seriesId: string;
848
+ attendanceMode: "in_person" | "online";
849
+ scope: "occurrence";
850
+ attendeeId: string;
851
+ occurrenceId: string;
852
+ } | {
853
+ submissionId: string;
854
+ seriesId: string;
855
+ attendanceMode: "in_person" | "online";
856
+ scope: "wholeSeries";
857
+ registrationId: string;
858
+ };
859
+ ticketLines: readonly [{
860
+ label: string;
861
+ quantity: number;
862
+ }, ...{
863
+ label: string;
864
+ quantity: number;
865
+ }[]];
866
+ payment: {
867
+ kind: "free";
868
+ balance: {
869
+ kind: "settled";
870
+ };
871
+ } | {
872
+ kind: "waived";
873
+ balance: {
874
+ kind: "settled";
875
+ };
876
+ } | {
877
+ kind: "pass";
878
+ passName: string | null;
879
+ passCreditsUsed: number | null;
880
+ balance: {
881
+ kind: "settled";
882
+ };
883
+ } | {
884
+ kind: "membership";
885
+ membershipName: string | null;
886
+ balance: {
887
+ kind: "settled";
888
+ };
889
+ } | {
890
+ kind: "manual_due";
891
+ currency: CurrencyCode;
892
+ balance: {
893
+ kind: "due";
894
+ amountCents: PositiveCents;
895
+ dueAt: string | null;
896
+ };
897
+ } | {
898
+ amountPaidCents: NonNegativeCents;
899
+ currency: CurrencyCode;
900
+ kind: "managed_balance_due";
901
+ balance: {
902
+ kind: "due";
903
+ amountCents: PositiveCents;
904
+ dueAt: string | null;
905
+ };
906
+ } | {
907
+ amountPaidCents: NonNegativeCents;
908
+ currency: CurrencyCode;
909
+ kind: "monetary";
910
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
911
+ balance: {
912
+ kind: "settled";
913
+ } | {
914
+ kind: "due";
915
+ amountCents: PositiveCents;
916
+ dueAt: string | null;
917
+ };
918
+ };
919
+ } | {
920
+ arrivalVenues?: Record<string, string> | undefined;
921
+ kind: "detailsUnavailable";
922
+ identity: {
923
+ submissionId: string;
924
+ seriesId: string;
925
+ attendanceMode: "in_person" | "online";
926
+ scope: "occurrence";
927
+ attendeeId: string;
928
+ occurrenceId: string;
929
+ } | {
930
+ submissionId: string;
931
+ seriesId: string;
932
+ attendanceMode: "in_person" | "online";
933
+ scope: "wholeSeries";
934
+ registrationId: string;
935
+ };
936
+ })[]] | undefined;
782
937
  } | {
783
938
  kind: "abandoned";
784
939
  } | {
@@ -788,7 +943,29 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
788
943
  recoverableUntil?: string | undefined;
789
944
  } | {
790
945
  kind: "paymentAvailable";
946
+ references?: readonly [{
947
+ scope: "occurrence";
948
+ attendeeId: string;
949
+ } | {
950
+ scope: "wholeSeries";
951
+ registrationId: string;
952
+ }, ...({
953
+ scope: "occurrence";
954
+ attendeeId: string;
955
+ } | {
956
+ scope: "wholeSeries";
957
+ registrationId: string;
958
+ })[]] | undefined;
791
959
  checkout: {
960
+ priceReductions?: readonly [{
961
+ kind: "combination_price" | "discount_code";
962
+ label: string;
963
+ amountCents: number;
964
+ }, ...{
965
+ kind: "combination_price" | "discount_code";
966
+ label: string;
967
+ amountCents: number;
968
+ }[]] | undefined;
792
969
  kind: "embedded";
793
970
  sessionId: string;
794
971
  clientSecret: string;
@@ -934,24 +1111,235 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
934
1111
  registrationId: string;
935
1112
  };
936
1113
  };
937
- } | {
938
- kind: "abandoned";
939
- } | {
940
- kind: "reconciliationRequired";
941
- } | {
942
- kind: "paymentProcessing";
943
- recoverableUntil?: string | undefined;
944
- } | {
945
- kind: "paymentAvailable";
946
- checkout: {
947
- kind: "embedded";
948
- sessionId: string;
949
- clientSecret: string;
950
- livemode: boolean;
951
- expiresAt: string;
952
- browser: {
953
- kind: "connect";
954
- publishableKey: string;
1114
+ outcomes?: readonly [{
1115
+ arrivalVenues?: Record<string, string> | undefined;
1116
+ kind: "detailsAvailable";
1117
+ identity: {
1118
+ submissionId: string;
1119
+ seriesId: string;
1120
+ attendanceMode: "in_person" | "online";
1121
+ scope: "occurrence";
1122
+ attendeeId: string;
1123
+ occurrenceId: string;
1124
+ } | {
1125
+ submissionId: string;
1126
+ seriesId: string;
1127
+ attendanceMode: "in_person" | "online";
1128
+ scope: "wholeSeries";
1129
+ registrationId: string;
1130
+ };
1131
+ ticketLines: readonly [{
1132
+ label: string;
1133
+ quantity: number;
1134
+ }, ...{
1135
+ label: string;
1136
+ quantity: number;
1137
+ }[]];
1138
+ payment: {
1139
+ kind: "free";
1140
+ balance: {
1141
+ kind: "settled";
1142
+ };
1143
+ } | {
1144
+ kind: "waived";
1145
+ balance: {
1146
+ kind: "settled";
1147
+ };
1148
+ } | {
1149
+ kind: "pass";
1150
+ passName: string | null;
1151
+ passCreditsUsed: number | null;
1152
+ balance: {
1153
+ kind: "settled";
1154
+ };
1155
+ } | {
1156
+ kind: "membership";
1157
+ membershipName: string | null;
1158
+ balance: {
1159
+ kind: "settled";
1160
+ };
1161
+ } | {
1162
+ kind: "manual_due";
1163
+ currency: CurrencyCode;
1164
+ balance: {
1165
+ kind: "due";
1166
+ amountCents: PositiveCents;
1167
+ dueAt: string | null;
1168
+ };
1169
+ } | {
1170
+ amountPaidCents: NonNegativeCents;
1171
+ currency: CurrencyCode;
1172
+ kind: "managed_balance_due";
1173
+ balance: {
1174
+ kind: "due";
1175
+ amountCents: PositiveCents;
1176
+ dueAt: string | null;
1177
+ };
1178
+ } | {
1179
+ amountPaidCents: NonNegativeCents;
1180
+ currency: CurrencyCode;
1181
+ kind: "monetary";
1182
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
1183
+ balance: {
1184
+ kind: "settled";
1185
+ } | {
1186
+ kind: "due";
1187
+ amountCents: PositiveCents;
1188
+ dueAt: string | null;
1189
+ };
1190
+ };
1191
+ } | {
1192
+ arrivalVenues?: Record<string, string> | undefined;
1193
+ kind: "detailsUnavailable";
1194
+ identity: {
1195
+ submissionId: string;
1196
+ seriesId: string;
1197
+ attendanceMode: "in_person" | "online";
1198
+ scope: "occurrence";
1199
+ attendeeId: string;
1200
+ occurrenceId: string;
1201
+ } | {
1202
+ submissionId: string;
1203
+ seriesId: string;
1204
+ attendanceMode: "in_person" | "online";
1205
+ scope: "wholeSeries";
1206
+ registrationId: string;
1207
+ };
1208
+ }, ...({
1209
+ arrivalVenues?: Record<string, string> | undefined;
1210
+ kind: "detailsAvailable";
1211
+ identity: {
1212
+ submissionId: string;
1213
+ seriesId: string;
1214
+ attendanceMode: "in_person" | "online";
1215
+ scope: "occurrence";
1216
+ attendeeId: string;
1217
+ occurrenceId: string;
1218
+ } | {
1219
+ submissionId: string;
1220
+ seriesId: string;
1221
+ attendanceMode: "in_person" | "online";
1222
+ scope: "wholeSeries";
1223
+ registrationId: string;
1224
+ };
1225
+ ticketLines: readonly [{
1226
+ label: string;
1227
+ quantity: number;
1228
+ }, ...{
1229
+ label: string;
1230
+ quantity: number;
1231
+ }[]];
1232
+ payment: {
1233
+ kind: "free";
1234
+ balance: {
1235
+ kind: "settled";
1236
+ };
1237
+ } | {
1238
+ kind: "waived";
1239
+ balance: {
1240
+ kind: "settled";
1241
+ };
1242
+ } | {
1243
+ kind: "pass";
1244
+ passName: string | null;
1245
+ passCreditsUsed: number | null;
1246
+ balance: {
1247
+ kind: "settled";
1248
+ };
1249
+ } | {
1250
+ kind: "membership";
1251
+ membershipName: string | null;
1252
+ balance: {
1253
+ kind: "settled";
1254
+ };
1255
+ } | {
1256
+ kind: "manual_due";
1257
+ currency: CurrencyCode;
1258
+ balance: {
1259
+ kind: "due";
1260
+ amountCents: PositiveCents;
1261
+ dueAt: string | null;
1262
+ };
1263
+ } | {
1264
+ amountPaidCents: NonNegativeCents;
1265
+ currency: CurrencyCode;
1266
+ kind: "managed_balance_due";
1267
+ balance: {
1268
+ kind: "due";
1269
+ amountCents: PositiveCents;
1270
+ dueAt: string | null;
1271
+ };
1272
+ } | {
1273
+ amountPaidCents: NonNegativeCents;
1274
+ currency: CurrencyCode;
1275
+ kind: "monetary";
1276
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
1277
+ balance: {
1278
+ kind: "settled";
1279
+ } | {
1280
+ kind: "due";
1281
+ amountCents: PositiveCents;
1282
+ dueAt: string | null;
1283
+ };
1284
+ };
1285
+ } | {
1286
+ arrivalVenues?: Record<string, string> | undefined;
1287
+ kind: "detailsUnavailable";
1288
+ identity: {
1289
+ submissionId: string;
1290
+ seriesId: string;
1291
+ attendanceMode: "in_person" | "online";
1292
+ scope: "occurrence";
1293
+ attendeeId: string;
1294
+ occurrenceId: string;
1295
+ } | {
1296
+ submissionId: string;
1297
+ seriesId: string;
1298
+ attendanceMode: "in_person" | "online";
1299
+ scope: "wholeSeries";
1300
+ registrationId: string;
1301
+ };
1302
+ })[]] | undefined;
1303
+ } | {
1304
+ kind: "abandoned";
1305
+ } | {
1306
+ kind: "reconciliationRequired";
1307
+ } | {
1308
+ kind: "paymentProcessing";
1309
+ recoverableUntil?: string | undefined;
1310
+ } | {
1311
+ kind: "paymentAvailable";
1312
+ references?: readonly [{
1313
+ scope: "occurrence";
1314
+ attendeeId: string;
1315
+ } | {
1316
+ scope: "wholeSeries";
1317
+ registrationId: string;
1318
+ }, ...({
1319
+ scope: "occurrence";
1320
+ attendeeId: string;
1321
+ } | {
1322
+ scope: "wholeSeries";
1323
+ registrationId: string;
1324
+ })[]] | undefined;
1325
+ checkout: {
1326
+ priceReductions?: readonly [{
1327
+ kind: "combination_price" | "discount_code";
1328
+ label: string;
1329
+ amountCents: number;
1330
+ }, ...{
1331
+ kind: "combination_price" | "discount_code";
1332
+ label: string;
1333
+ amountCents: number;
1334
+ }[]] | undefined;
1335
+ kind: "embedded";
1336
+ sessionId: string;
1337
+ clientSecret: string;
1338
+ livemode: boolean;
1339
+ expiresAt: string;
1340
+ browser: {
1341
+ kind: "connect";
1342
+ publishableKey: string;
955
1343
  accountId: string;
956
1344
  } | {
957
1345
  kind: "direct";
@@ -1033,6 +1421,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1033
1421
  stepState: PaymentStepState;
1034
1422
  directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
1035
1423
  canShowDirectPaymentOptions: boolean;
1424
+ paysNothing: boolean;
1425
+ offersEntitlements: boolean;
1426
+ paysInFullBecauseSeveral: boolean;
1036
1427
  };
1037
1428
  anchorId: string;
1038
1429
  occurrenceContext: {
@@ -1046,7 +1437,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1046
1437
  } | null | undefined;
1047
1438
  registrationTarget: Readonly<{
1048
1439
  subject: RegistrationSubject;
1049
- selectedEventId: string | null;
1440
+ selectedEventIds: readonly string[];
1441
+ selection: BookingSelection;
1442
+ runs?: RegistrationSelection;
1050
1443
  }> | null;
1051
1444
  subject: EventRegistrationPageSurfaceSubject | null | undefined;
1052
1445
  events: readonly PublicEvent[];
@@ -1060,8 +1453,46 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1060
1453
  admission: RegistrationAdmission;
1061
1454
  ticketContinuation: RegistrationTicketContinuation;
1062
1455
  handleTicketsComplete: () => EventRegistrationFlowActionResult;
1063
- selectedEvent: RegistrationEvent | null;
1064
- setSelectedEvent: (value: Parameters<(value: StateUpdate<RegistrationEvent | null>) => void>[0]) => void;
1456
+ selectedEvent: RegistrationEvent | null; /** Every chosen item, in date order; the first is `selectedEvent`. */
1457
+ selection: RegistrationSelection;
1458
+ selectionMode: RegistrationSelectionMode; /** The kind of several items chosen, or null for a selection of one. */
1459
+ severalItems: SeveralItemsKind | null; /** One way of attending for every chosen item. */
1460
+ attendance: SelectionAttendance; /** How the whole selection is paid. */
1461
+ selectionPayment: SelectionPayment; /** What each run's ticket choice is checked against when booking several runs. */
1462
+ runChoiceFacts: Readonly<{
1463
+ places: number;
1464
+ maxTickets: number;
1465
+ attendanceMode: RegistrationAttendanceMode | null;
1466
+ }>;
1467
+ selectionPrice: Readonly<{
1468
+ listTotalCents: number | null;
1469
+ totalCents: number | null;
1470
+ combination: CombinationPricePlan | null;
1471
+ }>; /** Combination prices' working and next saving for the summary bar (issue 1725). */
1472
+ selectionCombination: Readonly<{
1473
+ working: CombinationWorking | null;
1474
+ hint: readonly CopyPart[] | null;
1475
+ }>; /** The code field's apply-and-preview, while combination prices apply; null keeps the field as it was. */
1476
+ combinationCodeField: Readonly<{
1477
+ apply: () => Promise<void>;
1478
+ applying: boolean;
1479
+ failed: boolean;
1480
+ feedback: Readonly<{
1481
+ tone: 'success' | 'error';
1482
+ message: string;
1483
+ }> | null;
1484
+ hint: string;
1485
+ }> | null;
1486
+ combinationAwaitingVisitor: boolean; /** The payment step's list of what several items cost; null for one item. */
1487
+ selectionPaymentSummary: SelectionPaymentSummary | null;
1488
+ runChoices: Readonly<Record<string, Readonly<{
1489
+ pricingOptionId: string | null;
1490
+ slidingAmountInput: string;
1491
+ }>>>;
1492
+ setRunChoice: (run: RegistrationEvent, choice: RunPricingChoices[string]) => void;
1493
+ handleSelectionToggle: (event: RegistrationEvent) => void;
1494
+ handleSelectionContinue: () => void;
1495
+ handleWaitlistChoose: (event: RegistrationEvent) => void;
1065
1496
  ticketsCount: number;
1066
1497
  setTicketsCount: (value: Parameters<(ticketsCount: number) => void>[0]) => void;
1067
1498
  selectedAttendanceMode: "in_person" | "online" | null;
@@ -1126,7 +1557,17 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1126
1557
  handleGuestShakeEnd: () => void;
1127
1558
  errorMessage: string;
1128
1559
  questionFieldErrors: Readonly<Record<string, string>>;
1129
- bookingQuestions: EventRegistrationQuestionsModel; /** Where a sign-in link brings the booker back to, keeping this booking for that attempt. */
1560
+ bookingQuestions: EventRegistrationQuestionsModel; /** How the selection's questions and agreement are asked: once, or once per run. */
1561
+ requirementsLayout: SelectionRequirementsLayout; /** One section per run when several runs ask different questions or agreements. */
1562
+ runRequirementSections: readonly Readonly<{
1563
+ seriesId: string;
1564
+ title: string;
1565
+ bookingQuestions: BookingQuestionsModel | null;
1566
+ consent: BookingConsent | null;
1567
+ consentAccepted: boolean;
1568
+ consentError: string | undefined;
1569
+ onConsentChange: (accepted: boolean) => void;
1570
+ }>[]; /** Where a sign-in link brings the booker back to, keeping this booking for that attempt. */
1130
1571
  signInReturnPath: (email: string) => string; /** The message under the details form while questions there need attention. */
1131
1572
  questionsMessage: string;
1132
1573
  errorAction: EventRegistrationErrorAction;
@@ -1286,32 +1727,243 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1286
1727
  registrationId: string;
1287
1728
  };
1288
1729
  };
1289
- } | {
1290
- kind: "abandoned";
1291
- } | {
1292
- kind: "reconciliationRequired";
1293
- } | {
1294
- kind: "paymentProcessing";
1295
- recoverableUntil?: string | undefined;
1296
- } | {
1297
- kind: "paymentAvailable";
1298
- checkout: {
1299
- kind: "embedded";
1300
- sessionId: string;
1301
- clientSecret: string;
1302
- livemode: boolean;
1303
- expiresAt: string;
1304
- browser: {
1305
- kind: "connect";
1306
- publishableKey: string;
1307
- accountId: string;
1730
+ outcomes?: readonly [{
1731
+ arrivalVenues?: Record<string, string> | undefined;
1732
+ kind: "detailsAvailable";
1733
+ identity: {
1734
+ submissionId: string;
1735
+ seriesId: string;
1736
+ attendanceMode: "in_person" | "online";
1737
+ scope: "occurrence";
1738
+ attendeeId: string;
1739
+ occurrenceId: string;
1308
1740
  } | {
1309
- kind: "direct";
1310
- publishableKey: string;
1311
- };
1312
- };
1313
- recoverableUntil?: string | undefined;
1314
- } | {
1741
+ submissionId: string;
1742
+ seriesId: string;
1743
+ attendanceMode: "in_person" | "online";
1744
+ scope: "wholeSeries";
1745
+ registrationId: string;
1746
+ };
1747
+ ticketLines: readonly [{
1748
+ label: string;
1749
+ quantity: number;
1750
+ }, ...{
1751
+ label: string;
1752
+ quantity: number;
1753
+ }[]];
1754
+ payment: {
1755
+ kind: "free";
1756
+ balance: {
1757
+ kind: "settled";
1758
+ };
1759
+ } | {
1760
+ kind: "waived";
1761
+ balance: {
1762
+ kind: "settled";
1763
+ };
1764
+ } | {
1765
+ kind: "pass";
1766
+ passName: string | null;
1767
+ passCreditsUsed: number | null;
1768
+ balance: {
1769
+ kind: "settled";
1770
+ };
1771
+ } | {
1772
+ kind: "membership";
1773
+ membershipName: string | null;
1774
+ balance: {
1775
+ kind: "settled";
1776
+ };
1777
+ } | {
1778
+ kind: "manual_due";
1779
+ currency: CurrencyCode;
1780
+ balance: {
1781
+ kind: "due";
1782
+ amountCents: PositiveCents;
1783
+ dueAt: string | null;
1784
+ };
1785
+ } | {
1786
+ amountPaidCents: NonNegativeCents;
1787
+ currency: CurrencyCode;
1788
+ kind: "managed_balance_due";
1789
+ balance: {
1790
+ kind: "due";
1791
+ amountCents: PositiveCents;
1792
+ dueAt: string | null;
1793
+ };
1794
+ } | {
1795
+ amountPaidCents: NonNegativeCents;
1796
+ currency: CurrencyCode;
1797
+ kind: "monetary";
1798
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
1799
+ balance: {
1800
+ kind: "settled";
1801
+ } | {
1802
+ kind: "due";
1803
+ amountCents: PositiveCents;
1804
+ dueAt: string | null;
1805
+ };
1806
+ };
1807
+ } | {
1808
+ arrivalVenues?: Record<string, string> | undefined;
1809
+ kind: "detailsUnavailable";
1810
+ identity: {
1811
+ submissionId: string;
1812
+ seriesId: string;
1813
+ attendanceMode: "in_person" | "online";
1814
+ scope: "occurrence";
1815
+ attendeeId: string;
1816
+ occurrenceId: string;
1817
+ } | {
1818
+ submissionId: string;
1819
+ seriesId: string;
1820
+ attendanceMode: "in_person" | "online";
1821
+ scope: "wholeSeries";
1822
+ registrationId: string;
1823
+ };
1824
+ }, ...({
1825
+ arrivalVenues?: Record<string, string> | undefined;
1826
+ kind: "detailsAvailable";
1827
+ identity: {
1828
+ submissionId: string;
1829
+ seriesId: string;
1830
+ attendanceMode: "in_person" | "online";
1831
+ scope: "occurrence";
1832
+ attendeeId: string;
1833
+ occurrenceId: string;
1834
+ } | {
1835
+ submissionId: string;
1836
+ seriesId: string;
1837
+ attendanceMode: "in_person" | "online";
1838
+ scope: "wholeSeries";
1839
+ registrationId: string;
1840
+ };
1841
+ ticketLines: readonly [{
1842
+ label: string;
1843
+ quantity: number;
1844
+ }, ...{
1845
+ label: string;
1846
+ quantity: number;
1847
+ }[]];
1848
+ payment: {
1849
+ kind: "free";
1850
+ balance: {
1851
+ kind: "settled";
1852
+ };
1853
+ } | {
1854
+ kind: "waived";
1855
+ balance: {
1856
+ kind: "settled";
1857
+ };
1858
+ } | {
1859
+ kind: "pass";
1860
+ passName: string | null;
1861
+ passCreditsUsed: number | null;
1862
+ balance: {
1863
+ kind: "settled";
1864
+ };
1865
+ } | {
1866
+ kind: "membership";
1867
+ membershipName: string | null;
1868
+ balance: {
1869
+ kind: "settled";
1870
+ };
1871
+ } | {
1872
+ kind: "manual_due";
1873
+ currency: CurrencyCode;
1874
+ balance: {
1875
+ kind: "due";
1876
+ amountCents: PositiveCents;
1877
+ dueAt: string | null;
1878
+ };
1879
+ } | {
1880
+ amountPaidCents: NonNegativeCents;
1881
+ currency: CurrencyCode;
1882
+ kind: "managed_balance_due";
1883
+ balance: {
1884
+ kind: "due";
1885
+ amountCents: PositiveCents;
1886
+ dueAt: string | null;
1887
+ };
1888
+ } | {
1889
+ amountPaidCents: NonNegativeCents;
1890
+ currency: CurrencyCode;
1891
+ kind: "monetary";
1892
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
1893
+ balance: {
1894
+ kind: "settled";
1895
+ } | {
1896
+ kind: "due";
1897
+ amountCents: PositiveCents;
1898
+ dueAt: string | null;
1899
+ };
1900
+ };
1901
+ } | {
1902
+ arrivalVenues?: Record<string, string> | undefined;
1903
+ kind: "detailsUnavailable";
1904
+ identity: {
1905
+ submissionId: string;
1906
+ seriesId: string;
1907
+ attendanceMode: "in_person" | "online";
1908
+ scope: "occurrence";
1909
+ attendeeId: string;
1910
+ occurrenceId: string;
1911
+ } | {
1912
+ submissionId: string;
1913
+ seriesId: string;
1914
+ attendanceMode: "in_person" | "online";
1915
+ scope: "wholeSeries";
1916
+ registrationId: string;
1917
+ };
1918
+ })[]] | undefined;
1919
+ } | {
1920
+ kind: "abandoned";
1921
+ } | {
1922
+ kind: "reconciliationRequired";
1923
+ } | {
1924
+ kind: "paymentProcessing";
1925
+ recoverableUntil?: string | undefined;
1926
+ } | {
1927
+ kind: "paymentAvailable";
1928
+ references?: readonly [{
1929
+ scope: "occurrence";
1930
+ attendeeId: string;
1931
+ } | {
1932
+ scope: "wholeSeries";
1933
+ registrationId: string;
1934
+ }, ...({
1935
+ scope: "occurrence";
1936
+ attendeeId: string;
1937
+ } | {
1938
+ scope: "wholeSeries";
1939
+ registrationId: string;
1940
+ })[]] | undefined;
1941
+ checkout: {
1942
+ priceReductions?: readonly [{
1943
+ kind: "combination_price" | "discount_code";
1944
+ label: string;
1945
+ amountCents: number;
1946
+ }, ...{
1947
+ kind: "combination_price" | "discount_code";
1948
+ label: string;
1949
+ amountCents: number;
1950
+ }[]] | undefined;
1951
+ kind: "embedded";
1952
+ sessionId: string;
1953
+ clientSecret: string;
1954
+ livemode: boolean;
1955
+ expiresAt: string;
1956
+ browser: {
1957
+ kind: "connect";
1958
+ publishableKey: string;
1959
+ accountId: string;
1960
+ } | {
1961
+ kind: "direct";
1962
+ publishableKey: string;
1963
+ };
1964
+ };
1965
+ recoverableUntil?: string | undefined;
1966
+ } | {
1315
1967
  kind: "paymentRetryAvailable";
1316
1968
  place: "held" | "released";
1317
1969
  } | {
@@ -1441,6 +2093,195 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1441
2093
  registrationId: string;
1442
2094
  };
1443
2095
  };
2096
+ outcomes?: readonly [{
2097
+ arrivalVenues?: Record<string, string> | undefined;
2098
+ kind: "detailsAvailable";
2099
+ identity: {
2100
+ submissionId: string;
2101
+ seriesId: string;
2102
+ attendanceMode: "in_person" | "online";
2103
+ scope: "occurrence";
2104
+ attendeeId: string;
2105
+ occurrenceId: string;
2106
+ } | {
2107
+ submissionId: string;
2108
+ seriesId: string;
2109
+ attendanceMode: "in_person" | "online";
2110
+ scope: "wholeSeries";
2111
+ registrationId: string;
2112
+ };
2113
+ ticketLines: readonly [{
2114
+ label: string;
2115
+ quantity: number;
2116
+ }, ...{
2117
+ label: string;
2118
+ quantity: number;
2119
+ }[]];
2120
+ payment: {
2121
+ kind: "free";
2122
+ balance: {
2123
+ kind: "settled";
2124
+ };
2125
+ } | {
2126
+ kind: "waived";
2127
+ balance: {
2128
+ kind: "settled";
2129
+ };
2130
+ } | {
2131
+ kind: "pass";
2132
+ passName: string | null;
2133
+ passCreditsUsed: number | null;
2134
+ balance: {
2135
+ kind: "settled";
2136
+ };
2137
+ } | {
2138
+ kind: "membership";
2139
+ membershipName: string | null;
2140
+ balance: {
2141
+ kind: "settled";
2142
+ };
2143
+ } | {
2144
+ kind: "manual_due";
2145
+ currency: CurrencyCode;
2146
+ balance: {
2147
+ kind: "due";
2148
+ amountCents: PositiveCents;
2149
+ dueAt: string | null;
2150
+ };
2151
+ } | {
2152
+ amountPaidCents: NonNegativeCents;
2153
+ currency: CurrencyCode;
2154
+ kind: "managed_balance_due";
2155
+ balance: {
2156
+ kind: "due";
2157
+ amountCents: PositiveCents;
2158
+ dueAt: string | null;
2159
+ };
2160
+ } | {
2161
+ amountPaidCents: NonNegativeCents;
2162
+ currency: CurrencyCode;
2163
+ kind: "monetary";
2164
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
2165
+ balance: {
2166
+ kind: "settled";
2167
+ } | {
2168
+ kind: "due";
2169
+ amountCents: PositiveCents;
2170
+ dueAt: string | null;
2171
+ };
2172
+ };
2173
+ } | {
2174
+ arrivalVenues?: Record<string, string> | undefined;
2175
+ kind: "detailsUnavailable";
2176
+ identity: {
2177
+ submissionId: string;
2178
+ seriesId: string;
2179
+ attendanceMode: "in_person" | "online";
2180
+ scope: "occurrence";
2181
+ attendeeId: string;
2182
+ occurrenceId: string;
2183
+ } | {
2184
+ submissionId: string;
2185
+ seriesId: string;
2186
+ attendanceMode: "in_person" | "online";
2187
+ scope: "wholeSeries";
2188
+ registrationId: string;
2189
+ };
2190
+ }, ...({
2191
+ arrivalVenues?: Record<string, string> | undefined;
2192
+ kind: "detailsAvailable";
2193
+ identity: {
2194
+ submissionId: string;
2195
+ seriesId: string;
2196
+ attendanceMode: "in_person" | "online";
2197
+ scope: "occurrence";
2198
+ attendeeId: string;
2199
+ occurrenceId: string;
2200
+ } | {
2201
+ submissionId: string;
2202
+ seriesId: string;
2203
+ attendanceMode: "in_person" | "online";
2204
+ scope: "wholeSeries";
2205
+ registrationId: string;
2206
+ };
2207
+ ticketLines: readonly [{
2208
+ label: string;
2209
+ quantity: number;
2210
+ }, ...{
2211
+ label: string;
2212
+ quantity: number;
2213
+ }[]];
2214
+ payment: {
2215
+ kind: "free";
2216
+ balance: {
2217
+ kind: "settled";
2218
+ };
2219
+ } | {
2220
+ kind: "waived";
2221
+ balance: {
2222
+ kind: "settled";
2223
+ };
2224
+ } | {
2225
+ kind: "pass";
2226
+ passName: string | null;
2227
+ passCreditsUsed: number | null;
2228
+ balance: {
2229
+ kind: "settled";
2230
+ };
2231
+ } | {
2232
+ kind: "membership";
2233
+ membershipName: string | null;
2234
+ balance: {
2235
+ kind: "settled";
2236
+ };
2237
+ } | {
2238
+ kind: "manual_due";
2239
+ currency: CurrencyCode;
2240
+ balance: {
2241
+ kind: "due";
2242
+ amountCents: PositiveCents;
2243
+ dueAt: string | null;
2244
+ };
2245
+ } | {
2246
+ amountPaidCents: NonNegativeCents;
2247
+ currency: CurrencyCode;
2248
+ kind: "managed_balance_due";
2249
+ balance: {
2250
+ kind: "due";
2251
+ amountCents: PositiveCents;
2252
+ dueAt: string | null;
2253
+ };
2254
+ } | {
2255
+ amountPaidCents: NonNegativeCents;
2256
+ currency: CurrencyCode;
2257
+ kind: "monetary";
2258
+ paymentMethod: "manual" | "mixed" | "store_credit" | "stripe";
2259
+ balance: {
2260
+ kind: "settled";
2261
+ } | {
2262
+ kind: "due";
2263
+ amountCents: PositiveCents;
2264
+ dueAt: string | null;
2265
+ };
2266
+ };
2267
+ } | {
2268
+ arrivalVenues?: Record<string, string> | undefined;
2269
+ kind: "detailsUnavailable";
2270
+ identity: {
2271
+ submissionId: string;
2272
+ seriesId: string;
2273
+ attendanceMode: "in_person" | "online";
2274
+ scope: "occurrence";
2275
+ attendeeId: string;
2276
+ occurrenceId: string;
2277
+ } | {
2278
+ submissionId: string;
2279
+ seriesId: string;
2280
+ attendanceMode: "in_person" | "online";
2281
+ scope: "wholeSeries";
2282
+ registrationId: string;
2283
+ };
2284
+ })[]] | undefined;
1444
2285
  } | {
1445
2286
  kind: "abandoned";
1446
2287
  } | {
@@ -1450,7 +2291,29 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1450
2291
  recoverableUntil?: string | undefined;
1451
2292
  } | {
1452
2293
  kind: "paymentAvailable";
2294
+ references?: readonly [{
2295
+ scope: "occurrence";
2296
+ attendeeId: string;
2297
+ } | {
2298
+ scope: "wholeSeries";
2299
+ registrationId: string;
2300
+ }, ...({
2301
+ scope: "occurrence";
2302
+ attendeeId: string;
2303
+ } | {
2304
+ scope: "wholeSeries";
2305
+ registrationId: string;
2306
+ })[]] | undefined;
1453
2307
  checkout: {
2308
+ priceReductions?: readonly [{
2309
+ kind: "combination_price" | "discount_code";
2310
+ label: string;
2311
+ amountCents: number;
2312
+ }, ...{
2313
+ kind: "combination_price" | "discount_code";
2314
+ label: string;
2315
+ amountCents: number;
2316
+ }[]] | undefined;
1454
2317
  kind: "embedded";
1455
2318
  sessionId: string;
1456
2319
  clientSecret: string;