@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
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS: {
|
|
2
|
+
deleteEventOffering: {
|
|
3
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}";
|
|
4
|
+
method: "DELETE";
|
|
5
|
+
auth: "user";
|
|
6
|
+
responseKind: "json";
|
|
7
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
8
|
+
};
|
|
9
|
+
changeEventSeriesContentOwnership: {
|
|
10
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/content-ownership";
|
|
11
|
+
method: "POST";
|
|
12
|
+
auth: "user";
|
|
13
|
+
responseKind: "json";
|
|
14
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
15
|
+
};
|
|
16
|
+
addEventSeriesRegistration: {
|
|
17
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations";
|
|
18
|
+
method: "POST";
|
|
19
|
+
auth: "user";
|
|
20
|
+
responseKind: "json";
|
|
21
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
22
|
+
};
|
|
23
|
+
listEventSeriesRegistrations: {
|
|
24
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations";
|
|
25
|
+
method: "GET";
|
|
26
|
+
auth: "user";
|
|
27
|
+
responseKind: "json";
|
|
28
|
+
};
|
|
29
|
+
exportEventSeriesRegistrationsCsv: {
|
|
30
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/export.csv";
|
|
31
|
+
method: "GET";
|
|
32
|
+
auth: "user";
|
|
33
|
+
errors: never[];
|
|
34
|
+
responseKind: "blob";
|
|
35
|
+
};
|
|
36
|
+
updateEventSeriesRegistration: {
|
|
37
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}";
|
|
38
|
+
method: "PATCH";
|
|
39
|
+
auth: "user";
|
|
40
|
+
responseKind: "json";
|
|
41
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -65,12 +65,11 @@ export { createPage, deletePage, publishPageDraft, discardPageDraft, getPageDesi
|
|
|
65
65
|
export { updateRouteMetadata } from './routes';
|
|
66
66
|
export type { RouteMetadataPayload, RouteMetadataResponse } from './routes';
|
|
67
67
|
export { getBookingSettingsRequest, updateBookingSettingsRequest, createAppointmentRequest, addEventOccurrenceAttendeeRequest, } from './bookings';
|
|
68
|
-
export {
|
|
69
|
-
export { deleteCourseRequest, duplicateCourseRequest } from './bookings';
|
|
70
|
-
export { deleteEventOfferingRequest, addCourseEnrollmentRequest, updateCourseEnrollmentRequest, } from './bookings';
|
|
68
|
+
export { deleteEventOfferingRequest, addEventSeriesRegistrationRequest, updateEventSeriesRegistrationRequest, } from './bookings';
|
|
71
69
|
export type { AppointmentService, AppointmentServiceOnlineDetails, AppointmentServiceOnlineDetailsInput, } from './bookingOperations';
|
|
72
70
|
export type { BookingPricing, BookingPricingInput, BookingPricingOptionInput, BookingSettingsSection, BookingSettingsSectionUpdate, BookingSettingsSectionUpdateRequest, } from './bookingConfig';
|
|
73
71
|
export { BOOKING_SETTINGS_SECTION_LABELS, BOOKING_SETTINGS_SECTION_KEYS, BOOKING_SETTINGS_SECTIONS, DEFAULT_APPOINTMENT_STAFF_DIGEST_LOCAL_SEND_TIME, DEFAULT_BOOKING_NOTIFICATION_SEND_RULE, DEFAULT_BOOKING_NOTIFICATION_SETTINGS, DIRECT_CHECKOUT_COLLECTION_OPTION_KINDS, applyBookingSettingsSectionUpdate, applyBookingSettingsSectionUpdates, createBookingSettingsUpdateRequest, } from './bookingConfig';
|
|
72
|
+
export { bookingPaymentCollectionOptionSchema } from './bookingPaymentTermSchemas';
|
|
74
73
|
export { BOOKING_LEDGER_CANCELLATION_MODE_VALUES, BOOKING_LEDGER_DATE_BASIS_VALUES, BOOKING_LEDGER_KIND_VALUES, BOOKING_LEDGER_PERIOD_PRESET_VALUES, BOOKING_ACTIVITY_CATEGORY_VALUES, BOOKING_ACTIVITY_TYPE_VALUES, BOOKING_QUESTION_ANSWER_EXPORT_SCOPES, BOOKING_QUESTION_ANSWER_EXPORT_SCOPE_VALUES, CUSTOMER_MEMBERSHIP_STATUS_VALUES, CUSTOMER_PASS_STATUS_VALUES, } from './bookingRecords';
|
|
75
74
|
export type { BookingQuestionAnswerExportScopeKind, CreatePersonRecordEntryRequest, ExportBookingQuestionAnswersCsvRequest, } from './bookingRecords';
|
|
76
75
|
export { getEmailSettingsRequest, updateEmailSettingsRequest, sendTestEmailRequest, previewEmailTemplateRequest, } from './emailSettings';
|
|
@@ -119,7 +118,7 @@ export { startImpersonation, stopImpersonation, assignAdminRole, revokeAdminRole
|
|
|
119
118
|
export { enrollTotpFactor, verifyTotpFactor, activateTotpFactor, deleteMfaFactor, rotateBackupCodes, getBackupCodesOverview, enrollPhoneFactor, challengePhoneFactor, verifyPhoneFactor, acceptAdminInvite, } from './auth';
|
|
120
119
|
export type { ApiResult, ApiResponse, ApiError, ApiErrorCode, ApiEnvelopeErrorDetails, FieldError, ResponseMeta, } from './common/envelope';
|
|
121
120
|
export type { JsonPrimitive, JsonValue } from './types';
|
|
122
|
-
export type { PublicEventLoaderParams, PublicRouteCandidate, PublicEventPriceDisplay,
|
|
121
|
+
export type { PublicEventLoaderParams, PublicRouteCandidate, PublicEventPriceDisplay, PublicWholeSeriesPriceDisplay, PublicEventScheduleScope, PublicEventSurfaceScope, } from './types';
|
|
123
122
|
export type * from './giftingDashboard';
|
|
124
123
|
export type * from './indexCoreTypes';
|
|
125
124
|
export type * from './indexExtendedTypes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse,
|
|
1
|
+
export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundEventSeriesRegistrationRequest, EventSeriesRegistrationRefundResult, RefundEventSeriesRegistrationResponse, TransferEventAttendeeRequest, EventAttendeeTransferResult, TransferEventAttendeeResponse, DiscardTeamMemberProfileDraftResponse, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse, OpsEventOccurrenceSummary, EventTicketBreakdownLine, OpsOccurrenceAttendee, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, OpsEventAttendeeCheckinUpdate, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsEventAttendeeDetailsResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResult, OpsCancelEventAttendeeResponse, OpsRefundEventAttendeeResponse, EventAttendeeRefundHistoryItem, ListEventAttendeeRefundsResponse, EventSeriesRegistrationRefundHistoryItem, ListEventSeriesRegistrationRefundsResponse, EventAttendeeTransferHistoryItem, ListEventAttendeeTransfersResponse, EmailTemplateType, EmailTemplate, EmailTemplateInput, EventEmailTemplateType, EventEmailTemplate, GetEventSeriesEmailTemplatesResponse, UpdateEventSeriesEmailTemplatesRequest, UpdateEventSeriesEmailTemplatesResponse, GetEmailSettingsResponse, UpdateEmailSettingsRequest, UpdateEmailSettingsResponse, SendTestEmailRequest, SendTestEmailResponse, PreviewEmailTemplateRequest, PreviewEmailTemplateResponse, AvailabilityScheduleSettings, ServiceSpecificAvailabilityScheduleSettings, ListAvailabilityRulesResponse, WeeklyAvailabilityWindowInput, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, SetWeeklyAvailabilityIssue, AppointmentBlackout, CreateBlackoutRequest, ListBlackoutsResponse, CreateBlackoutResponse, DeleteBlackoutResponse, TimeSlot, GetAvailableSlotsQuery, GetAvailableSlotsResponse, CreateAppointmentRequest, CreateAppointmentResponse, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingQuestionsRequirementConfig, BookingRequirementValidityPolicy, ConsentRequirementConfig, PublicCreateBookingAppointmentRequest, AppointmentRecord, AppointmentStatus, BookingCustomerRecord, BookingSessionUpdateMeRequest, WholeSeriesOfferingStatus, WholeSeriesOfferingMutableStatus, WholeSeriesRunCancellationSettlement, UpdateWholeSeriesOfferingRequest, DeleteWholeSeriesOfferingResponse, DeleteEventOfferingResponse, EventSeriesContentOwnershipBlocker, EventSeriesContentOwnershipRequest, EventSeriesContentOwnershipResponse, WholeSeriesRunRecord, WholeSeriesOfferingRecord, UpdateWholeSeriesOfferingResponse, EventSeriesRegistrationStatus, EventSeriesRegistrationPaymentMethod, EventSeriesRegistrationPaymentStatus, EventSeriesRegistrationRecord, EventSeriesRegistrationWithCustomer, ListEventSeriesRegistrationsResponse, CourseParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CustomerSortColumn, CustomerFilter, ListBookingCustomersRequest, ListBookingCustomersResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, GetMoneyReportRequest, GetMoneyReportResponse, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, BookingActivityCategory, BookingActivityType, BookingActivityCursor, BookingActivityListItem, ListBookingActivityRequest, ListBookingActivityResponse, BookingLedgerKind, BookingLedgerDateBasis, BookingLedgerPeriodPreset, BookingLedgerCancellationMode, ExportBookingLedgerCsvRequest, DiscountCodeType, DiscountPerEmailLimit, DiscountMembershipDuration, DiscountEventScopeMode, DiscountScopeMode, ProductScopeMode, DiscountCodeRecord, DiscountCodeScopeIds, DiscountCodeDetails, AutoAppliedDiscountPreview, EventAutoApplyDiscountPreview, CreateDiscountCodeRequest, UpdateDiscountCodeRequest, ListDiscountCodesResponse, DiscountCodeResponse, DeleteDiscountCodeResponse, DiscountRedemptionStatus, DiscountRedemptionListItem, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, MembershipPaymentForRefund, ListCustomerMembershipPaymentsResponse, CancelCustomerMembershipAtPeriodEndResult, CustomerMembershipPaymentRefundResult, CustomerMembershipPaymentRefundRecord, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, ListCustomerMembershipPaymentRefundsResponse, CustomerAttendanceRecord, CustomerAttendancePayment, CustomerAttendanceLivePayment, CustomerAttendanceArchivedPayment, CustomerAttendancePaymentMethod, CustomerAttendancePaymentStatus, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { EventSeriesRegistrationStatus } from './wholeSeriesOfferings';
|
|
2
2
|
export type ParticipantMessageTarget = {
|
|
3
3
|
kind: 'event_series';
|
|
4
4
|
seriesId: string;
|
|
@@ -11,7 +11,7 @@ export type ParticipantMessageTarget = {
|
|
|
11
11
|
eventSeriesId: string;
|
|
12
12
|
includeStatuses: CourseParticipantMessageStatus[];
|
|
13
13
|
};
|
|
14
|
-
export type CourseParticipantMessageStatus = Extract<
|
|
14
|
+
export type CourseParticipantMessageStatus = Extract<EventSeriesRegistrationStatus, 'enrolled' | 'completed'>;
|
|
15
15
|
export type GetParticipantMessageRecipientsRequest = {
|
|
16
16
|
target: ParticipantMessageTarget;
|
|
17
17
|
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export declare const PUBLIC_EVENT_ENDPOINT_DEFINITIONS: {
|
|
2
|
+
getPublicEventRegistrationOptions: {
|
|
3
|
+
path: "/public/sites/{siteId}/events/registration-options";
|
|
4
|
+
method: "POST";
|
|
5
|
+
tags: ("riverbank:site:{siteId}:public-events" | "event-registration-options")[];
|
|
6
|
+
auth: "public";
|
|
7
|
+
responseKind: "json";
|
|
8
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
9
|
+
};
|
|
2
10
|
resolveEventSubroute: {
|
|
3
11
|
path: "/public/sites/{siteId}/events/subroutes/resolve";
|
|
4
12
|
method: "GET";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
|
-
import type { APIEndpoint } from
|
|
7
|
-
import type { PublicProduct } from
|
|
8
|
-
import type { DiscountsAvailableResponse, PublicDiscountContext } from
|
|
6
|
+
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
+
import type { PublicProduct } from '../../../blocks/src/system/blocks/products/shared';
|
|
8
|
+
import type { DiscountsAvailableResponse, PublicDiscountContext } from './sharedTypes';
|
|
9
9
|
type PublicPassProduct = {
|
|
10
10
|
id: string;
|
|
11
|
-
productUseCase:
|
|
11
|
+
productUseCase: 'event_pass' | 'appointment_package';
|
|
12
12
|
name: string;
|
|
13
13
|
description: string | null;
|
|
14
14
|
price: number;
|
|
@@ -19,10 +19,10 @@ type PublicPassProduct = {
|
|
|
19
19
|
eligibleCategoryIds: string[];
|
|
20
20
|
eligibleCategoryNames: string[];
|
|
21
21
|
} & ({
|
|
22
|
-
purchaseAvailability:
|
|
22
|
+
purchaseAvailability: 'purchasable';
|
|
23
23
|
} | {
|
|
24
|
-
purchaseAvailability:
|
|
25
|
-
unavailabilityReason:
|
|
24
|
+
purchaseAvailability: 'display_only';
|
|
25
|
+
unavailabilityReason: 'online_payments_unavailable';
|
|
26
26
|
});
|
|
27
27
|
export type PublicCommerceAPIEndpoints = {
|
|
28
28
|
listPublicPasses: APIEndpoint<never, {
|
|
@@ -41,7 +41,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
41
41
|
description: string | null;
|
|
42
42
|
price: number;
|
|
43
43
|
currency: string;
|
|
44
|
-
billingInterval:
|
|
44
|
+
billingInterval: 'month' | 'year';
|
|
45
45
|
eligibleCategoryIds: string[];
|
|
46
46
|
eligibleCategoryNames: string[];
|
|
47
47
|
}>;
|
|
@@ -54,11 +54,11 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
54
54
|
productCategoryId?: undefined;
|
|
55
55
|
productCategoryEntryId?: undefined;
|
|
56
56
|
} | {
|
|
57
|
-
productCategoryScope:
|
|
57
|
+
productCategoryScope: 'category';
|
|
58
58
|
productCategoryId: string;
|
|
59
59
|
productCategoryEntryId?: undefined;
|
|
60
60
|
} | {
|
|
61
|
-
productCategoryScope:
|
|
61
|
+
productCategoryScope: 'current-category-page';
|
|
62
62
|
productCategoryEntryId: string;
|
|
63
63
|
productCategoryId?: undefined;
|
|
64
64
|
}), {
|
|
@@ -70,7 +70,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
70
70
|
currency: string;
|
|
71
71
|
giftCards: Array<{
|
|
72
72
|
id: string;
|
|
73
|
-
kind:
|
|
73
|
+
kind: 'gift_card';
|
|
74
74
|
title: string;
|
|
75
75
|
description: string | null;
|
|
76
76
|
sortOrder: number;
|
|
@@ -84,7 +84,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
84
84
|
}>;
|
|
85
85
|
vouchers: Array<{
|
|
86
86
|
id: string;
|
|
87
|
-
kind:
|
|
87
|
+
kind: 'voucher';
|
|
88
88
|
title: string;
|
|
89
89
|
description: string | null;
|
|
90
90
|
sortOrder: number;
|
|
@@ -123,7 +123,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
123
123
|
currency: string;
|
|
124
124
|
}>;
|
|
125
125
|
createShopCheckout: APIEndpoint<{
|
|
126
|
-
productType:
|
|
126
|
+
productType: 'pass' | 'membership';
|
|
127
127
|
productId: string;
|
|
128
128
|
customerEmail: string;
|
|
129
129
|
customerName: string;
|
|
@@ -134,14 +134,14 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
134
134
|
}, {
|
|
135
135
|
siteId: string;
|
|
136
136
|
}, {
|
|
137
|
-
type:
|
|
137
|
+
type: 'redirect';
|
|
138
138
|
checkoutUrl: string;
|
|
139
139
|
sessionId: string;
|
|
140
140
|
} | {
|
|
141
|
-
type:
|
|
141
|
+
type: 'bypassed';
|
|
142
142
|
sessionId: null;
|
|
143
143
|
} | {
|
|
144
|
-
type:
|
|
144
|
+
type: 'duplicate_membership_warning';
|
|
145
145
|
message: string;
|
|
146
146
|
existingMembership: {
|
|
147
147
|
id: string;
|
|
@@ -150,9 +150,9 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
150
150
|
};
|
|
151
151
|
}>;
|
|
152
152
|
createUnifiedCheckout: APIEndpoint<{
|
|
153
|
-
mode:
|
|
153
|
+
mode: 'one_time';
|
|
154
154
|
items: Array<{
|
|
155
|
-
type:
|
|
155
|
+
type: 'event_ticket';
|
|
156
156
|
occurrenceId: string;
|
|
157
157
|
ticketTypeId?: string;
|
|
158
158
|
selectedSlidingAmount?: number;
|
|
@@ -163,17 +163,21 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
163
163
|
formData?: Record<string, unknown>;
|
|
164
164
|
};
|
|
165
165
|
} | {
|
|
166
|
-
type:
|
|
166
|
+
type: 'product';
|
|
167
167
|
productId: string;
|
|
168
168
|
variantId?: string;
|
|
169
169
|
quantity: number;
|
|
170
170
|
} | {
|
|
171
|
-
type:
|
|
171
|
+
type: 'pass';
|
|
172
172
|
passId: string;
|
|
173
173
|
} | {
|
|
174
|
-
type:
|
|
174
|
+
type: 'event_series_registration';
|
|
175
175
|
eventSeriesId: string;
|
|
176
|
-
|
|
176
|
+
attendanceMode: 'inPerson' | 'online';
|
|
177
|
+
ticketSelections: Array<{
|
|
178
|
+
pricingOptionId?: string;
|
|
179
|
+
quantity: number;
|
|
180
|
+
}>;
|
|
177
181
|
selectedSlidingAmount?: number;
|
|
178
182
|
attendeeInfo: {
|
|
179
183
|
email: string;
|
|
@@ -189,7 +193,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
189
193
|
successUrl: string;
|
|
190
194
|
cancelUrl: string;
|
|
191
195
|
} | {
|
|
192
|
-
mode:
|
|
196
|
+
mode: 'subscription';
|
|
193
197
|
membership: {
|
|
194
198
|
membershipId: string;
|
|
195
199
|
};
|
|
@@ -203,13 +207,13 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
203
207
|
}, {
|
|
204
208
|
siteId: string;
|
|
205
209
|
}, {
|
|
206
|
-
type:
|
|
210
|
+
type: 'redirect';
|
|
207
211
|
checkoutUrl: string;
|
|
208
212
|
sessionId: string;
|
|
209
213
|
orderId: string | null;
|
|
210
214
|
orderNumber: string | null;
|
|
211
215
|
} | {
|
|
212
|
-
type:
|
|
216
|
+
type: 'bypassed';
|
|
213
217
|
orderId: string | null;
|
|
214
218
|
orderNumber: string | null;
|
|
215
219
|
}>;
|
|
@@ -230,7 +234,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
230
234
|
}, {
|
|
231
235
|
siteId: string;
|
|
232
236
|
}, {
|
|
233
|
-
type:
|
|
237
|
+
type: 'applied';
|
|
234
238
|
code: string;
|
|
235
239
|
publicLabel: string;
|
|
236
240
|
description: string | null;
|
|
@@ -239,8 +243,8 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
239
243
|
totalAfterDiscountCents: number;
|
|
240
244
|
currency: string;
|
|
241
245
|
} | {
|
|
242
|
-
type:
|
|
243
|
-
reason:
|
|
246
|
+
type: 'rejected';
|
|
247
|
+
reason: 'invalid_or_not_applicable' | 'unavailable' | 'unknown';
|
|
244
248
|
message: string;
|
|
245
249
|
}>;
|
|
246
250
|
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
6
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
+
import type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse } from '../../../blocks/src/system/blocks/event-registration';
|
|
7
8
|
import type { BookingConsent, PublicEventBookingAvailability, PublicEventPricing } from '../../../core/src/index';
|
|
8
9
|
import type { PublicEventDestination } from '../event-listing-destination';
|
|
9
10
|
import type { BookingPaymentTermsConfig, BookingPricing, DirectCheckoutCollectionOptionKind, EventAttendanceMode, EventDeliveryMode, EventPricingMode, PublicEventEligibilityTicketTypeRecord, PublicEventTicketTypeRecord } from '../bookingConfig';
|
|
@@ -161,8 +162,15 @@ export type PublicEventAPIEndpoints = {
|
|
|
161
162
|
} | null;
|
|
162
163
|
}>;
|
|
163
164
|
registerForEvent: APIEndpoint<{
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
subject: {
|
|
166
|
+
kind: 'occurrence';
|
|
167
|
+
occurrenceId: string;
|
|
168
|
+
attendanceMode?: EventAttendanceMode;
|
|
169
|
+
} | {
|
|
170
|
+
kind: 'wholeSeries';
|
|
171
|
+
eventSeriesId: string;
|
|
172
|
+
attendanceMode?: EventAttendanceMode;
|
|
173
|
+
};
|
|
166
174
|
selectedSlidingAmount?: number;
|
|
167
175
|
email: string;
|
|
168
176
|
name: string;
|
|
@@ -186,6 +194,7 @@ export type PublicEventAPIEndpoints = {
|
|
|
186
194
|
siteId: string;
|
|
187
195
|
}, {
|
|
188
196
|
success: boolean;
|
|
197
|
+
scope: 'occurrence';
|
|
189
198
|
attendeeId: string;
|
|
190
199
|
status: 'confirmed';
|
|
191
200
|
paymentMethod: 'free' | 'pass' | 'membership' | 'stripe' | 'pass_bundle' | 'membership_bundle';
|
|
@@ -197,26 +206,86 @@ export type PublicEventAPIEndpoints = {
|
|
|
197
206
|
message: string;
|
|
198
207
|
} | {
|
|
199
208
|
success: boolean;
|
|
209
|
+
scope: 'occurrence';
|
|
200
210
|
attendeeId: string;
|
|
201
211
|
status: 'waitlist';
|
|
202
212
|
waitlistPosition: number | null;
|
|
203
213
|
alreadyRegistered?: boolean;
|
|
204
214
|
message: string;
|
|
215
|
+
} | {
|
|
216
|
+
success: boolean;
|
|
217
|
+
scope: 'wholeSeries';
|
|
218
|
+
registrationId: string;
|
|
219
|
+
status: 'confirmed';
|
|
220
|
+
paymentMethod: 'free' | 'membership';
|
|
221
|
+
pendingPayment: false;
|
|
222
|
+
alreadyRegistered?: boolean;
|
|
223
|
+
ticketLines: EventTicketLineSummaryResponse[];
|
|
224
|
+
message: string;
|
|
225
|
+
} | {
|
|
226
|
+
success: boolean;
|
|
227
|
+
scope: 'wholeSeries';
|
|
228
|
+
waitlistEntryId: string;
|
|
229
|
+
status: 'waitlist';
|
|
230
|
+
waitlistPosition: number | null;
|
|
231
|
+
alreadyRegistered?: boolean;
|
|
232
|
+
message: string;
|
|
205
233
|
}>;
|
|
206
234
|
createPublicEventCheckout: APIEndpoint<{
|
|
207
|
-
|
|
235
|
+
subject: {
|
|
236
|
+
kind: 'occurrence';
|
|
237
|
+
attendeeId: string;
|
|
238
|
+
};
|
|
208
239
|
checkoutType?: 'event' | 'pass_bundle' | 'membership_bundle';
|
|
209
240
|
productId?: string;
|
|
210
241
|
discountCode?: string;
|
|
211
242
|
collectionOptionKind?: DirectCheckoutCollectionOptionKind;
|
|
212
243
|
successUrl: string;
|
|
213
244
|
cancelUrl: string;
|
|
245
|
+
} | {
|
|
246
|
+
subject: {
|
|
247
|
+
kind: 'wholeSeries';
|
|
248
|
+
eventSeriesId: string;
|
|
249
|
+
attendanceMode?: EventAttendanceMode;
|
|
250
|
+
};
|
|
251
|
+
ticketSelections: EventTicketSelectionRequest[];
|
|
252
|
+
selectedSlidingAmount?: number;
|
|
253
|
+
email: string;
|
|
254
|
+
name: string;
|
|
255
|
+
phone?: string;
|
|
256
|
+
formData?: Record<string, unknown>;
|
|
257
|
+
consentAccepted?: boolean;
|
|
258
|
+
altchaSolution?: string | null;
|
|
259
|
+
guests?: Array<{
|
|
260
|
+
name: string;
|
|
261
|
+
email?: string | null;
|
|
262
|
+
phone?: string | null;
|
|
263
|
+
}>;
|
|
264
|
+
claimToken?: string;
|
|
265
|
+
discountCode?: string;
|
|
266
|
+
collectionOptionKind: DirectCheckoutCollectionOptionKind;
|
|
267
|
+
successUrl: string;
|
|
268
|
+
cancelUrl: string;
|
|
214
269
|
}, {
|
|
215
270
|
siteId: string;
|
|
216
271
|
}, {
|
|
272
|
+
scope: 'occurrence';
|
|
273
|
+
attendeeId: string;
|
|
274
|
+
checkoutUrl: string | null;
|
|
275
|
+
sessionId: string | null;
|
|
276
|
+
bypassed: boolean;
|
|
277
|
+
} | {
|
|
278
|
+
scope: 'wholeSeries';
|
|
279
|
+
registrationId: string;
|
|
217
280
|
checkoutUrl: string | null;
|
|
218
281
|
sessionId: string | null;
|
|
219
282
|
bypassed: boolean;
|
|
283
|
+
} | {
|
|
284
|
+
scope: 'wholeSeries';
|
|
285
|
+
status: 'waitlist';
|
|
286
|
+
waitlistEntryId: string;
|
|
287
|
+
waitlistPosition: number | null;
|
|
288
|
+
alreadyRegistered?: boolean;
|
|
220
289
|
}>;
|
|
221
290
|
checkPublicEventEligibility: APIEndpoint<{
|
|
222
291
|
occurrenceId: string;
|
|
@@ -274,12 +343,21 @@ export type PublicEventAPIEndpoints = {
|
|
|
274
343
|
};
|
|
275
344
|
};
|
|
276
345
|
}>;
|
|
346
|
+
getPublicEventRegistrationOptions: APIEndpoint<PublicEventRegistrationOptionsRequest, {
|
|
347
|
+
siteId: string;
|
|
348
|
+
}, PublicEventRegistrationOptionsResponse>;
|
|
277
349
|
getPublicEventRegistrationStatus: APIEndpoint<never, {
|
|
278
350
|
siteId: string;
|
|
351
|
+
} & ({
|
|
352
|
+
scope: 'occurrence';
|
|
279
353
|
attendeeId: string;
|
|
280
|
-
}
|
|
354
|
+
} | {
|
|
355
|
+
scope: 'wholeSeries';
|
|
356
|
+
registrationId: string;
|
|
357
|
+
}), {
|
|
358
|
+
scope: 'occurrence' | 'wholeSeries';
|
|
281
359
|
paymentStatus: 'not_required' | 'pending' | 'completed' | 'failed' | 'refunded';
|
|
282
|
-
attendeeStatus: 'confirmed' | 'waitlist' | 'cancelled';
|
|
360
|
+
attendeeStatus: 'pending' | 'confirmed' | 'waitlist' | 'cancelled';
|
|
283
361
|
waitlistPosition: number | null;
|
|
284
362
|
}>;
|
|
285
363
|
getPublicEventTicketQrSvg: APIEndpoint<never, {
|
|
@@ -287,3 +365,5 @@ export type PublicEventAPIEndpoints = {
|
|
|
287
365
|
token: string;
|
|
288
366
|
}, string>;
|
|
289
367
|
};
|
|
368
|
+
export type PublicEventRegistrationOptionsRequest = EventRegistrationOptionsRequest;
|
|
369
|
+
export type PublicEventRegistrationOptionsResponse = EventRegistrationOptionsResponse;
|
|
@@ -18,7 +18,7 @@ export type EventTicketLineSummaryResponse = {
|
|
|
18
18
|
subtotalCents: number;
|
|
19
19
|
currency: string;
|
|
20
20
|
};
|
|
21
|
-
export type {
|
|
21
|
+
export type { PublicWholeSeriesPriceDisplay, PublicEventPriceDisplay, PublicEventPricing, } from '../../../core/src/index';
|
|
22
22
|
/** Query parameters accepted by the public event list loaders. */
|
|
23
23
|
export type PublicEventLoaderParams = {
|
|
24
24
|
limit?: string;
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
6
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
+
import type { PublicWaitlistClaimResponse } from '../../../commerce/src/index';
|
|
8
|
+
import type { BookingConsent } from '../../../core/src/index';
|
|
7
9
|
import type { BookingPaymentTermsConfig, BookingPricing } from '../bookingConfig';
|
|
8
|
-
import type {
|
|
10
|
+
import type { PublicWholeSeriesOfferingDetails } from '../wholeSeriesOfferings';
|
|
9
11
|
import type { PublicTeamMemberSummary } from '../teamMembers';
|
|
10
|
-
import type { WholeSeriesEligibilityResponse } from './sharedTypes';
|
|
11
12
|
export type PublicWholeSeriesAPIEndpoints = {
|
|
12
13
|
listPublicWholeSeriesOfferings: APIEndpoint<never, {
|
|
13
14
|
siteId: string;
|
|
@@ -20,11 +21,15 @@ export type PublicWholeSeriesAPIEndpoints = {
|
|
|
20
21
|
title: string;
|
|
21
22
|
slug: string;
|
|
22
23
|
description: unknown;
|
|
24
|
+
deliveryMode: 'in_person' | 'online' | 'hybrid';
|
|
25
|
+
waitlistEnabled: boolean;
|
|
26
|
+
requireGuestDetails: boolean;
|
|
23
27
|
teamMembers?: PublicTeamMemberSummary[];
|
|
24
28
|
enrollmentOpen: boolean;
|
|
25
29
|
pricing: BookingPricing;
|
|
26
30
|
currency: string;
|
|
27
31
|
paymentTerms: BookingPaymentTermsConfig;
|
|
32
|
+
consent: BookingConsent | null;
|
|
28
33
|
enrollmentCapacity: number | null;
|
|
29
34
|
acceptsMemberships: boolean;
|
|
30
35
|
status: string;
|
|
@@ -50,107 +55,11 @@ export type PublicWholeSeriesAPIEndpoints = {
|
|
|
50
55
|
eventSeriesId: string;
|
|
51
56
|
stage?: string;
|
|
52
57
|
}, {
|
|
53
|
-
offering:
|
|
54
|
-
}>;
|
|
55
|
-
registerForWholeSeries: APIEndpoint<{
|
|
56
|
-
eventSeriesId: string;
|
|
57
|
-
pricingOptionId?: string;
|
|
58
|
-
selectedSlidingAmount?: number;
|
|
59
|
-
email: string;
|
|
60
|
-
name: string;
|
|
61
|
-
phone?: string;
|
|
62
|
-
formData?: Record<string, unknown>;
|
|
63
|
-
consentAccepted?: boolean;
|
|
64
|
-
altchaSolution?: string | null;
|
|
65
|
-
paymentMethod?: 'free' | 'membership';
|
|
66
|
-
customerMembershipId?: string;
|
|
67
|
-
claimToken?: string;
|
|
68
|
-
}, {
|
|
69
|
-
siteId: string;
|
|
70
|
-
}, {
|
|
71
|
-
enrollmentId: string;
|
|
72
|
-
status: 'enrolled';
|
|
73
|
-
waitlistPosition?: number | null;
|
|
74
|
-
courseTitle: string;
|
|
75
|
-
sessionsCount: number;
|
|
76
|
-
paymentMethod: 'free' | 'membership' | 'stripe';
|
|
77
|
-
pendingPayment: boolean;
|
|
78
|
-
message: string;
|
|
79
|
-
} | {
|
|
80
|
-
status: 'waitlist';
|
|
81
|
-
waitlistPosition?: number | null;
|
|
82
|
-
courseTitle: string;
|
|
83
|
-
sessionsCount: number;
|
|
84
|
-
paymentMethod: 'free';
|
|
85
|
-
pendingPayment: false;
|
|
86
|
-
message: string;
|
|
58
|
+
offering: PublicWholeSeriesOfferingDetails;
|
|
87
59
|
}>;
|
|
88
60
|
resolveWaitlistClaim: APIEndpoint<{
|
|
89
61
|
claimToken: string;
|
|
90
62
|
}, {
|
|
91
63
|
siteId: string;
|
|
92
|
-
},
|
|
93
|
-
subject: {
|
|
94
|
-
kind: 'event_occurrence';
|
|
95
|
-
occurrenceId: string;
|
|
96
|
-
} | {
|
|
97
|
-
kind: 'whole_series';
|
|
98
|
-
eventSeriesId: string;
|
|
99
|
-
};
|
|
100
|
-
expiresAt: string;
|
|
101
|
-
customer: {
|
|
102
|
-
email: string;
|
|
103
|
-
name: string;
|
|
104
|
-
phone: string | null;
|
|
105
|
-
};
|
|
106
|
-
prefill: {
|
|
107
|
-
email: string;
|
|
108
|
-
name: string;
|
|
109
|
-
phone: string | null;
|
|
110
|
-
notes: string | null;
|
|
111
|
-
guests: Array<{
|
|
112
|
-
name: string;
|
|
113
|
-
email?: string | null;
|
|
114
|
-
phone: string | null;
|
|
115
|
-
}>;
|
|
116
|
-
};
|
|
117
|
-
}>;
|
|
118
|
-
checkWholeSeriesEligibility: APIEndpoint<{
|
|
119
|
-
eventSeriesId: string;
|
|
120
|
-
}, {
|
|
121
|
-
siteId: string;
|
|
122
|
-
}, WholeSeriesEligibilityResponse>;
|
|
123
|
-
createWholeSeriesCheckout: APIEndpoint<{
|
|
124
|
-
eventSeriesId: string;
|
|
125
|
-
pricingOptionId?: string;
|
|
126
|
-
selectedSlidingAmount?: number;
|
|
127
|
-
email: string;
|
|
128
|
-
name: string;
|
|
129
|
-
phone?: string;
|
|
130
|
-
formData?: Record<string, unknown>;
|
|
131
|
-
consentAccepted?: boolean;
|
|
132
|
-
altchaSolution?: string | null;
|
|
133
|
-
discountCode?: string;
|
|
134
|
-
successUrl: string;
|
|
135
|
-
cancelUrl: string;
|
|
136
|
-
claimToken?: string;
|
|
137
|
-
}, {
|
|
138
|
-
siteId: string;
|
|
139
|
-
}, {
|
|
140
|
-
checkoutUrl: string | null;
|
|
141
|
-
sessionId: string | null;
|
|
142
|
-
enrollmentId: string;
|
|
143
|
-
bypassed: boolean;
|
|
144
|
-
}>;
|
|
145
|
-
getWholeSeriesRegistrationStatus: APIEndpoint<never, {
|
|
146
|
-
siteId: string;
|
|
147
|
-
sessionId: string;
|
|
148
|
-
}, {
|
|
149
|
-
enrollmentId: string;
|
|
150
|
-
eventSeriesId: string;
|
|
151
|
-
courseTitle: string;
|
|
152
|
-
status: 'pending_payment' | 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
|
|
153
|
-
paymentMethod: 'free' | 'membership' | 'stripe' | null;
|
|
154
|
-
paymentStatus: 'pending' | 'completed' | 'failed' | 'not_required' | 'refunded' | null;
|
|
155
|
-
}>;
|
|
64
|
+
}, PublicWaitlistClaimResponse>;
|
|
156
65
|
};
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
* The endpoint declarations live in `./publicExperience/*`, grouped by surface, and are
|
|
6
6
|
* merged here. This module stays the single import site for consumers.
|
|
7
7
|
*/
|
|
8
|
-
import type { PublicCommerceAPIEndpoints } from
|
|
9
|
-
import type { PublicWholeSeriesAPIEndpoints } from
|
|
10
|
-
import type { PublicEventAPIEndpoints } from
|
|
11
|
-
import type { PublicNewsletterAPIEndpoints } from
|
|
12
|
-
import type { PublicSiteAPIEndpoints } from
|
|
13
|
-
export * from
|
|
8
|
+
import type { PublicCommerceAPIEndpoints } from './publicExperience/commerceEndpoints';
|
|
9
|
+
import type { PublicWholeSeriesAPIEndpoints } from './publicExperience/wholeSeriesEndpoints';
|
|
10
|
+
import type { PublicEventAPIEndpoints } from './publicExperience/eventEndpoints';
|
|
11
|
+
import type { PublicNewsletterAPIEndpoints } from './publicExperience/newsletterEndpoints';
|
|
12
|
+
import type { PublicSiteAPIEndpoints } from './publicExperience/siteEndpoints';
|
|
13
|
+
export * from './publicExperience/sharedTypes';
|
|
14
|
+
export type { PublicEventRegistrationOptionsRequest, PublicEventRegistrationOptionsResponse, } from './publicExperience/eventEndpoints';
|
|
14
15
|
export type PublicExperienceAPIEndpoints = PublicEventAPIEndpoints & PublicWholeSeriesAPIEndpoints & PublicCommerceAPIEndpoints & PublicSiteAPIEndpoints & PublicNewsletterAPIEndpoints;
|