@riverbankcms/sdk 0.134.0 → 0.135.1
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/CHANGELOG.md +4 -3
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DfRhJPFQ.mjs → PreviewEditorSidebar-D4p_5TdY.mjs} +4 -4
- package/dist/{PreviewEditorUI-Dppxcr_g.mjs → PreviewEditorUI-D0cRoTX1.mjs} +3 -3
- package/dist/{PreviewQueryProvider-D51gQaG3.mjs → PreviewQueryProvider-DcgaESkm.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-8CyGCXir.mjs → SdkPreviewModeRuntime-BKLtM3Nz.mjs} +5 -5
- package/dist/{SiteChromeCustomizeContext-DVMTMvqA.mjs → SiteChromeCustomizeContext-61X2m7QV.mjs} +4105 -8035
- package/dist/_dts/ai/src/contracts/proposals.d.ts +165 -165
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +15 -15
- package/dist/_dts/api/src/bookingConfig.d.ts +1 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +25 -60
- package/dist/_dts/api/src/bookingOperations.d.ts +111 -161
- package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +123 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +13 -13
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +4 -4
- package/dist/_dts/api/src/bookingSessionSummaryTypes.d.ts +34 -0
- package/dist/_dts/api/src/bookings.d.ts +5 -9
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -7
- package/dist/_dts/api/src/communications.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +29 -109
- package/dist/_dts/api/src/eventManagementContracts.d.ts +1 -1
- package/dist/_dts/api/src/eventSeriesRegistrationEndpointDefinitions.d.ts +43 -0
- package/dist/_dts/api/src/index.d.ts +3 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +32 -28
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +85 -5
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +9 -100
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +0 -32
- package/dist/_dts/api/src/sdk-event-payment-terms.d.ts +1 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -1
- package/dist/_dts/api/src/siteOperations.d.ts +2 -2
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/{courses.d.ts → wholeSeriesOfferings.d.ts} +43 -95
- package/dist/_dts/blocks/src/client.d.ts +0 -5
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +5 -94
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +3 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +17 -20
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +147 -42
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +35 -10
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +3 -3
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/builder.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +9 -12
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +2 -44
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +99 -59
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +19 -16
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -247
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +13 -126
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/WholeSeriesPricingDisplay.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentBlockingPanel.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/constants.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +1 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +7 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +7 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationWizardContext.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +12 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +53 -45
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +10 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +20 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useWaitlistClaimRestoration.d.ts +20 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +5 -56
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/waitlistClaimRestoration.d.ts +20 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +6 -22
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +16 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +1 -13
- package/dist/_dts/blocks/src/system/runtime/shared/components/LoggedInAsUser.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/utils/checkoutUrls.d.ts +2 -2
- package/dist/_dts/commerce/src/index.d.ts +16 -0
- package/dist/_dts/commerce/src/money.d.ts +122 -0
- package/dist/_dts/commerce/src/moneyContracts.d.ts +178 -0
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +22 -0
- package/dist/_dts/commerce/src/moneyPayments.d.ts +59 -0
- package/dist/_dts/commerce/src/moneyPlanningTime.d.ts +4 -0
- package/dist/_dts/commerce/src/moneyReceiptReadModel.d.ts +68 -0
- package/dist/_dts/commerce/src/moneyReport.d.ts +105 -0
- package/dist/_dts/commerce/src/moneyReportBreakdowns.d.ts +3 -0
- package/dist/_dts/commerce/src/moneyReportKindFilter.d.ts +4 -0
- package/dist/_dts/commerce/src/moneyReportPage.d.ts +132 -0
- package/dist/_dts/commerce/src/purchase/checkoutCollectionPlan.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/orderCompletionEmailPlan.d.ts +3 -3
- package/dist/_dts/commerce/src/purchase/orderFulfillmentPlan.d.ts +6 -25
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +4 -4
- package/dist/_dts/commerce/src/purchase/orderPlanningTypes.d.ts +11 -11
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/persistedCheckoutLines.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/types.d.ts +12 -8
- package/dist/_dts/commerce/src/shop/digitalFulfillment.d.ts +111 -0
- package/dist/_dts/commerce/src/shop/fulfillmentStatus.d.ts +10 -0
- package/dist/_dts/commerce/src/shop/inventoryRestore.d.ts +13 -0
- package/dist/_dts/commerce/src/shop/shippingAddress.d.ts +18 -0
- package/dist/_dts/commerce/src/types/json.d.ts +3 -0
- package/dist/_dts/commerce/src/utils/isPlainRecord.d.ts +1 -0
- package/dist/_dts/commerce/src/waitlists.d.ts +172 -0
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -30
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +2 -39
- package/dist/_dts/content-model/src/metadataConfig.d.ts +0 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -68
- package/dist/_dts/core/src/branded.d.ts +3 -3
- package/dist/_dts/core/src/event-pricing.d.ts +6 -6
- package/dist/_dts/core/src/participants.d.ts +17 -17
- package/dist/_dts/core/src/rectification.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +890 -2154
- package/dist/_dts/sdk/src/bookings/index.d.ts +4 -5
- package/dist/_dts/sdk/src/bookings/types.d.ts +34 -4
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +4 -6
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/index.d.ts +0 -2
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
- package/dist/client/{usePolling-UN4WKnaM.mjs → BookingConsentAgreement-Bz9znbpn.mjs} +180 -4
- package/dist/client/{DiscountCodeDisclosure-CfuPOHD0.mjs → DiscountCodeDisclosure-35Ru8yB9.mjs} +13 -27
- package/dist/client/{EventCombined.client-DB8Qfzi-.mjs → EventCombined.client-BKB0ZxRR.mjs} +3 -3
- package/dist/client/{EventListing.client-DD4X8hp4.mjs → EventListing.client-Dx8I21ok.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-QhgIBQbv.mjs → LeafletStaticMap-CEWx-Bhe.mjs} +1 -1
- package/dist/client/{accordion-DFXpLvwg.mjs → accordion-KIDsKTwS.mjs} +1 -1
- package/dist/client/{bookingForm-sI05d3lk.mjs → bookingForm-D96Rmp-5.mjs} +6 -7
- package/dist/client/bookings.mjs +913 -1906
- package/dist/client/{carousel-wjyWTZCh.mjs → carousel-YwUgyL66.mjs} +1 -1
- package/dist/client/{cart-DCwdpA4i.mjs → cart-BbwuNrUT.mjs} +3 -3
- package/dist/client/{checkout-DTDW3l0R.mjs → checkout-hp1ucmEY.mjs} +3 -3
- package/dist/client/{checkoutUrls-DQYC_Br-.mjs → checkoutUrls-BuseL0dw.mjs} +4 -2
- package/dist/client/client.mjs +5109 -9333
- package/dist/client/{context-TSK1CGx8.mjs → context-DljQn8L5.mjs} +15 -69
- package/dist/client/{eventCalendar-B0Zg-i_w.mjs → eventCalendar-DU4iNLpo.mjs} +5 -5
- package/dist/client/{eventCombined-B8Y2wizd.mjs → eventCombined-CZuupW8m.mjs} +3 -3
- package/dist/client/{eventDetails-DPDOwURJ.mjs → eventDetails-DPQWwCIi.mjs} +8 -8
- package/dist/client/{eventListing-CjBcmSLn.mjs → eventListing-C7oMidwS.mjs} +3 -3
- package/dist/client/{eventRegistration-CK30HsAq.mjs → eventRegistration-zEiunlUs.mjs} +4522 -3690
- package/dist/client/{form-CUXfsABE.mjs → form-D2KIyCVJ.mjs} +2 -2
- package/dist/client/{headerSection-N-mN3rjr.mjs → headerSection-CK5uChUK.mjs} +2 -2
- package/dist/client/hooks.mjs +459 -714
- package/dist/client/{locationMap-oiIDQMBt.mjs → locationMap-DLQNH1ln.mjs} +2 -2
- package/dist/client/{newsletterForm-CkQ2tTrM.mjs → newsletterForm-ZuhIG7fZ.mjs} +2 -2
- package/dist/client/{productDetail-CnidyrsN.mjs → productDetail-7hIcGeae.mjs} +3 -3
- package/dist/client/{productList-CttYcS_S.mjs → productList-T4Cii1ot.mjs} +3 -3
- package/dist/client/{propsDecoder-CeUMxI9a.mjs → propsDecoder-mB0aC_Fi.mjs} +4702 -4458
- package/dist/client/rendering/client.mjs +59617 -62260
- package/dist/client/rendering/islands.mjs +17 -19
- package/dist/client/rendering.mjs +5389 -9707
- package/dist/client/{scrollToBlock-lPr1oqxB.mjs → scrollToBlock-Du5mHgvL.mjs} +2 -2
- package/dist/client/{shop-DXQtMo2O.mjs → shop-B5zAcKZn.mjs} +6 -6
- package/dist/client/{shop-commerce-quDL411J.mjs → shop-commerce-BKBZB6l5.mjs} +6 -6
- package/dist/client/{shop-commerce-store-Dnu-8Iub.mjs → shop-commerce-store-Cq4qlNtQ.mjs} +1 -1
- package/dist/client/{shopShared-BWPUURvG.mjs → shopShared-DYGzEs9D.mjs} +3 -3
- package/dist/client/{useEventFilters-DRhWp2_5.mjs → useEventFilters-Bphkda8m.mjs} +3 -3
- package/dist/preview-next/before-render.mjs +40 -161
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +40 -161
- package/dist/preview-next/middleware.mjs +40 -161
- package/dist/{previewAuthStore-BFKd4LrN.mjs → previewAuthStore-C7ksxt5b.mjs} +40 -161
- package/dist/{sdk-runtime-Ca5RD78X.mjs → sdk-runtime-BbIC8G4J.mjs} +2 -2
- package/dist/{separator-CMhj6BTi.mjs → separator-CadhAtI7.mjs} +1 -1
- package/dist/server/components.mjs +558 -2962
- package/dist/server/config-validation.mjs +459 -714
- package/dist/server/config.mjs +459 -714
- package/dist/server/data.mjs +459 -714
- package/dist/server/index.mjs +41 -162
- package/dist/server/next.mjs +572 -2976
- package/dist/server/page-converter.mjs +360 -582
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +569 -2879
- package/dist/server/rendering.mjs +558 -2962
- package/dist/server/routing.mjs +603 -1087
- package/dist/server/server.mjs +473 -728
- package/dist/server/theme-bridge.mjs +41 -1524
- package/dist/styles/index.css +41 -1348
- package/package.json +1 -1
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +0 -99
- package/dist/_dts/blocks/src/client/course-registration.d.ts +0 -5
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -134
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +0 -130
- package/dist/_dts/blocks/src/system/blocks/courses/shared/index.d.ts +0 -3
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -135
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +0 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +0 -20
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +0 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -181
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/BookingModeStep.d.ts +0 -32
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/CheckIcon.d.ts +0 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/ErrorStep.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/MembershipHero.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/PaymentFailedStep.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/PortalAuthSidebar.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/StepIndicator.d.ts +0 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/SuccessStep.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/VerifyingTimeoutStep.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WaitlistStep.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationActiveSteps.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationErrorBoundary.d.ts +0 -25
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationTerminalContent.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationWizard.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +0 -46
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/index.d.ts +0 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/presentation.d.ts +0 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/pricing.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/types.d.ts +0 -105
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesEligibility.d.ts +0 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesPaymentVerification.d.ts +0 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationActions.d.ts +0 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationPortal.d.ts +0 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationSelection.d.ts +0 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationWizard.d.ts +0 -185
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesWaitlistSelection.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/utils.d.ts +0 -43
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/whole-series-registration.headless.contract.d.ts +0 -325
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/whole-series-registration.headless.planning.d.ts +0 -27
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesPageSurfaceScope.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesRegistrationViewState.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wizardSteps.d.ts +0 -30
- package/dist/_dts/sdk/src/rendering/islands/enhancers/courseRegistration.d.ts +0 -3
- package/dist/_dts/theme-core/src/blocks/vars/course-details.d.ts +0 -16
- package/dist/_dts/theme-core/src/blocks/vars/course-registration.d.ts +0 -21
- package/dist/client/BookingConsentAgreement-BxgpGEFD.mjs +0 -160
- package/dist/client/WholeSeriesRegistrationWizard-DwtC7bCs.mjs +0 -2546
- package/dist/client/courseRegistration-A-Tg7qw_.mjs +0 -52
- package/dist/client/pricing-Caa0QWzh.mjs +0 -195
|
@@ -17,36 +17,4 @@ export declare const PUBLIC_WHOLE_SERIES_ENDPOINT_DEFINITIONS: {
|
|
|
17
17
|
auth: "public";
|
|
18
18
|
responseKind: "json";
|
|
19
19
|
};
|
|
20
|
-
registerForWholeSeries: {
|
|
21
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/enroll";
|
|
22
|
-
method: "POST";
|
|
23
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-enrollment")[];
|
|
24
|
-
errors: ("auth:unauthenticated" | "auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:already_exists" | "resource:conflict" | "server:internal_error")[];
|
|
25
|
-
auth: "public";
|
|
26
|
-
responseKind: "json";
|
|
27
|
-
};
|
|
28
|
-
checkWholeSeriesEligibility: {
|
|
29
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/check-eligibility";
|
|
30
|
-
method: "POST";
|
|
31
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-enrollment")[];
|
|
32
|
-
errors: ("auth:unauthenticated" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
33
|
-
auth: "public";
|
|
34
|
-
responseKind: "json";
|
|
35
|
-
};
|
|
36
|
-
createWholeSeriesCheckout: {
|
|
37
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/checkout";
|
|
38
|
-
method: "POST";
|
|
39
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-checkout")[];
|
|
40
|
-
auth: "public";
|
|
41
|
-
responseKind: "json";
|
|
42
|
-
errors: ("auth:unauthenticated" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
43
|
-
};
|
|
44
|
-
getWholeSeriesRegistrationStatus: {
|
|
45
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/registration-status";
|
|
46
|
-
method: "GET";
|
|
47
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-checkout")[];
|
|
48
|
-
errors: ("resource:not_found" | "server:internal_error")[];
|
|
49
|
-
auth: "public";
|
|
50
|
-
responseKind: "json";
|
|
51
|
-
};
|
|
52
20
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BookingCollectionOptionKind, BookingPaymentTermsConfig } from './bookingConfig';
|
|
2
2
|
export type SdkEventPaymentTerms = BookingPaymentTermsConfig;
|
|
3
3
|
export type SdkEventPaymentTermsInput = BookingPaymentTermsConfig;
|
|
4
|
-
export type SdkEventSupportedPaymentOptionKind =
|
|
4
|
+
export type SdkEventSupportedPaymentOptionKind = BookingCollectionOptionKind;
|
|
5
5
|
export type SdkEventPaymentTermsIssue = Readonly<{
|
|
6
6
|
path: readonly string[];
|
|
7
7
|
message: string;
|
|
@@ -33,8 +33,8 @@ export declare const sdkEventUpsertOptionalFieldSchemas: {
|
|
|
33
33
|
performance: "performance";
|
|
34
34
|
}>>;
|
|
35
35
|
readonly bookingScope: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
single_occurrence: "single_occurrence";
|
|
37
36
|
whole_series: "whole_series";
|
|
37
|
+
single_occurrence: "single_occurrence";
|
|
38
38
|
}>>;
|
|
39
39
|
readonly occurrences: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40
40
|
startsAt: z.ZodString;
|
|
@@ -333,7 +333,7 @@ export type CronPaymentReconciliationResponse = {
|
|
|
333
333
|
failed: number;
|
|
334
334
|
skipped: number;
|
|
335
335
|
};
|
|
336
|
-
|
|
336
|
+
eventSeriesRegistrations: {
|
|
337
337
|
checked: number;
|
|
338
338
|
updated: number;
|
|
339
339
|
failed: number;
|
|
@@ -532,7 +532,7 @@ export type ShopOrderDigitalFulfillmentResponse = {
|
|
|
532
532
|
kind: "access_updated";
|
|
533
533
|
action: "grant" | "revoke";
|
|
534
534
|
};
|
|
535
|
-
export declare const FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES: readonly ["order_detail", "payment_issues_queue", "appointment_detail", "event_attendee_detail", "
|
|
535
|
+
export declare const FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES: readonly ["order_detail", "payment_issues_queue", "appointment_detail", "event_attendee_detail", "event_series_registration_detail"];
|
|
536
536
|
export type FlexibleBalanceAdminActionSource = (typeof FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES)[number];
|
|
537
537
|
export type CancelFlexibleBalanceBookingDueToNonPaymentRequest = {
|
|
538
538
|
cancellation: StaffCancellationContextInput;
|
|
@@ -19,7 +19,7 @@ export type * from "./commercePortalEndpoints";
|
|
|
19
19
|
export type * from "./communications";
|
|
20
20
|
export type * from "./contentRuntime";
|
|
21
21
|
export type * from "./contentVersionHistory";
|
|
22
|
-
export type * from
|
|
22
|
+
export type * from './wholeSeriesOfferings';
|
|
23
23
|
export type * from "./mailchimpIntegration";
|
|
24
24
|
export type * from "./participantMessaging";
|
|
25
25
|
export type * from "./publicExperienceEndpoints";
|
|
@@ -2,58 +2,17 @@ import type { BookingPaymentOptionsSource, BookingPaymentTermsConfig, BookingPri
|
|
|
2
2
|
import type { PublicTeamMemberSummary } from './teamMembers';
|
|
3
3
|
export type { WholeSeriesRunCancellationSettlement } from './eventManagementContracts';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Whole-series Event contracts
|
|
6
6
|
*
|
|
7
|
-
* These types cover
|
|
8
|
-
* waitlist/admin workflows.
|
|
7
|
+
* These types cover whole-series offerings, public payloads, registrations,
|
|
8
|
+
* and waitlist/admin workflows.
|
|
9
9
|
*
|
|
10
10
|
* Note: Do NOT use these API types as validation schemas. They document wire
|
|
11
11
|
* contracts while the owning services validate and normalize inputs.
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
16
|
-
startsAt: string;
|
|
17
|
-
endsAt: string;
|
|
18
|
-
};
|
|
19
|
-
export type DatedOfferingContentIntent = Readonly<{
|
|
20
|
-
kind: 'sharedOfferingContent';
|
|
21
|
-
eventOfferingId: string;
|
|
22
|
-
}> | Readonly<{
|
|
23
|
-
kind: 'seriesSpecificContent';
|
|
24
|
-
eventOfferingId: string;
|
|
25
|
-
}>;
|
|
26
|
-
export type CoursePageIdentityIntent = Readonly<{
|
|
27
|
-
kind: 'newOffering';
|
|
28
|
-
}> | Readonly<{
|
|
29
|
-
kind: 'existingOffering';
|
|
30
|
-
content: DatedOfferingContentIntent;
|
|
31
|
-
}>;
|
|
32
|
-
type CreateCourseRequestFields = {
|
|
33
|
-
enrollmentCapacity?: number | null;
|
|
34
|
-
acceptsMemberships?: boolean;
|
|
35
|
-
waitlistMode?: WaitlistOverride;
|
|
36
|
-
pricing: BookingPricingInput;
|
|
37
|
-
paymentTerms?: BookingPaymentTermsConfig;
|
|
38
|
-
paymentOptionsSource?: BookingPaymentOptionsSource;
|
|
39
|
-
status?: CourseStatus;
|
|
40
|
-
title: string;
|
|
41
|
-
slug: string;
|
|
42
|
-
venueId?: string | null;
|
|
43
|
-
capacity?: number | null;
|
|
44
|
-
formId?: string | null;
|
|
45
|
-
eventCategoryId?: string | null;
|
|
46
|
-
staffMemberIds?: string[];
|
|
47
|
-
mainHostStaffMemberId?: string | null;
|
|
48
|
-
sessions: CourseSessionInput[];
|
|
49
|
-
defaultStartTime?: string;
|
|
50
|
-
durationMinutes?: number;
|
|
51
|
-
};
|
|
52
|
-
export type CreateCourseRequest = CreateCourseRequestFields & Readonly<{
|
|
53
|
-
initializationCommandId: string;
|
|
54
|
-
pageIdentity: CoursePageIdentityIntent;
|
|
55
|
-
}>;
|
|
56
|
-
export type CourseSeriesRecord = {
|
|
13
|
+
export type WholeSeriesOfferingStatus = 'draft' | 'active' | 'cancelled' | 'archived' | 'completed';
|
|
14
|
+
export type WholeSeriesOfferingMutableStatus = Exclude<WholeSeriesOfferingStatus, 'completed'>;
|
|
15
|
+
export type WholeSeriesRunRecord = {
|
|
57
16
|
id: string;
|
|
58
17
|
title: string;
|
|
59
18
|
slug: string;
|
|
@@ -66,7 +25,7 @@ export type CourseSeriesRecord = {
|
|
|
66
25
|
mainHostStaffMemberId?: string | null;
|
|
67
26
|
status: string;
|
|
68
27
|
};
|
|
69
|
-
export type
|
|
28
|
+
export type WholeSeriesOfferingRecord = {
|
|
70
29
|
id: string;
|
|
71
30
|
siteId: string;
|
|
72
31
|
seriesId: string;
|
|
@@ -77,17 +36,17 @@ export type CourseRecord = {
|
|
|
77
36
|
pricing: BookingPricing;
|
|
78
37
|
currency: string;
|
|
79
38
|
paymentTerms: BookingPaymentTermsConfig;
|
|
80
|
-
status:
|
|
39
|
+
status: WholeSeriesOfferingStatus;
|
|
81
40
|
createdAt: string;
|
|
82
41
|
updatedAt: string;
|
|
83
|
-
series:
|
|
42
|
+
series: WholeSeriesRunRecord;
|
|
84
43
|
sessionsCount: number;
|
|
85
|
-
/** Total
|
|
44
|
+
/** Total registrations for this run (all statuses, including cancelled/waitlist). */
|
|
86
45
|
enrollmentsCount: number;
|
|
87
46
|
/** Seat-holding enrollments (enrolled, pending_payment, completed). */
|
|
88
47
|
enrolledCount: number;
|
|
89
48
|
};
|
|
90
|
-
export type
|
|
49
|
+
export type PublicWholeSeriesSession = {
|
|
91
50
|
id: string;
|
|
92
51
|
startsAt: string;
|
|
93
52
|
endsAt: string;
|
|
@@ -95,17 +54,20 @@ export type PublicCourseSession = {
|
|
|
95
54
|
capacityOverride?: number | null;
|
|
96
55
|
overrides?: Record<string, unknown> | null;
|
|
97
56
|
};
|
|
98
|
-
export type
|
|
57
|
+
export type PublicWholeSeriesVenue = {
|
|
99
58
|
id: string;
|
|
100
59
|
name: string;
|
|
101
60
|
address: string | null;
|
|
102
61
|
};
|
|
103
|
-
export type
|
|
62
|
+
export type PublicWholeSeriesOfferingDetails = {
|
|
104
63
|
eventSeriesId: string;
|
|
105
64
|
eventOfferingId: string;
|
|
106
65
|
title: string;
|
|
107
66
|
slug: string;
|
|
108
67
|
description: unknown;
|
|
68
|
+
deliveryMode: 'in_person' | 'online' | 'hybrid';
|
|
69
|
+
waitlistEnabled: boolean;
|
|
70
|
+
requireGuestDetails: boolean;
|
|
109
71
|
teamMembers?: PublicTeamMemberSummary[];
|
|
110
72
|
enrollmentOpen: boolean;
|
|
111
73
|
pricing: BookingPricing;
|
|
@@ -117,15 +79,12 @@ export type PublicCourseDetails = {
|
|
|
117
79
|
sessionsCount: number;
|
|
118
80
|
enrolledCount: number;
|
|
119
81
|
availableSpots: number | null;
|
|
120
|
-
sessions:
|
|
121
|
-
venue:
|
|
82
|
+
sessions: PublicWholeSeriesSession[];
|
|
83
|
+
venue: PublicWholeSeriesVenue | null;
|
|
122
84
|
firstSessionAt: string | null;
|
|
123
85
|
lastSessionAt: string | null;
|
|
124
86
|
};
|
|
125
|
-
export type
|
|
126
|
-
course: CourseRecord;
|
|
127
|
-
};
|
|
128
|
-
export type UpdateCourseRequest = {
|
|
87
|
+
export type UpdateWholeSeriesOfferingRequest = {
|
|
129
88
|
enrollmentCapacity?: number | null;
|
|
130
89
|
acceptsMemberships?: boolean;
|
|
131
90
|
waitlistMode?: WaitlistOverride;
|
|
@@ -140,10 +99,10 @@ export type UpdateCourseRequest = {
|
|
|
140
99
|
staffMemberIds?: string[];
|
|
141
100
|
mainHostStaffMemberId?: string | null;
|
|
142
101
|
};
|
|
143
|
-
export type
|
|
144
|
-
|
|
102
|
+
export type UpdateWholeSeriesOfferingResponse = {
|
|
103
|
+
offering: WholeSeriesOfferingRecord;
|
|
145
104
|
};
|
|
146
|
-
export type
|
|
105
|
+
export type DeleteWholeSeriesOfferingResponse = {
|
|
147
106
|
message: string;
|
|
148
107
|
};
|
|
149
108
|
export type DeleteEventOfferingResponse = {
|
|
@@ -152,19 +111,8 @@ export type DeleteEventOfferingResponse = {
|
|
|
152
111
|
export declare const DELETE_EVENT_OFFERING_CONFLICT_REASONS: readonly ["has_registrations", "has_payments", "published_page", "inconsistent_ownership"];
|
|
153
112
|
export type DeleteEventOfferingConflictReason = (typeof DELETE_EVENT_OFFERING_CONFLICT_REASONS)[number];
|
|
154
113
|
export declare function isDeleteEventOfferingConflictReason(value: unknown): value is DeleteEventOfferingConflictReason;
|
|
155
|
-
export type
|
|
156
|
-
|
|
157
|
-
newStartDate: string;
|
|
158
|
-
newStartTime: string;
|
|
159
|
-
title?: string;
|
|
160
|
-
slug?: string;
|
|
161
|
-
enrollmentCapacity?: number | null;
|
|
162
|
-
};
|
|
163
|
-
export type DuplicateCourseResponse = {
|
|
164
|
-
course: CourseRecord;
|
|
165
|
-
};
|
|
166
|
-
export type CourseContentOwnershipBlocker = 'invalidScope' | 'notSharedOfferingContent' | 'notSeriesSpecificContent' | 'invalidSlug' | 'routePathConflict' | 'missingOfferingSurface' | 'missingProgramRoute' | 'missingSourceContent' | 'existingSeriesSurface' | 'invalidSourceSlotComposition' | 'missingSourceBlockContent' | 'seriesSurfaceNotDraft' | 'seriesContentChanged' | 'stalePreview';
|
|
167
|
-
export type CourseContentOwnershipRequest = {
|
|
114
|
+
export type EventSeriesContentOwnershipBlocker = 'invalidScope' | 'notSharedOfferingContent' | 'notSeriesSpecificContent' | 'invalidSlug' | 'routePathConflict' | 'missingOfferingSurface' | 'missingProgramRoute' | 'missingSourceContent' | 'existingSeriesSurface' | 'invalidSourceSlotComposition' | 'missingSourceBlockContent' | 'nonEventSourceContent' | 'seriesSurfaceNotDraft' | 'seriesContentChanged' | 'stalePreview';
|
|
115
|
+
export type EventSeriesContentOwnershipRequest = {
|
|
168
116
|
action: 'preview-separate' | 'apply-separate';
|
|
169
117
|
eventSeriesId: string;
|
|
170
118
|
proposedSlug: string;
|
|
@@ -172,9 +120,9 @@ export type CourseContentOwnershipRequest = {
|
|
|
172
120
|
action: 'preview-shared' | 'apply-shared';
|
|
173
121
|
eventSeriesId: string;
|
|
174
122
|
};
|
|
175
|
-
export type
|
|
123
|
+
export type EventSeriesContentOwnershipResponse = {
|
|
176
124
|
kind: 'blocked';
|
|
177
|
-
blockers: readonly
|
|
125
|
+
blockers: readonly EventSeriesContentOwnershipBlocker[];
|
|
178
126
|
} | {
|
|
179
127
|
kind: 'separate-preview';
|
|
180
128
|
proposedSlug: string;
|
|
@@ -189,7 +137,7 @@ export type CourseContentOwnershipResponse = {
|
|
|
189
137
|
kind: 'shared-preview';
|
|
190
138
|
summary: readonly [
|
|
191
139
|
"Remove this run's separate draft page",
|
|
192
|
-
'Use the shared
|
|
140
|
+
'Use the shared Event content again'
|
|
193
141
|
];
|
|
194
142
|
} | {
|
|
195
143
|
kind: 'separate-applied';
|
|
@@ -197,24 +145,24 @@ export type CourseContentOwnershipResponse = {
|
|
|
197
145
|
} | {
|
|
198
146
|
kind: 'shared-applied';
|
|
199
147
|
};
|
|
200
|
-
export type
|
|
201
|
-
export type
|
|
202
|
-
export type
|
|
203
|
-
export type
|
|
148
|
+
export type EventSeriesRegistrationStatus = 'pending_payment' | 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
|
|
149
|
+
export type EventSeriesRegistrationPaymentMethod = 'free' | 'membership' | 'stripe' | null;
|
|
150
|
+
export type EventSeriesRegistrationPaymentStatus = 'not_required' | 'pending' | 'completed' | 'failed' | 'refunded' | null;
|
|
151
|
+
export type EventSeriesRegistrationRecord = {
|
|
204
152
|
id: string;
|
|
205
153
|
siteId: string;
|
|
206
154
|
eventSeriesId: string;
|
|
207
155
|
customerId: string;
|
|
208
|
-
status:
|
|
209
|
-
paymentMethod:
|
|
210
|
-
paymentStatus:
|
|
156
|
+
status: EventSeriesRegistrationStatus;
|
|
157
|
+
paymentMethod: EventSeriesRegistrationPaymentMethod;
|
|
158
|
+
paymentStatus: EventSeriesRegistrationPaymentStatus;
|
|
211
159
|
customerMembershipId: string | null;
|
|
212
160
|
enrolledAt: string | null;
|
|
213
161
|
cancelledAt: string | null;
|
|
214
162
|
createdAt: string;
|
|
215
163
|
updatedAt: string;
|
|
216
164
|
};
|
|
217
|
-
export type
|
|
165
|
+
export type EventSeriesRegistrationWithCustomer = EventSeriesRegistrationRecord & {
|
|
218
166
|
customer: {
|
|
219
167
|
id: string;
|
|
220
168
|
name: string | null;
|
|
@@ -225,8 +173,8 @@ export type CourseEnrollmentWithCustomer = CourseEnrollmentRecord & {
|
|
|
225
173
|
participantParticipationId?: string | null;
|
|
226
174
|
waitlistPosition?: number | null;
|
|
227
175
|
};
|
|
228
|
-
export type
|
|
229
|
-
enrollments:
|
|
176
|
+
export type ListEventSeriesRegistrationsResponse = {
|
|
177
|
+
enrollments: EventSeriesRegistrationWithCustomer[];
|
|
230
178
|
summary: {
|
|
231
179
|
enrolled: number;
|
|
232
180
|
waitlist: number;
|
|
@@ -261,7 +209,7 @@ export type DashboardWaitlistListResponse = {
|
|
|
261
209
|
export type WaitlistDashboardActionResponse = {
|
|
262
210
|
success: true;
|
|
263
211
|
};
|
|
264
|
-
export type
|
|
212
|
+
export type AddEventSeriesRegistrationRequest = {
|
|
265
213
|
customerId?: string;
|
|
266
214
|
customerName?: string;
|
|
267
215
|
customerEmail?: string;
|
|
@@ -272,21 +220,21 @@ export type AddCourseEnrollmentRequest = {
|
|
|
272
220
|
};
|
|
273
221
|
formSubmissionJson?: Record<string, unknown>;
|
|
274
222
|
};
|
|
275
|
-
export type
|
|
223
|
+
export type AddEventSeriesRegistrationResponse = {
|
|
276
224
|
kind: 'registration';
|
|
277
|
-
enrollment:
|
|
225
|
+
enrollment: EventSeriesRegistrationRecord;
|
|
278
226
|
} | {
|
|
279
227
|
kind: 'waitlist';
|
|
280
228
|
customerId: string;
|
|
281
229
|
waitlistPosition: number | null;
|
|
282
230
|
};
|
|
283
|
-
export type
|
|
231
|
+
export type UpdateEventSeriesRegistrationRequest = {
|
|
284
232
|
status: 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
|
|
285
233
|
settlement?: {
|
|
286
234
|
kind: 'complimentary';
|
|
287
235
|
operationId: string;
|
|
288
236
|
};
|
|
289
237
|
};
|
|
290
|
-
export type
|
|
291
|
-
enrollment:
|
|
238
|
+
export type UpdateEventSeriesRegistrationResponse = {
|
|
239
|
+
enrollment: EventSeriesRegistrationRecord;
|
|
292
240
|
};
|
|
@@ -19,14 +19,11 @@ export { BookingFormClient } from './system/runtime/nodes/booking-form.client';
|
|
|
19
19
|
export { HeadlessBookingPaymentSelectionStep, type HeadlessBookingPaymentSelectionStepProps, } from './system/runtime/nodes/booking-form.default-ui';
|
|
20
20
|
export { HeadlessBookingProvider, createBookingBlockApiConfig, useHeadlessBookingFlow, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
21
21
|
export { HeadlessEventRegistrationProvider, createEventRegistrationBlockApiConfig, useHeadlessEventRegistrationFlow, } from './system/runtime/hooks/useHeadlessEventRegistrationFlow';
|
|
22
|
-
export { HeadlessWholeSeriesRegistrationProvider, createWholeSeriesRegistrationBlockApiConfig, useHeadlessWholeSeriesRegistrationFlow, } from './system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow';
|
|
23
22
|
export { AltchaWidget as HeadlessBookingAltchaWidget } from '../../altcha/src/client';
|
|
24
23
|
export { AltchaWidget as HeadlessEventRegistrationAltchaWidget } from '../../altcha/src/client';
|
|
25
|
-
export { AltchaWidget as HeadlessWholeSeriesRegistrationAltchaWidget } from '../../altcha/src/client';
|
|
26
24
|
export { EventRegistrationClient, EventRegistrationIslandClient, } from './system/runtime/nodes/event-registration.client';
|
|
27
25
|
export { EventDetailsClient, EventDetailsIslandClient, } from './system/runtime/nodes/event-details.client';
|
|
28
26
|
export { LocationMapClient, LocationMapIslandClient, } from './system/runtime/nodes/location-map.client';
|
|
29
|
-
export { CourseRegistrationClient, CourseRegistrationIslandClient, } from './system/runtime/nodes/course-registration.client';
|
|
30
27
|
export { EventListingClient, EventCalendarClient, EventCombinedClient, EventCombinedIslandClient, } from './system/runtime/nodes/events';
|
|
31
28
|
export { CarouselNodeClient } from './system/runtime/nodes/carousel.client';
|
|
32
29
|
export { normalizeCarouselProps } from './system/runtime/nodes/carousel.client';
|
|
@@ -38,13 +35,11 @@ export type { BookingFormData, BookingFormField, BookingSelectedCollectionOption
|
|
|
38
35
|
export type { BookingAvailabilityModel, BookingAppointmentPackagesModel, BookingDiscountModel, BookingFieldsModel, BookingFlowActions, BookingPaymentModel, BookingResourcesModel, BookingServicesModel, BookingSpamProtectionModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
39
36
|
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, AppointmentBookingOverridePropsLike, BookingAvailabilityQuery, BookingAppointmentPackagesUnavailableReason, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingFlowView, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, LoadState, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
40
37
|
export type { EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, } from './system/runtime/hooks/useHeadlessEventRegistrationFlow';
|
|
41
|
-
export type { HeadlessWholeSeriesRegistrationFlow, HeadlessWholeSeriesRegistrationFlowOptions, HeadlessWholeSeriesRegistrationProviderProps, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, } from './system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow';
|
|
42
38
|
export { getEventRegistrationOverrideInput } from './system/runtime/nodes/event-registration/event-registration.headless.state';
|
|
43
39
|
export { buildBookingAvailabilityQuery, buildBookingStepPlan, buildBookingSubmitPlan, createEmptyBookingValidationErrors, createFieldBookingValidationErrors, createFormBookingValidationError, describeUnknownError, deriveBookingFlowSteps, deriveBookingFieldViews, getAppointmentBookingOverrideInput, hasBookingValidationErrors, resolveAppointmentPackagesModel, resolveHeadlessBookingStatus, resolveHeadlessBookingView, toBookingFormData, toBookingSlotView, toBookingSlotViews, validateBookingField, validateBookingFields, validateBookingStep, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
44
40
|
export type { EventDetailsClientProps, EventDetailsIslandClientProps, } from './system/runtime/nodes/event-details.client';
|
|
45
41
|
export type { LocationMapClientProps, LocationMapIslandClientProps, } from './system/runtime/nodes/location-map.client';
|
|
46
42
|
export type { EventRegistrationClientProps, EventRegistrationIslandClientProps, } from './system/runtime/nodes/event-registration.client';
|
|
47
|
-
export type { CourseRegistrationClientProps, CourseRegistrationIslandClientProps, } from './system/runtime/nodes/course-registration.client';
|
|
48
43
|
export { ShopClient } from './system/runtime/nodes/shop.client';
|
|
49
44
|
export type { ShopClientProps } from './system/runtime/nodes/shop.client';
|
|
50
45
|
export { ProductListClient } from './system/runtime/nodes/product-list.client';
|
|
@@ -3,7 +3,7 @@ export type { InteractiveIslandProps } from './islands';
|
|
|
3
3
|
export type { PublicEvent } from '../system/blocks/events/shared/types';
|
|
4
4
|
export type { AccordionIslandProps, CarouselIslandProps, EventDetailsIslandProps, EventDetailsOccurrenceContext, HeaderSectionIslandProps, LocationMapIslandProps, } from './non-block-islands';
|
|
5
5
|
export type { HeaderChromeRuntimeContract, HeaderScrollRuntime, } from '../system/runtime/header/runtimeContract';
|
|
6
|
-
export type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService,
|
|
6
|
+
export type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService, CartDisplay, CartHydration, CartInteractiveIslandProps, CartLineDisplay, CheckoutDisplay, CheckoutHydration, CheckoutInteractiveIslandProps, EventCalendarDisplay, EventCalendarHydration, EventCalendarInteractiveIslandProps, EventCombinedDisplay, EventCombinedHydration, EventCombinedInteractiveIslandProps, EventRegistrationDisplay, EventRegistrationHydration, EventRegistrationInteractiveIslandProps, EventListingDisplay, EventListingHydration, EventListingInteractiveIslandProps, FormDisplay, FormHydration, FormInteractiveIslandProps, MembershipCardDisplay, NewsletterFormDisplay, NewsletterFormHydration, NewsletterFormInteractiveIslandProps, PassCardDisplay, PassesMembershipsDisplay, PassesMembershipsHydration, ProductCardDisplay, ProductDetailDisplay, ProductDetailInteractiveIslandProps, ProductDetailHydration, ProductListDisplay, ProductListInteractiveIslandProps, ProductListHydration, ProductVariantOptionDisplay, ShopInteractiveIslandProps, } from './proof-block-islands';
|
|
7
7
|
export type { PublicPassProduct, PurchasablePublicPassProduct, } from '../system/blocks/shop.shared';
|
|
8
8
|
export { accordionIslandPropsCodec, carouselIslandPropsCodec, eventDetailsIslandPropsCodec, headerSectionIslandPropsCodec, locationMapIslandPropsCodec, } from './non-block-islands';
|
|
9
9
|
export { createZodCodec, decodeFailure, decodeSuccess, defineClientOwnedBlockRuntime, defineProgressiveBlockRuntime, defineStaticBlockRuntime, isDecodeSuccess, } from './runtime';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService } from '../system/runtime/nodes/booking-form.interactive';
|
|
2
|
-
import type { CourseRegistrationDisplay, CourseRegistrationHydration, CourseRegistrationInteractiveIslandProps } from '../system/runtime/nodes/course-registration.interactive';
|
|
3
2
|
import type { CartDisplay, CartLineDisplay, CheckoutDisplay, MembershipCardDisplay, PassCardDisplay, PassesMembershipsDisplay, ProductCardDisplay, ProductDetailDisplay, ProductListDisplay, ProductVariantOptionDisplay } from '../system/runtime/nodes/commerce/shared/display';
|
|
4
3
|
import type { EventListingDisplay, EventListingHydration, EventListingInteractiveIslandProps } from '../system/runtime/nodes/events/EventListing.interactive';
|
|
5
4
|
import type { EventCalendarDisplay, EventCalendarHydration, EventCalendarInteractiveIslandProps } from '../system/runtime/nodes/events/EventCalendar.interactive';
|
|
@@ -176,50 +175,6 @@ export declare const proofBlockIslandCodecs: {
|
|
|
176
175
|
}>>;
|
|
177
176
|
}>>;
|
|
178
177
|
}>;
|
|
179
|
-
readonly 'course-registration': Readonly<{
|
|
180
|
-
encode: (value: Readonly<Readonly<{
|
|
181
|
-
siteId?: string;
|
|
182
|
-
apiBaseUrl?: string;
|
|
183
|
-
portalToken?: string | null;
|
|
184
|
-
stage?: "preview" | "published";
|
|
185
|
-
}> & {
|
|
186
|
-
renderKind: "client-owned";
|
|
187
|
-
render: Readonly<{
|
|
188
|
-
mode: "course-registration";
|
|
189
|
-
} & Readonly<{
|
|
190
|
-
display: Readonly<{
|
|
191
|
-
kind: "course-registration";
|
|
192
|
-
state: "shell";
|
|
193
|
-
className: string | null;
|
|
194
|
-
summaryButtonText: string;
|
|
195
|
-
}>;
|
|
196
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration/whole-series").WholeSeriesRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "runs"> & {
|
|
197
|
-
courses?: import("..").PublicCourse[] | null;
|
|
198
|
-
}>;
|
|
199
|
-
}>>;
|
|
200
|
-
}>) => unknown;
|
|
201
|
-
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
202
|
-
siteId?: string;
|
|
203
|
-
apiBaseUrl?: string;
|
|
204
|
-
portalToken?: string | null;
|
|
205
|
-
stage?: "preview" | "published";
|
|
206
|
-
}> & {
|
|
207
|
-
renderKind: "client-owned";
|
|
208
|
-
render: Readonly<{
|
|
209
|
-
mode: "course-registration";
|
|
210
|
-
} & Readonly<{
|
|
211
|
-
display: Readonly<{
|
|
212
|
-
kind: "course-registration";
|
|
213
|
-
state: "shell";
|
|
214
|
-
className: string | null;
|
|
215
|
-
summaryButtonText: string;
|
|
216
|
-
}>;
|
|
217
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration/whole-series").WholeSeriesRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "runs"> & {
|
|
218
|
-
courses?: import("..").PublicCourse[] | null;
|
|
219
|
-
}>;
|
|
220
|
-
}>>;
|
|
221
|
-
}>>;
|
|
222
|
-
}>;
|
|
223
178
|
readonly 'event-registration': Readonly<{
|
|
224
179
|
encode: (value: Readonly<Readonly<{
|
|
225
180
|
siteId?: string;
|
|
@@ -233,7 +188,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
233
188
|
mode: "event-registration";
|
|
234
189
|
} & Readonly<{
|
|
235
190
|
display: EventRegistrationDisplay;
|
|
236
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
191
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText">>;
|
|
237
192
|
}>>;
|
|
238
193
|
}>) => unknown;
|
|
239
194
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
@@ -248,7 +203,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
248
203
|
mode: "event-registration";
|
|
249
204
|
} & Readonly<{
|
|
250
205
|
display: EventRegistrationDisplay;
|
|
251
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
206
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText">>;
|
|
252
207
|
}>>;
|
|
253
208
|
}>>;
|
|
254
209
|
}>;
|
|
@@ -1106,50 +1061,6 @@ export declare const runtimeIslandCodecs: {
|
|
|
1106
1061
|
}>>;
|
|
1107
1062
|
}>>;
|
|
1108
1063
|
}>;
|
|
1109
|
-
readonly 'course-registration': Readonly<{
|
|
1110
|
-
encode: (value: Readonly<Readonly<{
|
|
1111
|
-
siteId?: string;
|
|
1112
|
-
apiBaseUrl?: string;
|
|
1113
|
-
portalToken?: string | null;
|
|
1114
|
-
stage?: "preview" | "published";
|
|
1115
|
-
}> & {
|
|
1116
|
-
renderKind: "client-owned";
|
|
1117
|
-
render: Readonly<{
|
|
1118
|
-
mode: "course-registration";
|
|
1119
|
-
} & Readonly<{
|
|
1120
|
-
display: Readonly<{
|
|
1121
|
-
kind: "course-registration";
|
|
1122
|
-
state: "shell";
|
|
1123
|
-
className: string | null;
|
|
1124
|
-
summaryButtonText: string;
|
|
1125
|
-
}>;
|
|
1126
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration/whole-series").WholeSeriesRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "runs"> & {
|
|
1127
|
-
courses?: import("..").PublicCourse[] | null;
|
|
1128
|
-
}>;
|
|
1129
|
-
}>>;
|
|
1130
|
-
}>) => unknown;
|
|
1131
|
-
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
1132
|
-
siteId?: string;
|
|
1133
|
-
apiBaseUrl?: string;
|
|
1134
|
-
portalToken?: string | null;
|
|
1135
|
-
stage?: "preview" | "published";
|
|
1136
|
-
}> & {
|
|
1137
|
-
renderKind: "client-owned";
|
|
1138
|
-
render: Readonly<{
|
|
1139
|
-
mode: "course-registration";
|
|
1140
|
-
} & Readonly<{
|
|
1141
|
-
display: Readonly<{
|
|
1142
|
-
kind: "course-registration";
|
|
1143
|
-
state: "shell";
|
|
1144
|
-
className: string | null;
|
|
1145
|
-
summaryButtonText: string;
|
|
1146
|
-
}>;
|
|
1147
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration/whole-series").WholeSeriesRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "runs"> & {
|
|
1148
|
-
courses?: import("..").PublicCourse[] | null;
|
|
1149
|
-
}>;
|
|
1150
|
-
}>>;
|
|
1151
|
-
}>>;
|
|
1152
|
-
}>;
|
|
1153
1064
|
readonly 'event-registration': Readonly<{
|
|
1154
1065
|
encode: (value: Readonly<Readonly<{
|
|
1155
1066
|
siteId?: string;
|
|
@@ -1163,7 +1074,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1163
1074
|
mode: "event-registration";
|
|
1164
1075
|
} & Readonly<{
|
|
1165
1076
|
display: EventRegistrationDisplay;
|
|
1166
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
1077
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText">>;
|
|
1167
1078
|
}>>;
|
|
1168
1079
|
}>) => unknown;
|
|
1169
1080
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
@@ -1178,7 +1089,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1178
1089
|
mode: "event-registration";
|
|
1179
1090
|
} & Readonly<{
|
|
1180
1091
|
display: EventRegistrationDisplay;
|
|
1181
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
1092
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText">>;
|
|
1182
1093
|
}>>;
|
|
1183
1094
|
}>>;
|
|
1184
1095
|
}>;
|
|
@@ -1947,4 +1858,4 @@ export declare const runtimeIslandCodecs: {
|
|
|
1947
1858
|
}>>;
|
|
1948
1859
|
}>;
|
|
1949
1860
|
};
|
|
1950
|
-
export type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService,
|
|
1861
|
+
export type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService, CartDisplay, CartHydration, CartInteractiveIslandProps, CartLineDisplay, CheckoutDisplay, CheckoutHydration, CheckoutInteractiveIslandProps, EventCalendarDisplay, EventCalendarHydration, EventCalendarInteractiveIslandProps, EventCombinedDisplay, EventCombinedHydration, EventCombinedInteractiveIslandProps, EventRegistrationDisplay, EventRegistrationHydration, EventRegistrationInteractiveIslandProps, EventListingDisplay, EventListingHydration, EventListingInteractiveIslandProps, FormDisplay, FormHydration, FormInteractiveIslandProps, GiftingDisplay, GiftingHydration, GiftingInteractiveIslandProps, MembershipCardDisplay, NewsletterFormDisplay, NewsletterFormHydration, NewsletterFormInteractiveIslandProps, PassCardDisplay, PassesMembershipsDisplay, PassesMembershipsHydration, ProductCardDisplay, ProductDetailDisplay, ProductDetailInteractiveIslandProps, ProductDetailHydration, ProductListDisplay, ProductListInteractiveIslandProps, ProductListHydration, ProductVariantOptionDisplay, ShopInteractiveIslandProps, };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* route. Status values use British spelling ('cancelled') to match the backend.
|
|
6
6
|
*/
|
|
7
7
|
import type { OrderInstalmentSummary, OrderInstalmentSummaryRow, OrderInstalmentPlanStatus, OrderInstalmentStatus } from '../../../core/src/index';
|
|
8
|
+
export { formatDate, formatDateTime } from './dateFormatting';
|
|
8
9
|
type JsonPrimitive = string | number | boolean | null;
|
|
9
10
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
10
11
|
[key: string]: JsonValue | undefined;
|
|
@@ -119,18 +120,14 @@ export interface EventGuest {
|
|
|
119
120
|
phone: string | null;
|
|
120
121
|
guestIndex: number;
|
|
121
122
|
}
|
|
122
|
-
|
|
123
|
-
* Customer course enrollment data from /api/portal/dated-offerings/whole-series
|
|
124
|
-
* Note: status uses British spelling 'cancelled'
|
|
125
|
-
*/
|
|
126
|
-
export interface CustomerCourseEnrollment {
|
|
123
|
+
export interface CustomerEventSeriesRegistration {
|
|
127
124
|
id: string;
|
|
128
125
|
eventSeriesId: string | null;
|
|
129
|
-
|
|
130
|
-
/** Path to the
|
|
131
|
-
|
|
126
|
+
eventTitle: string;
|
|
127
|
+
/** Path to the Event page (published route) when available */
|
|
128
|
+
eventPath?: string | null;
|
|
132
129
|
/** Rich text description in ProseMirror/TipTap JSON format, or null if not set */
|
|
133
|
-
|
|
130
|
+
eventDescription: unknown;
|
|
134
131
|
status: 'pending_payment' | 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
|
|
135
132
|
paymentMethod: 'free' | 'membership' | 'stripe' | null;
|
|
136
133
|
paymentStatus: 'not_required' | 'pending' | 'completed' | 'failed' | 'refunded' | null;
|
|
@@ -146,6 +143,15 @@ export interface CustomerCourseEnrollment {
|
|
|
146
143
|
endsAt: string | null;
|
|
147
144
|
timeZone: string;
|
|
148
145
|
}>;
|
|
146
|
+
participantCount: number;
|
|
147
|
+
ticketSummary: readonly Readonly<{
|
|
148
|
+
label: string;
|
|
149
|
+
quantity: number;
|
|
150
|
+
}>[];
|
|
151
|
+
participants: readonly Readonly<{
|
|
152
|
+
displayName: string | null;
|
|
153
|
+
isBooker: boolean;
|
|
154
|
+
}>[];
|
|
149
155
|
beforeYouCome: BeforeYouComeTaskSummary | null;
|
|
150
156
|
/** Venue information */
|
|
151
157
|
venue: {
|
|
@@ -277,7 +283,7 @@ export interface PortalCredit {
|
|
|
277
283
|
export type CustomerOrderFilter = 'all' | 'products' | 'bookings' | 'passes' | 'memberships';
|
|
278
284
|
export interface CustomerOrderItem {
|
|
279
285
|
id: string;
|
|
280
|
-
kind: 'product' | 'event_ticket' | '
|
|
286
|
+
kind: 'product' | 'event_ticket' | 'event_series_registration' | 'pass' | 'membership' | 'appointment';
|
|
281
287
|
displayName: string;
|
|
282
288
|
quantity: number;
|
|
283
289
|
unitPriceCents: number;
|
|
@@ -434,15 +440,7 @@ export declare function formatOrderInstalmentStatusLabel(instalment: CustomerOrd
|
|
|
434
440
|
export declare function getDigitalProductAccessBadgeVariant(status: PortalDigitalProduct['accessState']): BadgeVariant;
|
|
435
441
|
export declare function digitalProductModeLabel(mode: PortalDigitalProduct['fulfillmentMode']): string;
|
|
436
442
|
export declare function summarizeCustomerOrderFilters(orders: readonly CustomerOrder[]): CustomerOrderFilterSummary;
|
|
437
|
-
|
|
438
|
-
* Get badge variant for course enrollment status
|
|
439
|
-
*/
|
|
440
|
-
export declare function getCourseEnrollmentBadgeVariant(status: CustomerCourseEnrollment['status']): BadgeVariant;
|
|
441
|
-
export declare function formatDate(dateStr: string | null | undefined): string;
|
|
442
|
-
/**
|
|
443
|
-
* Format date and time for display
|
|
444
|
-
*/
|
|
445
|
-
export declare function formatDateTime(dateStr: string | null | undefined): string;
|
|
443
|
+
export declare function getEventSeriesRegistrationBadgeVariant(status: CustomerEventSeriesRegistration['status']): BadgeVariant;
|
|
446
444
|
/**
|
|
447
445
|
* Format relative time (e.g., "in 3 days", "2 hours ago")
|
|
448
446
|
*/
|
|
@@ -457,4 +455,3 @@ export declare function isPast(dateStr: string | null | undefined): boolean;
|
|
|
457
455
|
export declare function isFuture(dateStr: string | null | undefined): boolean;
|
|
458
456
|
export declare function formatCurrencyCents(amountCents: number, currency: string): string;
|
|
459
457
|
export declare function formatCreditTransactionType(type: string): string;
|
|
460
|
-
export {};
|