@riverbankcms/sdk 0.147.0 → 0.149.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DtpB3_sS.mjs → PreviewEditorSidebar-DBKln68M.mjs} +301 -205
- package/dist/{PreviewEditorUI-DxTLgaHo.mjs → PreviewEditorUI-DpRX4Mum.mjs} +68 -63
- package/dist/{PreviewQueryProvider-Dd4dxOiU.mjs → PreviewQueryProvider-C0mndwHB.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-DMMNCngt.mjs → SdkPreviewModeRuntime-DJPmPY-r.mjs} +1247 -541
- package/dist/{SiteChromeCustomizeContext-DQXZXiqS.mjs → SiteChromeCustomizeContext-JYA0cJ_Z.mjs} +209720 -204978
- package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -33
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +0 -3
- package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
- package/dist/_dts/api/src/accountApi.d.ts +1 -1
- package/dist/_dts/api/src/admin.d.ts +22 -22
- package/dist/_dts/api/src/aiPatch.d.ts +2 -2
- package/dist/_dts/api/src/aiPlayground.d.ts +1 -0
- package/dist/_dts/api/src/analytics.d.ts +2 -2
- package/dist/_dts/api/src/apiEndpointTypes.d.ts +2 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
- package/dist/_dts/api/src/auth.d.ts +10 -10
- package/dist/_dts/api/src/availability.d.ts +6 -6
- package/dist/_dts/api/src/billing.d.ts +42 -15
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +15 -6
- package/dist/_dts/api/src/blocks.d.ts +15 -14
- package/dist/_dts/api/src/blocksKeys.d.ts +2 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +33 -50
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -6
- package/dist/_dts/api/src/bookingOperations.d.ts +9 -11
- package/dist/_dts/api/src/bookingRecords.d.ts +16 -11
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +5 -5
- package/dist/_dts/api/src/bookings.d.ts +7 -7
- package/dist/_dts/api/src/calendar.d.ts +9 -9
- package/dist/_dts/api/src/clientErrorReporting.d.ts +11 -0
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -8
- package/dist/_dts/api/src/common/cancellation.d.ts +23 -0
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/content-editor.d.ts +2 -2
- package/dist/_dts/api/src/contentEntries.d.ts +17 -48
- package/dist/_dts/api/src/contentRuntime.d.ts +51 -37
- package/dist/_dts/api/src/contentTypes.d.ts +11 -11
- package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +6 -6
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +1 -1
- package/dist/_dts/api/src/documentLifecycle.d.ts +67 -0
- package/dist/_dts/api/src/domains.d.ts +16 -16
- package/dist/_dts/api/src/editLeaseEndpoints.d.ts +72 -0
- package/dist/_dts/api/src/emailSettings.d.ts +4 -4
- package/dist/_dts/api/src/endpoints.d.ts +135 -51
- package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +29 -7
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +0 -8
- package/dist/_dts/api/src/eventPageWords.d.ts +7 -12
- package/dist/_dts/api/src/footerSettings.d.ts +6 -6
- package/dist/_dts/api/src/index.d.ts +8 -7
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +5 -5
- package/dist/_dts/api/src/pageSurfaceEditorEndpoints.d.ts +55 -0
- package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +28 -7
- package/dist/_dts/api/src/pages.d.ts +7 -7
- package/dist/_dts/api/src/performance.d.ts +1 -1
- package/dist/_dts/api/src/public/index.d.ts +1 -1
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +4 -2
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +6 -29
- package/dist/_dts/api/src/redirects.d.ts +3 -3
- package/dist/_dts/api/src/request.d.ts +11 -2
- package/dist/_dts/api/src/resources.d.ts +4 -4
- package/dist/_dts/api/src/routes.d.ts +8 -3
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -2
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +21 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -28
- package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/sdkEventOccurrenceRequestContracts.d.ts +43 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +4 -2
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +9 -2
- package/dist/_dts/api/src/seo.d.ts +4 -4
- package/dist/_dts/api/src/services.d.ts +4 -4
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -8
- package/dist/_dts/api/src/siteMembers.d.ts +10 -10
- package/dist/_dts/api/src/siteOnboarding.d.ts +14 -0
- package/dist/_dts/api/src/siteOperations.d.ts +6 -2
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -12
- package/dist/_dts/api/src/siteRuntimeEntry.d.ts +31 -0
- package/dist/_dts/billing/src/checkout/platform.d.ts +77 -0
- package/dist/_dts/billing/src/components/index.d.ts +25 -40
- package/dist/_dts/billing/src/membership/index.d.ts +1 -3
- package/dist/_dts/billing/src/plans/entitlements.d.ts +80 -0
- package/dist/_dts/billing/src/plans/registry.d.ts +16 -16
- package/dist/_dts/billing/src/plans/standing.d.ts +9 -2
- package/dist/_dts/billing/src/plans/types.d.ts +5 -15
- package/dist/_dts/billing/src/site-arrangements.d.ts +2 -2
- package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +2 -4
- package/dist/_dts/billing/src/subscriptions/store.d.ts +17 -11
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +6 -7
- package/dist/_dts/block-form/src/backend/types.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -1
- package/dist/_dts/blocks/src/client/events.d.ts +3 -0
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +54 -14
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +4 -13
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +9 -8
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +28 -28
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +7 -2
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +84 -160
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +31 -4
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +72 -12
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +36 -6
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingNowIso.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/usePolling.d.ts +7 -48
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.checkout-return-context.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +3 -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 +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.payment-confirmation.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +17 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-actions.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +14 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +9 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +37 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +16 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardPresentations.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +29 -29
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +54 -6
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/DemoBookingPortalAccess.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DemoPortalSignInLink.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoBookingPassStorage.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +29 -0
- package/dist/_dts/commerce/src/purchase/bookingPaymentSelection.d.ts +54 -0
- package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +58 -13
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +16 -21
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +23 -40
- package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +2 -2
- package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +5 -4
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +1 -3
- package/dist/_dts/commerce/src/purchase/membershipOrderItemMetadata.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +9 -4
- package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +13 -1
- package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +5 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +3 -1
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +7 -1
- package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +2 -2
- package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +6 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +2 -1
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -7
- package/dist/_dts/content-editor/src/controller/EditLeaseController.d.ts +39 -0
- package/dist/_dts/content-editor/src/controller/EditorWriteGate.d.ts +38 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +25 -61
- package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseBanner.d.ts +7 -0
- package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseControllers.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/deriveEditorUnpublishedState.d.ts +6 -0
- package/dist/_dts/content-editor/src/controller/documentValueBaseline.d.ts +25 -0
- package/dist/_dts/content-editor/src/controller/editLeaseHandover.d.ts +30 -0
- package/dist/_dts/content-editor/src/controller/editLeaseLossSignal.d.ts +6 -0
- package/dist/_dts/content-editor/src/controller/editLeaseNotice.d.ts +28 -0
- package/dist/_dts/content-editor/src/controller/editorClientId.d.ts +2 -0
- package/dist/_dts/content-editor/src/controller/editorEditability.d.ts +38 -0
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +34 -0
- package/dist/_dts/content-editor/src/controller/normalizedMetadataBaseline.d.ts +29 -0
- package/dist/_dts/content-editor/src/controller/pageSurfaceDocumentBaselines.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/pageSurfaceLifecycle.d.ts +11 -0
- package/dist/_dts/content-editor/src/controller/planDocumentBaselineRefresh.d.ts +19 -0
- package/dist/_dts/content-editor/src/controller/readDocumentLeaseBaselines.d.ts +19 -0
- package/dist/_dts/content-editor/src/controller/refreshDocumentLeaseBaseline.d.ts +12 -0
- package/dist/_dts/content-editor/src/controller/refreshLinkedEntry.d.ts +17 -0
- package/dist/_dts/content-editor/src/controller/replayRestoredEditorEffects.d.ts +2 -3
- package/dist/_dts/content-editor/src/controller/routeWrites.d.ts +26 -0
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +16 -17
- package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +6 -2
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/useEntryValueAutosaves.d.ts +21 -0
- package/dist/_dts/content-editor/src/controller/useInitialEditorUiStore.d.ts +24 -0
- package/dist/_dts/content-editor/src/controller/useServerBaselineReconciliation.d.ts +17 -0
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +5 -1
- package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +8 -47
- package/dist/_dts/content-editor/src/hooks/editLeaseMachine.d.ts +120 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +6 -10
- package/dist/_dts/content-editor/src/hooks/useAutosaveStatus.d.ts +3 -0
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +5 -15
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +7 -5
- package/dist/_dts/content-editor/src/hooks/useEditLease.d.ts +28 -0
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +25 -39
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +17 -19
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +5 -8
- package/dist/_dts/content-editor/src/hooks/useValueAutosave.d.ts +64 -0
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +0 -7
- package/dist/_dts/content-editor/src/index.d.ts +26 -7
- package/dist/_dts/content-editor/src/lib/browserStorage.d.ts +5 -0
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +12 -0
- package/dist/_dts/content-editor/src/linkedEntries/owner.d.ts +9 -0
- package/dist/_dts/content-editor/src/liveDrafts/draftProjection.d.ts +66 -0
- package/dist/_dts/content-editor/src/liveDrafts/linkedSaveHandovers.d.ts +37 -0
- package/dist/_dts/content-editor/src/liveDrafts/remoteDraftOverlay.d.ts +113 -0
- package/dist/_dts/content-editor/src/liveDrafts/useLiveDrafts.d.ts +32 -0
- package/dist/_dts/content-editor/src/liveDrafts/useRetentionTicks.d.ts +7 -0
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +6 -0
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +1 -0
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +96 -19
- package/dist/_dts/content-editor/src/services/editorApiClient.d.ts +13 -0
- package/dist/_dts/content-editor/src/services/index.d.ts +2 -0
- package/dist/_dts/content-editor/src/services/pageSurfaceEditorServices.d.ts +23 -0
- package/dist/_dts/content-editor/src/sync/flushValues.d.ts +13 -0
- package/dist/_dts/content-editor/src/sync/lifecycleFailure.d.ts +51 -0
- package/dist/_dts/content-editor/src/sync/runLifecycle.d.ts +64 -0
- package/dist/_dts/content-editor/src/sync/schedulerValues.d.ts +27 -0
- package/dist/_dts/content-editor/src/sync/sendPlanning.d.ts +104 -0
- package/dist/_dts/content-editor/src/sync/valueSync.d.ts +114 -0
- package/dist/_dts/content-editor/src/ui/blockCollection.d.ts +8 -0
- package/dist/_dts/content-editor/src/ui/documentLifecycle.d.ts +18 -0
- package/dist/_dts/content-editor/src/ui/editorLeaseUiState.d.ts +7 -0
- package/dist/_dts/content-editor/src/ui/editorRefresh.d.ts +82 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +102 -127
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +126 -72
- package/dist/_dts/content-editor/src/ui/editorValueSnapshot.d.ts +18 -0
- package/dist/_dts/content-editor/src/ui/serverBlockAdmission.d.ts +26 -0
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +16 -27
- package/dist/_dts/content-editor/src/ui/stores/blockVersionsStore.d.ts +24 -0
- package/dist/_dts/content-editor/src/ui/stores/linkedEntryLeaseStore.d.ts +54 -0
- package/dist/_dts/content-editor/src/ui/stores/linkedSaveHandoversStore.d.ts +11 -0
- package/dist/_dts/content-editor/src/ui/stores/remoteDraftsStore.d.ts +10 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +63 -3
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +2 -2
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -4
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -4
- package/dist/_dts/content-model/src/definitions/shared.d.ts +11 -2
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/serializeAllowedBlocks.d.ts +2 -0
- package/dist/_dts/content-model/src/metadataConfig.d.ts +10 -38
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
- package/dist/_dts/content-model/src/types.d.ts +0 -1
- package/dist/_dts/core/src/block-content-identity.d.ts +49 -1
- package/dist/_dts/core/src/booking-flexible-balance.d.ts +2 -2
- package/dist/_dts/core/src/booking-instalment-deposit.d.ts +20 -0
- package/dist/_dts/core/src/booking-live-payment-terms.d.ts +72 -0
- package/dist/_dts/core/src/booking-payment-options.d.ts +24 -0
- package/dist/_dts/core/src/booking-payment-schemas.d.ts +522 -0
- package/dist/_dts/core/src/branded.d.ts +15 -0
- package/dist/_dts/core/src/currency-format.d.ts +8 -2
- package/dist/_dts/core/src/demo-lifecycle-status.d.ts +2 -2
- package/dist/_dts/core/src/demo-warm-pool-target.d.ts +8 -0
- package/dist/_dts/core/src/edit-lease.d.ts +60 -0
- package/dist/_dts/core/src/editor-state.d.ts +38 -13
- package/dist/_dts/core/src/editor-value-sync.d.ts +79 -0
- package/dist/_dts/core/src/html-entities.d.ts +6 -0
- package/dist/_dts/core/src/index.d.ts +7 -0
- package/dist/_dts/core/src/uuid.d.ts +7 -5
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +456 -189
- package/dist/_dts/editor/src/EditorProvider.d.ts +5 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +14 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +1 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +0 -1
- package/dist/_dts/editor/src/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +10 -9
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardFrame.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/applyExtendedFieldDefaults.d.ts +3 -4
- package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +4 -8
- package/dist/_dts/editor-blocks/src/block-editor/editorBlockItem.d.ts +23 -0
- package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +2 -7
- package/dist/_dts/editor-blocks/src/block-editor/hooks/applyBlockStructureChange.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +14 -5
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +21 -19
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -10
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +8 -16
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +6 -16
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +37 -9
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +3 -2
- package/dist/_dts/media-core/src/fileStorage.d.ts +4 -0
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +3 -1
- package/dist/_dts/media-editor/src/MediaPickerMiniDialog.d.ts +10 -0
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
- package/dist/_dts/media-editor/src/index.d.ts +2 -0
- package/dist/_dts/media-editor/src/provider.d.ts +3 -2
- package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +8 -3
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +6 -3
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +22 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/entryFieldRebinding.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +11 -1
- package/dist/_dts/preview-next/src/client/blocks/renderPrecedence.d.ts +17 -0
- package/dist/_dts/preview-next/src/client/blocks/useLinkedSaveHandoverRetention.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAccessBanners.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +23 -14
- package/dist/_dts/preview-next/src/client/preview/PreviewLeaseEditingMode.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeAutosave.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/usePreviewCustomizeWorkflowState.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/previewAuthStore.d.ts +7 -0
- package/dist/_dts/preview-next/src/constants.d.ts +4 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +1 -0
- package/dist/_dts/realtime/src/client.d.ts +3 -0
- package/dist/_dts/realtime/src/draftChannel.d.ts +91 -0
- package/dist/_dts/realtime/src/drafts.d.ts +210 -0
- package/dist/_dts/realtime/src/index.d.ts +3 -0
- package/dist/_dts/realtime/src/leaseChangeSubscriptions.d.ts +8 -0
- package/dist/_dts/realtime/src/types.d.ts +113 -0
- package/dist/_dts/realtime/src/useDraftChannel.d.ts +34 -0
- package/dist/_dts/realtime/src/useSiteRealtimeReload.d.ts +27 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -55
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -12
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +0 -5
- package/dist/_dts/ui/src/color-picker.d.ts +1 -1
- package/dist/_dts/ui/src/palette/useHexDraft.d.ts +7 -0
- package/dist/client/{BookingMailingListNote-1n4Ch_u_.mjs → BookingMailingListNote-Cr3EeTP5.mjs} +504 -163
- package/dist/client/DemoBookingPortalAccess-BFGB1Fay.mjs +344 -0
- package/dist/client/{EventCombined.client-C0pgma9y.mjs → EventCombined.client-DKYV0_ft.mjs} +6 -6
- package/dist/client/{EventListing.client-4fhLOvHP.mjs → EventListing.client-B9UIcEYc.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DScC4F3w.mjs → LeafletStaticMap-CFLPkP0K.mjs} +1 -1
- package/dist/client/{TerminalPanel-B5ZUsYhe.mjs → TerminalPanel-JjmgxEsR.mjs} +1 -1
- package/dist/client/{ThemedButton-DoVIV1Ao.mjs → ThemedButton-CKV1Jh2m.mjs} +1 -1
- package/dist/client/{accordion-CoT5g7zo.mjs → accordion-DXWIfT3T.mjs} +1 -1
- package/dist/client/{bookingForm-BWxB46xD.mjs → bookingForm-CjZgHNvv.mjs} +216 -63
- package/dist/client/bookings.mjs +1187 -692
- package/dist/client/{carousel-DtNYWFd3.mjs → carousel-DSLikmvZ.mjs} +1 -1
- package/dist/client/{cart-z4qZih1Y.mjs → cart-HDjWReFt.mjs} +3 -3
- package/dist/client/{checkout-DpL7euFH.mjs → checkout-CUvRZA3W.mjs} +3 -3
- package/dist/client/{checkoutUrls-BEfR7kVu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
- package/dist/client/client.mjs +2711 -1684
- package/dist/client/{context-C8TinPJc.mjs → context-DFmaZa-Q.mjs} +4 -3
- package/dist/client/{dates-vwwxTeB0.mjs → dates-BBep1JnF.mjs} +56 -11
- package/dist/client/{eventCalendar-DIbHfJXO.mjs → eventCalendar-zEobhxo4.mjs} +9 -9
- package/dist/client/{eventCombined-DoGMJ6cg.mjs → eventCombined-Dp7bz5k-.mjs} +4 -4
- package/dist/client/{eventDetails-BjN9v6a1.mjs → eventDetails-FE-zqTt7.mjs} +4 -4
- package/dist/client/{eventListing-DajjWgOv.mjs → eventListing-BMt5snal.mjs} +4 -4
- package/dist/client/{eventRegistration-DMq9gMA-.mjs → eventRegistration-O6ZxHfOb.mjs} +422 -570
- package/dist/client/{form-Qf6qTbos.mjs → form-DFa1D8vt.mjs} +3 -3
- package/dist/client/{headerSection-D7qJrqFX.mjs → headerSection-CmjHLR-N.mjs} +3 -3
- package/dist/client/hooks.mjs +414 -182
- package/dist/client/{locationMap-CCF9-t_0.mjs → locationMap-BXKP_lGh.mjs} +3 -3
- package/dist/client/{media-CwBGetqC.mjs → media-Cl38iOMI.mjs} +10 -3
- package/dist/client/{newsletterForm-DzCLSP4S.mjs → newsletterForm-CU-HmxGx.mjs} +3 -3
- package/dist/client/{pricing-Cgxv2KLC.mjs → pricing-KEAEsibq.mjs} +1 -1
- package/dist/client/{productDetail-ru9w5GHx.mjs → productDetail-Ckp7MGnt.mjs} +3 -3
- package/dist/client/{productList-zaapKSl-.mjs → productList-D91V0sYa.mjs} +3 -3
- package/dist/client/{propsDecoder-CwvvNOHx.mjs → propsDecoder-DZd6RJeA.mjs} +244 -94
- package/dist/client/rendering/client.mjs +2656 -1705
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +3430 -2352
- package/dist/client/{routeIslandApiConfig-BwVFo0Y4.mjs → routeIslandApiConfig-E1EkhhYY.mjs} +1 -1
- package/dist/client/{shop-mktkXvbV.mjs → shop-4F2jLQPI.mjs} +131 -85
- package/dist/client/{shop-commerce-De7gEnkA.mjs → shop-commerce-BbfCJjB3.mjs} +25 -13
- package/dist/client/{shop-commerce-store-B3MCxIBW.mjs → shop-commerce-store-vicweP2K.mjs} +1 -1
- package/dist/client/{shopShared-TqExh235.mjs → shopShared-DlONJt0T.mjs} +4 -4
- package/dist/client/{useEventFilters-n_OjkIjX.mjs → useEventFilters-COYyL3m7.mjs} +32 -17
- package/dist/preview-next/before-render.mjs +207 -105
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/constants.mjs +5 -1
- package/dist/preview-next/index.mjs +5 -1
- package/dist/preview-next/keepAlive.mjs +341 -165
- package/dist/preview-next/middleware.mjs +207 -105
- package/dist/{previewAuthStore-C_EHQ5XA.mjs → previewAuthStore-BBmV7UsW.mjs} +243 -112
- package/dist/{sdk-runtime-BIkJg5y1.mjs → sdk-runtime-CwvFFjB-.mjs} +2 -2
- package/dist/{separator-C9qDP95Z.mjs → separator-ByL72zUT.mjs} +1 -1
- package/dist/server/components.mjs +1839 -1475
- package/dist/server/config-validation.mjs +381 -166
- package/dist/server/config.mjs +381 -166
- package/dist/server/data.mjs +381 -166
- package/dist/server/index.mjs +214 -110
- package/dist/server/next.mjs +663 -351
- package/dist/server/page-converter.mjs +198 -79
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1536 -1169
- package/dist/server/rendering.mjs +2432 -2068
- package/dist/server/routing.mjs +456 -173
- package/dist/server/server.mjs +447 -267
- package/package.json +1 -1
- package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +0 -123
- package/dist/_dts/billing/src/plans/display.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-note.d.ts +0 -3
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +0 -10
- package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +0 -55
- package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +0 -24
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +0 -4
- package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +0 -16
- package/dist/_dts/content-editor/src/controller/driver.d.ts +0 -14
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +0 -7
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +0 -29
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +0 -26
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +0 -64
- package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +0 -48
- package/dist/_dts/content-editor/src/types.d.ts +0 -44
- package/dist/client/DiscountCodeDisclosure-CKJtz0mY.mjs +0 -137
|
@@ -107,7 +107,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
107
107
|
passes: readonly import(".").PublicPassProduct[];
|
|
108
108
|
}> | null;
|
|
109
109
|
siteMemberships?: Readonly<{
|
|
110
|
-
memberships: readonly import("
|
|
110
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
111
111
|
}> | null;
|
|
112
112
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
113
113
|
className?: string | null;
|
|
@@ -131,7 +131,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
131
131
|
passes: readonly import(".").PublicPassProduct[];
|
|
132
132
|
}> | null;
|
|
133
133
|
siteMemberships?: Readonly<{
|
|
134
|
-
memberships: readonly import("
|
|
134
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
135
135
|
}> | null;
|
|
136
136
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
137
137
|
className?: string | null;
|
|
@@ -28,6 +28,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
28
28
|
message: string | null;
|
|
29
29
|
}>;
|
|
30
30
|
hydration: Readonly<{
|
|
31
|
+
demoEmailSuppressed?: boolean;
|
|
31
32
|
mailingList?: import("../../../core/src/index").MailingListRuntimeContext;
|
|
32
33
|
siteName?: string;
|
|
33
34
|
formId: string | null;
|
|
@@ -118,6 +119,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
118
119
|
message: string | null;
|
|
119
120
|
}>;
|
|
120
121
|
hydration: Readonly<{
|
|
122
|
+
demoEmailSuppressed?: boolean;
|
|
121
123
|
mailingList?: import("../../../core/src/index").MailingListRuntimeContext;
|
|
122
124
|
siteName?: string;
|
|
123
125
|
formId: string | null;
|
|
@@ -205,7 +207,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
205
207
|
mode: "event-registration";
|
|
206
208
|
} & Readonly<{
|
|
207
209
|
display: EventRegistrationDisplay;
|
|
208
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "
|
|
210
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
|
|
209
211
|
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
210
212
|
}>;
|
|
211
213
|
}>>;
|
|
@@ -223,7 +225,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
223
225
|
mode: "event-registration";
|
|
224
226
|
} & Readonly<{
|
|
225
227
|
display: EventRegistrationDisplay;
|
|
226
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "
|
|
228
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
|
|
227
229
|
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
228
230
|
}>;
|
|
229
231
|
}>>;
|
|
@@ -779,6 +781,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
779
781
|
hydration: Readonly<{
|
|
780
782
|
emptyStateText: string;
|
|
781
783
|
submitButtonText: string;
|
|
784
|
+
demoEmailSuppressed?: boolean;
|
|
782
785
|
}>;
|
|
783
786
|
}>>;
|
|
784
787
|
}>) => unknown;
|
|
@@ -803,6 +806,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
803
806
|
hydration: Readonly<{
|
|
804
807
|
emptyStateText: string;
|
|
805
808
|
submitButtonText: string;
|
|
809
|
+
demoEmailSuppressed?: boolean;
|
|
806
810
|
}>;
|
|
807
811
|
}>>;
|
|
808
812
|
}>>;
|
|
@@ -850,13 +854,21 @@ export declare const proofBlockIslandCodecs: {
|
|
|
850
854
|
description: string | null;
|
|
851
855
|
priceLabel: string;
|
|
852
856
|
intervalLabel: string;
|
|
853
|
-
|
|
857
|
+
action: Readonly<{
|
|
858
|
+
kind: "purchase";
|
|
859
|
+
label: string;
|
|
860
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
861
|
+
}> | Readonly<{
|
|
862
|
+
kind: "unavailable";
|
|
863
|
+
label: string;
|
|
864
|
+
}>;
|
|
854
865
|
}>[];
|
|
855
866
|
}>;
|
|
856
867
|
hydration: Readonly<{
|
|
857
|
-
memberships: readonly import("
|
|
868
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
858
869
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
859
870
|
buttonVariant: import("..").BlockButtonRole;
|
|
871
|
+
demoEmailSuppressed?: boolean;
|
|
860
872
|
}>;
|
|
861
873
|
}>>;
|
|
862
874
|
}>) => unknown;
|
|
@@ -902,13 +914,21 @@ export declare const proofBlockIslandCodecs: {
|
|
|
902
914
|
description: string | null;
|
|
903
915
|
priceLabel: string;
|
|
904
916
|
intervalLabel: string;
|
|
905
|
-
|
|
917
|
+
action: Readonly<{
|
|
918
|
+
kind: "purchase";
|
|
919
|
+
label: string;
|
|
920
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
921
|
+
}> | Readonly<{
|
|
922
|
+
kind: "unavailable";
|
|
923
|
+
label: string;
|
|
924
|
+
}>;
|
|
906
925
|
}>[];
|
|
907
926
|
}>;
|
|
908
927
|
hydration: Readonly<{
|
|
909
|
-
memberships: readonly import("
|
|
928
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
910
929
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
911
930
|
buttonVariant: import("..").BlockButtonRole;
|
|
931
|
+
demoEmailSuppressed?: boolean;
|
|
912
932
|
}>;
|
|
913
933
|
}>>;
|
|
914
934
|
}>>;
|
|
@@ -994,6 +1014,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
994
1014
|
message: string | null;
|
|
995
1015
|
}>;
|
|
996
1016
|
hydration: Readonly<{
|
|
1017
|
+
demoEmailSuppressed?: boolean;
|
|
997
1018
|
mailingList?: import("../../../core/src/index").MailingListRuntimeContext;
|
|
998
1019
|
siteName?: string;
|
|
999
1020
|
formId: string | null;
|
|
@@ -1084,6 +1105,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1084
1105
|
message: string | null;
|
|
1085
1106
|
}>;
|
|
1086
1107
|
hydration: Readonly<{
|
|
1108
|
+
demoEmailSuppressed?: boolean;
|
|
1087
1109
|
mailingList?: import("../../../core/src/index").MailingListRuntimeContext;
|
|
1088
1110
|
siteName?: string;
|
|
1089
1111
|
formId: string | null;
|
|
@@ -1171,7 +1193,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1171
1193
|
mode: "event-registration";
|
|
1172
1194
|
} & Readonly<{
|
|
1173
1195
|
display: EventRegistrationDisplay;
|
|
1174
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "
|
|
1196
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
|
|
1175
1197
|
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
1176
1198
|
}>;
|
|
1177
1199
|
}>>;
|
|
@@ -1189,7 +1211,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1189
1211
|
mode: "event-registration";
|
|
1190
1212
|
} & Readonly<{
|
|
1191
1213
|
display: EventRegistrationDisplay;
|
|
1192
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "
|
|
1214
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
|
|
1193
1215
|
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
1194
1216
|
}>;
|
|
1195
1217
|
}>>;
|
|
@@ -1745,6 +1767,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1745
1767
|
hydration: Readonly<{
|
|
1746
1768
|
emptyStateText: string;
|
|
1747
1769
|
submitButtonText: string;
|
|
1770
|
+
demoEmailSuppressed?: boolean;
|
|
1748
1771
|
}>;
|
|
1749
1772
|
}>>;
|
|
1750
1773
|
}>) => unknown;
|
|
@@ -1769,6 +1792,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1769
1792
|
hydration: Readonly<{
|
|
1770
1793
|
emptyStateText: string;
|
|
1771
1794
|
submitButtonText: string;
|
|
1795
|
+
demoEmailSuppressed?: boolean;
|
|
1772
1796
|
}>;
|
|
1773
1797
|
}>>;
|
|
1774
1798
|
}>>;
|
|
@@ -1816,13 +1840,21 @@ export declare const runtimeIslandCodecs: {
|
|
|
1816
1840
|
description: string | null;
|
|
1817
1841
|
priceLabel: string;
|
|
1818
1842
|
intervalLabel: string;
|
|
1819
|
-
|
|
1843
|
+
action: Readonly<{
|
|
1844
|
+
kind: "purchase";
|
|
1845
|
+
label: string;
|
|
1846
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
1847
|
+
}> | Readonly<{
|
|
1848
|
+
kind: "unavailable";
|
|
1849
|
+
label: string;
|
|
1850
|
+
}>;
|
|
1820
1851
|
}>[];
|
|
1821
1852
|
}>;
|
|
1822
1853
|
hydration: Readonly<{
|
|
1823
|
-
memberships: readonly import("
|
|
1854
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1824
1855
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1825
1856
|
buttonVariant: import("..").BlockButtonRole;
|
|
1857
|
+
demoEmailSuppressed?: boolean;
|
|
1826
1858
|
}>;
|
|
1827
1859
|
}>>;
|
|
1828
1860
|
}>) => unknown;
|
|
@@ -1868,13 +1900,21 @@ export declare const runtimeIslandCodecs: {
|
|
|
1868
1900
|
description: string | null;
|
|
1869
1901
|
priceLabel: string;
|
|
1870
1902
|
intervalLabel: string;
|
|
1871
|
-
|
|
1903
|
+
action: Readonly<{
|
|
1904
|
+
kind: "purchase";
|
|
1905
|
+
label: string;
|
|
1906
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
1907
|
+
}> | Readonly<{
|
|
1908
|
+
kind: "unavailable";
|
|
1909
|
+
label: string;
|
|
1910
|
+
}>;
|
|
1872
1911
|
}>[];
|
|
1873
1912
|
}>;
|
|
1874
1913
|
hydration: Readonly<{
|
|
1875
|
-
memberships: readonly import("
|
|
1914
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1876
1915
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1877
1916
|
buttonVariant: import("..").BlockButtonRole;
|
|
1917
|
+
demoEmailSuppressed?: boolean;
|
|
1878
1918
|
}>;
|
|
1879
1919
|
}>>;
|
|
1880
1920
|
}>>;
|
|
@@ -1940,7 +1980,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1940
1980
|
passes: readonly import(".").PublicPassProduct[];
|
|
1941
1981
|
}> | null;
|
|
1942
1982
|
siteMemberships?: Readonly<{
|
|
1943
|
-
memberships: readonly import("
|
|
1983
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1944
1984
|
}> | null;
|
|
1945
1985
|
autoApplyDiscount?: import("..").EventAutoApplyDiscountPreview | null;
|
|
1946
1986
|
className?: string | null;
|
|
@@ -1964,7 +2004,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1964
2004
|
passes: readonly import(".").PublicPassProduct[];
|
|
1965
2005
|
}> | null;
|
|
1966
2006
|
siteMemberships?: Readonly<{
|
|
1967
|
-
memberships: readonly import("
|
|
2007
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1968
2008
|
}> | null;
|
|
1969
2009
|
autoApplyDiscount?: import("..").EventAutoApplyDiscountPreview | null;
|
|
1970
2010
|
className?: string | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PublishedBlockPlacementRead } from '../../core/src/index';
|
|
1
2
|
import type { Block, PageOutline } from './structure/schema';
|
|
2
3
|
import type { ManifestContentAdmissionError, RenderableManifestContent } from './system/manifest/validation';
|
|
3
4
|
export type PageBlockRenderAdmissionError = Readonly<{
|
|
@@ -6,17 +7,7 @@ export type PageBlockRenderAdmissionError = Readonly<{
|
|
|
6
7
|
}> | Readonly<{
|
|
7
8
|
kind: 'manifest_unavailable';
|
|
8
9
|
}>;
|
|
9
|
-
export type PublishedBlockPlacement
|
|
10
|
-
id: string;
|
|
11
|
-
content: Record<string, unknown>;
|
|
12
|
-
}>;
|
|
13
|
-
export type PublishedBlockPlacementRead = PublishedBlockPlacement | Readonly<{
|
|
14
|
-
kind: 'incomplete';
|
|
15
|
-
id: string | null;
|
|
16
|
-
content: Record<string, unknown> | null;
|
|
17
|
-
}> | null;
|
|
18
|
-
/** Pair a published version with the content it authorises at the render boundary. */
|
|
19
|
-
export declare function readPublishedBlockPlacement(id: string | null | undefined, content: Record<string, unknown> | null | undefined): PublishedBlockPlacementRead;
|
|
10
|
+
export { readPublishedBlockPlacement, type PublishedBlockPlacement, type PublishedBlockPlacementRead, } from '../../core/src/index';
|
|
20
11
|
export type RenderablePageBlock = Readonly<{
|
|
21
12
|
id: Block['id'];
|
|
22
13
|
kind: Block['kind'];
|
|
@@ -54,11 +45,11 @@ export type PresentationBlock = Block & Readonly<{
|
|
|
54
45
|
export type PresentationPageOutline = Omit<PageOutline, 'blocks'> & Readonly<{
|
|
55
46
|
blocks: readonly PresentationBlock[];
|
|
56
47
|
}>;
|
|
48
|
+
/** A content-read page for the editor: render blocks plus their server versions. */
|
|
57
49
|
export type EditorRenderablePageOutline = Omit<PageOutline, 'blocks'> & Readonly<{
|
|
58
50
|
blocks: (Block & Readonly<{
|
|
59
51
|
draftContentId: string | null;
|
|
60
|
-
|
|
61
|
-
publishedContent: Record<string, unknown> | null;
|
|
52
|
+
publishedPlacement: PublishedBlockPlacementRead;
|
|
62
53
|
}>)[];
|
|
63
54
|
}>;
|
|
64
55
|
export type EditorPageOutlineWithPlacement = Omit<PageOutline, 'blocks'> & Readonly<{
|
|
@@ -48,6 +48,7 @@ export type BlockOverrideProps<TContent = Record<string, unknown>> = {
|
|
|
48
48
|
data?: Record<string, unknown>;
|
|
49
49
|
/** Site UUID (useful for media URL resolution in override components) */
|
|
50
50
|
siteId?: string;
|
|
51
|
+
demoEmailSuppressed?: boolean;
|
|
51
52
|
/** Dashboard API URL for client-side block runtime calls. */
|
|
52
53
|
apiBaseUrl?: string;
|
|
53
54
|
/** Canonical site timezone for calendar/date behavior. */
|
|
@@ -137,6 +138,7 @@ export type SdkConfigForRenderer = {
|
|
|
137
138
|
*/
|
|
138
139
|
export type PageRendererDataContext = {
|
|
139
140
|
siteId?: string;
|
|
141
|
+
demoEmailSuppressed?: boolean;
|
|
140
142
|
/** Public business name from sites.title. */
|
|
141
143
|
siteName?: string;
|
|
142
144
|
pageId?: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Shared portal wire/domain types used by the portal API surface and frontend
|
|
5
5
|
* route. Status values use British spelling ('cancelled') to match the backend.
|
|
6
6
|
*/
|
|
7
|
-
import type { OrderInstalmentSummary, OrderInstalmentSummaryRow, OrderInstalmentPlanStatus, OrderInstalmentStatus } from '../../../core/src/index';
|
|
7
|
+
import type { BookingFlexibleBalanceContractStatus, OrderInstalmentSummary, OrderInstalmentSummaryRow, OrderInstalmentPlanStatus, OrderInstalmentStatus } from '../../../core/src/index';
|
|
8
8
|
export { formatDate, formatDateTime } from './dateFormatting';
|
|
9
9
|
type JsonPrimitive = string | number | boolean | null;
|
|
10
10
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
@@ -101,7 +101,7 @@ export interface CustomerEventRegistration {
|
|
|
101
101
|
createdAt: string;
|
|
102
102
|
/** Guest details for additional attendees (optional - only present if guests exist) */
|
|
103
103
|
guests?: EventGuest[];
|
|
104
|
-
beforeYouCome:
|
|
104
|
+
beforeYouCome: PortalBeforeYouComeTask | null;
|
|
105
105
|
transferState: 'none' | 'transferred_in' | 'transferred_out';
|
|
106
106
|
actions: {
|
|
107
107
|
canCancel: boolean;
|
|
@@ -124,8 +124,6 @@ export interface CustomerEventSeriesRegistration {
|
|
|
124
124
|
eventTitle: string;
|
|
125
125
|
/** Path to the Event page (published route) when available */
|
|
126
126
|
eventPath?: string | null;
|
|
127
|
-
/** Rich text description in ProseMirror/TipTap JSON format, or null if not set */
|
|
128
|
-
eventDescription: unknown;
|
|
129
127
|
status: 'pending_payment' | 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
|
|
130
128
|
paymentMethod: 'free' | 'membership' | 'stripe' | null;
|
|
131
129
|
paymentStatus: 'not_required' | 'pending' | 'completed' | 'failed' | 'refunded' | null;
|
|
@@ -150,7 +148,7 @@ export interface CustomerEventSeriesRegistration {
|
|
|
150
148
|
displayName: string | null;
|
|
151
149
|
isBooker: boolean;
|
|
152
150
|
}>[];
|
|
153
|
-
beforeYouCome:
|
|
151
|
+
beforeYouCome: PortalBeforeYouComeTask | null;
|
|
154
152
|
/** Venue information */
|
|
155
153
|
venue: {
|
|
156
154
|
name: string;
|
|
@@ -172,7 +170,7 @@ export interface CustomerAppointment {
|
|
|
172
170
|
status: 'scheduled' | 'pending' | 'confirmed' | 'completed' | 'cancelled' | 'no_show';
|
|
173
171
|
notes: string | null;
|
|
174
172
|
createdAt: string;
|
|
175
|
-
beforeYouCome:
|
|
173
|
+
beforeYouCome: PortalBeforeYouComeTask | null;
|
|
176
174
|
cancellation: {
|
|
177
175
|
canCancel: boolean;
|
|
178
176
|
canAutoRefundOnCancel: boolean;
|
|
@@ -243,6 +241,9 @@ export interface BeforeYouComeTaskSummary {
|
|
|
243
241
|
completedAt: string | null;
|
|
244
242
|
prefillAvailable: boolean;
|
|
245
243
|
}
|
|
244
|
+
export type PortalBeforeYouComeTask = BeforeYouComeTaskSummary | Readonly<{
|
|
245
|
+
kind: 'unavailable';
|
|
246
|
+
}>;
|
|
246
247
|
export interface BookingQuestionsTaskDetail {
|
|
247
248
|
requirementId: string;
|
|
248
249
|
title: string;
|
|
@@ -338,7 +339,7 @@ export interface CustomerOrderActions {
|
|
|
338
339
|
payOnlineInProgress: boolean;
|
|
339
340
|
}
|
|
340
341
|
export interface CustomerOrderFlexibleBalance {
|
|
341
|
-
status:
|
|
342
|
+
status: BookingFlexibleBalanceContractStatus;
|
|
342
343
|
dueAt: string;
|
|
343
344
|
remainingBalanceCents: number;
|
|
344
345
|
upfrontAmountCents: number;
|
|
@@ -429,7 +430,7 @@ export declare function getEventBadgeVariant(status: CustomerEventRegistration['
|
|
|
429
430
|
* Get badge variant for appointment status
|
|
430
431
|
*/
|
|
431
432
|
export declare function getAppointmentBadgeVariant(status: CustomerAppointment['status']): BadgeVariant;
|
|
432
|
-
export declare function getBeforeYouComeBadgeVariant(status:
|
|
433
|
+
export declare function getBeforeYouComeBadgeVariant(status: BeforeYouComeTaskSummary['status']): BadgeVariant;
|
|
433
434
|
export declare function orderFilterLabel(filter: CustomerOrderFilter): string;
|
|
434
435
|
export declare function getOrderStatusBadgeVariant(status: CustomerOrder['status']): BadgeVariant;
|
|
435
436
|
export declare function getOrderPaymentStateBadgeVariant(paymentState: CustomerOrder['paymentState']): BadgeVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
|
-
import type { SectionStylesContent } from "../fields/boxStyles";
|
|
2
|
+
import type { ContainerStylesContent, SectionStylesContent } from "../fields/boxStyles";
|
|
3
3
|
import { type RichTextDoc } from "./form";
|
|
4
4
|
import type { MailingListPlacementTargeting } from '../../../../core/src/index';
|
|
5
5
|
export declare const contactNewsletterManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
@@ -142,6 +142,7 @@ export type ContactNewsletterContent = {
|
|
|
142
142
|
formSlug: string;
|
|
143
143
|
contactSubmitLabel?: string | null;
|
|
144
144
|
contactSuccessMessage?: string | null;
|
|
145
|
+
_containerStyles?: ContainerStylesContent;
|
|
145
146
|
_sectionStyles?: SectionStylesContent;
|
|
146
147
|
};
|
|
147
148
|
export declare const contactNewsletterBlockDefinition: SystemBlockDefinition<ContactNewsletterContent>;
|
|
@@ -92,8 +92,10 @@ export declare const eventRegistrationManifest: import("..").DefinedBlockManifes
|
|
|
92
92
|
readonly description: "Message shown after successful registration";
|
|
93
93
|
readonly required: false;
|
|
94
94
|
readonly multiline: true;
|
|
95
|
-
readonly defaultValue: "Thank you for registering! Check your email for confirmation details.";
|
|
96
95
|
readonly maxLength: 500;
|
|
96
|
+
readonly ui: {
|
|
97
|
+
readonly placeholder: "Thank you for registering! Check your email for confirmation details.";
|
|
98
|
+
};
|
|
97
99
|
}, {
|
|
98
100
|
readonly id: "buttonText";
|
|
99
101
|
readonly type: "text";
|
|
@@ -252,7 +252,6 @@ export declare const publicEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
252
252
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
253
253
|
}, z.core.$strip>>;
|
|
254
254
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
255
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
256
255
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
256
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
258
257
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -601,15 +600,16 @@ export declare const publicEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
601
600
|
cancelled: "cancelled";
|
|
602
601
|
}>>;
|
|
603
602
|
timeZone: z.ZodString;
|
|
603
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
604
604
|
pricing: z.ZodType<PublicEventPricing, unknown, z.core.$ZodTypeInternals<PublicEventPricing, unknown>>;
|
|
605
605
|
paymentTerms: z.ZodObject<{
|
|
606
|
-
allowedOptions: z.ZodArray<z.
|
|
606
|
+
allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
607
607
|
kind: z.ZodLiteral<"upfront">;
|
|
608
608
|
}, z.core.$strip>, z.ZodObject<{
|
|
609
609
|
kind: z.ZodLiteral<"deferred_manual">;
|
|
610
610
|
}, z.core.$strip>, z.ZodObject<{
|
|
611
611
|
kind: z.ZodLiteral<"instalment_plan">;
|
|
612
|
-
plan: z.
|
|
612
|
+
plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
613
613
|
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
614
614
|
depositAmountCents: z.ZodNumber;
|
|
615
615
|
depositRefundability: z.ZodEnum<{
|
|
@@ -645,24 +645,24 @@ export declare const publicEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
645
645
|
week: "week";
|
|
646
646
|
month: "month";
|
|
647
647
|
}>;
|
|
648
|
-
}, z.core.$strip>]>;
|
|
648
|
+
}, z.core.$strip>], "kind">;
|
|
649
649
|
}, z.core.$strip>, z.ZodObject<{
|
|
650
650
|
kind: z.ZodLiteral<"flexible_balance">;
|
|
651
651
|
config: z.ZodObject<{
|
|
652
652
|
upfrontAmountCents: z.ZodNumber;
|
|
653
|
-
dueDateRule: z.
|
|
653
|
+
dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
654
654
|
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
655
655
|
daysBeforeStart: z.ZodNumber;
|
|
656
656
|
}, z.core.$strip>, z.ZodObject<{
|
|
657
657
|
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
658
658
|
dueAt: z.ZodString;
|
|
659
|
-
}, z.core.$strip>]>;
|
|
659
|
+
}, z.core.$strip>], "kind">;
|
|
660
660
|
depositRefundability: z.ZodEnum<{
|
|
661
661
|
refundable: "refundable";
|
|
662
662
|
non_refundable: "non_refundable";
|
|
663
663
|
}>;
|
|
664
664
|
}, z.core.$strip>;
|
|
665
|
-
}, z.core.$strip>]>>;
|
|
665
|
+
}, z.core.$strip>], "kind">>;
|
|
666
666
|
}, z.core.$strip>;
|
|
667
667
|
cancellationPolicy: z.ZodObject<{
|
|
668
668
|
refunds: z.ZodObject<{
|
|
@@ -741,7 +741,6 @@ export declare const publicEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
741
741
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
742
742
|
}, z.core.$strip>>;
|
|
743
743
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
744
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
745
744
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
746
745
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
747
746
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -1090,15 +1089,16 @@ export declare const publicEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1090
1089
|
cancelled: "cancelled";
|
|
1091
1090
|
}>>;
|
|
1092
1091
|
timeZone: z.ZodString;
|
|
1092
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
1093
1093
|
pricing: z.ZodType<PublicEventPricing, unknown, z.core.$ZodTypeInternals<PublicEventPricing, unknown>>;
|
|
1094
1094
|
paymentTerms: z.ZodObject<{
|
|
1095
|
-
allowedOptions: z.ZodArray<z.
|
|
1095
|
+
allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1096
1096
|
kind: z.ZodLiteral<"upfront">;
|
|
1097
1097
|
}, z.core.$strip>, z.ZodObject<{
|
|
1098
1098
|
kind: z.ZodLiteral<"deferred_manual">;
|
|
1099
1099
|
}, z.core.$strip>, z.ZodObject<{
|
|
1100
1100
|
kind: z.ZodLiteral<"instalment_plan">;
|
|
1101
|
-
plan: z.
|
|
1101
|
+
plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1102
1102
|
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
1103
1103
|
depositAmountCents: z.ZodNumber;
|
|
1104
1104
|
depositRefundability: z.ZodEnum<{
|
|
@@ -1134,24 +1134,24 @@ export declare const publicEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1134
1134
|
week: "week";
|
|
1135
1135
|
month: "month";
|
|
1136
1136
|
}>;
|
|
1137
|
-
}, z.core.$strip>]>;
|
|
1137
|
+
}, z.core.$strip>], "kind">;
|
|
1138
1138
|
}, z.core.$strip>, z.ZodObject<{
|
|
1139
1139
|
kind: z.ZodLiteral<"flexible_balance">;
|
|
1140
1140
|
config: z.ZodObject<{
|
|
1141
1141
|
upfrontAmountCents: z.ZodNumber;
|
|
1142
|
-
dueDateRule: z.
|
|
1142
|
+
dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1143
1143
|
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
1144
1144
|
daysBeforeStart: z.ZodNumber;
|
|
1145
1145
|
}, z.core.$strip>, z.ZodObject<{
|
|
1146
1146
|
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
1147
1147
|
dueAt: z.ZodString;
|
|
1148
|
-
}, z.core.$strip>]>;
|
|
1148
|
+
}, z.core.$strip>], "kind">;
|
|
1149
1149
|
depositRefundability: z.ZodEnum<{
|
|
1150
1150
|
refundable: "refundable";
|
|
1151
1151
|
non_refundable: "non_refundable";
|
|
1152
1152
|
}>;
|
|
1153
1153
|
}, z.core.$strip>;
|
|
1154
|
-
}, z.core.$strip>]>>;
|
|
1154
|
+
}, z.core.$strip>], "kind">>;
|
|
1155
1155
|
}, z.core.$strip>;
|
|
1156
1156
|
cancellationPolicy: z.ZodObject<{
|
|
1157
1157
|
refunds: z.ZodObject<{
|
|
@@ -1255,7 +1255,6 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodUnion<readonly [z.
|
|
|
1255
1255
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
1256
1256
|
}, z.core.$strip>>;
|
|
1257
1257
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1258
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1259
1258
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1260
1259
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1261
1260
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -1604,15 +1603,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodUnion<readonly [z.
|
|
|
1604
1603
|
cancelled: "cancelled";
|
|
1605
1604
|
}>>;
|
|
1606
1605
|
timeZone: z.ZodString;
|
|
1606
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
1607
1607
|
pricing: z.ZodType<PublicEventPricing, unknown, z.core.$ZodTypeInternals<PublicEventPricing, unknown>>;
|
|
1608
1608
|
paymentTerms: z.ZodObject<{
|
|
1609
|
-
allowedOptions: z.ZodArray<z.
|
|
1609
|
+
allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1610
1610
|
kind: z.ZodLiteral<"upfront">;
|
|
1611
1611
|
}, z.core.$strip>, z.ZodObject<{
|
|
1612
1612
|
kind: z.ZodLiteral<"deferred_manual">;
|
|
1613
1613
|
}, z.core.$strip>, z.ZodObject<{
|
|
1614
1614
|
kind: z.ZodLiteral<"instalment_plan">;
|
|
1615
|
-
plan: z.
|
|
1615
|
+
plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1616
1616
|
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
1617
1617
|
depositAmountCents: z.ZodNumber;
|
|
1618
1618
|
depositRefundability: z.ZodEnum<{
|
|
@@ -1648,24 +1648,24 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodUnion<readonly [z.
|
|
|
1648
1648
|
week: "week";
|
|
1649
1649
|
month: "month";
|
|
1650
1650
|
}>;
|
|
1651
|
-
}, z.core.$strip>]>;
|
|
1651
|
+
}, z.core.$strip>], "kind">;
|
|
1652
1652
|
}, z.core.$strip>, z.ZodObject<{
|
|
1653
1653
|
kind: z.ZodLiteral<"flexible_balance">;
|
|
1654
1654
|
config: z.ZodObject<{
|
|
1655
1655
|
upfrontAmountCents: z.ZodNumber;
|
|
1656
|
-
dueDateRule: z.
|
|
1656
|
+
dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1657
1657
|
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
1658
1658
|
daysBeforeStart: z.ZodNumber;
|
|
1659
1659
|
}, z.core.$strip>, z.ZodObject<{
|
|
1660
1660
|
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
1661
1661
|
dueAt: z.ZodString;
|
|
1662
|
-
}, z.core.$strip>]>;
|
|
1662
|
+
}, z.core.$strip>], "kind">;
|
|
1663
1663
|
depositRefundability: z.ZodEnum<{
|
|
1664
1664
|
refundable: "refundable";
|
|
1665
1665
|
non_refundable: "non_refundable";
|
|
1666
1666
|
}>;
|
|
1667
1667
|
}, z.core.$strip>;
|
|
1668
|
-
}, z.core.$strip>]>>;
|
|
1668
|
+
}, z.core.$strip>], "kind">>;
|
|
1669
1669
|
}, z.core.$strip>;
|
|
1670
1670
|
cancellationPolicy: z.ZodObject<{
|
|
1671
1671
|
refunds: z.ZodObject<{
|
|
@@ -1744,7 +1744,6 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodUnion<readonly [z.
|
|
|
1744
1744
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
1745
1745
|
}, z.core.$strip>>;
|
|
1746
1746
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1747
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1748
1747
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1749
1748
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1750
1749
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -2093,15 +2092,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodUnion<readonly [z.
|
|
|
2093
2092
|
cancelled: "cancelled";
|
|
2094
2093
|
}>>;
|
|
2095
2094
|
timeZone: z.ZodString;
|
|
2095
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
2096
2096
|
pricing: z.ZodType<PublicEventPricing, unknown, z.core.$ZodTypeInternals<PublicEventPricing, unknown>>;
|
|
2097
2097
|
paymentTerms: z.ZodObject<{
|
|
2098
|
-
allowedOptions: z.ZodArray<z.
|
|
2098
|
+
allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2099
2099
|
kind: z.ZodLiteral<"upfront">;
|
|
2100
2100
|
}, z.core.$strip>, z.ZodObject<{
|
|
2101
2101
|
kind: z.ZodLiteral<"deferred_manual">;
|
|
2102
2102
|
}, z.core.$strip>, z.ZodObject<{
|
|
2103
2103
|
kind: z.ZodLiteral<"instalment_plan">;
|
|
2104
|
-
plan: z.
|
|
2104
|
+
plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2105
2105
|
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
2106
2106
|
depositAmountCents: z.ZodNumber;
|
|
2107
2107
|
depositRefundability: z.ZodEnum<{
|
|
@@ -2137,24 +2137,24 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodUnion<readonly [z.
|
|
|
2137
2137
|
week: "week";
|
|
2138
2138
|
month: "month";
|
|
2139
2139
|
}>;
|
|
2140
|
-
}, z.core.$strip>]>;
|
|
2140
|
+
}, z.core.$strip>], "kind">;
|
|
2141
2141
|
}, z.core.$strip>, z.ZodObject<{
|
|
2142
2142
|
kind: z.ZodLiteral<"flexible_balance">;
|
|
2143
2143
|
config: z.ZodObject<{
|
|
2144
2144
|
upfrontAmountCents: z.ZodNumber;
|
|
2145
|
-
dueDateRule: z.
|
|
2145
|
+
dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2146
2146
|
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
2147
2147
|
daysBeforeStart: z.ZodNumber;
|
|
2148
2148
|
}, z.core.$strip>, z.ZodObject<{
|
|
2149
2149
|
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
2150
2150
|
dueAt: z.ZodString;
|
|
2151
|
-
}, z.core.$strip>]>;
|
|
2151
|
+
}, z.core.$strip>], "kind">;
|
|
2152
2152
|
depositRefundability: z.ZodEnum<{
|
|
2153
2153
|
refundable: "refundable";
|
|
2154
2154
|
non_refundable: "non_refundable";
|
|
2155
2155
|
}>;
|
|
2156
2156
|
}, z.core.$strip>;
|
|
2157
|
-
}, z.core.$strip>]>>;
|
|
2157
|
+
}, z.core.$strip>], "kind">>;
|
|
2158
2158
|
}, z.core.$strip>;
|
|
2159
2159
|
cancellationPolicy: z.ZodObject<{
|
|
2160
2160
|
refunds: z.ZodObject<{
|
|
@@ -129,7 +129,6 @@ export type PublicEventBase = {
|
|
|
129
129
|
body?: RichTextDoc | null;
|
|
130
130
|
};
|
|
131
131
|
presentation?: {
|
|
132
|
-
cardTitleOverride?: string | null;
|
|
133
132
|
summary?: string | null;
|
|
134
133
|
image?: Media | null;
|
|
135
134
|
};
|
|
@@ -165,13 +164,19 @@ export type PublicEventBase = {
|
|
|
165
164
|
/** Whether waitlist registration is available when the event is full. */
|
|
166
165
|
waitlistEnabled: boolean;
|
|
167
166
|
venue: EventVenue | null;
|
|
168
|
-
/** Event category for filtering
|
|
167
|
+
/** Parent Event category for filtering. */
|
|
169
168
|
eventCategory: EventCategory | null;
|
|
170
169
|
teamMembers?: PublicTeamMemberSummary[];
|
|
171
170
|
/** Event series status: 'active' events accept registrations, 'draft' events only in preview mode */
|
|
172
171
|
status?: 'active' | 'draft' | 'cancelled' | 'completed' | 'archived';
|
|
173
172
|
/** Effective IANA timezone identifier for this event (venue override > site default). */
|
|
174
173
|
timeZone: string;
|
|
174
|
+
/**
|
|
175
|
+
* The site's own default booking time zone, which decides how its dates are
|
|
176
|
+
* written (day or month first, 24 or 12-hour). Optional only because an
|
|
177
|
+
* older server doesn't send it.
|
|
178
|
+
*/
|
|
179
|
+
siteTimeZone?: string;
|
|
175
180
|
/** Canonical pricing model derived by the public API boundary. */
|
|
176
181
|
pricing: PublicEventPricing;
|
|
177
182
|
/** Shared booking payment-terms model for appointments/events/courses. */
|