@riverbankcms/sdk 0.134.0 → 0.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -3
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DfRhJPFQ.mjs → PreviewEditorSidebar-roNY0GVy.mjs} +4 -4
- package/dist/{PreviewEditorUI-Dppxcr_g.mjs → PreviewEditorUI-KboDbEh_.mjs} +3 -3
- package/dist/{PreviewQueryProvider-D51gQaG3.mjs → PreviewQueryProvider-DcgaESkm.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-8CyGCXir.mjs → SdkPreviewModeRuntime-DBrF7Caa.mjs} +5 -5
- package/dist/{SiteChromeCustomizeContext-DVMTMvqA.mjs → SiteChromeCustomizeContext-DrIEpJKn.mjs} +4070 -8011
- 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 +10 -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 +6 -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-BQqwi8Oa.mjs} +180 -4
- package/dist/client/{DiscountCodeDisclosure-CfuPOHD0.mjs → DiscountCodeDisclosure-B97aMo0V.mjs} +13 -27
- package/dist/client/{EventCombined.client-DB8Qfzi-.mjs → EventCombined.client-Bs2Iw9Q6.mjs} +3 -3
- package/dist/client/{EventListing.client-DD4X8hp4.mjs → EventListing.client-C4QUQdmg.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-QhgIBQbv.mjs → LeafletStaticMap-CwWRk69M.mjs} +1 -1
- package/dist/client/{accordion-DFXpLvwg.mjs → accordion-BA0j8Mpw.mjs} +1 -1
- package/dist/client/{bookingForm-sI05d3lk.mjs → bookingForm-Br2e41H0.mjs} +6 -7
- package/dist/client/bookings.mjs +912 -1906
- package/dist/client/{carousel-wjyWTZCh.mjs → carousel-B4dmwnpD.mjs} +1 -1
- package/dist/client/{cart-DCwdpA4i.mjs → cart-B_ckGW4b.mjs} +3 -3
- package/dist/client/{checkout-DTDW3l0R.mjs → checkout-DAyspHdf.mjs} +3 -3
- package/dist/client/{checkoutUrls-DQYC_Br-.mjs → checkoutUrls-BuseL0dw.mjs} +4 -2
- package/dist/client/client.mjs +5074 -9309
- package/dist/client/{context-TSK1CGx8.mjs → context-DljQn8L5.mjs} +15 -69
- package/dist/client/{eventCalendar-B0Zg-i_w.mjs → eventCalendar-pJu3FUod.mjs} +5 -5
- package/dist/client/{eventCombined-B8Y2wizd.mjs → eventCombined-B6Kacm9F.mjs} +3 -3
- package/dist/client/{eventDetails-DPDOwURJ.mjs → eventDetails-CaX9z1pv.mjs} +8 -8
- package/dist/client/{eventListing-CjBcmSLn.mjs → eventListing-B9aXPO-I.mjs} +3 -3
- package/dist/client/{eventRegistration-CK30HsAq.mjs → eventRegistration-CBSovBkg.mjs} +4522 -3690
- package/dist/client/{form-CUXfsABE.mjs → form-Cm0tu_7o.mjs} +2 -2
- package/dist/client/{headerSection-N-mN3rjr.mjs → headerSection-OgRtHeKS.mjs} +2 -2
- package/dist/client/hooks.mjs +430 -692
- package/dist/client/{locationMap-oiIDQMBt.mjs → locationMap-DmjcYqNM.mjs} +2 -2
- package/dist/client/{newsletterForm-CkQ2tTrM.mjs → newsletterForm-D08OZQAC.mjs} +2 -2
- package/dist/client/{productDetail-CnidyrsN.mjs → productDetail-BqZeu2P4.mjs} +3 -3
- package/dist/client/{productList-CttYcS_S.mjs → productList-mNyIF9FG.mjs} +3 -3
- package/dist/client/{propsDecoder-CeUMxI9a.mjs → propsDecoder-DwHXRm9X.mjs} +4656 -4419
- package/dist/client/rendering/client.mjs +59504 -62158
- package/dist/client/rendering/islands.mjs +17 -19
- package/dist/client/rendering.mjs +5354 -9683
- package/dist/client/{scrollToBlock-lPr1oqxB.mjs → scrollToBlock-DtmdM3v-.mjs} +2 -2
- package/dist/client/{shop-DXQtMo2O.mjs → shop-CNjZK16F.mjs} +6 -6
- package/dist/client/{shop-commerce-quDL411J.mjs → shop-commerce-DkNNao1J.mjs} +6 -6
- package/dist/client/{shop-commerce-store-Dnu-8Iub.mjs → shop-commerce-store-9WA--zuW.mjs} +1 -1
- package/dist/client/{shopShared-BWPUURvG.mjs → shopShared-CHCVfccY.mjs} +3 -3
- package/dist/client/{useEventFilters-DRhWp2_5.mjs → useEventFilters-DvuaB4ZN.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-3GhW4knb.mjs} +2 -2
- package/dist/{separator-CMhj6BTi.mjs → separator-D3bCWYYb.mjs} +1 -1
- package/dist/server/components.mjs +535 -2950
- package/dist/server/config-validation.mjs +430 -692
- package/dist/server/config.mjs +430 -692
- package/dist/server/data.mjs +430 -692
- package/dist/server/index.mjs +41 -162
- package/dist/server/next.mjs +549 -2964
- package/dist/server/page-converter.mjs +331 -560
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +534 -2855
- package/dist/server/rendering.mjs +535 -2950
- package/dist/server/routing.mjs +574 -1065
- package/dist/server/server.mjs +444 -706
- 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,123 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bookingDepositRefundPolicySchema: z.ZodEnum<{
|
|
3
|
+
refundable: "refundable";
|
|
4
|
+
non_refundable: "non_refundable";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const bookingInstalmentPlanSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
8
|
+
depositAmountCents: z.ZodNumber;
|
|
9
|
+
depositRefundability: z.ZodEnum<{
|
|
10
|
+
refundable: "refundable";
|
|
11
|
+
non_refundable: "non_refundable";
|
|
12
|
+
}>;
|
|
13
|
+
remainderDueCount: z.ZodNumber;
|
|
14
|
+
intervalUnit: z.ZodEnum<{
|
|
15
|
+
day: "day";
|
|
16
|
+
week: "week";
|
|
17
|
+
month: "month";
|
|
18
|
+
}>;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
21
|
+
depositAmountCents: z.ZodNumber;
|
|
22
|
+
depositRefundability: z.ZodEnum<{
|
|
23
|
+
refundable: "refundable";
|
|
24
|
+
non_refundable: "non_refundable";
|
|
25
|
+
}>;
|
|
26
|
+
instalmentCount: z.ZodNumber;
|
|
27
|
+
intervalCount: z.ZodNumber;
|
|
28
|
+
intervalUnit: z.ZodEnum<{
|
|
29
|
+
day: "day";
|
|
30
|
+
week: "week";
|
|
31
|
+
month: "month";
|
|
32
|
+
}>;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
35
|
+
instalmentCount: z.ZodNumber;
|
|
36
|
+
intervalCount: z.ZodNumber;
|
|
37
|
+
intervalUnit: z.ZodEnum<{
|
|
38
|
+
day: "day";
|
|
39
|
+
week: "week";
|
|
40
|
+
month: "month";
|
|
41
|
+
}>;
|
|
42
|
+
}, z.core.$strip>], "kind">;
|
|
43
|
+
export declare const bookingFlexibleBalanceDueDateRuleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
45
|
+
daysBeforeStart: z.ZodNumber;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
48
|
+
dueAt: z.ZodString;
|
|
49
|
+
}, z.core.$strip>], "kind">;
|
|
50
|
+
export declare const bookingFlexibleBalanceConfigSchema: z.ZodObject<{
|
|
51
|
+
upfrontAmountCents: z.ZodNumber;
|
|
52
|
+
dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
54
|
+
daysBeforeStart: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
57
|
+
dueAt: z.ZodString;
|
|
58
|
+
}, z.core.$strip>], "kind">;
|
|
59
|
+
depositRefundability: z.ZodEnum<{
|
|
60
|
+
refundable: "refundable";
|
|
61
|
+
non_refundable: "non_refundable";
|
|
62
|
+
}>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
export declare const bookingPaymentCollectionOptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
|
+
kind: z.ZodLiteral<"upfront">;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
kind: z.ZodLiteral<"deferred_manual">;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
kind: z.ZodLiteral<"instalment_plan">;
|
|
70
|
+
plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
71
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
72
|
+
depositAmountCents: z.ZodNumber;
|
|
73
|
+
depositRefundability: z.ZodEnum<{
|
|
74
|
+
refundable: "refundable";
|
|
75
|
+
non_refundable: "non_refundable";
|
|
76
|
+
}>;
|
|
77
|
+
remainderDueCount: z.ZodNumber;
|
|
78
|
+
intervalUnit: z.ZodEnum<{
|
|
79
|
+
day: "day";
|
|
80
|
+
week: "week";
|
|
81
|
+
month: "month";
|
|
82
|
+
}>;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
85
|
+
depositAmountCents: z.ZodNumber;
|
|
86
|
+
depositRefundability: z.ZodEnum<{
|
|
87
|
+
refundable: "refundable";
|
|
88
|
+
non_refundable: "non_refundable";
|
|
89
|
+
}>;
|
|
90
|
+
instalmentCount: z.ZodNumber;
|
|
91
|
+
intervalCount: z.ZodNumber;
|
|
92
|
+
intervalUnit: z.ZodEnum<{
|
|
93
|
+
day: "day";
|
|
94
|
+
week: "week";
|
|
95
|
+
month: "month";
|
|
96
|
+
}>;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
99
|
+
instalmentCount: z.ZodNumber;
|
|
100
|
+
intervalCount: z.ZodNumber;
|
|
101
|
+
intervalUnit: z.ZodEnum<{
|
|
102
|
+
day: "day";
|
|
103
|
+
week: "week";
|
|
104
|
+
month: "month";
|
|
105
|
+
}>;
|
|
106
|
+
}, z.core.$strip>], "kind">;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
kind: z.ZodLiteral<"flexible_balance">;
|
|
109
|
+
config: z.ZodObject<{
|
|
110
|
+
upfrontAmountCents: z.ZodNumber;
|
|
111
|
+
dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
113
|
+
daysBeforeStart: z.ZodNumber;
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
116
|
+
dueAt: z.ZodString;
|
|
117
|
+
}, z.core.$strip>], "kind">;
|
|
118
|
+
depositRefundability: z.ZodEnum<{
|
|
119
|
+
refundable: "refundable";
|
|
120
|
+
non_refundable: "non_refundable";
|
|
121
|
+
}>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
}, z.core.$strip>], "kind">;
|
|
@@ -34,14 +34,14 @@ export type FlexibleBalanceAdminActionPlan = {
|
|
|
34
34
|
} | {
|
|
35
35
|
kind: 'cancel_plan';
|
|
36
36
|
target: {
|
|
37
|
-
kind: 'appointment' | 'event_attendee' | '
|
|
37
|
+
kind: 'appointment' | 'event_attendee' | 'event_series_registration';
|
|
38
38
|
orderId: string;
|
|
39
39
|
orderItemId: string;
|
|
40
40
|
};
|
|
41
41
|
} | {
|
|
42
42
|
kind: 'reopen_plan';
|
|
43
43
|
target: {
|
|
44
|
-
kind: 'appointment' | 'event_attendee' | '
|
|
44
|
+
kind: 'appointment' | 'event_attendee' | 'event_series_registration';
|
|
45
45
|
orderId: string;
|
|
46
46
|
orderItemId: string;
|
|
47
47
|
};
|
|
@@ -437,7 +437,7 @@ export type CustomerBookingActivitySummary = {
|
|
|
437
437
|
nextUpcomingBookingAt: string | null;
|
|
438
438
|
appointmentBookingsCount: number;
|
|
439
439
|
eventRegistrationsCount: number;
|
|
440
|
-
|
|
440
|
+
eventSeriesRegistrationsCount: number;
|
|
441
441
|
cancelledBookingsCount: number;
|
|
442
442
|
noShowBookingsCount: number | null;
|
|
443
443
|
completedBookingsCount: number;
|
|
@@ -515,7 +515,7 @@ export type CustomerContactChange = {
|
|
|
515
515
|
before: string | null;
|
|
516
516
|
after: string | null;
|
|
517
517
|
};
|
|
518
|
-
export type CustomerProfileRectificationSourceSurface = 'appointment_booking' | 'event_registration' | 'retreat_registration' | '
|
|
518
|
+
export type CustomerProfileRectificationSourceSurface = 'appointment_booking' | 'event_registration' | 'retreat_registration' | 'event_series_registration';
|
|
519
519
|
export type CustomerProfileRectificationSourceContext = {
|
|
520
520
|
surface: CustomerProfileRectificationSourceSurface;
|
|
521
521
|
};
|
|
@@ -697,7 +697,7 @@ export type EventCategoryResponse = {
|
|
|
697
697
|
};
|
|
698
698
|
export declare const BOOKING_ACTIVITY_CATEGORY_VALUES: readonly ["booking", "purchase", "cancellation", "refund", "transfer", "failure"];
|
|
699
699
|
export type BookingActivityCategory = (typeof BOOKING_ACTIVITY_CATEGORY_VALUES)[number];
|
|
700
|
-
export declare const BOOKING_ACTIVITY_TYPE_VALUES: readonly ["appointment_booked", "appointment_cancelled", "booking_closure_created", "booking_closure_removed", "event_registration", "event_registration_cancelled", "
|
|
700
|
+
export declare const BOOKING_ACTIVITY_TYPE_VALUES: readonly ["appointment_booked", "appointment_cancelled", "booking_closure_created", "booking_closure_removed", "event_registration", "event_registration_cancelled", "event_series_registration", "event_series_registration_cancelled", "pass_purchased", "membership_started", "membership_paused", "membership_cancelled", "event_refund", "pass_refund", "membership_refund", "course_refund", "ticket_transfer", "payment_failed"];
|
|
701
701
|
export type BookingActivityType = (typeof BOOKING_ACTIVITY_TYPE_VALUES)[number];
|
|
702
702
|
export type BookingActivityCursor = {
|
|
703
703
|
occurredAt: string;
|
|
@@ -721,7 +721,7 @@ export type BookingActivityListItem = {
|
|
|
721
721
|
eventOfferingId: string | null;
|
|
722
722
|
eventSeriesId: string | null;
|
|
723
723
|
eventOccurrenceId: string | null;
|
|
724
|
-
|
|
724
|
+
eventSeriesRegistrationId: string | null;
|
|
725
725
|
customerPassId: string | null;
|
|
726
726
|
passId: string | null;
|
|
727
727
|
customerMembershipId: string | null;
|
|
@@ -746,7 +746,7 @@ export type ListBookingActivityResponse = {
|
|
|
746
746
|
nextCursor: string | null;
|
|
747
747
|
};
|
|
748
748
|
};
|
|
749
|
-
export declare const BOOKING_LEDGER_KIND_VALUES: readonly ["appointment", "event_registration", "
|
|
749
|
+
export declare const BOOKING_LEDGER_KIND_VALUES: readonly ["appointment", "event_registration", "event_series_registration"];
|
|
750
750
|
export type BookingLedgerKind = (typeof BOOKING_LEDGER_KIND_VALUES)[number];
|
|
751
751
|
export declare const BOOKING_LEDGER_DATE_BASIS_VALUES: readonly ["created_at", "scheduled_at", "cancelled_at"];
|
|
752
752
|
export type BookingLedgerDateBasis = (typeof BOOKING_LEDGER_DATE_BASIS_VALUES)[number];
|
|
@@ -810,7 +810,7 @@ export type AdjustCustomerCreditResponse = {
|
|
|
810
810
|
summary: BookingCustomerCreditSummary | null;
|
|
811
811
|
};
|
|
812
812
|
export type MoneyPeriodPreset = '1d' | '7d' | '30d' | '90d' | '365d';
|
|
813
|
-
export type MoneyItemKind = 'event' | '
|
|
813
|
+
export type MoneyItemKind = 'event' | 'event_series_registration' | 'pass' | 'membership' | 'product';
|
|
814
814
|
export type MoneyPaymentsView = 'successful' | 'refunds' | 'all';
|
|
815
815
|
export type MoneyTimeSeriesGranularity = 'day' | 'week' | 'month';
|
|
816
816
|
export type MoneyBreakdownDimension = 'item_kind' | 'event' | 'event_category' | 'venue' | 'pass' | 'membership' | 'product' | 'discount_code';
|
|
@@ -900,10 +900,10 @@ export type MoneyPaymentListItem = {
|
|
|
900
900
|
sourceLabel: string;
|
|
901
901
|
eventAttendeeId: string;
|
|
902
902
|
} | {
|
|
903
|
-
kind: '
|
|
903
|
+
kind: 'event_series_registration';
|
|
904
904
|
sourceLabel: string;
|
|
905
905
|
eventSeriesId: string;
|
|
906
|
-
|
|
906
|
+
eventSeriesRegistrationId: string;
|
|
907
907
|
} | {
|
|
908
908
|
kind: 'pass';
|
|
909
909
|
sourceLabel: string;
|
|
@@ -932,10 +932,10 @@ export type MoneyPaymentListItem = {
|
|
|
932
932
|
sourceLabel: string;
|
|
933
933
|
eventAttendeeId: string;
|
|
934
934
|
} | {
|
|
935
|
-
kind: '
|
|
935
|
+
kind: 'event_series_registration';
|
|
936
936
|
sourceLabel: string;
|
|
937
937
|
eventSeriesId: string;
|
|
938
|
-
|
|
938
|
+
eventSeriesRegistrationId: string;
|
|
939
939
|
} | {
|
|
940
940
|
kind: 'pass';
|
|
941
941
|
sourceLabel: string;
|
|
@@ -1113,7 +1113,7 @@ export type DiscountRedemptionListItem = {
|
|
|
1113
1113
|
status: DiscountRedemptionStatus;
|
|
1114
1114
|
reservedExpiresAt: string | null;
|
|
1115
1115
|
eventAttendeeId: string | null;
|
|
1116
|
-
|
|
1116
|
+
eventSeriesRegistrationId: string | null;
|
|
1117
1117
|
customerPassId: string | null;
|
|
1118
1118
|
customerMembershipId: string | null;
|
|
1119
1119
|
stripeCheckoutSessionId: string | null;
|
|
@@ -13,13 +13,13 @@ export type CustomerPassRefundErrorCode = CustomerPassRefundFailedCode | Custome
|
|
|
13
13
|
export declare const EVENT_ATTENDEE_REFUND_FAILED_CODES: readonly ["not_found", "refund_not_allowed", "manual_booking_not_refundable", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
|
|
14
14
|
export type EventAttendeeRefundFailedCode = (typeof EVENT_ATTENDEE_REFUND_FAILED_CODES)[number];
|
|
15
15
|
export declare const COURSE_ENROLLMENT_REFUND_FAILED_CODES: readonly ["not_found", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
|
|
16
|
-
export type
|
|
16
|
+
export type EventSeriesRegistrationRefundFailedCode = (typeof COURSE_ENROLLMENT_REFUND_FAILED_CODES)[number];
|
|
17
17
|
export declare function isCustomerPassRefundFailedCode(code: string): code is CustomerPassRefundFailedCode;
|
|
18
18
|
export declare function isEventAttendeeRefundFailedCode(code: string): code is EventAttendeeRefundFailedCode;
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function isEventSeriesRegistrationRefundFailedCode(code: string): code is EventSeriesRegistrationRefundFailedCode;
|
|
20
20
|
export declare function normalizeCustomerPassRefundFailureCode(code: string): CustomerPassRefundFailedCode;
|
|
21
21
|
export declare function normalizeEventAttendeeRefundFailureCode(code: string): EventAttendeeRefundFailedCode;
|
|
22
|
-
export declare function
|
|
22
|
+
export declare function normalizeEventSeriesRegistrationRefundFailureCode(code: string): EventSeriesRegistrationRefundFailedCode;
|
|
23
23
|
export declare function classifyCustomerPassRefundCode(code: CustomerPassRefundErrorCode): RefundCodeClassification;
|
|
24
24
|
export declare function classifyEventAttendeeRefundCode(code: EventAttendeeRefundFailedCode): RefundCodeClassification;
|
|
25
|
-
export declare function
|
|
25
|
+
export declare function classifyEventSeriesRegistrationRefundCode(code: EventSeriesRegistrationRefundFailedCode): RefundCodeClassification;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type AdminBookingCancellationResult = {
|
|
2
|
+
cancelled: boolean;
|
|
3
|
+
refunded: boolean;
|
|
4
|
+
refund?: {
|
|
5
|
+
status: 'succeeded' | 'failed' | 'skipped';
|
|
6
|
+
amountCents: number | null;
|
|
7
|
+
currency: string | null;
|
|
8
|
+
paymentLast4: string | null;
|
|
9
|
+
stripeRefundId: string | null;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
errorCode?: string;
|
|
12
|
+
totalRefundedCents?: number;
|
|
13
|
+
remainingRefundableCents?: number | null;
|
|
14
|
+
};
|
|
15
|
+
emailSent: boolean;
|
|
16
|
+
message: string;
|
|
17
|
+
};
|
|
18
|
+
export type BookingSessionListEventsResponse = {
|
|
19
|
+
registrations: Array<Record<string, unknown>>;
|
|
20
|
+
pagination: {
|
|
21
|
+
limit: number;
|
|
22
|
+
offset: number;
|
|
23
|
+
count: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type BookingSessionGetEventResponse = {
|
|
27
|
+
registration: Record<string, unknown>;
|
|
28
|
+
};
|
|
29
|
+
export type BookingSessionListMembershipsResponse = {
|
|
30
|
+
memberships: Array<Record<string, unknown>>;
|
|
31
|
+
};
|
|
32
|
+
export type BookingSessionListPassesResponse = {
|
|
33
|
+
passes: Array<Record<string, unknown>>;
|
|
34
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ApiClient } from './request';
|
|
2
2
|
import type { RichTextDoc, SensitiveCollectionConfirmationVersion, SensitiveCollectionMode } from '../../core/src/index';
|
|
3
|
-
import type { BookingSettingsResponse, UpdateBookingSettingsRequest,
|
|
3
|
+
import type { BookingSettingsResponse, UpdateBookingSettingsRequest, DeleteEventOfferingResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, AddEventOccurrenceAttendeeRequest, AddEventOccurrenceAttendeeResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse } from './types';
|
|
4
4
|
export { CUSTOMER_MEMBERSHIP_STATUS_VALUES, CUSTOMER_PASS_STATUS_VALUES, } from './bookingRecords';
|
|
5
5
|
export type { CustomerMembershipStatus, CustomerPassStatus, } from './bookingRecords';
|
|
6
|
-
export { DELETE_EVENT_OFFERING_CONFLICT_REASONS, isDeleteEventOfferingConflictReason, } from './
|
|
7
|
-
export type { DeleteEventOfferingConflictReason } from './
|
|
6
|
+
export { DELETE_EVENT_OFFERING_CONFLICT_REASONS, isDeleteEventOfferingConflictReason, } from './wholeSeriesOfferings';
|
|
7
|
+
export type { DeleteEventOfferingConflictReason } from './wholeSeriesOfferings';
|
|
8
8
|
export type CreateAppointmentRequest = {
|
|
9
9
|
formId: string;
|
|
10
10
|
serviceId: string;
|
|
@@ -94,11 +94,7 @@ type BookingSettingsResult = BookingSettingsResponse['settings'];
|
|
|
94
94
|
export declare function getBookingSettingsRequest(apiClient: ApiClient, siteId: string, options?: RequestInit): Promise<BookingSettingsResult>;
|
|
95
95
|
export declare function updateBookingSettingsRequest(apiClient: ApiClient, siteId: string, payload: UpdateBookingSettingsRequest, options?: RequestInit): Promise<BookingSettingsResult>;
|
|
96
96
|
export declare function createAppointmentRequest(apiClient: ApiClient, siteId: string, payload: CreateAppointmentRequest, options?: RequestInit): Promise<CreateAppointmentResponse>;
|
|
97
|
-
export declare function createCourseRequest(apiClient: ApiClient, siteId: string, payload: CreateCourseRequest, options?: RequestInit): Promise<CreateCourseResponse>;
|
|
98
|
-
export declare function updateCourseRequest(apiClient: ApiClient, siteId: string, courseId: string, payload: UpdateCourseRequest, options?: RequestInit): Promise<UpdateCourseResponse>;
|
|
99
|
-
export declare function deleteCourseRequest(apiClient: ApiClient, siteId: string, courseId: string, options?: RequestInit): Promise<DeleteCourseResponse>;
|
|
100
97
|
export declare function deleteEventOfferingRequest(apiClient: ApiClient, siteId: string, eventOfferingId: string, options?: RequestInit): Promise<DeleteEventOfferingResponse>;
|
|
101
|
-
export declare function
|
|
102
|
-
export declare function
|
|
103
|
-
export declare function updateCourseEnrollmentRequest(apiClient: ApiClient, siteId: string, courseId: string, enrollmentId: string, payload: UpdateCourseEnrollmentRequest, options?: RequestInit): Promise<UpdateCourseEnrollmentResponse>;
|
|
98
|
+
export declare function addEventSeriesRegistrationRequest(apiClient: ApiClient, siteId: string, eventSeriesId: string, payload: AddEventSeriesRegistrationRequest, options?: RequestInit): Promise<AddEventSeriesRegistrationResponse>;
|
|
99
|
+
export declare function updateEventSeriesRegistrationRequest(apiClient: ApiClient, siteId: string, eventSeriesId: string, registrationId: string, payload: UpdateEventSeriesRegistrationRequest, options?: RequestInit): Promise<UpdateEventSeriesRegistrationResponse>;
|
|
104
100
|
export declare function addEventOccurrenceAttendeeRequest(apiClient: ApiClient, siteId: string, seriesId: string, occurrenceId: string, payload: AddEventOccurrenceAttendeeRequest, options?: RequestInit): Promise<AddEventOccurrenceAttendeeResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppointmentBookingQuestionsTaskDetail,
|
|
1
|
+
import type { AppointmentBookingQuestionsTaskDetail, CustomerEventSeriesRegistration, CustomerEventRegistration, CustomerMembership, CustomerOrder, CustomerPass, EventGuest, MagicLinkRequest, PortalCancelWholeSeriesRegistrationRequest, PortalCancelWholeSeriesRegistrationResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalCancelEventRegistrationResult, PortalCancelMembershipAtPeriodEndResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCreditResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalDigitalProductsResponse, PortalEventTicket, PortalWholeSeriesBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalMeResponse, PortalMeUpdateRequest, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalUpdateWholeSeriesBookingQuestionsRequest, PortalUpdateWholeSeriesBookingQuestionsResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, UpdateEventGuestsRequest } from '../../blocks/src/api';
|
|
2
2
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
3
3
|
import type { DeleteAccountRequest, DeleteAccountResponse } from './accessAdmin';
|
|
4
4
|
import type { AiPlaygroundApplyRequest, AiPlaygroundApplyResponse } from './aiPlayground';
|
|
@@ -202,20 +202,20 @@ export type CommercePortalAPIEndpoints = {
|
|
|
202
202
|
limit?: string;
|
|
203
203
|
offset?: string;
|
|
204
204
|
}, {
|
|
205
|
-
enrollments:
|
|
205
|
+
enrollments: CustomerEventSeriesRegistration[];
|
|
206
206
|
}>;
|
|
207
207
|
portalGetWholeSeriesBookingQuestions: APIEndpoint<never, {
|
|
208
|
-
|
|
208
|
+
registrationId: string;
|
|
209
209
|
}, PortalWholeSeriesBookingQuestionsResponse>;
|
|
210
210
|
portalUpdateWholeSeriesBookingQuestions: APIEndpoint<PortalUpdateWholeSeriesBookingQuestionsRequest, {
|
|
211
|
-
|
|
211
|
+
registrationId: string;
|
|
212
212
|
}, PortalUpdateWholeSeriesBookingQuestionsResponse>;
|
|
213
213
|
portalCreateWholeSeriesBookingQuestionsUploadUrl: APIEndpoint<{
|
|
214
214
|
fieldId: string;
|
|
215
215
|
filename: string;
|
|
216
216
|
bytes: number;
|
|
217
217
|
}, {
|
|
218
|
-
|
|
218
|
+
registrationId: string;
|
|
219
219
|
}, {
|
|
220
220
|
uploadId: string;
|
|
221
221
|
signedUrl: string;
|
|
@@ -224,7 +224,7 @@ export type CommercePortalAPIEndpoints = {
|
|
|
224
224
|
fieldId: string;
|
|
225
225
|
uploadId: string;
|
|
226
226
|
}, {
|
|
227
|
-
|
|
227
|
+
registrationId: string;
|
|
228
228
|
}, {
|
|
229
229
|
answer: {
|
|
230
230
|
kind: 'document_upload';
|
|
@@ -235,7 +235,7 @@ export type CommercePortalAPIEndpoints = {
|
|
|
235
235
|
};
|
|
236
236
|
}>;
|
|
237
237
|
portalCancelWholeSeriesRegistration: APIEndpoint<PortalCancelWholeSeriesRegistrationRequest, {
|
|
238
|
-
|
|
238
|
+
registrationId: string;
|
|
239
239
|
}, {
|
|
240
240
|
result: PortalCancelWholeSeriesRegistrationResult;
|
|
241
241
|
}>;
|
|
@@ -8,7 +8,7 @@ import type { CamelizeKeys, DbRow } from "../../db/src/index";
|
|
|
8
8
|
* Note: Do NOT use these API types as validation schemas. They document wire
|
|
9
9
|
* contracts while the owning dashboard services validate and normalize inputs.
|
|
10
10
|
*/
|
|
11
|
-
export type EmailTemplateType = "event_confirmation" | "event_reminder" | "event_feedback_request" | "event_cancellation" | "event_cancellation_customer" | "event_cancellation_admin" | "event_refund_customer" | "event_refund_admin" | "event_transfer_customer" | "event_transfer_admin" | "pass_purchase_confirmation" | "membership_purchase_confirmation" | "membership_cancel_at_period_end" | "membership_payment_refund" | "appointment_confirmation" | "appointment_follow_up" | "appointment_reminder" | "appointment_follow_up" | "pass_refund" | "
|
|
11
|
+
export type EmailTemplateType = "event_confirmation" | "event_reminder" | "event_feedback_request" | "event_cancellation" | "event_cancellation_customer" | "event_cancellation_admin" | "event_refund_customer" | "event_refund_admin" | "event_transfer_customer" | "event_transfer_admin" | "pass_purchase_confirmation" | "membership_purchase_confirmation" | "membership_cancel_at_period_end" | "membership_payment_refund" | "appointment_confirmation" | "appointment_follow_up" | "appointment_reminder" | "appointment_follow_up" | "pass_refund" | "event_series_registration_confirmation" | "event_update" | "event_cancelled_by_organizer" | "digital_product_fulfillment" | "order_confirmation" | "order_shipment" | "order_cancellation" | "order_payment_reminder_customer" | "order_balance_due_customer" | "order_balance_overdue_customer" | "order_balance_overdue_admin" | "form_submitter_auto_reply";
|
|
12
12
|
export type EmailTemplate = {
|
|
13
13
|
id: string;
|
|
14
14
|
siteId: string;
|
|
@@ -185,35 +185,35 @@ export declare const API_ENDPOINTS: {
|
|
|
185
185
|
readonly errors: readonly ["server:internal_error"];
|
|
186
186
|
};
|
|
187
187
|
readonly portalGetWholeSeriesBookingQuestions: {
|
|
188
|
-
readonly path: "/portal/dated-offerings/whole-series/{
|
|
188
|
+
readonly path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions";
|
|
189
189
|
readonly method: "GET";
|
|
190
190
|
readonly auth: "public";
|
|
191
191
|
readonly responseKind: "json";
|
|
192
192
|
readonly errors: readonly ["resource:not_found", "server:internal_error"];
|
|
193
193
|
};
|
|
194
194
|
readonly portalUpdateWholeSeriesBookingQuestions: {
|
|
195
|
-
readonly path: "/portal/dated-offerings/whole-series/{
|
|
195
|
+
readonly path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions";
|
|
196
196
|
readonly method: "PUT";
|
|
197
197
|
readonly auth: "public";
|
|
198
198
|
readonly responseKind: "json";
|
|
199
199
|
readonly errors: readonly ["resource:not_found", "validation:invalid_input", "server:internal_error"];
|
|
200
200
|
};
|
|
201
201
|
readonly portalCreateWholeSeriesBookingQuestionsUploadUrl: {
|
|
202
|
-
readonly path: "/portal/dated-offerings/whole-series/{
|
|
202
|
+
readonly path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions/upload-url";
|
|
203
203
|
readonly method: "POST";
|
|
204
204
|
readonly auth: "public";
|
|
205
205
|
readonly responseKind: "json";
|
|
206
206
|
readonly errors: readonly ["resource:not_found", "validation:invalid_input", "server:internal_error"];
|
|
207
207
|
};
|
|
208
208
|
readonly portalFinalizeWholeSeriesBookingQuestionsUpload: {
|
|
209
|
-
readonly path: "/portal/dated-offerings/whole-series/{
|
|
209
|
+
readonly path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions/upload";
|
|
210
210
|
readonly method: "POST";
|
|
211
211
|
readonly auth: "public";
|
|
212
212
|
readonly responseKind: "json";
|
|
213
213
|
readonly errors: readonly ["resource:not_found", "validation:invalid_input", "server:internal_error"];
|
|
214
214
|
};
|
|
215
215
|
readonly portalCancelWholeSeriesRegistration: {
|
|
216
|
-
readonly path: "/portal/dated-offerings/whole-series/{
|
|
216
|
+
readonly path: "/portal/dated-offerings/whole-series/{registrationId}/cancel";
|
|
217
217
|
readonly method: "POST";
|
|
218
218
|
readonly auth: "public";
|
|
219
219
|
readonly responseKind: "json";
|
|
@@ -791,10 +791,10 @@ export declare const API_ENDPOINTS: {
|
|
|
791
791
|
readonly responseKind: "json";
|
|
792
792
|
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
793
793
|
};
|
|
794
|
-
readonly
|
|
795
|
-
readonly path: "/sites/{siteId}/bookings/
|
|
794
|
+
readonly refundEventSeriesRegistration: {
|
|
795
|
+
readonly path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}/refund";
|
|
796
796
|
readonly method: "POST";
|
|
797
|
-
readonly tags: ["site-{siteId}", "
|
|
797
|
+
readonly tags: ["site-{siteId}", "event-series-{seriesId}", "event-series-registration-{registrationId}", "bookings"];
|
|
798
798
|
readonly auth: "user";
|
|
799
799
|
readonly responseKind: "json";
|
|
800
800
|
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
@@ -806,10 +806,10 @@ export declare const API_ENDPOINTS: {
|
|
|
806
806
|
readonly auth: "user";
|
|
807
807
|
readonly responseKind: "json";
|
|
808
808
|
};
|
|
809
|
-
readonly
|
|
810
|
-
readonly path: "/sites/{siteId}/bookings/
|
|
809
|
+
readonly listEventSeriesRegistrationRefunds: {
|
|
810
|
+
readonly path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}/refunds";
|
|
811
811
|
readonly method: "GET";
|
|
812
|
-
readonly tags: ["site-{siteId}", "
|
|
812
|
+
readonly tags: ["site-{siteId}", "event-series-{seriesId}", "event-series-registration-{registrationId}", "bookings"];
|
|
813
813
|
readonly auth: "user";
|
|
814
814
|
readonly responseKind: "json";
|
|
815
815
|
readonly errors: readonly [];
|
|
@@ -2158,38 +2158,6 @@ export declare const API_ENDPOINTS: {
|
|
|
2158
2158
|
auth: "public";
|
|
2159
2159
|
responseKind: "json";
|
|
2160
2160
|
};
|
|
2161
|
-
readonly registerForWholeSeries: {
|
|
2162
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/enroll";
|
|
2163
|
-
method: "POST";
|
|
2164
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-enrollment")[];
|
|
2165
|
-
errors: ("auth:unauthenticated" | "auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:already_exists" | "resource:conflict" | "server:internal_error")[];
|
|
2166
|
-
auth: "public";
|
|
2167
|
-
responseKind: "json";
|
|
2168
|
-
};
|
|
2169
|
-
readonly checkWholeSeriesEligibility: {
|
|
2170
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/check-eligibility";
|
|
2171
|
-
method: "POST";
|
|
2172
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-enrollment")[];
|
|
2173
|
-
errors: ("auth:unauthenticated" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
2174
|
-
auth: "public";
|
|
2175
|
-
responseKind: "json";
|
|
2176
|
-
};
|
|
2177
|
-
readonly createWholeSeriesCheckout: {
|
|
2178
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/checkout";
|
|
2179
|
-
method: "POST";
|
|
2180
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-checkout")[];
|
|
2181
|
-
auth: "public";
|
|
2182
|
-
responseKind: "json";
|
|
2183
|
-
errors: ("auth:unauthenticated" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
2184
|
-
};
|
|
2185
|
-
readonly getWholeSeriesRegistrationStatus: {
|
|
2186
|
-
path: "/public/sites/{siteId}/dated-offerings/whole-series/registration-status";
|
|
2187
|
-
method: "GET";
|
|
2188
|
-
tags: ("riverbank:site:{siteId}:public-whole-series-offerings" | "course-checkout")[];
|
|
2189
|
-
errors: ("resource:not_found" | "server:internal_error")[];
|
|
2190
|
-
auth: "public";
|
|
2191
|
-
responseKind: "json";
|
|
2192
|
-
};
|
|
2193
2161
|
readonly getSite: {
|
|
2194
2162
|
readonly path: "/sites";
|
|
2195
2163
|
readonly method: "GET";
|
|
@@ -4350,47 +4318,6 @@ export declare const API_ENDPOINTS: {
|
|
|
4350
4318
|
readonly auth: "public";
|
|
4351
4319
|
readonly responseKind: "json";
|
|
4352
4320
|
};
|
|
4353
|
-
readonly listCourses: {
|
|
4354
|
-
path: "/sites/{siteId}/bookings/courses";
|
|
4355
|
-
method: "GET";
|
|
4356
|
-
auth: "user";
|
|
4357
|
-
responseKind: "json";
|
|
4358
|
-
};
|
|
4359
|
-
readonly exportCoursesCsv: {
|
|
4360
|
-
path: "/sites/{siteId}/bookings/courses/export.csv";
|
|
4361
|
-
method: "GET";
|
|
4362
|
-
tags: ("bookings" | "site-{siteId}" | "courses-{siteId}")[];
|
|
4363
|
-
errors: never[];
|
|
4364
|
-
auth: "user";
|
|
4365
|
-
responseKind: "blob";
|
|
4366
|
-
};
|
|
4367
|
-
readonly createCourse: {
|
|
4368
|
-
path: "/sites/{siteId}/bookings/courses";
|
|
4369
|
-
method: "POST";
|
|
4370
|
-
auth: "user";
|
|
4371
|
-
responseKind: "json";
|
|
4372
|
-
errors: ("validation:invalid_input" | "resource:not_found" | "resource:already_exists" | "resource:conflict" | "server:internal_error")[];
|
|
4373
|
-
};
|
|
4374
|
-
readonly getCourse: {
|
|
4375
|
-
path: "/sites/{siteId}/bookings/courses/{courseId}";
|
|
4376
|
-
method: "GET";
|
|
4377
|
-
auth: "user";
|
|
4378
|
-
responseKind: "json";
|
|
4379
|
-
};
|
|
4380
|
-
readonly updateCourse: {
|
|
4381
|
-
path: "/sites/{siteId}/bookings/courses/{courseId}";
|
|
4382
|
-
method: "PATCH";
|
|
4383
|
-
auth: "user";
|
|
4384
|
-
responseKind: "json";
|
|
4385
|
-
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4386
|
-
};
|
|
4387
|
-
readonly deleteCourse: {
|
|
4388
|
-
path: "/sites/{siteId}/bookings/courses/{courseId}";
|
|
4389
|
-
method: "DELETE";
|
|
4390
|
-
auth: "user";
|
|
4391
|
-
responseKind: "json";
|
|
4392
|
-
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4393
|
-
};
|
|
4394
4321
|
readonly deleteEventOffering: {
|
|
4395
4322
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}";
|
|
4396
4323
|
method: "DELETE";
|
|
@@ -4398,50 +4325,35 @@ export declare const API_ENDPOINTS: {
|
|
|
4398
4325
|
responseKind: "json";
|
|
4399
4326
|
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4400
4327
|
};
|
|
4401
|
-
readonly
|
|
4402
|
-
path: "/sites/{siteId}/bookings/
|
|
4403
|
-
method: "POST";
|
|
4404
|
-
auth: "user";
|
|
4405
|
-
responseKind: "json";
|
|
4406
|
-
errors: ("validation:invalid_input" | "resource:not_found" | "resource:already_exists" | "server:internal_error")[];
|
|
4407
|
-
};
|
|
4408
|
-
readonly changeCourseContentOwnership: {
|
|
4409
|
-
path: "/sites/{siteId}/bookings/courses/{courseId}/content-ownership";
|
|
4328
|
+
readonly changeEventSeriesContentOwnership: {
|
|
4329
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/content-ownership";
|
|
4410
4330
|
method: "POST";
|
|
4411
4331
|
auth: "user";
|
|
4412
4332
|
responseKind: "json";
|
|
4413
4333
|
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4414
4334
|
};
|
|
4415
|
-
readonly
|
|
4416
|
-
path: "/sites/{siteId}/bookings/
|
|
4335
|
+
readonly addEventSeriesRegistration: {
|
|
4336
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations";
|
|
4417
4337
|
method: "POST";
|
|
4418
4338
|
auth: "user";
|
|
4419
4339
|
responseKind: "json";
|
|
4420
4340
|
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4421
4341
|
};
|
|
4422
|
-
readonly
|
|
4423
|
-
path: "/sites/{siteId}/bookings/
|
|
4342
|
+
readonly listEventSeriesRegistrations: {
|
|
4343
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations";
|
|
4424
4344
|
method: "GET";
|
|
4425
4345
|
auth: "user";
|
|
4426
4346
|
responseKind: "json";
|
|
4427
4347
|
};
|
|
4428
|
-
readonly
|
|
4429
|
-
path: "/sites/{siteId}/bookings/
|
|
4348
|
+
readonly exportEventSeriesRegistrationsCsv: {
|
|
4349
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/export.csv";
|
|
4430
4350
|
method: "GET";
|
|
4431
4351
|
auth: "user";
|
|
4432
4352
|
errors: never[];
|
|
4433
4353
|
responseKind: "blob";
|
|
4434
4354
|
};
|
|
4435
|
-
readonly
|
|
4436
|
-
path: "/sites/{siteId}/bookings/
|
|
4437
|
-
method: "GET";
|
|
4438
|
-
tags: ("bookings" | "site-{siteId}" | "courses-{courseId}")[];
|
|
4439
|
-
auth: "user";
|
|
4440
|
-
responseKind: "blob";
|
|
4441
|
-
errors: never[];
|
|
4442
|
-
};
|
|
4443
|
-
readonly updateCourseEnrollment: {
|
|
4444
|
-
path: "/sites/{siteId}/bookings/courses/{courseId}/enrollments/{enrollmentId}";
|
|
4355
|
+
readonly updateEventSeriesRegistration: {
|
|
4356
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}";
|
|
4445
4357
|
method: "PATCH";
|
|
4446
4358
|
auth: "user";
|
|
4447
4359
|
responseKind: "json";
|
|
@@ -5903,6 +5815,14 @@ export declare const API_ENDPOINTS: {
|
|
|
5903
5815
|
auth: "public";
|
|
5904
5816
|
responseKind: "json";
|
|
5905
5817
|
};
|
|
5818
|
+
readonly getPublicEventRegistrationOptions: {
|
|
5819
|
+
path: "/public/sites/{siteId}/events/registration-options";
|
|
5820
|
+
method: "POST";
|
|
5821
|
+
tags: ("riverbank:site:{siteId}:public-events" | "event-registration-options")[];
|
|
5822
|
+
auth: "public";
|
|
5823
|
+
responseKind: "json";
|
|
5824
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
5825
|
+
};
|
|
5906
5826
|
readonly resolveEventSubroute: {
|
|
5907
5827
|
path: "/public/sites/{siteId}/events/subroutes/resolve";
|
|
5908
5828
|
method: "GET";
|
|
@@ -104,7 +104,7 @@ export type WholeSeriesRunCancellationSettlement = Readonly<{
|
|
|
104
104
|
kind: 'custom_refund';
|
|
105
105
|
operationId: string;
|
|
106
106
|
refunds: readonly Readonly<{
|
|
107
|
-
|
|
107
|
+
registrationId: string;
|
|
108
108
|
amountCents: number;
|
|
109
109
|
}>[];
|
|
110
110
|
}> | Readonly<{
|