@riverbankcms/sdk 0.138.0 → 0.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -16
- package/dist/{PreviewEditorSidebar-BVPur_CU.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
- package/dist/{PreviewEditorUI-DLhWX8oh.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BguJY1SW.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Tda6qw4z.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +62 -28
- package/dist/{SiteChromeCustomizeContext-BHFgMjde.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +8467 -5616
- package/dist/_dts/ai/src/contracts/proposals.d.ts +264 -495
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +221 -242
- package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
- package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/authSubmission.d.ts +46 -0
- package/dist/_dts/api/src/billing.d.ts +18 -7
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
- package/dist/_dts/api/src/blocks.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
- package/dist/_dts/api/src/communications.d.ts +0 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +16 -4
- package/dist/_dts/api/src/endpoints.d.ts +275 -167
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
- package/dist/_dts/api/src/footerSettings.d.ts +10 -10
- package/dist/_dts/api/src/index.d.ts +11 -10
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/mailchimpIntegration.d.ts +2 -59
- package/dist/_dts/api/src/mailingListIntegration.d.ts +123 -0
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/locations.d.ts +1 -0
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +1 -26
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +109 -2
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +185 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +74 -2
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +14 -6
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +2 -4
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +9 -49
- package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
- package/dist/_dts/api/src/publicReadEndpointDefinitions.d.ts +73 -0
- package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
- package/dist/_dts/api/src/schemas/site-api-keys.d.ts +1 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -32
- package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +46 -46
- package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -34
- package/dist/_dts/api/src/siteOnboarding.d.ts +84 -228
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -13
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +38 -6
- package/dist/_dts/api/src/types.d.ts +78 -77
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
- package/dist/_dts/billing/src/membership/index.d.ts +17 -7
- package/dist/_dts/billing/src/plans/display.d.ts +15 -0
- package/dist/_dts/billing/src/plans/registry.d.ts +2 -0
- package/dist/_dts/billing/src/plans/standing.d.ts +19 -0
- package/dist/_dts/billing/src/plans/types.d.ts +4 -7
- package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
- package/dist/_dts/billing/src/subscriptions/evidence.d.ts +12 -0
- package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +31 -0
- package/dist/_dts/billing/src/subscriptions/store.d.ts +23 -5
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -15
- package/dist/_dts/blocks/src/client.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +48 -20
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +9 -0
- package/dist/_dts/blocks/src/pageRenderingMode.d.ts +12 -6
- package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
- package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +11 -0
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +39 -66
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +39 -114
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +18 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/fields.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +7 -13
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/index.d.ts +4 -4
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
- package/dist/_dts/blocks/src/system/data/publicLoaderCachePolicy.d.ts +2 -74
- package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +33 -100
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +5 -15
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +78 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +39 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarToday.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +94 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +12 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/bookability.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/duration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/location.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/quickDates.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/AgendaEventCard.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CalendarDayCell.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CalendarDayHeaders.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventQuickDates.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/useHydrationReady.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +62 -33
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +14 -31
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +23 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +5 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +32 -16
- package/dist/_dts/commerce/src/purchase/stripeCommissionMetadata.d.ts +34 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +6 -24
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +4 -2
- package/dist/_dts/core/src/branded.d.ts +0 -8
- package/dist/_dts/core/src/footer-engagement.d.ts +2 -6
- package/dist/_dts/core/src/index.d.ts +10 -1
- package/dist/_dts/core/src/mailing-list-identifiers.d.ts +21 -0
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +42 -0
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +14 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +142 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +224 -0
- package/dist/_dts/core/src/mailing-list-targeting-parser.d.ts +12 -0
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +93 -0
- package/dist/_dts/core/src/navigation-locations.d.ts +28 -0
- package/dist/_dts/core/src/participants.d.ts +2 -29
- package/dist/_dts/core/src/public-experience.d.ts +4 -0
- package/dist/_dts/core/src/public-profile.d.ts +35 -1
- package/dist/_dts/core/src/public-read-cache-contract.d.ts +45 -0
- package/dist/_dts/core/src/site-route-target.d.ts +9 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +797 -954
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -0
- package/dist/_dts/sdk/src/client/publicAppointmentReadOperations.d.ts +12 -0
- package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +2 -1
- package/dist/_dts/sdk/src/client/publicLoaderCacheAccess.d.ts +11 -4
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -13
- package/dist/_dts/sdk/src/config/content-validation.d.ts +5 -8
- package/dist/_dts/sdk/src/constants.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -31
- package/dist/_dts/sdk/src/navigation/index.d.ts +11 -29
- package/dist/_dts/sdk/src/next/index.d.ts +4 -4
- package/dist/_dts/sdk/src/prebuild/types.d.ts +1 -5
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +44 -33
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/client.d.ts +3 -20
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +4 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +8 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +41 -0
- package/dist/_dts/theme-core/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntime.d.ts +0 -1
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
- package/dist/_dts/theme-core/src/schema.d.ts +84 -84
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/tokens.d.ts +7 -0
- package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
- package/dist/_dts/ui/src/pending-button.d.ts +10 -0
- package/dist/client/{BookingConsentAgreement-DQUik1Mx.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
- package/dist/client/{DiscountCodeDisclosure-CU67Q4vH.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
- package/dist/client/{EventCombined.client-a02TXUgg.mjs → EventCombined.client-LTfR1Aby.mjs} +444 -200
- package/dist/client/{EventListing.client-99qx7jFl.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CWzcq73L.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
- package/dist/client/{accordion-D1nb3-Oj.mjs → accordion-6HiIFxNL.mjs} +1 -1
- package/dist/client/{bookingForm-BGrmLhaO.mjs → bookingForm-Dlmid43H.mjs} +7 -7
- package/dist/client/bookings.mjs +368 -142
- package/dist/client/{carousel-DSmOx3ad.mjs → carousel-DmkZRRq_.mjs} +2 -2
- package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
- package/dist/client/{cart-COWeOIUk.mjs → cart-CIC24330.mjs} +3 -3
- package/dist/client/{checkout-CeysaIJK.mjs → checkout-D1Zw9imo.mjs} +3 -3
- package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
- package/dist/client/client.mjs +5017 -2258
- package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
- package/dist/client/{context-DBzX85Xc.mjs → context-Cy1OayHx.mjs} +9 -21
- package/dist/client/{dates-DCYhZBlW.mjs → dates-aDcfoLHr.mjs} +21 -3
- package/dist/client/{eventCalendar-BgsN73Ul.mjs → eventCalendar-FQxMPAjf.mjs} +81 -79
- package/dist/client/{eventCombined-DcZQAMQP.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
- package/dist/client/{eventDetails-BWwGJ54l.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
- package/dist/client/{eventListing-DqYqV8vp.mjs → eventListing-B3XxBf3i.mjs} +3 -3
- package/dist/client/{eventRegistration-DQGDgu_e.mjs → eventRegistration-I6EaokFD.mjs} +543 -155
- package/dist/client/{form-ClfpasVT.mjs → form-BbWckVWY.mjs} +3 -3
- package/dist/client/{headerSection-BuOMe98N.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
- package/dist/client/hooks.mjs +1685 -716
- package/dist/client/{locationMap-CEqu_sfa.mjs → locationMap-CLCShvlG.mjs} +3 -3
- package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
- package/dist/client/newsletterForm-Briukxzi.mjs +444 -0
- package/dist/client/{pricing-xj7MPZlK.mjs → pricing-Copadu-2.mjs} +1 -1
- package/dist/client/{productDetail-vxqTt5Xj.mjs → productDetail-oujlRd-r.mjs} +3 -3
- package/dist/client/{productList-OTdZu8sb.mjs → productList-BRiIRUcd.mjs} +3 -3
- package/dist/client/{propsDecoder-CY9gGEF7.mjs → propsDecoder-CB2KS_ko.mjs} +706 -160
- package/dist/client/rendering/client.mjs +3161 -1226
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +4864 -1914
- package/dist/client/{scrollToBlock--BFV6kl-.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
- package/dist/client/{shop-CP4YbDL9.mjs → shop-Vn6yNFED.mjs} +6 -6
- package/dist/client/{shop-commerce-APs4XBXE.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
- package/dist/client/{shop-commerce-store-CAVLxLFr.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
- package/dist/client/{shopShared-BnSRrwXI.mjs → shopShared-COIeK77T.mjs} +4 -4
- package/dist/client/{useEventFilters-1a1by4c8.mjs → useEventFilters-DzIUcS9n.mjs} +58 -11
- package/dist/preview-next/before-render.mjs +357 -175
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +357 -175
- package/dist/preview-next/middleware.mjs +357 -175
- package/dist/{previewAuthStore-BkEgnYPP.mjs → previewAuthStore-Gjb6r6vz.mjs} +357 -175
- package/dist/{sdk-runtime-DwGfsT0S.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
- package/dist/{separator-BeqDLneQ.mjs → separator-DKDRJ1oH.mjs} +1 -1
- package/dist/server/components.mjs +3389 -1251
- package/dist/server/config-validation.mjs +2737 -1784
- package/dist/server/config.mjs +2742 -1788
- package/dist/server/data.mjs +1586 -615
- package/dist/server/index.mjs +496 -352
- package/dist/server/navigation.mjs +16 -47
- package/dist/server/next.mjs +3978 -2007
- package/dist/server/page-converter.mjs +1109 -553
- package/dist/server/prebuild.mjs +2 -3
- package/dist/server/rendering/server.mjs +4101 -1951
- package/dist/server/rendering.mjs +3416 -1259
- package/dist/server/routing.mjs +1869 -786
- package/dist/server/server.mjs +3260 -2482
- package/dist/server/theme-bridge.mjs +725 -124
- package/dist/server/theme.mjs +8 -2
- package/dist/styles/index.css +526 -68
- package/package.json +1 -1
- package/dist/_dts/api/src/navigation/identity.d.ts +0 -59
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +0 -291
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
- package/dist/_dts/core/src/newsletter-signup-destination.d.ts +0 -38
- package/dist/client/newsletterForm-IbrHjMxy.mjs +0 -322
|
@@ -6,7 +6,7 @@ import type { SitePagePayload } from './sitePages';
|
|
|
6
6
|
import type { RiverbankSiteConfig } from './sdkContracts';
|
|
7
7
|
import type { SdkBlockContentAdmission } from './sdkBlockContentAdmission';
|
|
8
8
|
import type { SiteAnalyticsSettingsPayload } from './siteAnalytics';
|
|
9
|
-
import type { SiteLayoutResolvedPayload } from './siteSettings';
|
|
9
|
+
import type { SiteLayoutResolvedPayload, SiteRuntimeBusinessDetails } from './siteSettings';
|
|
10
10
|
import type { BookingEngine, CanonicalBookingBehaviour } from '../../core/src/index';
|
|
11
11
|
export type SiteBookingOfferingPresetSummary = Readonly<{
|
|
12
12
|
id: string;
|
|
@@ -17,11 +17,9 @@ export type SiteBookingOfferingPresetSummary = Readonly<{
|
|
|
17
17
|
}>;
|
|
18
18
|
/**
|
|
19
19
|
* Content Runtime Contracts
|
|
20
|
-
*
|
|
21
20
|
* These types capture the page/content runtime shapes that need to round-trip through
|
|
22
21
|
* the API package: routes, page records, SDK runtime payloads, and editor-facing
|
|
23
22
|
* content entry details.
|
|
24
|
-
*
|
|
25
23
|
* These API types document wire shapes; dashboard services own validation and hydration.
|
|
26
24
|
*/
|
|
27
25
|
export type ContentRouteRecord = {
|
|
@@ -45,7 +43,7 @@ export type ContentRouteRecord = {
|
|
|
45
43
|
status?: 'draft' | 'scheduled' | 'published' | 'archived';
|
|
46
44
|
ogImageId?: string | null;
|
|
47
45
|
};
|
|
48
|
-
export type ContentEntryStatus = '
|
|
46
|
+
export type ContentEntryStatus = ContentRouteRecord['draftStatus'];
|
|
49
47
|
export type ContentEntryRecord = {
|
|
50
48
|
id: string;
|
|
51
49
|
siteId: string;
|
|
@@ -328,6 +326,8 @@ export type SiteBySlugResponse = {
|
|
|
328
326
|
created_at: string;
|
|
329
327
|
updated_at: string;
|
|
330
328
|
launched_at: string | null;
|
|
329
|
+
publicly_available: boolean;
|
|
330
|
+
public_experience: import('../../core/src/index').PublicExperience;
|
|
331
331
|
maintenance_mode_enabled?: boolean | undefined;
|
|
332
332
|
maintenance_mode_message?: unknown;
|
|
333
333
|
deployment_mode?: 'managed' | 'headless_cms' | 'headless_full' | null | undefined;
|
|
@@ -356,12 +356,21 @@ export type SiteBySlugResponse = {
|
|
|
356
356
|
commerceEnabled?: boolean;
|
|
357
357
|
/** Selected booking offering presets exposed to SSR blocks. */
|
|
358
358
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
359
|
+
/** Mailing-list runtime data, present only when the requested page or footer needs it. */
|
|
360
|
+
mailingList?: import('../../core/src/index').MailingListRuntimeContext;
|
|
359
361
|
/** Canonical site timezone for booking calendars and date boundaries. */
|
|
360
362
|
bookingTimeZone?: string;
|
|
361
363
|
/** Site-level analytics settings used by frontend consent/runtime behavior. */
|
|
362
364
|
analytics?: SiteAnalyticsSettingsPayload;
|
|
363
365
|
/** Managed privacy policy data for frontend runtime rendering. */
|
|
364
366
|
privacyPolicy?: SiteRuntimePrivacyPolicy;
|
|
367
|
+
/**
|
|
368
|
+
* Shared business details, read by the SEO description fallback and by the
|
|
369
|
+
* booking page's header and footer.
|
|
370
|
+
*/
|
|
371
|
+
businessDetails?: SiteRuntimeBusinessDetails;
|
|
372
|
+
/** Presentation projection of the canonical plan branding entitlement. */
|
|
373
|
+
bookingAttribution?: import('./siteSettings').SiteRuntimeBookingAttribution;
|
|
365
374
|
routes: Record<string, {
|
|
366
375
|
path: string;
|
|
367
376
|
draftPath: string | null;
|
|
@@ -522,6 +531,7 @@ export type ListPublishedEntriesResponse<TContent = Record<string, unknown>> = {
|
|
|
522
531
|
export type SdkBlockContent = {
|
|
523
532
|
id: string;
|
|
524
533
|
blockId: string;
|
|
534
|
+
contentVersionId: string | null;
|
|
525
535
|
pageId: string;
|
|
526
536
|
kind: string;
|
|
527
537
|
purpose: string;
|
|
@@ -536,6 +546,7 @@ export type SdkBlockContent = {
|
|
|
536
546
|
export type SdkEntrySlotBlockContent = {
|
|
537
547
|
id: string;
|
|
538
548
|
blockId: string;
|
|
549
|
+
contentVersionId: string;
|
|
539
550
|
entrySlotId: string;
|
|
540
551
|
identifier: string | null;
|
|
541
552
|
kind: string;
|
|
@@ -556,6 +567,7 @@ export type SdkEntrySlotContent = {
|
|
|
556
567
|
export type SdkSurfaceSlotBlockContent = {
|
|
557
568
|
id: string;
|
|
558
569
|
blockId: string;
|
|
570
|
+
contentVersionId: string;
|
|
559
571
|
surfaceSlotId: string;
|
|
560
572
|
identifier: string | null;
|
|
561
573
|
kind: string;
|
|
@@ -225,6 +225,13 @@ export declare const API_ENDPOINTS: {
|
|
|
225
225
|
readonly auth: "public";
|
|
226
226
|
readonly responseKind: "json";
|
|
227
227
|
};
|
|
228
|
+
readonly portalCancelWaitlistEntry: {
|
|
229
|
+
readonly path: "/portal/waitlists/{entryId}/cancel";
|
|
230
|
+
readonly method: "POST";
|
|
231
|
+
readonly auth: "public";
|
|
232
|
+
readonly responseKind: "json";
|
|
233
|
+
readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
|
|
234
|
+
};
|
|
228
235
|
readonly portalGetEventGuests: {
|
|
229
236
|
readonly path: "/portal/events/{registrationId}/guests";
|
|
230
237
|
readonly method: "GET";
|
|
@@ -464,13 +471,6 @@ export declare const API_ENDPOINTS: {
|
|
|
464
471
|
readonly auth: "service";
|
|
465
472
|
readonly responseKind: "json";
|
|
466
473
|
};
|
|
467
|
-
readonly sdkDeleteNavigationMenu: {
|
|
468
|
-
readonly path: "/sdk/{siteId}/navigation/{menuId}";
|
|
469
|
-
readonly method: "DELETE";
|
|
470
|
-
readonly auth: "service";
|
|
471
|
-
readonly responseKind: "json";
|
|
472
|
-
readonly errors: readonly ["resource:not_found", "server:internal_error"];
|
|
473
|
-
};
|
|
474
474
|
readonly sdkUpsertTheme: {
|
|
475
475
|
readonly path: "/sdk/{siteId}/theme";
|
|
476
476
|
readonly method: "POST";
|
|
@@ -2343,14 +2343,6 @@ export declare const API_ENDPOINTS: {
|
|
|
2343
2343
|
readonly auth: "service";
|
|
2344
2344
|
readonly responseKind: "json";
|
|
2345
2345
|
};
|
|
2346
|
-
readonly listPublicEvents: {
|
|
2347
|
-
readonly path: "/public/sites/{siteId}/events";
|
|
2348
|
-
readonly method: "GET";
|
|
2349
|
-
readonly revalidate: 60;
|
|
2350
|
-
readonly tags: ["riverbank:site:{siteId}:public-events"];
|
|
2351
|
-
readonly auth: "public";
|
|
2352
|
-
readonly responseKind: "json";
|
|
2353
|
-
};
|
|
2354
2346
|
readonly getPublicEventFilters: {
|
|
2355
2347
|
readonly path: "/public/sites/{siteId}/events/filters";
|
|
2356
2348
|
readonly method: "GET";
|
|
@@ -2359,15 +2351,6 @@ export declare const API_ENDPOINTS: {
|
|
|
2359
2351
|
readonly auth: "public";
|
|
2360
2352
|
readonly responseKind: "json";
|
|
2361
2353
|
};
|
|
2362
|
-
readonly listPublicTeamMembers: {
|
|
2363
|
-
readonly path: "/public/sites/{siteId}/team-members";
|
|
2364
|
-
readonly method: "GET";
|
|
2365
|
-
readonly revalidate: 60;
|
|
2366
|
-
readonly tags: ["riverbank:site:{siteId}:public-team-members"];
|
|
2367
|
-
readonly errors: readonly [];
|
|
2368
|
-
readonly auth: "public";
|
|
2369
|
-
readonly responseKind: "json";
|
|
2370
|
-
};
|
|
2371
2354
|
readonly resolveWaitlistClaim: {
|
|
2372
2355
|
readonly path: "/public/sites/{siteId}/waitlists/claim/resolve";
|
|
2373
2356
|
readonly method: "POST";
|
|
@@ -2376,31 +2359,6 @@ export declare const API_ENDPOINTS: {
|
|
|
2376
2359
|
readonly responseKind: "json";
|
|
2377
2360
|
readonly errors: readonly ["auth:unauthenticated", "validation:invalid_input", "resource:gone", "server:internal_error"];
|
|
2378
2361
|
};
|
|
2379
|
-
readonly listPublicPasses: {
|
|
2380
|
-
readonly path: "/public/sites/{siteId}/bookings/products/passes";
|
|
2381
|
-
readonly method: "GET";
|
|
2382
|
-
readonly revalidate: 300;
|
|
2383
|
-
readonly tags: ["riverbank:site:{siteId}:public-passes"];
|
|
2384
|
-
readonly auth: "public";
|
|
2385
|
-
readonly responseKind: "json";
|
|
2386
|
-
};
|
|
2387
|
-
readonly listPublicMemberships: {
|
|
2388
|
-
readonly path: "/public/sites/{siteId}/bookings/products/memberships";
|
|
2389
|
-
readonly method: "GET";
|
|
2390
|
-
readonly revalidate: 300;
|
|
2391
|
-
readonly tags: ["riverbank:site:{siteId}:public-memberships"];
|
|
2392
|
-
readonly auth: "public";
|
|
2393
|
-
readonly responseKind: "json";
|
|
2394
|
-
};
|
|
2395
|
-
readonly listPublicProducts: {
|
|
2396
|
-
readonly path: "/public/sites/{siteId}/products";
|
|
2397
|
-
readonly method: "GET";
|
|
2398
|
-
readonly revalidate: 300;
|
|
2399
|
-
readonly tags: ["riverbank:site:{siteId}:public-products"];
|
|
2400
|
-
readonly errors: readonly [];
|
|
2401
|
-
readonly auth: "public";
|
|
2402
|
-
readonly responseKind: "json";
|
|
2403
|
-
};
|
|
2404
2362
|
readonly createShopCheckout: {
|
|
2405
2363
|
readonly path: "/public/sites/{siteId}/bookings/checkout";
|
|
2406
2364
|
readonly method: "POST";
|
|
@@ -2449,7 +2407,7 @@ export declare const API_ENDPOINTS: {
|
|
|
2449
2407
|
readonly getPublicBookingServices: {
|
|
2450
2408
|
path: "/public/bookings/services";
|
|
2451
2409
|
method: "GET";
|
|
2452
|
-
revalidate:
|
|
2410
|
+
revalidate: number;
|
|
2453
2411
|
tags: "riverbank:site:{siteId}:public-booking-services"[];
|
|
2454
2412
|
auth: "public";
|
|
2455
2413
|
responseKind: "json";
|
|
@@ -2457,7 +2415,15 @@ export declare const API_ENDPOINTS: {
|
|
|
2457
2415
|
readonly getPublicBookingService: {
|
|
2458
2416
|
path: "/public/bookings/services/{serviceId}";
|
|
2459
2417
|
method: "GET";
|
|
2460
|
-
revalidate:
|
|
2418
|
+
revalidate: number;
|
|
2419
|
+
tags: "riverbank:site:{siteId}:public-booking-services"[];
|
|
2420
|
+
auth: "public";
|
|
2421
|
+
responseKind: "json";
|
|
2422
|
+
};
|
|
2423
|
+
readonly getPublicBookingServiceBySlug: {
|
|
2424
|
+
path: "/public/bookings/services/by-slug/{slug}";
|
|
2425
|
+
method: "GET";
|
|
2426
|
+
revalidate: number;
|
|
2461
2427
|
tags: "riverbank:site:{siteId}:public-booking-services"[];
|
|
2462
2428
|
auth: "public";
|
|
2463
2429
|
responseKind: "json";
|
|
@@ -2465,7 +2431,7 @@ export declare const API_ENDPOINTS: {
|
|
|
2465
2431
|
readonly getPublicBookingResourcesReference: {
|
|
2466
2432
|
path: "/public/bookings/resources/reference";
|
|
2467
2433
|
method: "GET";
|
|
2468
|
-
revalidate:
|
|
2434
|
+
revalidate: number;
|
|
2469
2435
|
tags: "riverbank:site:{siteId}:public-booking-services"[];
|
|
2470
2436
|
auth: "public";
|
|
2471
2437
|
responseKind: "json";
|
|
@@ -2473,7 +2439,7 @@ export declare const API_ENDPOINTS: {
|
|
|
2473
2439
|
readonly getPublicBookingAvailableDates: {
|
|
2474
2440
|
path: "/public/bookings/availability/dates";
|
|
2475
2441
|
method: "GET";
|
|
2476
|
-
revalidate:
|
|
2442
|
+
revalidate: number;
|
|
2477
2443
|
tags: ("riverbank:site:{siteId}:public-booking-services" | "riverbank:site:{siteId}:public-booking-availability")[];
|
|
2478
2444
|
auth: "public";
|
|
2479
2445
|
responseKind: "json";
|
|
@@ -2481,7 +2447,7 @@ export declare const API_ENDPOINTS: {
|
|
|
2481
2447
|
readonly getPublicBookingAvailableSlots: {
|
|
2482
2448
|
path: "/public/bookings/availability/slots";
|
|
2483
2449
|
method: "GET";
|
|
2484
|
-
revalidate:
|
|
2450
|
+
revalidate: number;
|
|
2485
2451
|
tags: ("riverbank:site:{siteId}:public-booking-services" | "riverbank:site:{siteId}:public-booking-availability")[];
|
|
2486
2452
|
auth: "public";
|
|
2487
2453
|
responseKind: "json";
|
|
@@ -2489,7 +2455,7 @@ export declare const API_ENDPOINTS: {
|
|
|
2489
2455
|
readonly getPublicWeeklySlotAvailability: {
|
|
2490
2456
|
path: "/public/bookings/weekly-slot-availability";
|
|
2491
2457
|
method: "GET";
|
|
2492
|
-
revalidate:
|
|
2458
|
+
revalidate: number;
|
|
2493
2459
|
tags: ("riverbank:site:{siteId}:public-booking-services" | "riverbank:site:{siteId}:public-booking-availability")[];
|
|
2494
2460
|
auth: "public";
|
|
2495
2461
|
responseKind: "json";
|
|
@@ -3357,20 +3323,6 @@ export declare const API_ENDPOINTS: {
|
|
|
3357
3323
|
readonly auth: "admin";
|
|
3358
3324
|
readonly responseKind: "json";
|
|
3359
3325
|
};
|
|
3360
|
-
readonly adminChangePlan: {
|
|
3361
|
-
readonly path: "/admin/billing/plan";
|
|
3362
|
-
readonly method: "POST";
|
|
3363
|
-
readonly tags: ["admin", "billing"];
|
|
3364
|
-
readonly auth: "admin";
|
|
3365
|
-
readonly responseKind: "json";
|
|
3366
|
-
};
|
|
3367
|
-
readonly changePlan: {
|
|
3368
|
-
readonly path: "/billing/plan/change";
|
|
3369
|
-
readonly method: "POST";
|
|
3370
|
-
readonly tags: ["billing"];
|
|
3371
|
-
readonly auth: "user";
|
|
3372
|
-
readonly responseKind: "json";
|
|
3373
|
-
};
|
|
3374
3326
|
readonly mfaTotpEnroll: {
|
|
3375
3327
|
readonly path: "/auth/mfa/totp/enroll";
|
|
3376
3328
|
readonly method: "POST";
|
|
@@ -3618,13 +3570,6 @@ export declare const API_ENDPOINTS: {
|
|
|
3618
3570
|
readonly auth: "user";
|
|
3619
3571
|
readonly responseKind: "json";
|
|
3620
3572
|
};
|
|
3621
|
-
readonly createNavigationMenu: {
|
|
3622
|
-
readonly path: "/sites/{siteId}/navigation/menus";
|
|
3623
|
-
readonly method: "POST";
|
|
3624
|
-
readonly tags: ["riverbank:site", "riverbank:site:{siteId}:navigation"];
|
|
3625
|
-
readonly auth: "user";
|
|
3626
|
-
readonly responseKind: "json";
|
|
3627
|
-
};
|
|
3628
3573
|
readonly getNavigationMenuItems: {
|
|
3629
3574
|
readonly path: "/sites/{siteId}/navigation/menus/{menuId}";
|
|
3630
3575
|
readonly method: "GET";
|
|
@@ -3632,20 +3577,6 @@ export declare const API_ENDPOINTS: {
|
|
|
3632
3577
|
readonly auth: "user";
|
|
3633
3578
|
readonly responseKind: "json";
|
|
3634
3579
|
};
|
|
3635
|
-
readonly updateNavigationMenu: {
|
|
3636
|
-
readonly path: "/sites/{siteId}/navigation/menus/{menuId}";
|
|
3637
|
-
readonly method: "PATCH";
|
|
3638
|
-
readonly tags: ["riverbank:site", "riverbank:site:{siteId}:navigation", "riverbank:navigation-menu:{menuId}"];
|
|
3639
|
-
readonly auth: "user";
|
|
3640
|
-
readonly responseKind: "json";
|
|
3641
|
-
};
|
|
3642
|
-
readonly deleteNavigationMenu: {
|
|
3643
|
-
readonly path: "/sites/{siteId}/navigation/menus/{menuId}";
|
|
3644
|
-
readonly method: "DELETE";
|
|
3645
|
-
readonly tags: ["riverbank:site", "riverbank:site:{siteId}:navigation", "riverbank:navigation-menu:{menuId}"];
|
|
3646
|
-
readonly auth: "user";
|
|
3647
|
-
readonly responseKind: "json";
|
|
3648
|
-
};
|
|
3649
3580
|
readonly createNavigationItem: {
|
|
3650
3581
|
readonly path: "/sites/{siteId}/navigation/menus/{menuId}/items";
|
|
3651
3582
|
readonly method: "POST";
|
|
@@ -3694,23 +3625,7 @@ export declare const API_ENDPOINTS: {
|
|
|
3694
3625
|
readonly path: "/public/sites/{siteId}/sitemap";
|
|
3695
3626
|
readonly method: "GET";
|
|
3696
3627
|
readonly revalidate: 60;
|
|
3697
|
-
readonly tags: ["riverbank:site:{siteId}:routable-content", "riverbank:site:{siteId}:settings"];
|
|
3698
|
-
readonly auth: "public";
|
|
3699
|
-
readonly responseKind: "json";
|
|
3700
|
-
};
|
|
3701
|
-
readonly getPublishedEntryPreview: {
|
|
3702
|
-
readonly path: "/public/content/{siteId}/{type}/{slug}/preview";
|
|
3703
|
-
readonly method: "GET";
|
|
3704
|
-
readonly revalidate: 60;
|
|
3705
|
-
readonly tags: ["content-{siteId}-{type}-{slug}"];
|
|
3706
|
-
readonly auth: "public";
|
|
3707
|
-
readonly responseKind: "json";
|
|
3708
|
-
};
|
|
3709
|
-
readonly listPublishedEntries: {
|
|
3710
|
-
readonly path: "/public/content/{siteId}/{type}/entries";
|
|
3711
|
-
readonly method: "GET";
|
|
3712
|
-
readonly revalidate: 60;
|
|
3713
|
-
readonly tags: ["content-{siteId}-{type}"];
|
|
3628
|
+
readonly tags: ["riverbank:site:{siteId}:routable-content", "riverbank:site:{siteId}:settings", "riverbank:site:{siteId}:public-events", "riverbank:site:{siteId}:public-booking-services"];
|
|
3714
3629
|
readonly auth: "public";
|
|
3715
3630
|
readonly responseKind: "json";
|
|
3716
3631
|
};
|
|
@@ -4294,14 +4209,6 @@ export declare const API_ENDPOINTS: {
|
|
|
4294
4209
|
readonly auth: "public";
|
|
4295
4210
|
readonly responseKind: "json";
|
|
4296
4211
|
};
|
|
4297
|
-
readonly getPublicFormById: {
|
|
4298
|
-
readonly path: "/public/forms/{formId}";
|
|
4299
|
-
readonly method: "GET";
|
|
4300
|
-
readonly revalidate: 60;
|
|
4301
|
-
readonly tags: ["riverbank:form:{formId}"];
|
|
4302
|
-
readonly auth: "public";
|
|
4303
|
-
readonly responseKind: "json";
|
|
4304
|
-
};
|
|
4305
4212
|
readonly listPublicForms: {
|
|
4306
4213
|
readonly path: "/public/sites/{siteId}/forms";
|
|
4307
4214
|
readonly method: "GET";
|
|
@@ -4913,14 +4820,121 @@ export declare const API_ENDPOINTS: {
|
|
|
4913
4820
|
responseKind: "json";
|
|
4914
4821
|
errors: ("auth:forbidden" | "server:internal_error")[];
|
|
4915
4822
|
};
|
|
4916
|
-
readonly
|
|
4917
|
-
path: "/sites/{siteId}/
|
|
4823
|
+
readonly getMailingListSetup: {
|
|
4824
|
+
path: "/sites/{siteId}/mailing-list/setup";
|
|
4825
|
+
method: "GET";
|
|
4826
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4827
|
+
auth: "user";
|
|
4828
|
+
responseKind: "json";
|
|
4829
|
+
errors: ("auth:forbidden" | "server:internal_error")[];
|
|
4830
|
+
};
|
|
4831
|
+
readonly getMailingListAuthoringContext: {
|
|
4832
|
+
path: "/sites/{siteId}/mailing-list/authoring-context";
|
|
4833
|
+
method: "GET";
|
|
4834
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4835
|
+
auth: "user";
|
|
4836
|
+
responseKind: "json";
|
|
4837
|
+
errors: ("auth:forbidden" | "server:internal_error")[];
|
|
4838
|
+
};
|
|
4839
|
+
readonly previewMailingListSetupChange: {
|
|
4840
|
+
path: "/sites/{siteId}/mailing-list/setup/preview";
|
|
4841
|
+
method: "POST";
|
|
4842
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4843
|
+
auth: "user";
|
|
4844
|
+
responseKind: "json";
|
|
4845
|
+
demoMutation: {
|
|
4846
|
+
classification: "allowed";
|
|
4847
|
+
publicMessage: "";
|
|
4848
|
+
} | {
|
|
4849
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
4850
|
+
publicMessage: string;
|
|
4851
|
+
};
|
|
4852
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "server:internal_error")[];
|
|
4853
|
+
};
|
|
4854
|
+
readonly applyMailingListSetupChange: {
|
|
4855
|
+
path: "/sites/{siteId}/mailing-list/setup";
|
|
4856
|
+
method: "PUT";
|
|
4857
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4858
|
+
auth: "user";
|
|
4859
|
+
responseKind: "json";
|
|
4860
|
+
demoMutation: {
|
|
4861
|
+
classification: "allowed";
|
|
4862
|
+
publicMessage: "";
|
|
4863
|
+
} | {
|
|
4864
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
4865
|
+
publicMessage: string;
|
|
4866
|
+
};
|
|
4867
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
4868
|
+
};
|
|
4869
|
+
readonly getMailingListProviderCatalog: {
|
|
4870
|
+
path: "/sites/{siteId}/mailing-list/providers/{provider}/catalog";
|
|
4871
|
+
method: "GET";
|
|
4872
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4873
|
+
auth: "user";
|
|
4874
|
+
responseKind: "json";
|
|
4875
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "server:internal_error")[];
|
|
4876
|
+
};
|
|
4877
|
+
readonly refreshMailingListProviderCatalog: {
|
|
4878
|
+
path: "/sites/{siteId}/mailing-list/providers/{provider}/catalog/refresh";
|
|
4879
|
+
method: "POST";
|
|
4880
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4881
|
+
auth: "user";
|
|
4882
|
+
responseKind: "json";
|
|
4883
|
+
demoMutation: {
|
|
4884
|
+
classification: "allowed";
|
|
4885
|
+
publicMessage: "";
|
|
4886
|
+
} | {
|
|
4887
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
4888
|
+
publicMessage: string;
|
|
4889
|
+
};
|
|
4890
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "server:internal_error")[];
|
|
4891
|
+
};
|
|
4892
|
+
readonly getMailingListProviderHealth: {
|
|
4893
|
+
path: "/sites/{siteId}/mailing-list/health";
|
|
4894
|
+
method: "GET";
|
|
4895
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
4896
|
+
auth: "user";
|
|
4897
|
+
responseKind: "json";
|
|
4898
|
+
errors: ("auth:forbidden" | "server:internal_error")[];
|
|
4899
|
+
};
|
|
4900
|
+
readonly getBrevoConnection: {
|
|
4901
|
+
path: "/sites/{siteId}/integrations/brevo/connection";
|
|
4918
4902
|
method: "GET";
|
|
4919
4903
|
tags: "riverbank:site:{siteId}"[];
|
|
4920
4904
|
auth: "user";
|
|
4921
4905
|
responseKind: "json";
|
|
4922
4906
|
errors: ("auth:forbidden" | "server:internal_error")[];
|
|
4923
4907
|
};
|
|
4908
|
+
readonly connectBrevo: {
|
|
4909
|
+
path: "/sites/{siteId}/integrations/brevo/connection";
|
|
4910
|
+
method: "PUT";
|
|
4911
|
+
tags: "riverbank:site:{siteId}"[];
|
|
4912
|
+
auth: "user";
|
|
4913
|
+
responseKind: "json";
|
|
4914
|
+
demoMutation: {
|
|
4915
|
+
classification: "allowed";
|
|
4916
|
+
publicMessage: "";
|
|
4917
|
+
} | {
|
|
4918
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
4919
|
+
publicMessage: string;
|
|
4920
|
+
};
|
|
4921
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
4922
|
+
};
|
|
4923
|
+
readonly disconnectBrevo: {
|
|
4924
|
+
path: "/sites/{siteId}/integrations/brevo/disconnect";
|
|
4925
|
+
method: "POST";
|
|
4926
|
+
tags: "riverbank:site:{siteId}"[];
|
|
4927
|
+
auth: "user";
|
|
4928
|
+
responseKind: "json";
|
|
4929
|
+
demoMutation: {
|
|
4930
|
+
classification: "allowed";
|
|
4931
|
+
publicMessage: "";
|
|
4932
|
+
} | {
|
|
4933
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
4934
|
+
publicMessage: string;
|
|
4935
|
+
};
|
|
4936
|
+
errors: ("auth:forbidden" | "resource:conflict" | "server:internal_error")[];
|
|
4937
|
+
};
|
|
4924
4938
|
readonly getMailchimpConnection: {
|
|
4925
4939
|
path: "/sites/{siteId}/integrations/mailchimp/connection";
|
|
4926
4940
|
method: "GET";
|
|
@@ -5523,55 +5537,6 @@ export declare const API_ENDPOINTS: {
|
|
|
5523
5537
|
readonly errors: readonly [];
|
|
5524
5538
|
readonly responseKind: "json";
|
|
5525
5539
|
};
|
|
5526
|
-
readonly createPublicOnboardingAttempt: {
|
|
5527
|
-
readonly path: "/public/onboarding/attempts";
|
|
5528
|
-
readonly method: "POST";
|
|
5529
|
-
readonly auth: "public";
|
|
5530
|
-
readonly errors: readonly [];
|
|
5531
|
-
readonly responseKind: "json";
|
|
5532
|
-
};
|
|
5533
|
-
readonly createPublicOnboardingLogoUploadUrl: {
|
|
5534
|
-
readonly path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url";
|
|
5535
|
-
readonly method: "POST";
|
|
5536
|
-
readonly auth: "public";
|
|
5537
|
-
readonly errors: readonly [];
|
|
5538
|
-
readonly responseKind: "json";
|
|
5539
|
-
};
|
|
5540
|
-
readonly uploadPublicOnboardingLogo: {
|
|
5541
|
-
readonly path: "/public/onboarding/attempts/{attemptToken}/logo";
|
|
5542
|
-
readonly method: "POST";
|
|
5543
|
-
readonly auth: "public";
|
|
5544
|
-
readonly errors: readonly [];
|
|
5545
|
-
readonly responseKind: "json";
|
|
5546
|
-
};
|
|
5547
|
-
readonly getPublicOnboardingAttempt: {
|
|
5548
|
-
readonly path: "/public/onboarding/attempts/{attemptToken}";
|
|
5549
|
-
readonly method: "GET";
|
|
5550
|
-
readonly auth: "public";
|
|
5551
|
-
readonly errors: readonly [];
|
|
5552
|
-
readonly responseKind: "json";
|
|
5553
|
-
};
|
|
5554
|
-
readonly getPublicOnboardingAttemptProgress: {
|
|
5555
|
-
readonly path: "/public/onboarding/attempts/{attemptToken}/status";
|
|
5556
|
-
readonly method: "GET";
|
|
5557
|
-
readonly auth: "public";
|
|
5558
|
-
readonly errors: readonly [];
|
|
5559
|
-
readonly responseKind: "json";
|
|
5560
|
-
};
|
|
5561
|
-
readonly updatePublicOnboardingAttempt: {
|
|
5562
|
-
readonly path: "/public/onboarding/attempts/{attemptToken}";
|
|
5563
|
-
readonly method: "PATCH";
|
|
5564
|
-
readonly auth: "public";
|
|
5565
|
-
readonly errors: readonly [];
|
|
5566
|
-
readonly responseKind: "json";
|
|
5567
|
-
};
|
|
5568
|
-
readonly runPublicOnboardingAttempt: {
|
|
5569
|
-
readonly path: "/public/onboarding/attempts/{attemptToken}/run";
|
|
5570
|
-
readonly method: "POST";
|
|
5571
|
-
readonly auth: "public";
|
|
5572
|
-
readonly errors: readonly [];
|
|
5573
|
-
readonly responseKind: "json";
|
|
5574
|
-
};
|
|
5575
5540
|
readonly aiSiteWizardSuggestGoals: {
|
|
5576
5541
|
readonly path: "/sites/{siteId}/ai/site-wizard/goals";
|
|
5577
5542
|
readonly method: "POST";
|
|
@@ -5689,6 +5654,93 @@ export declare const API_ENDPOINTS: {
|
|
|
5689
5654
|
readonly responseKind: "json";
|
|
5690
5655
|
readonly demoMutation: import("./apiEndpointTypes").ApiDemoMutationPolicy;
|
|
5691
5656
|
};
|
|
5657
|
+
readonly adminChangePlan: {
|
|
5658
|
+
path: "/admin/billing/plan";
|
|
5659
|
+
method: "POST";
|
|
5660
|
+
tags: ("admin" | "billing")[];
|
|
5661
|
+
auth: "admin";
|
|
5662
|
+
responseKind: "json";
|
|
5663
|
+
};
|
|
5664
|
+
readonly changePlan: {
|
|
5665
|
+
path: "/billing/plan/change";
|
|
5666
|
+
method: "POST";
|
|
5667
|
+
tags: "billing"[];
|
|
5668
|
+
auth: "user";
|
|
5669
|
+
responseKind: "json";
|
|
5670
|
+
};
|
|
5671
|
+
readonly createBillingPortalSession: {
|
|
5672
|
+
path: "/billing/portal/session";
|
|
5673
|
+
method: "POST";
|
|
5674
|
+
tags: "billing"[];
|
|
5675
|
+
auth: "user";
|
|
5676
|
+
responseKind: "json";
|
|
5677
|
+
};
|
|
5678
|
+
readonly getPublishedEntryPreview: {
|
|
5679
|
+
path: "/public/content/{siteId}/{type}/{slug}/preview";
|
|
5680
|
+
method: "GET";
|
|
5681
|
+
revalidate: number;
|
|
5682
|
+
tags: "content-{siteId}-{type}-{slug}"[];
|
|
5683
|
+
auth: "public";
|
|
5684
|
+
responseKind: "json";
|
|
5685
|
+
};
|
|
5686
|
+
readonly listPublishedEntries: {
|
|
5687
|
+
path: "/public/content/{siteId}/{type}/entries";
|
|
5688
|
+
method: "GET";
|
|
5689
|
+
revalidate: number;
|
|
5690
|
+
tags: "content-{siteId}-{type}"[];
|
|
5691
|
+
auth: "public";
|
|
5692
|
+
responseKind: "json";
|
|
5693
|
+
};
|
|
5694
|
+
readonly getPublicFormById: {
|
|
5695
|
+
path: "/public/forms/{formId}";
|
|
5696
|
+
method: "GET";
|
|
5697
|
+
revalidate: number;
|
|
5698
|
+
tags: "riverbank:form:{formId}"[];
|
|
5699
|
+
auth: "public";
|
|
5700
|
+
responseKind: "json";
|
|
5701
|
+
};
|
|
5702
|
+
readonly listPublicEvents: {
|
|
5703
|
+
path: "/public/sites/{siteId}/events";
|
|
5704
|
+
method: "GET";
|
|
5705
|
+
revalidate: number;
|
|
5706
|
+
tags: "riverbank:site:{siteId}:public-events"[];
|
|
5707
|
+
auth: "public";
|
|
5708
|
+
responseKind: "json";
|
|
5709
|
+
};
|
|
5710
|
+
readonly listPublicTeamMembers: {
|
|
5711
|
+
path: "/public/sites/{siteId}/team-members";
|
|
5712
|
+
method: "GET";
|
|
5713
|
+
revalidate: number;
|
|
5714
|
+
tags: "riverbank:site:{siteId}:public-team-members"[];
|
|
5715
|
+
errors: never[];
|
|
5716
|
+
auth: "public";
|
|
5717
|
+
responseKind: "json";
|
|
5718
|
+
};
|
|
5719
|
+
readonly listPublicPasses: {
|
|
5720
|
+
path: "/public/sites/{siteId}/bookings/products/passes";
|
|
5721
|
+
method: "GET";
|
|
5722
|
+
revalidate: number;
|
|
5723
|
+
tags: "riverbank:site:{siteId}:public-passes"[];
|
|
5724
|
+
auth: "public";
|
|
5725
|
+
responseKind: "json";
|
|
5726
|
+
};
|
|
5727
|
+
readonly listPublicMemberships: {
|
|
5728
|
+
path: "/public/sites/{siteId}/bookings/products/memberships";
|
|
5729
|
+
method: "GET";
|
|
5730
|
+
revalidate: number;
|
|
5731
|
+
tags: "riverbank:site:{siteId}:public-memberships"[];
|
|
5732
|
+
auth: "public";
|
|
5733
|
+
responseKind: "json";
|
|
5734
|
+
};
|
|
5735
|
+
readonly listPublicProducts: {
|
|
5736
|
+
path: "/public/sites/{siteId}/products";
|
|
5737
|
+
method: "GET";
|
|
5738
|
+
revalidate: number;
|
|
5739
|
+
tags: "riverbank:site:{siteId}:public-products"[];
|
|
5740
|
+
errors: never[];
|
|
5741
|
+
auth: "public";
|
|
5742
|
+
responseKind: "json";
|
|
5743
|
+
};
|
|
5692
5744
|
readonly createGiftingOffer: {
|
|
5693
5745
|
path: "/sites/{siteId}/gifting/offers";
|
|
5694
5746
|
method: "POST";
|
|
@@ -5832,12 +5884,68 @@ export declare const API_ENDPOINTS: {
|
|
|
5832
5884
|
readonly resolveEventSubroute: {
|
|
5833
5885
|
path: "/public/sites/{siteId}/events/subroutes/resolve";
|
|
5834
5886
|
method: "GET";
|
|
5835
|
-
revalidate:
|
|
5887
|
+
revalidate: number;
|
|
5836
5888
|
tags: ("riverbank:site:{siteId}:public-events" | "event-subroute")[];
|
|
5837
5889
|
auth: "public";
|
|
5838
5890
|
responseKind: "json";
|
|
5839
5891
|
errors: never[];
|
|
5840
5892
|
};
|
|
5893
|
+
readonly createPublicOnboardingAttempt: {
|
|
5894
|
+
path: "/public/onboarding/attempts";
|
|
5895
|
+
method: "POST";
|
|
5896
|
+
auth: "public";
|
|
5897
|
+
errors: never[];
|
|
5898
|
+
responseKind: "json";
|
|
5899
|
+
};
|
|
5900
|
+
readonly createPublicOnboardingLogoUploadUrl: {
|
|
5901
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url";
|
|
5902
|
+
method: "POST";
|
|
5903
|
+
auth: "public";
|
|
5904
|
+
errors: never[];
|
|
5905
|
+
responseKind: "json";
|
|
5906
|
+
};
|
|
5907
|
+
readonly uploadPublicOnboardingLogo: {
|
|
5908
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo";
|
|
5909
|
+
method: "POST";
|
|
5910
|
+
auth: "public";
|
|
5911
|
+
errors: never[];
|
|
5912
|
+
responseKind: "json";
|
|
5913
|
+
};
|
|
5914
|
+
readonly getPublicOnboardingAttempt: {
|
|
5915
|
+
path: "/public/onboarding/attempts/{attemptToken}";
|
|
5916
|
+
method: "GET";
|
|
5917
|
+
auth: "public";
|
|
5918
|
+
errors: never[];
|
|
5919
|
+
responseKind: "json";
|
|
5920
|
+
};
|
|
5921
|
+
readonly getPublicOnboardingAttemptProgress: {
|
|
5922
|
+
path: "/public/onboarding/attempts/{attemptToken}/status";
|
|
5923
|
+
method: "GET";
|
|
5924
|
+
auth: "public";
|
|
5925
|
+
errors: never[];
|
|
5926
|
+
responseKind: "json";
|
|
5927
|
+
};
|
|
5928
|
+
readonly updatePublicOnboardingAttempt: {
|
|
5929
|
+
path: "/public/onboarding/attempts/{attemptToken}";
|
|
5930
|
+
method: "PATCH";
|
|
5931
|
+
auth: "public";
|
|
5932
|
+
errors: never[];
|
|
5933
|
+
responseKind: "json";
|
|
5934
|
+
};
|
|
5935
|
+
readonly runPublicOnboardingAttempt: {
|
|
5936
|
+
path: "/public/onboarding/attempts/{attemptToken}/run";
|
|
5937
|
+
method: "POST";
|
|
5938
|
+
auth: "public";
|
|
5939
|
+
errors: never[];
|
|
5940
|
+
responseKind: "json";
|
|
5941
|
+
};
|
|
5942
|
+
readonly resendPublicOnboardingAttemptConfirmation: {
|
|
5943
|
+
path: "/public/onboarding/attempts/{attemptToken}/resend-confirmation";
|
|
5944
|
+
method: "POST";
|
|
5945
|
+
auth: "public";
|
|
5946
|
+
errors: never[];
|
|
5947
|
+
responseKind: "json";
|
|
5948
|
+
};
|
|
5841
5949
|
readonly accountGetIdentity: {
|
|
5842
5950
|
path: "/account/identity";
|
|
5843
5951
|
method: "GET";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type EventPreset } from '../../core/src/index';
|
|
1
|
+
import { type EventPreset, type PublicExperience } from '../../core/src/index';
|
|
2
2
|
export declare const eventDestinationModeValues: readonly ["cms-managed", "system-managed"];
|
|
3
3
|
export declare const eventDestinationPresetValues: readonly ["event", "class", "course", "term", "workshop", "retreat", "performance"];
|
|
4
4
|
export type EventDestinationMode = (typeof eventDestinationModeValues)[number];
|
|
@@ -13,5 +13,6 @@ export declare function isEventDestinationMode(value: unknown): value is EventDe
|
|
|
13
13
|
export declare function resolveEventDestinationMode(input: Readonly<{
|
|
14
14
|
policy: EventDestinationPolicy | null | undefined;
|
|
15
15
|
preset: EventPreset | null | undefined;
|
|
16
|
+
publicExperience?: PublicExperience;
|
|
16
17
|
}>): EventDestinationMode;
|
|
17
18
|
export declare function macadamiaDefaultEventDestinationPolicy(selectedPresets: readonly EventPreset[]): EventDestinationPolicy;
|