@riverbankcms/sdk 0.153.0 → 0.155.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 +2 -0
- package/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
- package/dist/_dts/api/src/bookings.d.ts +10 -4
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -3
- package/dist/_dts/api/src/endpoints.d.ts +89 -44
- package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/index.d.ts +9 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
- package/dist/_dts/api/src/public/types.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +24 -9
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
- package/dist/_dts/api/src/sdkThemeWire.d.ts +172 -103
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +13 -32
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/client/index.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +13 -9
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
- package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +119 -9
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +22 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +49 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -10
- package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
- package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
- package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
- package/dist/_dts/core/src/booking-refunds.d.ts +43 -0
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +90 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +4 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/core/src/site-terms.d.ts +94 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +356 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
- package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +249 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +321 -192
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +81 -1
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
- package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
- package/dist/_dts/ui/src/calendar.d.ts +6 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
- package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
- package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +19252 -15228
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +13559 -7353
- package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +3280 -1362
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +15893 -11685
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +14451 -8139
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +134 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +134 -51
- package/dist/preview-next/middleware.mjs +134 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +15231 -10855
- package/dist/server/config-validation.mjs +3153 -1323
- package/dist/server/config.mjs +3119 -1321
- package/dist/server/data.mjs +3201 -1329
- package/dist/server/date-time.mjs +270 -117
- package/dist/server/index.mjs +137 -52
- package/dist/server/next.mjs +14713 -10388
- package/dist/server/page-converter.mjs +2642 -1073
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +14674 -10630
- package/dist/server/rendering.mjs +15055 -10670
- package/dist/server/routing.mjs +3483 -1488
- package/dist/server/server.mjs +3620 -1740
- package/dist/server/theme-bridge.mjs +2694 -189
- package/dist/server/theme.mjs +422 -67
- package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +1196 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
- package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
- package/dist/client/carousel-BSCBhfHY.mjs +0 -38
|
@@ -119,6 +119,8 @@ export type UpdateStripeAutomaticTaxRequest = {
|
|
|
119
119
|
enabled: boolean;
|
|
120
120
|
};
|
|
121
121
|
export type StripeConnectStatusResponse = {
|
|
122
|
+
setup?: import('./stripeConnectSetup').StripeConnectSetupResponse | null;
|
|
123
|
+
setupPrefill?: import('./stripeConnectSetup').StripeConnectSetupPrefill | null;
|
|
122
124
|
isConnected: boolean;
|
|
123
125
|
stripeAccountId: string | null;
|
|
124
126
|
stripeAccountEmail: string | null;
|
|
@@ -28,4 +28,82 @@ export declare const BILLING_ENDPOINT_DEFINITIONS: {
|
|
|
28
28
|
auth: "user";
|
|
29
29
|
responseKind: "json";
|
|
30
30
|
};
|
|
31
|
+
stripeConnectSetupStart: {
|
|
32
|
+
path: "/sites/{siteId}/billing/connect/setup";
|
|
33
|
+
method: "POST";
|
|
34
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
35
|
+
auth: "user";
|
|
36
|
+
responseKind: "json";
|
|
37
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
38
|
+
};
|
|
39
|
+
stripeConnectSetupDiscard: {
|
|
40
|
+
path: "/sites/{siteId}/billing/connect/setup";
|
|
41
|
+
method: "DELETE";
|
|
42
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
43
|
+
auth: "user";
|
|
44
|
+
responseKind: "json";
|
|
45
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
46
|
+
};
|
|
47
|
+
stripeConnectSetupSave: {
|
|
48
|
+
path: "/sites/{siteId}/billing/connect/setup/save";
|
|
49
|
+
method: "POST";
|
|
50
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
51
|
+
auth: "user";
|
|
52
|
+
responseKind: "json";
|
|
53
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
54
|
+
};
|
|
55
|
+
stripeConnectAccountSession: {
|
|
56
|
+
path: "/sites/{siteId}/billing/connect/session";
|
|
57
|
+
method: "POST";
|
|
58
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
59
|
+
auth: "user";
|
|
60
|
+
responseKind: "json";
|
|
61
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
62
|
+
};
|
|
63
|
+
stripeConnectStart: {
|
|
64
|
+
path: "/sites/{siteId}/billing/connect/start";
|
|
65
|
+
method: "POST";
|
|
66
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
67
|
+
auth: "user";
|
|
68
|
+
responseKind: "json";
|
|
69
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
70
|
+
};
|
|
71
|
+
stripeConnectStatus: {
|
|
72
|
+
path: "/sites/{siteId}/billing/connect/status";
|
|
73
|
+
method: "GET";
|
|
74
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
75
|
+
auth: "user";
|
|
76
|
+
responseKind: "json";
|
|
77
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
78
|
+
};
|
|
79
|
+
stripeAutomaticTaxUpdate: {
|
|
80
|
+
path: "/sites/{siteId}/billing/automatic-tax";
|
|
81
|
+
method: "POST";
|
|
82
|
+
tags: ("billing" | "site-{siteId}" | "stripe-tax")[];
|
|
83
|
+
auth: "user";
|
|
84
|
+
responseKind: "json";
|
|
85
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "server:internal_error" | "server:unavailable")[];
|
|
86
|
+
};
|
|
87
|
+
stripeConnectDisconnect: {
|
|
88
|
+
path: "/sites/{siteId}/billing/connect/disconnect";
|
|
89
|
+
method: "DELETE";
|
|
90
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
91
|
+
auth: "user";
|
|
92
|
+
responseKind: "json";
|
|
93
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
94
|
+
};
|
|
95
|
+
billingConnectReturn: {
|
|
96
|
+
path: "/billing/connect/return";
|
|
97
|
+
method: "GET";
|
|
98
|
+
auth: "user";
|
|
99
|
+
responseKind: "void";
|
|
100
|
+
errors: never[];
|
|
101
|
+
};
|
|
102
|
+
billingConnectRefresh: {
|
|
103
|
+
path: "/billing/connect/refresh";
|
|
104
|
+
method: "GET";
|
|
105
|
+
auth: "user";
|
|
106
|
+
responseKind: "void";
|
|
107
|
+
errors: never[];
|
|
108
|
+
};
|
|
31
109
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { CustomerMembershipCancellationResultKind, CustomerMembershipPaymentRefundFailedCode, CustomerMembershipPaymentRefundSkippedCode } from './customerMembershipOutcomes';
|
|
2
3
|
import type { CustomerPassRefundFailedCode, CustomerPassRefundSkippedCode } from './bookingRefundOutcomes';
|
|
3
4
|
/**
|
|
@@ -32,7 +33,7 @@ export type ConvertCreditRefundToCashResponse = {
|
|
|
32
33
|
};
|
|
33
34
|
};
|
|
34
35
|
export type AssignCustomerPassRequest = {
|
|
35
|
-
|
|
36
|
+
person: StaffBookingPersonInput;
|
|
36
37
|
passId: string;
|
|
37
38
|
creditsTotal?: number;
|
|
38
39
|
};
|
|
@@ -66,7 +67,7 @@ export type AdjustCustomerPassDetailsResponse = {
|
|
|
66
67
|
};
|
|
67
68
|
};
|
|
68
69
|
export type AssignCustomerMembershipRequest = {
|
|
69
|
-
|
|
70
|
+
person: StaffBookingPersonInput;
|
|
70
71
|
membershipId: string;
|
|
71
72
|
};
|
|
72
73
|
export type AssignCustomerMembershipResponse = {
|
|
@@ -164,23 +164,14 @@ export type EventSeriesRecord = {
|
|
|
164
164
|
updatedAt: string;
|
|
165
165
|
};
|
|
166
166
|
export type { CreateEventRecord, CreateEventRequest, EventCreationIntent, EventPageAuthorityRecord, EventRecord, ExplicitEventOccurrenceInput, } from './eventManagementContracts';
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
restoredOccurrenceIds: readonly string[];
|
|
170
|
-
excludedBookings: readonly Readonly<{
|
|
171
|
-
attendeeId: string;
|
|
172
|
-
occurrenceId: string;
|
|
173
|
-
customerId: string;
|
|
174
|
-
customerName: string | null;
|
|
175
|
-
customerEmail: string | null;
|
|
176
|
-
}>[];
|
|
177
|
-
}>;
|
|
167
|
+
export type { EventOccurrenceRestorationSummary } from '../../core/src/index';
|
|
168
|
+
import type { EventOccurrenceRestorationSummary } from '../../core/src/index';
|
|
178
169
|
export declare const eventOccurrenceRestorationSummarySchema: z.ZodType<EventOccurrenceRestorationSummary>;
|
|
179
170
|
export type UpdateEventSeriesResponse = EventSeriesRecord & Readonly<{
|
|
180
171
|
cancellationResult?: BusinessCancellationResult;
|
|
181
172
|
restoration?: EventOccurrenceRestorationSummary;
|
|
182
173
|
}>;
|
|
183
|
-
export type UpdateEventSeriesRequest = Partial<Omit<CreateEventRequest, 'creationIntent' | 'initializationCommandId' | 'title' | 'eventCategoryId'>> & {
|
|
174
|
+
export type UpdateEventSeriesRequest = Partial<Omit<CreateEventRequest, 'creationIntent' | 'initializationCommandId' | 'title' | 'eventCategoryId' | 'siteTermsMode'>> & {
|
|
184
175
|
/**
|
|
185
176
|
* An empty string clears the name. A whole-series run's name is optional —
|
|
186
177
|
* an unnamed run is presented by its parent Event's title and its first
|
|
@@ -449,3 +440,4 @@ export type BookingSettingsResponse = BookingSettingsEditorSnapshot;
|
|
|
449
440
|
/** Normalize optional wire defaults once before projecting operational Event policy. */
|
|
450
441
|
export declare function resolveBookingSettingsEventCatalogue(settings: Pick<BookingSettings, 'verticalConfig' | 'eventTypePresets'>): ResolvedEventCatalogue;
|
|
451
442
|
export type { AcceptedEventScheduleUpdate } from '../../core/src/index';
|
|
443
|
+
export type { AcceptedEventRunUpdate } from '../../core/src/index';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EventOfferingId, EventSeriesId } from '../../core/src/index';
|
|
2
2
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
3
3
|
import type * as Events from './eventManagementContracts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { AcceptedEventRunUpdate, EventSeriesRecord, UpdateEventSeriesRequest, UpdateEventSeriesResponse } from './bookingConfig';
|
|
5
5
|
import type { EventOccurrenceListRecord } from './bookingRecords';
|
|
6
6
|
import type { AdminBookingCancellationRequest, AdminBookingCancellationResult, EventSeriesRegistrationCancellationPreviewResponse } from './bookingOperations';
|
|
7
7
|
import type { SaveEventSeriesRegistrationAnswersRequest, SaveEventSeriesRegistrationAnswersResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse } from './wholeSeriesRuns';
|
|
@@ -55,7 +55,7 @@ type SeriesParams = Omit<RunParams, 'runId'> & {
|
|
|
55
55
|
seriesId: EventSeriesId;
|
|
56
56
|
};
|
|
57
57
|
export type GetSeries = APIEndpoint<never, SeriesParams, EventSeriesRecord>;
|
|
58
|
-
export type UpdateSeries = APIEndpoint<UpdateEventSeriesRequest, SeriesParams, UpdateEventSeriesResponse |
|
|
58
|
+
export type UpdateSeries = APIEndpoint<UpdateEventSeriesRequest, SeriesParams, UpdateEventSeriesResponse | AcceptedEventRunUpdate>;
|
|
59
59
|
export type DeleteSeries = APIEndpoint<never, SeriesParams, {
|
|
60
60
|
success: boolean;
|
|
61
61
|
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { TimeSlot } from './availability';
|
|
2
3
|
import type { PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse } from './publicAppointmentBookingContracts';
|
|
3
4
|
export type { PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse, PublicBookingAppointmentSummary, PublicBookingCustomerSummary, PublicAppointmentPaymentChoices, } from './publicAppointmentBookingContracts';
|
|
@@ -399,6 +400,7 @@ export type AppointmentReservation = {
|
|
|
399
400
|
cleanupMinutes: number;
|
|
400
401
|
};
|
|
401
402
|
export type AppointmentReservationListItem = AppointmentReservation & {
|
|
403
|
+
personId: string | null;
|
|
402
404
|
updatedAt: string;
|
|
403
405
|
customerName: string;
|
|
404
406
|
customerEmail: string;
|
|
@@ -416,7 +418,7 @@ export type ListAppointmentReservationsRequest = {
|
|
|
416
418
|
endDate?: string;
|
|
417
419
|
};
|
|
418
420
|
export type CreateAppointmentReservationRequest = {
|
|
419
|
-
|
|
421
|
+
person: StaffBookingPersonInput;
|
|
420
422
|
resourceId: string;
|
|
421
423
|
serviceId: string;
|
|
422
424
|
weekday: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -426,8 +428,11 @@ export type CreateAppointmentReservationRequest = {
|
|
|
426
428
|
endsOn?: string | null;
|
|
427
429
|
paymentMode?: AppointmentReservationPaymentMode;
|
|
428
430
|
};
|
|
429
|
-
export type UpdateAppointmentReservationRequest = Partial<Omit<CreateAppointmentReservationRequest, 'paymentMode'>> & {
|
|
431
|
+
export type UpdateAppointmentReservationRequest = Partial<Omit<CreateAppointmentReservationRequest, 'paymentMode' | 'person'>> & {
|
|
430
432
|
expectedUpdatedAt: string;
|
|
433
|
+
person?: Extract<StaffBookingPersonInput, {
|
|
434
|
+
kind: 'existing';
|
|
435
|
+
}>;
|
|
431
436
|
paymentMode?: AppointmentReservationPaymentMode;
|
|
432
437
|
};
|
|
433
438
|
export type AppointmentReservationLifecycleRequest = {
|
|
@@ -654,6 +659,10 @@ export type PublicBookingAppointmentStatusResponse = {
|
|
|
654
659
|
paymentStatus: 'pending' | 'completed' | 'failed' | 'cancelled' | 'refunded' | 'not_required';
|
|
655
660
|
};
|
|
656
661
|
export type BookingSessionMeResponse = {
|
|
662
|
+
siteTermsAcceptance: Readonly<{
|
|
663
|
+
versionId: import('../../core/src/index').SiteTermsVersionId;
|
|
664
|
+
alreadyAgreed: boolean;
|
|
665
|
+
}> | null;
|
|
657
666
|
customer: {
|
|
658
667
|
id: string;
|
|
659
668
|
email: string | null;
|
|
@@ -29,6 +29,19 @@ export type PersonListItem = {
|
|
|
29
29
|
lastBookingAt: string | null;
|
|
30
30
|
account: PersonListAccount;
|
|
31
31
|
};
|
|
32
|
+
/** Staff explicitly choose a saved identity or enter a genuinely new person. */
|
|
33
|
+
export type StaffBookingPersonInput = Readonly<{
|
|
34
|
+
kind: 'existing';
|
|
35
|
+
personId: string;
|
|
36
|
+
}> | Readonly<{
|
|
37
|
+
kind: 'new';
|
|
38
|
+
name: string;
|
|
39
|
+
email: string;
|
|
40
|
+
phone?: string | null;
|
|
41
|
+
}>;
|
|
42
|
+
export type StaffBookingPersonErrorTag = 'STAFF_PERSON_NOT_FOUND' | 'STAFF_PERSON_EMAIL_REQUIRED' | 'STAFF_PERSON_EMAIL_EXISTS' | 'STAFF_PERSON_RESOLUTION_FAILED';
|
|
43
|
+
/** The small identity projection used by booking pickers and contact refresh. */
|
|
44
|
+
export type BookingPersonContact = Pick<PersonListItem, 'personId' | 'name' | 'email' | 'phone' | 'account'>;
|
|
32
45
|
export type ListPeopleRequest = {
|
|
33
46
|
page?: number;
|
|
34
47
|
limit?: number;
|
|
@@ -46,7 +59,7 @@ export type ListPeopleResponse = {
|
|
|
46
59
|
};
|
|
47
60
|
};
|
|
48
61
|
/** What can be attached to a person, in the order the dialog lists it. */
|
|
49
|
-
export declare const PERSON_DELETION_BLOCKER_CATEGORY_VALUES: readonly ["bookings", "guest_places", "waitlist_places", "payments", "orders", "passes", "memberships", "credit", "digital_products", "discounts", "gifts", "notes", "forms", "uploads", "contact_corrections"];
|
|
62
|
+
export declare const PERSON_DELETION_BLOCKER_CATEGORY_VALUES: readonly ["bookings", "guest_places", "waitlist_places", "payments", "orders", "passes", "memberships", "credit", "digital_products", "discounts", "gifts", "notes", "forms", "terms_agreements", "uploads", "contact_corrections"];
|
|
50
63
|
export type PersonDeletionBlockerCategory = (typeof PERSON_DELETION_BLOCKER_CATEGORY_VALUES)[number];
|
|
51
64
|
/** One attached category with a count above zero. */
|
|
52
65
|
export type PersonDeletionBlocker = {
|
|
@@ -75,6 +88,12 @@ export type DeletePersonResponse = {
|
|
|
75
88
|
};
|
|
76
89
|
/** The People endpoints' request and response types. */
|
|
77
90
|
export type BookingPeopleEndpoints = {
|
|
91
|
+
getBookingPerson: APIEndpoint<never, {
|
|
92
|
+
siteId: string;
|
|
93
|
+
personId: string;
|
|
94
|
+
}, {
|
|
95
|
+
person: BookingPersonContact;
|
|
96
|
+
}>;
|
|
78
97
|
listPeople: APIEndpoint<never, {
|
|
79
98
|
siteId: string;
|
|
80
99
|
} & ListPeopleRequest, ListPeopleResponse>;
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
* person when nothing is attached to them.
|
|
4
4
|
*/
|
|
5
5
|
export declare const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS: {
|
|
6
|
+
getBookingPerson: {
|
|
7
|
+
path: "/sites/{siteId}/bookings/people/{personId}";
|
|
8
|
+
method: "GET";
|
|
9
|
+
tags: ("site-{siteId}" | "customers-{siteId}")[];
|
|
10
|
+
auth: "user";
|
|
11
|
+
responseKind: "json";
|
|
12
|
+
errors: ("resource:not_found" | "server:internal_error")[];
|
|
13
|
+
};
|
|
6
14
|
listPeople: {
|
|
7
15
|
path: "/sites/{siteId}/bookings/people";
|
|
8
16
|
method: "GET";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { BookingFlexibleBalanceContractStatus, PersonRecordNoteKind } from '../../core/src/index';
|
|
2
3
|
import type { RichTextDoc } from '../../blocks/src/index';
|
|
3
4
|
import type { EventTicketBreakdownLine } from './bookingOperations';
|
|
@@ -151,15 +152,14 @@ export type BookingEventSeriesAttendee = {
|
|
|
151
152
|
eventTimeZone?: string;
|
|
152
153
|
beforeYouCome?: BookingBeforeYouComeSummary | null;
|
|
153
154
|
beforeYouComeReadiness?: BookingBeforeYouComeReadiness | null;
|
|
155
|
+
siteTerms?: import('./siteTerms').SiteTermsAgreementRecord | null;
|
|
154
156
|
beforeYouComeReview?: BookingBeforeYouComeReview | null;
|
|
155
157
|
paymentAttention?: BookingPaymentAttentionSummary | null;
|
|
156
158
|
flexibleBalanceAdminAction?: FlexibleBalanceAdminActionView | null;
|
|
157
159
|
guests?: BookingEventSeriesAttendeeGuest[];
|
|
158
160
|
};
|
|
159
161
|
export type AddEventOccurrenceAttendeeRequest = {
|
|
160
|
-
|
|
161
|
-
customerEmail: string;
|
|
162
|
-
customerPhone?: string | null;
|
|
162
|
+
person: StaffBookingPersonInput;
|
|
163
163
|
sendConfirmation?: boolean;
|
|
164
164
|
attendanceMode?: 'in_person' | 'online' | null;
|
|
165
165
|
pricingOptionId?: string | null;
|
|
@@ -179,7 +179,7 @@ export type AddEventOccurrenceAttendeeResponse = {
|
|
|
179
179
|
membershipName?: string;
|
|
180
180
|
};
|
|
181
181
|
export type CheckEventAdminEligibilityRequest = {
|
|
182
|
-
|
|
182
|
+
personId: string;
|
|
183
183
|
};
|
|
184
184
|
export type CheckEventAdminEligibilityResponse = {
|
|
185
185
|
passes: Array<{
|
|
@@ -869,108 +869,7 @@ export type GetMoneyReportResponse = {
|
|
|
869
869
|
comparisonSeries: MoneyTimeSeriesBucket[];
|
|
870
870
|
breakdowns: MoneyBreakdownSection[];
|
|
871
871
|
};
|
|
872
|
-
|
|
873
|
-
* Whether the booking a payment paid for is still live, so Payments can offer
|
|
874
|
-
* "Cancel booking" only while it applies. The cancellation preview owns every
|
|
875
|
-
* finer rule. Items carry null when the booking couldn't be read: Cancel is
|
|
876
|
-
* hidden, Refund still shows.
|
|
877
|
-
*/
|
|
878
|
-
export type MoneyPaymentBookingStatus = 'active' | 'cancelled';
|
|
879
|
-
export type MoneyPaymentAllocationItem = {
|
|
880
|
-
kind: 'event';
|
|
881
|
-
sourceLabel: string;
|
|
882
|
-
eventAttendeeId: string;
|
|
883
|
-
bookingStatus: MoneyPaymentBookingStatus | null;
|
|
884
|
-
} | {
|
|
885
|
-
kind: 'event_series_registration';
|
|
886
|
-
sourceLabel: string;
|
|
887
|
-
eventSeriesId: string;
|
|
888
|
-
eventSeriesRegistrationId: string;
|
|
889
|
-
bookingStatus: MoneyPaymentBookingStatus | null;
|
|
890
|
-
} | {
|
|
891
|
-
kind: 'pass';
|
|
892
|
-
sourceLabel: string;
|
|
893
|
-
customerPassId: string;
|
|
894
|
-
} | {
|
|
895
|
-
kind: 'membership';
|
|
896
|
-
sourceLabel: string;
|
|
897
|
-
customerMembershipId: string;
|
|
898
|
-
} | {
|
|
899
|
-
kind: 'product';
|
|
900
|
-
sourceLabel: string;
|
|
901
|
-
};
|
|
902
|
-
export type MoneyPaymentListItem = {
|
|
903
|
-
id: string;
|
|
904
|
-
orderId: string;
|
|
905
|
-
orderNumber: string | null;
|
|
906
|
-
allocation: {
|
|
907
|
-
kind: 'single';
|
|
908
|
-
item: MoneyPaymentAllocationItem;
|
|
909
|
-
} | {
|
|
910
|
-
kind: 'multiple';
|
|
911
|
-
itemKinds: readonly MoneyItemKind[];
|
|
912
|
-
sourceLabels: readonly string[];
|
|
913
|
-
} | {
|
|
914
|
-
kind: 'unresolved';
|
|
915
|
-
itemKinds: readonly MoneyItemKind[];
|
|
916
|
-
sourceLabels: readonly string[];
|
|
917
|
-
};
|
|
918
|
-
refundAccess: {
|
|
919
|
-
kind: 'entity';
|
|
920
|
-
target: Exclude<MoneyPaymentAllocationItem, {
|
|
921
|
-
kind: 'product';
|
|
922
|
-
}>;
|
|
923
|
-
onlineAction: {
|
|
924
|
-
kind: 'available';
|
|
925
|
-
} | {
|
|
926
|
-
kind: 'unavailable';
|
|
927
|
-
reason: 'manual_receipt' | 'provider_target_mismatch' | 'fully_refunded' | 'payment_reconciliation_pending';
|
|
928
|
-
};
|
|
929
|
-
} | {
|
|
930
|
-
kind: 'unavailable';
|
|
931
|
-
reason: 'multiple_allocations' | 'unresolved_allocation' | 'product';
|
|
932
|
-
};
|
|
933
|
-
status: 'paid' | 'partially_refunded' | 'refunded' | 'payment_reconciliation_pending';
|
|
934
|
-
purpose: 'initial_checkout' | 'flexible_balance_paydown' | 'instalment' | 'instalment_payoff' | 'subscription_renewal';
|
|
935
|
-
rail: 'stripe_checkout' | 'stripe_invoice' | 'manual';
|
|
936
|
-
provenance: 'live' | 'backfilled_exact';
|
|
937
|
-
paymentMethod: 'stripe' | 'mixed' | 'store_credit' | 'pass_redemption' | 'membership_access' | 'free' | 'manual' | 'waived' | null;
|
|
938
|
-
provider: 'stripe' | 'internal';
|
|
939
|
-
amountPaidCents: number;
|
|
940
|
-
amountSubtotalCents: number;
|
|
941
|
-
knownRefundedCents: number;
|
|
942
|
-
amountRefundedCents: number | null;
|
|
943
|
-
amountDiscountCents: number;
|
|
944
|
-
currency: string;
|
|
945
|
-
orderTotalCents: number;
|
|
946
|
-
orderCollectedCents: number;
|
|
947
|
-
orderOutstandingCents: number;
|
|
948
|
-
paymentDueAt: string | null;
|
|
949
|
-
createdAt: string;
|
|
950
|
-
stripeCheckoutSessionId: string | null;
|
|
951
|
-
stripePaymentIntentId: string | null;
|
|
952
|
-
stripeInvoiceId: string | null;
|
|
953
|
-
stripeAccountId: string | null;
|
|
954
|
-
discountCode: string | null;
|
|
955
|
-
discountPublicLabel: string | null;
|
|
956
|
-
customer: SiteCustomerRecord | null;
|
|
957
|
-
};
|
|
958
|
-
export type ListMoneyPaymentsRequest = MoneyFilterQuery & {
|
|
959
|
-
search?: string;
|
|
960
|
-
view?: MoneyPaymentsView;
|
|
961
|
-
customerId?: string;
|
|
962
|
-
stripeCheckoutSessionId?: string;
|
|
963
|
-
limit?: number;
|
|
964
|
-
offset?: number;
|
|
965
|
-
};
|
|
966
|
-
export type ListMoneyPaymentsResponse = {
|
|
967
|
-
payments: MoneyPaymentListItem[];
|
|
968
|
-
pagination: {
|
|
969
|
-
limit: number;
|
|
970
|
-
offset: number;
|
|
971
|
-
hasMore: boolean;
|
|
972
|
-
};
|
|
973
|
-
};
|
|
872
|
+
export type { MoneyPaymentBookingStatus, MoneyPaymentAllocationItem, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, } from './moneyPayments';
|
|
974
873
|
export type DiscountCodeType = 'percent' | 'fixed';
|
|
975
874
|
export type DiscountPerEmailLimit = 'once' | 'unlimited';
|
|
976
875
|
export type DiscountMembershipDuration = 'once' | 'forever';
|
|
@@ -7,12 +7,11 @@ export type { CustomerMembershipStatus, CustomerPassStatus, } from './bookingRec
|
|
|
7
7
|
export { DELETE_EVENT_OFFERING_CONFLICT_REASONS, isDeleteEventOfferingConflictReason, } from './wholeSeriesRuns';
|
|
8
8
|
export type { DeleteEventOfferingConflictReason } from './wholeSeriesRuns';
|
|
9
9
|
export type CreateAppointmentRequest = {
|
|
10
|
-
|
|
10
|
+
person: import('./bookingPeople').StaffBookingPersonInput;
|
|
11
11
|
serviceId: string;
|
|
12
|
-
resourceId
|
|
12
|
+
resourceId: string;
|
|
13
13
|
startAt: string;
|
|
14
14
|
endAt: string;
|
|
15
|
-
customFields: Record<string, unknown>;
|
|
16
15
|
timezone?: string;
|
|
17
16
|
};
|
|
18
17
|
export declare const APPOINTMENT_STATUS_VALUES: readonly ["pending", "confirmed", "cancelled", "no_show"];
|
|
@@ -85,12 +84,19 @@ export type BookingQuestionsRequirementConfig = {
|
|
|
85
84
|
validityPolicy: BookingRequirementValidityPolicy;
|
|
86
85
|
};
|
|
87
86
|
export type BookingRequirementConfigRequest = {
|
|
87
|
+
/** Omitted on partial saves to preserve the target's existing choice. */
|
|
88
|
+
siteTermsMode?: import('../../core/src/index').SiteTermsMode;
|
|
88
89
|
targetType: BookingRequirementTargetType;
|
|
89
90
|
targetId: string;
|
|
90
91
|
consent: ConsentRequirementConfig;
|
|
91
92
|
bookingQuestions: BookingQuestionsRequirementConfig;
|
|
92
93
|
};
|
|
93
|
-
export type BookingRequirementConfigResponse = BookingRequirementConfigRequest
|
|
94
|
+
export type BookingRequirementConfigResponse = Omit<BookingRequirementConfigRequest, 'siteTermsMode'> & {
|
|
95
|
+
siteTerms: Readonly<{
|
|
96
|
+
mode: import('../../core/src/index').SiteTermsMode;
|
|
97
|
+
owner: 'target' | 'course';
|
|
98
|
+
}>;
|
|
99
|
+
};
|
|
94
100
|
type BookingSettingsResult = BookingSettingsResponse['settings'];
|
|
95
101
|
export declare function getBookingSettingsRequest(apiClient: ApiClient<'getBookingSettings'>, siteId: string, options?: RequestInit): Promise<BookingSettingsResult>;
|
|
96
102
|
export declare function updateBookingSettingsRequest(apiClient: ApiClient<'updateBookingSettings'>, siteId: string, payload: UpdateBookingSettingsRequest, options?: RequestInit): Promise<BookingSettingsResult>;
|
|
@@ -79,7 +79,7 @@ export type CommercePortalAPIEndpoints = {
|
|
|
79
79
|
reviewId: string;
|
|
80
80
|
}, AdminResolveSiteBillingManualReviewResponse>;
|
|
81
81
|
portalGetProfile: APIEndpoint<never, never, PortalMeResponse>;
|
|
82
|
-
portalUpdateProfile: APIEndpoint<PortalMeUpdateRequest, never, PortalMeResponse
|
|
82
|
+
portalUpdateProfile: APIEndpoint<PortalMeUpdateRequest, never, Omit<PortalMeResponse, 'siteTermsAcceptance'>>;
|
|
83
83
|
portalGetCredit: APIEndpoint<never, never, PortalCreditResponse>;
|
|
84
84
|
portalGetOrders: APIEndpoint<never, never, {
|
|
85
85
|
orders: CustomerOrder[];
|
|
@@ -24,8 +24,8 @@ export interface ApiResponse<TData> {
|
|
|
24
24
|
data: TData;
|
|
25
25
|
meta: ResponseMeta;
|
|
26
26
|
}
|
|
27
|
-
export type ApiErrorCode = 'auth:unauthenticated' | 'auth:token_expired' | 'auth:token_invalid' | 'auth:forbidden' | 'auth:mfa_required' | 'auth:sudo_required' | 'auth:insufficient_permissions' | 'auth:impersonation_restricted' | 'auth:lease_required' | 'auth:lease_lost' | 'validation:invalid_input' | 'validation:missing_field' | 'validation:invalid_format' | 'validation:payload_too_large' | 'resource:not_found' | 'resource:already_exists' | 'resource:conflict' | 'resource:gone' | 'rate_limit:exceeded' | 'billing:payment_required' | 'billing:plan_limit_exceeded' | 'billing:pass_redemption_failed' | 'server:internal_error' | 'server:unavailable' | 'external:service_error' | 'external:registrar_orphaned_contact_profile' | 'network:connection_error' | 'network:timeout' | 'network:dns_error';
|
|
28
|
-
export declare const API_ERROR_CODES: readonly ["auth:unauthenticated", "auth:token_expired", "auth:token_invalid", "auth:forbidden", "auth:mfa_required", "auth:sudo_required", "auth:insufficient_permissions", "auth:impersonation_restricted", "auth:lease_required", "auth:lease_lost", "validation:invalid_input", "validation:missing_field", "validation:invalid_format", "validation:payload_too_large", "resource:not_found", "resource:already_exists", "resource:conflict", "resource:gone", "rate_limit:exceeded", "billing:payment_required", "billing:plan_limit_exceeded", "billing:pass_redemption_failed", "server:internal_error", "server:unavailable", "external:service_error", "external:registrar_orphaned_contact_profile", "network:connection_error", "network:timeout", "network:dns_error"];
|
|
27
|
+
export type ApiErrorCode = 'auth:unauthenticated' | 'auth:token_expired' | 'auth:token_invalid' | 'auth:forbidden' | 'auth:mfa_required' | 'auth:sudo_required' | 'auth:insufficient_permissions' | 'auth:impersonation_restricted' | 'auth:lease_required' | 'auth:lease_lost' | 'site_terms_changed' | 'site_terms_agreement_missing' | 'validation:invalid_input' | 'validation:missing_field' | 'validation:invalid_format' | 'validation:payload_too_large' | 'resource:not_found' | 'resource:already_exists' | 'resource:conflict' | 'resource:gone' | 'rate_limit:exceeded' | 'billing:payment_required' | 'billing:plan_limit_exceeded' | 'billing:pass_redemption_failed' | 'server:internal_error' | 'server:unavailable' | 'external:service_error' | 'external:registrar_orphaned_contact_profile' | 'network:connection_error' | 'network:timeout' | 'network:dns_error';
|
|
28
|
+
export declare const API_ERROR_CODES: readonly ["auth:unauthenticated", "auth:token_expired", "auth:token_invalid", "auth:forbidden", "auth:mfa_required", "auth:sudo_required", "auth:insufficient_permissions", "auth:impersonation_restricted", "auth:lease_required", "auth:lease_lost", "site_terms_changed", "site_terms_agreement_missing", "validation:invalid_input", "validation:missing_field", "validation:invalid_format", "validation:payload_too_large", "resource:not_found", "resource:already_exists", "resource:conflict", "resource:gone", "rate_limit:exceeded", "billing:payment_required", "billing:plan_limit_exceeded", "billing:pass_redemption_failed", "server:internal_error", "server:unavailable", "external:service_error", "external:registrar_orphaned_contact_profile", "network:connection_error", "network:timeout", "network:dns_error"];
|
|
29
29
|
export declare function isApiErrorCode(value: unknown): value is ApiErrorCode;
|
|
30
30
|
export interface FieldError {
|
|
31
31
|
field: string;
|
|
@@ -10,7 +10,7 @@ import type { RiverbankSiteConfig } from './sdkContracts';
|
|
|
10
10
|
import type { SdkBlockContentAdmission } from './sdkBlockContentAdmission';
|
|
11
11
|
import type { SiteAnalyticsSettingsPayload } from './siteAnalytics';
|
|
12
12
|
import type { SiteLayoutResolvedPayload, SiteRuntimeBusinessDetails } from './siteSettings';
|
|
13
|
-
import type { BookingEngine, CanonicalBookingBehaviour, BlockContentIdentity } from '../../core/src/index';
|
|
13
|
+
import type { BookingTimeZone, BookingEngine, CanonicalBookingBehaviour, BlockContentIdentity } from '../../core/src/index';
|
|
14
14
|
export type SiteBookingOfferingPresetSummary = Readonly<{
|
|
15
15
|
id: string;
|
|
16
16
|
canonicalBehaviour: CanonicalBookingBehaviour;
|
|
@@ -374,6 +374,7 @@ export type SiteBySlugResponse = {
|
|
|
374
374
|
selectionButtonStyleSelection?: import('../../theme-core/src/buttons/index').ButtonStyleSelection | null;
|
|
375
375
|
selectionButtonStyleRepairs?: readonly import('../../theme-core/src/buttons/index').ButtonStyleSelectionRepair[];
|
|
376
376
|
selectionHeaderPreferences?: import('../../theme-core/src/site-styles/index').HeaderPreferences | null;
|
|
377
|
+
selectionFooterPreferences?: import('../../theme-core/src/site-styles/index').FooterPreferences | null;
|
|
377
378
|
selectionHeaderSelection?: import('../../theme-core/src/site-styles/index').HeaderLayoutStyleSelection | null;
|
|
378
379
|
selectionFooterLookId?: string | null;
|
|
379
380
|
navigation: NavigationMenuWithItems[];
|
|
@@ -385,11 +386,12 @@ export type SiteBySlugResponse = {
|
|
|
385
386
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
386
387
|
/** Mailing-list runtime data, present only when the requested page or footer needs it. */
|
|
387
388
|
mailingList?: import('../../core/src/index').MailingListRuntimeContext;
|
|
388
|
-
/**
|
|
389
|
-
bookingTimeZone
|
|
389
|
+
/** Admitted booking business timezone (settings resolver), required for preview and calendar display. */
|
|
390
|
+
bookingTimeZone: BookingTimeZone;
|
|
390
391
|
/** Site-level analytics settings used by frontend consent/runtime behavior. */
|
|
391
392
|
analytics?: SiteAnalyticsSettingsPayload;
|
|
392
393
|
/** Managed privacy policy data for frontend runtime rendering. */
|
|
394
|
+
siteTerms?: import('./siteTerms').SiteRuntimeSiteTerms;
|
|
393
395
|
privacyPolicy?: SiteRuntimePrivacyPolicy;
|
|
394
396
|
/**
|
|
395
397
|
* Shared business details, read by the SEO description fallback and by the
|