@riverbankcms/sdk 0.172.0 → 0.174.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.
- package/README.md +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +9 -9
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +4 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +13 -8
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/bookability-CE637yDE.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +206 -7
- package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +34 -61
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
- package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +1038 -200
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $n as BookingSubmitOptions, An as BookingFormServiceCategory, At as RegistrationSubject, Bt as RunPricingChoices, Ci as NonNegativeCents, Ct as PaymentSelection, Dn as BookingFormData$1, Dt as RegistrationEvent, En as BookingFormConfig$1, Et as RegistrationAttendanceMode, Fn as BookingPurchasablePackagesModel, Gn as BookingFlowStatus, Gt as CopyPart, Hn as BookingFieldView, Ht as SelectionPaymentSummary, Ii as BlockButtonRole, 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, 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 UtcIsoDateTimeString, _r as EventEmbeddedCheckout, _t as EligibilityData, ai as MailingListRuntimeContext, an as AutoAppliedDiscountPreview, at as EventRegistrationDirectPaymentSelectionState, bt as EventTicketSelectionLine, cr as getBookingServiceSlidingScale, ct as BookingPaymentSelectionViewModel, dt as PortalAuthState, en as EventSourceRecovery, f as CustomerEventRegistration, ft as PortalCreditState, g as PaymentMethod, gr as EventRegistrationPageSurfaceSubject, gt as SelectableEventTicketType, h as EventRegistrationPaymentSubject, hi as ZoneLabel, hr as BlockSiteTerms, ht as ExistingRegistrationLookupState, 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 DisplayContext, mr as BrowserReadAuthority, mt as EligibilityLookupState, nr as LoadState, on as DiscountContext, or as BookingFieldValue, ot as EventRegistrationSiteCreditPreview, p as DirectCheckoutCollectionOptionKind, pi as BookingConsent, 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, vi as AppointmentBookingReview, vt as EventPaymentState, wi as PositiveCents, wt as PaymentStatusRecoveryState, xt as Guest, yt as EventRegistrationClientProps, zn as BookingAppointmentPackagesModel, zt as RegistrationSelectionMode } from "./request-Be1E-H-V.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
|
-
|
|
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
|
-
|
|
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; /**
|
|
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
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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; /**
|
|
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
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
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
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
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;
|