@riverbankcms/sdk 0.171.1 → 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 (220) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
  15. package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.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 +18 -1
  53. package/dist/_dts/{types-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-D4DhWo9j.mjs} +37 -38
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
  81. package/dist/client/bookability-SargNwlO.mjs +17 -0
  82. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
  83. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  86. package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
  87. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  88. package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
  89. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  90. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
  91. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  93. package/dist/client/client.mjs +183 -4
  94. package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
  95. package/dist/client/course-CmOuoZHN.mjs +237 -0
  96. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  98. package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
  99. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
  100. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  101. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
  102. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  103. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  104. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  105. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  106. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  107. package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
  108. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
  109. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
  110. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  111. package/dist/client/gifting/client.mjs +3 -3
  112. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  113. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
  115. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  116. package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
  117. package/dist/client/portal/client.mjs +231 -117
  118. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  119. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  120. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  121. package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
  122. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  123. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
  124. package/dist/client/rendering/client.mjs +27 -27
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +38 -63
  127. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  129. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  130. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  131. package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
  132. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
  133. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  134. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  135. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
  136. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
  137. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  140. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
  141. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  142. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  143. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  144. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  145. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
  146. package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
  147. package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
  148. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  149. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  151. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
  152. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
  153. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
  154. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  155. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  156. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
  158. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
  159. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  160. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  161. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
  162. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  163. package/dist/preview-next/client/runtime.mjs +5 -4
  164. package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
  165. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
  167. package/dist/preview-next/container-responsive.css +215 -4
  168. package/dist/preview-next/keepAlive.mjs +1 -1
  169. package/dist/preview-next/middleware.mjs +1 -1
  170. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
  171. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  172. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  173. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  174. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
  175. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  176. package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
  177. package/dist/server/config-template-validation.mjs +3 -0
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +3 -3
  180. package/dist/server/data/resolveBlockData.mjs +1 -1
  181. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  182. package/dist/server/index.mjs +4 -4
  183. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
  184. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
  185. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  186. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  187. package/dist/server/navigation.mjs +1 -1
  188. package/dist/server/next.mjs +6 -6
  189. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  190. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +1 -1
  192. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
  193. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
  194. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
  195. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
  196. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  197. package/dist/server/prebuild.mjs +1 -1
  198. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  199. package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
  200. package/dist/server/rendering/components/pageShared.mjs +1 -1
  201. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  202. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  203. package/dist/server/rendering/server.mjs +3 -3
  204. package/dist/server/rendering.mjs +8 -8
  205. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
  206. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  207. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  208. package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
  209. package/dist/server/server.mjs +3 -3
  210. package/dist/server/theme-bridge.mjs +2 -2
  211. package/dist/server/theme.mjs +2 -2
  212. package/dist/server/{validation-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
  213. package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
  214. package/dist/styles/index.css +1434 -15
  215. package/package.json +1 -1
  216. package/dist/client/cta-CP9l112u.mjs +0 -121
  217. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  218. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  219. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
  220. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,4 +1,4 @@
1
- import { $r as ZoneLabel, An as BookingFlowFeedback, At as OccurrenceContext, Bt as BookingPageKind, Ct as RegistrationAttendanceMode, Dt as RegistrationSubject, Et as RegistrationStep, Fn as BookingResourceView, Ft as RegistrationAdmission, Gt as DiscountContext, Hn as LoadState, In as BookingSlotSelection, Ir as BookingQuestionsSubmissionFailure, It as RegistrationTicketContinuation, Jn as BookingQuestionsPaymentSnapshot, Kn as BookingFieldValue, Kt as ResolveWaitlistClaimResponse, Ln as BookingSlotView, Lr as EventRegistrationPricingOption, Lt as TicketSelectionPurpose, Mn as BookingFlowStep, Nn as BookingFlowStepId, On as BookingFieldView, Ot as ThemedButtonProps, Pn as BookingFlowView, Pt as RegistrationPresentation, Qr as DisplayContext, Rn as BookingSubmitActionResult, St as PaymentStepState, Tn as BookingAppointmentPackagesModel, Tt as RegistrationResult, Ut as BoundBlockApiClient, Wr as MailingListRuntimeContext, Wt as AutoAppliedDiscountPreview, Xn as ProtectedSubmission, Yn as getBookingServiceSlidingScale, _ as PublicEvent, _n as BookingFormField$1, _t as EventTicketSelectionLine, ar as EventEmbeddedCheckout, bi as BlockButtonRole, bn as BookingPaymentChoice, bt as PaymentSelection, ci as PositiveCents, ct as PortalAuthState, d as CustomerEventRegistration, dt as EligibilityLookupState, er as BlockApiConfig, f as DirectCheckoutCollectionOptionKind, fn as BookingFormConfig$1, ft as ExistingRegistrationLookupState, gn as BookingFormServiceCategory, gt as EventRegistrationClientProps, h as PaymentMethod, hn as BookingSelectedCollectionOptionKind, ht as EventPaymentState, ir as EventBookingOutcome, it as EventRegistrationSiteCreditPreview, jn as BookingFlowStatus, kn as BookingFlowActionResult, kt as FormData, lt as PortalCreditState, m as EventRegistrationPaymentSubject, mn as BookingFormService, mt as EligibilityData, ni as AppointmentBookingReview, nr as BlockSiteTerms, nt as EventRegistrationDirectPaymentOption, or as EventRegistrationErrorAction, ot as BookingPaymentSelectionViewModel, p as EventCheckoutReturnRequest, pn as BookingFormData$1, pt as SelectableEventTicketType, qn as BookingQuestionsAnswerState, rr as EventRegistrationPageSurfaceSubject, rt as EventRegistrationDirectPaymentSelectionState, si as NonNegativeCents, sr as CurrencyCode, st as BookingQuestionsModel, ti as UtcIsoDateTimeString, tr as BrowserReadAuthority, tt as BookingFormInteractiveIslandProps, ut as PortalProfile, vt as Guest, wt as RegistrationEvent, xn as BookingPurchasablePackagesModel, xt as PaymentStatusRecoveryState, yn as BookingPaymentAvailability, yt as GuestErrors, zn as BookingSubmitOptions, zt as EventSourceRecovery } from "./request-DUTkELQn.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";
@@ -287,7 +287,6 @@ interface BookingFormSettings {
287
287
  serviceId?: string;
288
288
  serviceIds?: readonly string[];
289
289
  resourceId?: string;
290
- requiresApproval?: boolean;
291
290
  successMessage?: string;
292
291
  }
293
292
  /**
@@ -364,93 +363,6 @@ declare const HeadlessBookingProvider: React$1.FC<HeadlessBookingProviderProps>;
364
363
  declare const HeadlessEventRegistrationProvider: React$1.FC<HeadlessEventRegistrationProviderProps>;
365
364
  declare const HeadlessBookingPaymentSelectionStep: React$1.FC<HeadlessBookingPaymentSelectionStepProps>;
366
365
  //#endregion
367
- //#region .cache/declarations/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts
368
- type WaitlistClaimCredential = Readonly<{
369
- kind: 'emailedToken';
370
- token: string;
371
- }> | Readonly<{
372
- kind: 'portalOwnedEntry';
373
- entryId: string;
374
- }>;
375
- /** Object identity binds one asynchronous lookup to the draft that requested it. */
376
- type WaitlistClaimRequest = Readonly<{
377
- credential: WaitlistClaimCredential;
378
- }>;
379
- //#endregion
380
- //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/waitlistClaimRestoration.d.ts
381
- type WaitlistClaimRestoration = Readonly<{
382
- kind: 'awaitingEvents';
383
- }> | Readonly<{
384
- kind: 'different-event';
385
- message: string;
386
- }> | Readonly<{
387
- kind: 'ready';
388
- event: RegistrationEvent | null;
389
- attendanceMode: 'in_person' | 'online';
390
- ticketSelections: readonly EventTicketSelectionLine[];
391
- ticketsCount: number;
392
- slidingAmountInput: string | null;
393
- }>;
394
- //#endregion
395
- //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationDraft.state.d.ts
396
- type WaitlistInvitation = Readonly<{
397
- kind: 'none';
398
- }> | Readonly<{
399
- kind: 'resolving';
400
- request: WaitlistClaimRequest;
401
- }> | Readonly<{
402
- kind: 'portal-login-required';
403
- request: WaitlistClaimRequest;
404
- message: string;
405
- }> | Readonly<{
406
- kind: 'error';
407
- request: WaitlistClaimRequest;
408
- message: string;
409
- action: EventRegistrationErrorAction;
410
- }> | Readonly<{
411
- kind: 'ready';
412
- request: WaitlistClaimRequest;
413
- claim: ResolveWaitlistClaimResponse;
414
- restoration: Extract<WaitlistClaimRestoration, {
415
- kind: 'ready';
416
- }>;
417
- }>;
418
- type RegistrationDraftData = Readonly<{
419
- selectedEvent: RegistrationEvent | null;
420
- formData: FormData;
421
- guests: Guest[];
422
- selectedAttendanceMode: 'in_person' | 'online' | null;
423
- selectedTicketLines: EventTicketSelectionLine[];
424
- selectedSlidingAmountInput: string; /** The during-booking answers; changed only through the shared answer events. */
425
- bookingQuestions: BookingQuestionsAnswerState;
426
- }>;
427
- type StateUpdate<T> = T | ((current: T) => T);
428
- //#endregion
429
- //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts
430
- type SelectionSource = 'auto' | 'manual';
431
- type RegistrationDraftState = {
432
- questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
433
- draft: RegistrationDraftData;
434
- ticketsCount: number;
435
- eligibility: EligibilityData | null;
436
- passOptOut: boolean;
437
- paymentSelection: PaymentSelection;
438
- selectionSource: SelectionSource;
439
- };
440
- type RegistrationFlowState = Readonly<{
441
- isAuthenticated: boolean;
442
- completedOutcomes: readonly EventBookingOutcome[];
443
- }> & RegistrationDraftState & (Readonly<{
444
- step: Exclude<RegistrationStep, 'success'>;
445
- invitation: WaitlistInvitation;
446
- }> | Readonly<{
447
- step: 'success';
448
- result: RegistrationResult;
449
- invitation: Readonly<{
450
- kind: 'none';
451
- }>;
452
- }>);
453
- //#endregion
454
366
  //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationQuestions.d.ts
455
367
  type EventRegistrationQuestionsModel = BookingQuestionsModel & Readonly<{
456
368
  /** The answers this checkout sends, kept so a payment return can put them back for the same person. */paymentSnapshot: BookingQuestionsPaymentSnapshot | undefined;
@@ -527,6 +439,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
527
439
  stepState: PaymentStepState;
528
440
  directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
529
441
  canShowDirectPaymentOptions: boolean;
442
+ paysNothing: boolean;
443
+ offersEntitlements: boolean;
444
+ paysInFullBecauseSeveral: boolean;
530
445
  };
531
446
  anchorId: string;
532
447
  occurrenceContext: {
@@ -540,7 +455,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
540
455
  } | null | undefined;
541
456
  registrationTarget: Readonly<{
542
457
  subject: RegistrationSubject;
543
- selectedEventId: string | null;
458
+ selectedEventIds: readonly string[];
459
+ selection: BookingSelection;
460
+ runs?: RegistrationSelection;
544
461
  }> | null;
545
462
  subject: EventRegistrationPageSurfaceSubject | null | undefined;
546
463
  events: readonly PublicEvent[];
@@ -554,8 +471,46 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
554
471
  admission: RegistrationAdmission;
555
472
  ticketContinuation: RegistrationTicketContinuation;
556
473
  handleTicketsComplete: () => EventRegistrationFlowActionResult;
557
- selectedEvent: RegistrationEvent | null;
558
- 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;
559
514
  ticketsCount: number;
560
515
  setTicketsCount: (value: Parameters<(ticketsCount: number) => void>[0]) => void;
561
516
  selectedAttendanceMode: "in_person" | "online" | null;
@@ -620,7 +575,17 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
620
575
  handleGuestShakeEnd: () => void;
621
576
  errorMessage: string;
622
577
  questionFieldErrors: Readonly<Record<string, string>>;
623
- 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. */
624
589
  signInReturnPath: (email: string) => string; /** The message under the details form while questions there need attention. */
625
590
  questionsMessage: string;
626
591
  errorAction: EventRegistrationErrorAction;
@@ -780,6 +745,195 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
780
745
  registrationId: string;
781
746
  };
782
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;
783
937
  } | {
784
938
  kind: "abandoned";
785
939
  } | {
@@ -789,7 +943,29 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
789
943
  recoverableUntil?: string | undefined;
790
944
  } | {
791
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;
792
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;
793
969
  kind: "embedded";
794
970
  sessionId: string;
795
971
  clientSecret: string;
@@ -935,24 +1111,235 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
935
1111
  registrationId: string;
936
1112
  };
937
1113
  };
938
- } | {
939
- kind: "abandoned";
940
- } | {
941
- kind: "reconciliationRequired";
942
- } | {
943
- kind: "paymentProcessing";
944
- recoverableUntil?: string | undefined;
945
- } | {
946
- kind: "paymentAvailable";
947
- checkout: {
948
- kind: "embedded";
949
- sessionId: string;
950
- clientSecret: string;
951
- livemode: boolean;
952
- expiresAt: string;
953
- browser: {
954
- kind: "connect";
955
- 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;
956
1343
  accountId: string;
957
1344
  } | {
958
1345
  kind: "direct";
@@ -1034,6 +1421,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1034
1421
  stepState: PaymentStepState;
1035
1422
  directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
1036
1423
  canShowDirectPaymentOptions: boolean;
1424
+ paysNothing: boolean;
1425
+ offersEntitlements: boolean;
1426
+ paysInFullBecauseSeveral: boolean;
1037
1427
  };
1038
1428
  anchorId: string;
1039
1429
  occurrenceContext: {
@@ -1047,7 +1437,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1047
1437
  } | null | undefined;
1048
1438
  registrationTarget: Readonly<{
1049
1439
  subject: RegistrationSubject;
1050
- selectedEventId: string | null;
1440
+ selectedEventIds: readonly string[];
1441
+ selection: BookingSelection;
1442
+ runs?: RegistrationSelection;
1051
1443
  }> | null;
1052
1444
  subject: EventRegistrationPageSurfaceSubject | null | undefined;
1053
1445
  events: readonly PublicEvent[];
@@ -1061,8 +1453,46 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1061
1453
  admission: RegistrationAdmission;
1062
1454
  ticketContinuation: RegistrationTicketContinuation;
1063
1455
  handleTicketsComplete: () => EventRegistrationFlowActionResult;
1064
- selectedEvent: RegistrationEvent | null;
1065
- 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;
1066
1496
  ticketsCount: number;
1067
1497
  setTicketsCount: (value: Parameters<(ticketsCount: number) => void>[0]) => void;
1068
1498
  selectedAttendanceMode: "in_person" | "online" | null;
@@ -1127,7 +1557,17 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1127
1557
  handleGuestShakeEnd: () => void;
1128
1558
  errorMessage: string;
1129
1559
  questionFieldErrors: Readonly<Record<string, string>>;
1130
- 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. */
1131
1571
  signInReturnPath: (email: string) => string; /** The message under the details form while questions there need attention. */
1132
1572
  questionsMessage: string;
1133
1573
  errorAction: EventRegistrationErrorAction;
@@ -1287,32 +1727,243 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1287
1727
  registrationId: string;
1288
1728
  };
1289
1729
  };
1290
- } | {
1291
- kind: "abandoned";
1292
- } | {
1293
- kind: "reconciliationRequired";
1294
- } | {
1295
- kind: "paymentProcessing";
1296
- recoverableUntil?: string | undefined;
1297
- } | {
1298
- kind: "paymentAvailable";
1299
- checkout: {
1300
- kind: "embedded";
1301
- sessionId: string;
1302
- clientSecret: string;
1303
- livemode: boolean;
1304
- expiresAt: string;
1305
- browser: {
1306
- kind: "connect";
1307
- publishableKey: string;
1308
- 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;
1309
1740
  } | {
1310
- kind: "direct";
1311
- publishableKey: string;
1312
- };
1313
- };
1314
- recoverableUntil?: string | undefined;
1315
- } | {
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
+ } | {
1316
1967
  kind: "paymentRetryAvailable";
1317
1968
  place: "held" | "released";
1318
1969
  } | {
@@ -1442,6 +2093,195 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1442
2093
  registrationId: string;
1443
2094
  };
1444
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;
1445
2285
  } | {
1446
2286
  kind: "abandoned";
1447
2287
  } | {
@@ -1451,7 +2291,29 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
1451
2291
  recoverableUntil?: string | undefined;
1452
2292
  } | {
1453
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;
1454
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;
1455
2317
  kind: "embedded";
1456
2318
  sessionId: string;
1457
2319
  clientSecret: string;