@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
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import type { Theme } from
|
|
2
|
-
import type {
|
|
3
|
-
import { z } from
|
|
4
|
-
import type { AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest } from
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
1
|
+
import type { Theme } from '../../blocks/src/index';
|
|
2
|
+
import type { SiteVerticalBookingConfig } from '../../core/src/index';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import type { AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest } from './siteGeneration';
|
|
5
|
+
import type { AppointmentSetupTargetStep } from './appointmentSetup';
|
|
6
|
+
import type { MacadamiaOnboardingLogoAnalysis, MacadamiaOnboardingSurfaceData, PublicOnboardingSurfaceId } from './onboarding/surfaceData';
|
|
7
|
+
export type * from './onboarding/surfaceData';
|
|
7
8
|
/**
|
|
8
9
|
* Site Onboarding Contracts
|
|
9
10
|
*
|
|
10
|
-
* These types cover AI-assisted site setup, launch readiness, and the
|
|
11
|
-
* Macadamia
|
|
11
|
+
* These types cover AI-assisted site setup, launch readiness, and the public
|
|
12
|
+
* onboarding attempt lifecycle. The Macadamia surface's own draft shapes live
|
|
13
|
+
* in `./onboarding/surfaceData` and are re-exported from here.
|
|
12
14
|
*
|
|
13
15
|
* Note: Do NOT use these API types as validation schemas. They document wire
|
|
14
16
|
* contracts while the owning services validate and normalize inputs.
|
|
15
17
|
*/
|
|
16
|
-
export type SitePurpose =
|
|
18
|
+
export type SitePurpose = 'GENERATE_LEADS' | 'SHOWCASE_PORTFOLIO' | 'SELL_PRODUCTS' | 'SELL_TICKETS' | 'EVENT_INFO' | 'BLOGGING' | 'COMMUNITY' | 'OTHER';
|
|
17
19
|
export type AiBrandGuidelinesExample = {
|
|
18
20
|
title: string;
|
|
19
21
|
text: string;
|
|
@@ -29,8 +31,8 @@ export type SiteAiBrandGuidelinesPayload = {
|
|
|
29
31
|
export type SiteAiBrandGuidelinesResponse = {
|
|
30
32
|
settings: SiteAiBrandGuidelinesPayload | null;
|
|
31
33
|
};
|
|
32
|
-
export type SiteAiProfileEntityType =
|
|
33
|
-
export type SiteAiProfileLocationMode =
|
|
34
|
+
export type SiteAiProfileEntityType = 'INDIVIDUAL' | 'BUSINESS' | 'NON_PROFIT' | 'EVENT' | 'COMMUNITY' | 'OTHER';
|
|
35
|
+
export type SiteAiProfileLocationMode = 'PHYSICAL' | 'REMOTE_ONLY' | 'NOT_RELEVANT';
|
|
34
36
|
export type SiteAiProfilePayload = {
|
|
35
37
|
entityType: SiteAiProfileEntityType;
|
|
36
38
|
entityName: string;
|
|
@@ -53,7 +55,7 @@ export type SiteContentSamplingStats = {
|
|
|
53
55
|
placeholderCandidateCount: number;
|
|
54
56
|
};
|
|
55
57
|
export type SiteContentSampledItem = {
|
|
56
|
-
kind:
|
|
58
|
+
kind: 'page' | 'entry';
|
|
57
59
|
title: string | null;
|
|
58
60
|
path: string | null;
|
|
59
61
|
identifier: string | null;
|
|
@@ -68,16 +70,16 @@ export type AiBrandGuidelinesGenerationContextResponse = {
|
|
|
68
70
|
};
|
|
69
71
|
};
|
|
70
72
|
export type AiBrandGuidelinesGenerateRequest = {
|
|
71
|
-
step:
|
|
72
|
-
field:
|
|
73
|
+
step: 'field';
|
|
74
|
+
field: 'audience' | 'brandVoice' | 'writingGuidelines' | 'dos' | 'donts' | 'examples';
|
|
73
75
|
useSiteContent: boolean;
|
|
74
76
|
lockedSettings: Partial<SiteAiBrandGuidelinesPayload>;
|
|
75
77
|
currentSettings?: SiteAiBrandGuidelinesPayload;
|
|
76
78
|
userMessage?: string;
|
|
77
79
|
};
|
|
78
80
|
export type AiBrandGuidelinesGenerateResponse = {
|
|
79
|
-
kind:
|
|
80
|
-
field:
|
|
81
|
+
kind: 'field-proposal';
|
|
82
|
+
field: 'audience' | 'brandVoice' | 'writingGuidelines' | 'dos' | 'donts' | 'examples';
|
|
81
83
|
message: string;
|
|
82
84
|
proposal: Partial<SiteAiBrandGuidelinesPayload>;
|
|
83
85
|
siteContent: {
|
|
@@ -87,36 +89,11 @@ export type AiBrandGuidelinesGenerateResponse = {
|
|
|
87
89
|
stats: SiteContentSamplingStats;
|
|
88
90
|
};
|
|
89
91
|
};
|
|
90
|
-
export type
|
|
91
|
-
export type
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export type MacadamiaOnboardingLogoPaletteRecommendation = {
|
|
96
|
-
title: string;
|
|
97
|
-
palette: MacadamiaOnboardingMappedPalette["palette"];
|
|
98
|
-
};
|
|
99
|
-
export type MacadamiaOnboardingLogoAnalysis = {
|
|
100
|
-
logoFacts: LogoFacts;
|
|
101
|
-
recommendedPalettes: MacadamiaOnboardingLogoPaletteRecommendation[];
|
|
102
|
-
ignoredColors: string[];
|
|
103
|
-
};
|
|
104
|
-
export type MacadamiaOnboardingVisualIdentity = {
|
|
105
|
-
logoPath: string | null;
|
|
106
|
-
logoUrl: string | null;
|
|
107
|
-
logoPalette: string[] | null;
|
|
108
|
-
logoMappedPalette: MacadamiaOnboardingMappedPalette | null;
|
|
109
|
-
logoAnalysis: MacadamiaOnboardingLogoAnalysis | null;
|
|
110
|
-
primaryColor: string | null;
|
|
111
|
-
secondaryColors: string[];
|
|
112
|
-
selectedPaletteKey: string | null;
|
|
113
|
-
inspirationUrls: string[];
|
|
114
|
-
};
|
|
115
|
-
export type LaunchRequirementId = "confirm_email" | "review_generated_site" | "configure_appointments" | "configure_events" | "configure_courses" | "connect_payments" | "connect_custom_domain";
|
|
116
|
-
export type LaunchRequirementPackId = "core" | "bookings_appointments" | "bookings_events" | "bookings_courses" | "payments" | "domain";
|
|
117
|
-
export type LaunchRequirementPriority = "required" | "recommended" | "optional";
|
|
118
|
-
export type LaunchRequirementState = "complete" | "pending";
|
|
119
|
-
export type LaunchRequirementOwner = "admin" | "editor" | "either";
|
|
92
|
+
export type LaunchRequirementId = 'confirm_email' | 'review_generated_site' | 'configure_appointments' | 'configure_events' | 'configure_courses' | 'connect_payments' | 'connect_custom_domain';
|
|
93
|
+
export type LaunchRequirementPackId = 'core' | 'bookings_appointments' | 'bookings_events' | 'bookings_courses' | 'payments' | 'domain';
|
|
94
|
+
export type LaunchRequirementPriority = 'required' | 'recommended' | 'optional';
|
|
95
|
+
export type LaunchRequirementState = 'complete' | 'pending';
|
|
96
|
+
export type LaunchRequirementOwner = 'admin' | 'editor' | 'either';
|
|
120
97
|
export declare const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS: {
|
|
121
98
|
readonly configure_appointments: {
|
|
122
99
|
readonly requirementId: "configure_appointments";
|
|
@@ -124,93 +101,93 @@ export declare const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS: {
|
|
|
124
101
|
};
|
|
125
102
|
};
|
|
126
103
|
export type LaunchRequirementOverrideDefinition = (typeof LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS)[keyof typeof LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS];
|
|
127
|
-
export type LaunchOverridableRequirementId = LaunchRequirementOverrideDefinition[
|
|
128
|
-
export type LaunchRequirementOverrideReason = LaunchRequirementOverrideDefinition[
|
|
104
|
+
export type LaunchOverridableRequirementId = LaunchRequirementOverrideDefinition['requirementId'];
|
|
105
|
+
export type LaunchRequirementOverrideReason = LaunchRequirementOverrideDefinition['reason'];
|
|
129
106
|
export type LaunchRequirementOverride = {
|
|
130
|
-
requirementId: Extract<LaunchRequirementId,
|
|
107
|
+
requirementId: Extract<LaunchRequirementId, 'configure_appointments'>;
|
|
131
108
|
reason: LaunchRequirementOverrideReason;
|
|
132
109
|
acknowledgedAt: string | null;
|
|
133
110
|
acknowledgedBy: string | null;
|
|
134
111
|
};
|
|
135
112
|
export type LaunchRequirementAction = {
|
|
136
|
-
kind:
|
|
113
|
+
kind: 'open_dashboard_path';
|
|
137
114
|
label: string;
|
|
138
115
|
path: string;
|
|
139
116
|
} | {
|
|
140
|
-
kind:
|
|
117
|
+
kind: 'acknowledge_requirement';
|
|
141
118
|
label: string;
|
|
142
|
-
requirementId: Extract<LaunchRequirementId,
|
|
143
|
-
acknowledgementKind:
|
|
119
|
+
requirementId: Extract<LaunchRequirementId, 'review_generated_site'>;
|
|
120
|
+
acknowledgementKind: 'review';
|
|
144
121
|
} | {
|
|
145
|
-
kind:
|
|
122
|
+
kind: 'acknowledge_requirement';
|
|
146
123
|
label: string;
|
|
147
|
-
requirementId: Extract<LaunchRequirementId,
|
|
148
|
-
acknowledgementKind:
|
|
124
|
+
requirementId: Extract<LaunchRequirementId, 'configure_appointments'>;
|
|
125
|
+
acknowledgementKind: 'override';
|
|
149
126
|
overrideReason: LaunchRequirementOverrideReason;
|
|
150
127
|
} | {
|
|
151
|
-
kind:
|
|
128
|
+
kind: 'informational_only';
|
|
152
129
|
label: string;
|
|
153
130
|
};
|
|
154
131
|
export type LaunchRequirementEvidence = {
|
|
155
|
-
kind:
|
|
132
|
+
kind: 'derived';
|
|
156
133
|
} | {
|
|
157
|
-
kind:
|
|
134
|
+
kind: 'acknowledged';
|
|
158
135
|
acknowledgedAt: string | null;
|
|
159
136
|
acknowledgedBy: string | null;
|
|
160
137
|
} | {
|
|
161
|
-
kind:
|
|
138
|
+
kind: 'overridden';
|
|
162
139
|
reason: LaunchRequirementOverrideReason;
|
|
163
140
|
acknowledgedAt: string | null;
|
|
164
141
|
acknowledgedBy: string | null;
|
|
165
142
|
} | {
|
|
166
|
-
kind:
|
|
167
|
-
reason:
|
|
143
|
+
kind: 'deferred';
|
|
144
|
+
reason: 'pending_setup' | 'pending_acknowledgement';
|
|
168
145
|
};
|
|
169
146
|
export type LaunchEmailPackState = {
|
|
170
|
-
kind:
|
|
147
|
+
kind: 'confirmed';
|
|
171
148
|
} | {
|
|
172
|
-
kind:
|
|
149
|
+
kind: 'pending_confirmation';
|
|
173
150
|
};
|
|
174
151
|
export type LaunchReviewPackState = {
|
|
175
|
-
kind:
|
|
152
|
+
kind: 'reviewed';
|
|
176
153
|
reviewedAt: string | null;
|
|
177
154
|
reviewedBy: string | null;
|
|
178
155
|
} | {
|
|
179
|
-
kind:
|
|
156
|
+
kind: 'pending_review';
|
|
180
157
|
};
|
|
181
158
|
export type LaunchAppointmentsPackState = {
|
|
182
|
-
kind:
|
|
159
|
+
kind: 'disabled';
|
|
183
160
|
} | {
|
|
184
|
-
kind:
|
|
161
|
+
kind: 'ready';
|
|
185
162
|
} | {
|
|
186
|
-
kind:
|
|
163
|
+
kind: 'pending_setup';
|
|
187
164
|
targetStep: AppointmentSetupTargetStep;
|
|
188
165
|
};
|
|
189
166
|
export type LaunchEventsPackState = {
|
|
190
|
-
kind:
|
|
167
|
+
kind: 'disabled';
|
|
191
168
|
} | {
|
|
192
|
-
kind:
|
|
169
|
+
kind: 'ready';
|
|
193
170
|
} | {
|
|
194
|
-
kind:
|
|
171
|
+
kind: 'pending_setup';
|
|
195
172
|
};
|
|
196
173
|
export type LaunchPaymentsPackState = {
|
|
197
|
-
kind:
|
|
174
|
+
kind: 'not_applicable';
|
|
198
175
|
} | {
|
|
199
|
-
kind:
|
|
176
|
+
kind: 'ready';
|
|
200
177
|
} | {
|
|
201
|
-
kind:
|
|
178
|
+
kind: 'pending_setup';
|
|
202
179
|
};
|
|
203
180
|
export type LaunchCoursesPackState = {
|
|
204
|
-
kind:
|
|
181
|
+
kind: 'not_applicable';
|
|
205
182
|
} | {
|
|
206
|
-
kind:
|
|
183
|
+
kind: 'ready';
|
|
207
184
|
} | {
|
|
208
|
-
kind:
|
|
185
|
+
kind: 'pending_setup';
|
|
209
186
|
};
|
|
210
187
|
export type LaunchCustomDomainPackState = {
|
|
211
|
-
kind:
|
|
188
|
+
kind: 'connected';
|
|
212
189
|
} | {
|
|
213
|
-
kind:
|
|
190
|
+
kind: 'pending_setup';
|
|
214
191
|
};
|
|
215
192
|
export type LaunchRequirement = {
|
|
216
193
|
id: LaunchRequirementId;
|
|
@@ -225,10 +202,10 @@ export type LaunchRequirement = {
|
|
|
225
202
|
evidence: LaunchRequirementEvidence;
|
|
226
203
|
};
|
|
227
204
|
export type GoLiveDecision = {
|
|
228
|
-
kind:
|
|
205
|
+
kind: 'allowed';
|
|
229
206
|
overriddenRequirementIds: LaunchRequirementId[];
|
|
230
207
|
} | {
|
|
231
|
-
kind:
|
|
208
|
+
kind: 'blocked';
|
|
232
209
|
blockingRequirementIds: LaunchRequirementId[];
|
|
233
210
|
overriddenRequirementIds: LaunchRequirementId[];
|
|
234
211
|
};
|
|
@@ -247,11 +224,11 @@ export declare const acknowledgeLaunchRequirementRequestSchema: z.ZodDiscriminat
|
|
|
247
224
|
}, z.core.$strip>], "requirementId">;
|
|
248
225
|
export type AcknowledgeLaunchRequirementRequest = z.infer<typeof acknowledgeLaunchRequirementRequestSchema>;
|
|
249
226
|
export declare function toAcknowledgeLaunchRequirementRequest(action: Extract<LaunchRequirementAction, {
|
|
250
|
-
kind:
|
|
227
|
+
kind: 'acknowledge_requirement';
|
|
251
228
|
}>): AcknowledgeLaunchRequirementRequest;
|
|
252
229
|
export type AcknowledgeLaunchRequirementResponse = {
|
|
253
230
|
acknowledged: true;
|
|
254
|
-
requirementId: Extract<LaunchRequirementId,
|
|
231
|
+
requirementId: Extract<LaunchRequirementId, 'review_generated_site' | 'configure_appointments'>;
|
|
255
232
|
};
|
|
256
233
|
export declare const goLiveSiteRequestSchema: z.ZodObject<{
|
|
257
234
|
acceptExtraSiteCharge: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -279,133 +256,11 @@ export type OnboardingPreviewThemesResponse = {
|
|
|
279
256
|
themes: OnboardingPreviewThemeOption[];
|
|
280
257
|
};
|
|
281
258
|
export type ResendOnboardingPreviewConfirmationResponse = {
|
|
282
|
-
result:
|
|
259
|
+
result: 'resent' | 'already_confirmed';
|
|
283
260
|
dashboardUnlocked: boolean;
|
|
284
261
|
requiresEmailConfirmation: boolean;
|
|
285
262
|
launchReadiness: LaunchReadiness;
|
|
286
263
|
};
|
|
287
|
-
export type PublicOnboardingSurfaceId = "macadamia";
|
|
288
|
-
export type MacadamiaOnboardingTeamMode = "solo" | "team";
|
|
289
|
-
export type MacadamiaOnboardingOfferingKind = "classes" | "courses" | "workshops" | "retreats" | "performances" | "private_sessions";
|
|
290
|
-
export type MacadamiaOnboardingStyleMood = "calm_grounding" | "warm_welcoming" | "modern_polished" | "natural_earthy" | "bright_uplifting" | "luxury_retreat";
|
|
291
|
-
export type MacadamiaOnboardingFirstOfferingKind = "class" | "course" | "workshop" | "retreat" | "performance" | "private_session";
|
|
292
|
-
export type MacadamiaOnboardingFirstOfferingDeliveryMode = "in_person" | "online" | "both";
|
|
293
|
-
export type MacadamiaOnboardingFirstOfferingScheduleMode = "weekly" | "one_off";
|
|
294
|
-
export type MacadamiaOnboardingWeekday = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
295
|
-
export type MacadamiaOnboardingEventSession = {
|
|
296
|
-
clientId: string;
|
|
297
|
-
startDate: string;
|
|
298
|
-
startTime: string;
|
|
299
|
-
endDate: string;
|
|
300
|
-
endTime: string;
|
|
301
|
-
isMultiDay: boolean;
|
|
302
|
-
};
|
|
303
|
-
export type MacadamiaOnboardingFirstOffering = {
|
|
304
|
-
kind: "class";
|
|
305
|
-
title: string;
|
|
306
|
-
description: string | null;
|
|
307
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode;
|
|
308
|
-
location: string | null;
|
|
309
|
-
startDate: string;
|
|
310
|
-
recurrenceRule: string;
|
|
311
|
-
startTime: string;
|
|
312
|
-
durationMinutes: number;
|
|
313
|
-
priceType: "free" | "paid";
|
|
314
|
-
priceAmount: number | null;
|
|
315
|
-
capacity: number | null;
|
|
316
|
-
} | {
|
|
317
|
-
kind: "course";
|
|
318
|
-
title: string;
|
|
319
|
-
description: string | null;
|
|
320
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode;
|
|
321
|
-
location: string | null;
|
|
322
|
-
priceType: "free" | "paid";
|
|
323
|
-
priceAmount: number | null;
|
|
324
|
-
capacity: number | null;
|
|
325
|
-
sessions: MacadamiaOnboardingEventSession[];
|
|
326
|
-
} | {
|
|
327
|
-
kind: "workshop" | "retreat" | "performance";
|
|
328
|
-
title: string;
|
|
329
|
-
description: string | null;
|
|
330
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode;
|
|
331
|
-
location: string | null;
|
|
332
|
-
scheduleMode: MacadamiaOnboardingFirstOfferingScheduleMode;
|
|
333
|
-
startDate: string;
|
|
334
|
-
startTime: string;
|
|
335
|
-
durationMinutes: number;
|
|
336
|
-
priceType: "free" | "paid";
|
|
337
|
-
priceAmount: number | null;
|
|
338
|
-
capacity: number | null;
|
|
339
|
-
} | {
|
|
340
|
-
kind: "private_session";
|
|
341
|
-
title: string;
|
|
342
|
-
description: string | null;
|
|
343
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode;
|
|
344
|
-
location: string | null;
|
|
345
|
-
durationMinutes: number;
|
|
346
|
-
priceType: "free" | "paid";
|
|
347
|
-
priceAmount: number | null;
|
|
348
|
-
};
|
|
349
|
-
export type MacadamiaOnboardingDraftFirstOffering = {
|
|
350
|
-
kind: "class";
|
|
351
|
-
title: string;
|
|
352
|
-
description: string | null;
|
|
353
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode | null;
|
|
354
|
-
location: string | null;
|
|
355
|
-
startDate: string | null;
|
|
356
|
-
recurrenceRule: string | null;
|
|
357
|
-
startTime: string | null;
|
|
358
|
-
durationMinutes: number | null;
|
|
359
|
-
priceType: "free" | "paid" | null;
|
|
360
|
-
priceAmount: number | null;
|
|
361
|
-
capacity: number | null;
|
|
362
|
-
} | {
|
|
363
|
-
kind: "course";
|
|
364
|
-
title: string;
|
|
365
|
-
description: string | null;
|
|
366
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode | null;
|
|
367
|
-
location: string | null;
|
|
368
|
-
priceType: "free" | "paid" | null;
|
|
369
|
-
priceAmount: number | null;
|
|
370
|
-
capacity: number | null;
|
|
371
|
-
sessions: MacadamiaOnboardingEventSession[];
|
|
372
|
-
} | {
|
|
373
|
-
kind: "workshop" | "retreat" | "performance";
|
|
374
|
-
title: string;
|
|
375
|
-
description: string | null;
|
|
376
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode | null;
|
|
377
|
-
location: string | null;
|
|
378
|
-
scheduleMode: MacadamiaOnboardingFirstOfferingScheduleMode;
|
|
379
|
-
startDate: string | null;
|
|
380
|
-
startTime: string | null;
|
|
381
|
-
durationMinutes: number | null;
|
|
382
|
-
priceType: "free" | "paid" | null;
|
|
383
|
-
priceAmount: number | null;
|
|
384
|
-
capacity: number | null;
|
|
385
|
-
} | {
|
|
386
|
-
kind: "private_session";
|
|
387
|
-
title: string;
|
|
388
|
-
description: string | null;
|
|
389
|
-
deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode | null;
|
|
390
|
-
location: string | null;
|
|
391
|
-
durationMinutes: number | null;
|
|
392
|
-
priceType: "free" | "paid" | null;
|
|
393
|
-
priceAmount: number | null;
|
|
394
|
-
};
|
|
395
|
-
export type MacadamiaOnboardingSurfaceData = {
|
|
396
|
-
teamMode: MacadamiaOnboardingTeamMode;
|
|
397
|
-
ownerName: string | null;
|
|
398
|
-
offeringKinds: MacadamiaOnboardingOfferingKind[];
|
|
399
|
-
bookingVerticalConfig?: SiteVerticalBookingConfig | null;
|
|
400
|
-
siteMode: MacadamiaOnboardingSiteMode;
|
|
401
|
-
styleMoods: MacadamiaOnboardingStyleMood[];
|
|
402
|
-
countryCode: string | null;
|
|
403
|
-
locationText: string | null;
|
|
404
|
-
timezone: string;
|
|
405
|
-
currency: string;
|
|
406
|
-
visualIdentity: MacadamiaOnboardingVisualIdentity;
|
|
407
|
-
firstOffering: MacadamiaOnboardingDraftFirstOffering | null;
|
|
408
|
-
};
|
|
409
264
|
export type PublicOnboardingLogoUploadUrlRequest = {
|
|
410
265
|
filename: string;
|
|
411
266
|
bytes: number;
|
|
@@ -425,11 +280,11 @@ export type PublicOnboardingLogoUploadResponse = {
|
|
|
425
280
|
palette: string[];
|
|
426
281
|
logoAnalysis: MacadamiaOnboardingLogoAnalysis | null;
|
|
427
282
|
};
|
|
428
|
-
export type PublicOnboardingAttemptStatus =
|
|
429
|
-
export type PublicOnboardingProvisioningStage =
|
|
430
|
-
export type SiteGenerationScope =
|
|
431
|
-
export type SiteGenerationFeatureKey =
|
|
432
|
-
export type SiteGenerationBookingOfferingKind =
|
|
283
|
+
export type PublicOnboardingAttemptStatus = 'draft' | 'claimed' | 'provisioning' | 'provisioned' | 'completed' | 'cancelled';
|
|
284
|
+
export type PublicOnboardingProvisioningStage = 'starting' | 'site_setup' | 'copy_generation' | 'media_generation' | 'page_creation' | 'surface_setup' | 'theme_setup' | 'preview_ready';
|
|
285
|
+
export type SiteGenerationScope = 'simple' | 'comprehensive';
|
|
286
|
+
export type SiteGenerationFeatureKey = 'home' | 'about' | 'contact' | 'appointments' | 'events' | 'testimonials' | 'faq' | 'newsletter_signup' | 'blog' | 'portfolio' | 'gallery' | 'map_directions';
|
|
287
|
+
export type SiteGenerationBookingOfferingKind = 'classes' | 'courses' | 'workshops' | 'retreats' | 'performances' | 'private_sessions';
|
|
433
288
|
export type AiSiteWizardSuggestGoalsRequest = {
|
|
434
289
|
entityType: AiGenerateSiteEntityType;
|
|
435
290
|
entityName: string;
|
|
@@ -469,7 +324,7 @@ export type AiSiteWizardIntakeTriageResponse = {
|
|
|
469
324
|
shop: string | null;
|
|
470
325
|
};
|
|
471
326
|
};
|
|
472
|
-
export type AiSiteWizardTelemetryEvent =
|
|
327
|
+
export type AiSiteWizardTelemetryEvent = 'wizard_resumed' | 'goal_suggestions_loaded' | 'goal_suggestions_failed' | 'goal_suggestions_stale' | 'wizard_draft_saved' | 'wizard_draft_save_failed';
|
|
473
328
|
export type AiSiteWizardTelemetryRequest = {
|
|
474
329
|
event: AiSiteWizardTelemetryEvent;
|
|
475
330
|
metadata?: Record<string, unknown>;
|
|
@@ -491,8 +346,8 @@ export type SiteWizardResumeSnapshot = {
|
|
|
491
346
|
logoUrl?: string | null;
|
|
492
347
|
logoPalette?: string[] | null;
|
|
493
348
|
logoMappedPalette?: {
|
|
494
|
-
palette: Record<
|
|
495
|
-
mode:
|
|
349
|
+
palette: Record<'primary' | 'secondary' | 'accent' | 'background' | 'surface' | 'text', string>;
|
|
350
|
+
mode: 'light' | 'dark';
|
|
496
351
|
} | null;
|
|
497
352
|
logoAnalysis?: MacadamiaOnboardingLogoAnalysis | null;
|
|
498
353
|
goalSuggestions?: AiSiteWizardSuggestGoalsResponse | null;
|
|
@@ -542,49 +397,50 @@ export type PublicOnboardingAttemptResponse = {
|
|
|
542
397
|
attemptToken: string;
|
|
543
398
|
};
|
|
544
399
|
export type PublicOnboardingAttemptProgress = {
|
|
545
|
-
kind:
|
|
400
|
+
kind: 'awaiting_auth';
|
|
546
401
|
} | {
|
|
547
|
-
kind:
|
|
402
|
+
kind: 'idle';
|
|
548
403
|
} | {
|
|
549
|
-
kind:
|
|
404
|
+
kind: 'running';
|
|
550
405
|
stage: PublicOnboardingProvisioningStage;
|
|
551
406
|
message: string;
|
|
552
407
|
startedAt: string | null;
|
|
553
408
|
lastUpdatedAt: string | null;
|
|
554
409
|
} | {
|
|
555
|
-
kind:
|
|
410
|
+
kind: 'taking_longer';
|
|
556
411
|
stage: PublicOnboardingProvisioningStage;
|
|
557
412
|
message: string;
|
|
558
413
|
startedAt: string | null;
|
|
559
414
|
lastUpdatedAt: string | null;
|
|
560
415
|
} | {
|
|
561
|
-
kind:
|
|
416
|
+
kind: 'ready';
|
|
562
417
|
siteId: string;
|
|
563
418
|
siteSlug: string;
|
|
564
419
|
continuePath: string;
|
|
565
420
|
} | {
|
|
566
|
-
kind:
|
|
421
|
+
kind: 'failed';
|
|
567
422
|
errorMessage: string;
|
|
568
423
|
} | {
|
|
569
|
-
kind:
|
|
570
|
-
|
|
424
|
+
kind: 'unavailable';
|
|
425
|
+
/** An absent experience choice leaves the claimed attempt untouched. */
|
|
426
|
+
reason: 'completed' | 'cancelled' | 'invalid_site' | 'experience_not_chosen';
|
|
571
427
|
message: string;
|
|
572
428
|
};
|
|
573
429
|
export type PublicOnboardingAttemptProgressResponse = {
|
|
574
430
|
progress: PublicOnboardingAttemptProgress;
|
|
575
431
|
};
|
|
576
432
|
export type PublicOnboardingAttemptRunKickoff = {
|
|
577
|
-
kind:
|
|
433
|
+
kind: 'started';
|
|
578
434
|
runId: string;
|
|
579
435
|
} | {
|
|
580
|
-
kind:
|
|
436
|
+
kind: 'restarted_stale';
|
|
581
437
|
runId: string;
|
|
582
438
|
} | {
|
|
583
|
-
kind:
|
|
439
|
+
kind: 'already_running';
|
|
584
440
|
} | {
|
|
585
|
-
kind:
|
|
441
|
+
kind: 'not_needed';
|
|
586
442
|
} | {
|
|
587
|
-
kind:
|
|
443
|
+
kind: 'blocked';
|
|
588
444
|
};
|
|
589
445
|
export type PublicOnboardingAttemptRunResponse = {
|
|
590
446
|
kickoff: PublicOnboardingAttemptRunKickoff;
|
|
@@ -11,6 +11,7 @@ import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmen
|
|
|
11
11
|
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from './siteRuntimeEndpoints';
|
|
12
12
|
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkAddEventOccurrenceRequest, SdkBackfillIdentifiersResult, SdkEventOccurrenceResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetPageBlockResponse, SdkPatchPageBlockBody, SdkPatchPageBlockResponse, SdkGetVenueResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventOccurrencesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaDeleteApplyResponse, SdkMediaDeletePreviewResponse, SdkMediaDownloadResponse, SdkMediaListResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkEntryUpsertSlotBlock, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkCatalogThemeResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCapabilitiesResponse, SdkCommandApplicationResult, SdkConfigureBookingVerticalRequest, SdkConfigureBookingVerticalResponse, SdkDemoContentResponse, SdkDeleteResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse, SdkPullFooterResponse, SdkPullFormSchema, SdkPullFormsResponse, SdkPullFormSettings, SdkPullDraftsResponse, SdkPullNavigationResponse, SdkPullPagesResponse, SdkPullSettings, SdkPullSettingsResponse, SdkPullSiteInfoResponse, SdkPullThemeResponse, SdkPullVenue, SdkPullVenuesResponse, SdkUpdateSettingsResponse, SdkUpdateEventOccurrenceRequest, SdkUpsertBlockResponse, SdkUpsertEntryResponse, SdkUpsertPageResponse, SdkUpsertEventCategoryResponse, SdkUpsertEventResponse, SdkUpsertFooterResponse, SdkUpsertFormResponse, SdkUpsertNavigationMenuResponse, SdkUpsertThemeResponse, SdkUpsertVenueResponse } from './sdkContracts';
|
|
13
13
|
import type { SdkThemeWireWithoutHeader } from './sdkThemeWire';
|
|
14
|
+
import type { FooterCompositionUpdateRequest } from './siteManagementEndpoints';
|
|
14
15
|
import type { SdkEventUpsertBody } from './sdk-event-upsert';
|
|
15
16
|
import type { SdkEntryPaginationQueryInput } from './schemas/sdk-entries';
|
|
16
17
|
import type { StripeConnectDisconnectResponse, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest } from './billing';
|
|
@@ -320,19 +321,11 @@ export type SitePlatformAPIEndpoints = {
|
|
|
320
321
|
reordered: true;
|
|
321
322
|
}>;
|
|
322
323
|
sdkUpsertNavigationMenu: APIEndpoint<{
|
|
323
|
-
|
|
324
|
-
name: string;
|
|
325
|
-
isPrimary?: boolean;
|
|
326
|
-
isFooter?: boolean;
|
|
327
|
-
footerRole?: 'main' | 'legal-policy' | null;
|
|
324
|
+
location: 'main' | 'footer' | 'legal';
|
|
328
325
|
items: readonly SdkUpsertNavigationItemInput[];
|
|
329
326
|
}, {
|
|
330
327
|
siteId: string;
|
|
331
328
|
}, SdkUpsertNavigationMenuResponse>;
|
|
332
|
-
sdkDeleteNavigationMenu: APIEndpoint<never, {
|
|
333
|
-
siteId: string;
|
|
334
|
-
menuId: string;
|
|
335
|
-
}, SdkDeleteResponse>;
|
|
336
329
|
sdkUpsertTheme: APIEndpoint<Readonly<{
|
|
337
330
|
kind: 'update';
|
|
338
331
|
/**
|
|
@@ -354,10 +347,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
354
347
|
sdkApplySiteStyleSelection: APIEndpoint<ApplySiteStyleSelectionBody, {
|
|
355
348
|
siteId: string;
|
|
356
349
|
}, SdkCommandApplicationResult<ApplySiteStyleSelectionResponse>>;
|
|
357
|
-
sdkUpsertFooter: APIEndpoint<{
|
|
358
|
-
composition: import('../../core/src/index').FooterCompositionV1;
|
|
359
|
-
baseRevision: number;
|
|
360
|
-
}, {
|
|
350
|
+
sdkUpsertFooter: APIEndpoint<FooterCompositionUpdateRequest, {
|
|
361
351
|
siteId: string;
|
|
362
352
|
}, SdkUpsertFooterResponse>;
|
|
363
353
|
sdkListForms: APIEndpoint<never, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BackgroundOverride, SystemCustomizeFacetSelection, Theme } from '../../blocks/src/index';
|
|
2
2
|
import type { ListMediaAssetsResult, MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
3
|
-
import type { FooterNavigationLayout } from '../../core/src/index';
|
|
3
|
+
import type { FooterNavigationLayout, MailingListProviderScope } from '../../core/src/index';
|
|
4
4
|
import type { DbJson } from '../../db/src/index';
|
|
5
5
|
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, FooterLookId, HeaderLayoutId, HeaderLayoutStyleSelection, HeaderPreferences, HeaderQuickControlPreferences, HeaderStyleId, LayoutVariantKey, SiteStyleId } from '../../theme-core/src/site-styles/index';
|
|
6
6
|
import type { ButtonStyleSelection } from '../../theme-core/src/buttons/index';
|
|
@@ -423,10 +423,12 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
423
423
|
saveBlockContent: APIEndpoint<{
|
|
424
424
|
data: DbJson;
|
|
425
425
|
optimistic_hash?: string | null;
|
|
426
|
+
expected_mailing_list_provider_scope?: MailingListProviderScope;
|
|
426
427
|
} | {
|
|
427
428
|
path: string;
|
|
428
429
|
value: DbJson;
|
|
429
430
|
optimistic_hash?: string | null;
|
|
431
|
+
expected_mailing_list_provider_scope?: MailingListProviderScope;
|
|
430
432
|
} | Record<string, unknown>, {
|
|
431
433
|
blockId: string;
|
|
432
434
|
}, {
|
|
@@ -1,22 +1,53 @@
|
|
|
1
|
-
import type { SiteFooterContent, SiteHeaderContent } from
|
|
2
|
-
import type { BusinessAddress } from
|
|
3
|
-
import type { FooterMode } from
|
|
4
|
-
import type { SiteBannerSettingsPayload } from
|
|
5
|
-
export type SiteDeploymentMode =
|
|
1
|
+
import type { SiteFooterContent, SiteHeaderContent } from '../../blocks/src/index';
|
|
2
|
+
import type { BusinessAddress, MailingListProviderScope, PublicAddressVisibility, PublicContactDetails } from '../../core/src/index';
|
|
3
|
+
import type { FooterMode } from '../../theme-core/src/index';
|
|
4
|
+
import type { SiteBannerSettingsPayload } from './siteBanner';
|
|
5
|
+
export type SiteDeploymentMode = 'managed' | 'headless_cms' | 'headless_full';
|
|
6
6
|
export type SiteGeneralSettingsPayload = {
|
|
7
7
|
siteTitle: string;
|
|
8
|
+
/**
|
|
9
|
+
* The site's tagline, stored in `site_settings.site_description`. Read as
|
|
10
|
+
* the SEO description fallback and by the booking-page header.
|
|
11
|
+
*
|
|
12
|
+
* Optional on the way in, where absent means unchanged: a client that has
|
|
13
|
+
* no tagline field yet, including a browser tab loaded before this shipped,
|
|
14
|
+
* must not have its save rejected or blank the stored value.
|
|
15
|
+
*/
|
|
16
|
+
siteDescription?: string | null;
|
|
8
17
|
logoAssetId: string | null;
|
|
18
|
+
/** Optional masthead image for the hosted booking storefront. */
|
|
19
|
+
coverAssetId?: string | null;
|
|
9
20
|
faviconAssetId: string | null;
|
|
10
21
|
allowIndexingInProduction: boolean;
|
|
11
22
|
};
|
|
12
23
|
export type SiteGeneralSettingsResponse = {
|
|
13
24
|
settings: SiteGeneralSettingsPayload;
|
|
14
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* The business details a rendered site reads. The address itself already
|
|
28
|
+
* travels on the site record; `addressVisibility` says whether a reader may
|
|
29
|
+
* show it.
|
|
30
|
+
*/
|
|
31
|
+
export type SiteRuntimeBusinessDetails = {
|
|
32
|
+
tagline: string | null;
|
|
33
|
+
contact: PublicContactDetails | null;
|
|
34
|
+
addressVisibility: PublicAddressVisibility;
|
|
35
|
+
coverImage?: {
|
|
36
|
+
assetId: string;
|
|
37
|
+
url: string;
|
|
38
|
+
alt: string;
|
|
39
|
+
} | null;
|
|
40
|
+
};
|
|
41
|
+
export type SiteRuntimeBookingAttribution = Readonly<{
|
|
42
|
+
kind: 'macadamia';
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
kind: 'none';
|
|
45
|
+
}>;
|
|
15
46
|
export type SiteFooterBlocksEditorBlock = {
|
|
16
47
|
id: string;
|
|
17
48
|
kind: string;
|
|
18
49
|
kindLabel: string;
|
|
19
|
-
purpose:
|
|
50
|
+
purpose: 'footer';
|
|
20
51
|
content: Record<string, unknown>;
|
|
21
52
|
editable: boolean;
|
|
22
53
|
readOnlyReason?: string | null;
|
|
@@ -31,6 +62,7 @@ export type UpdateSiteFooterBlocksPayload = {
|
|
|
31
62
|
content: Record<string, unknown>;
|
|
32
63
|
}>;
|
|
33
64
|
removedBlockIds?: string[];
|
|
65
|
+
expectedMailingListProviderScope?: MailingListProviderScope;
|
|
34
66
|
};
|
|
35
67
|
export type UpdateSiteFooterBlocksResponse = SiteFooterBlocksEditorResponse & {
|
|
36
68
|
savedAt: string;
|