@riverbankcms/sdk 0.146.0 → 0.148.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 +28 -0
- package/dist/{PreviewEditorSidebar-kg2r2Fyi.mjs → PreviewEditorSidebar-DvEPG3Z2.mjs} +249 -172
- package/dist/{PreviewEditorUI-sWMLp5dT.mjs → PreviewEditorUI-D6eb6fkx.mjs} +68 -60
- package/dist/{PreviewQueryProvider-Cg51xq1w.mjs → PreviewQueryProvider-5znTyJuz.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-h2ti3Hch.mjs → SdkPreviewModeRuntime-DJ6utQ_R.mjs} +1180 -475
- package/dist/{SiteChromeCustomizeContext-DEACFH9m.mjs → SiteChromeCustomizeContext-CFJYh6vo.mjs} +199078 -193767
- package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -33
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +18 -3
- package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
- package/dist/_dts/api/src/accountApi.d.ts +6 -6
- 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 +16 -2
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -13
- package/dist/_dts/api/src/bookingOperations.d.ts +6 -48
- package/dist/_dts/api/src/bookingPeople.d.ts +92 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +38 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +12 -49
- package/dist/_dts/api/src/bookingSettingsSections.d.ts +1 -1
- package/dist/_dts/api/src/bookings.d.ts +8 -7
- package/dist/_dts/api/src/calendar.d.ts +9 -9
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -6
- 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/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 +725 -607
- package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +48 -8
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -9
- 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 -6
- package/dist/_dts/api/src/indexCoreTypes.d.ts +2 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +1 -6
- package/dist/_dts/api/src/mailingListIntegration.d.ts +6 -0
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +5 -5
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +15 -0
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +19 -0
- 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 +50 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +7 -0
- package/dist/_dts/api/src/redirects.d.ts +3 -3
- package/dist/_dts/api/src/request.d.ts +10 -1
- 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 +15 -1
- 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/sdkCourseBooking.d.ts +4 -4
- 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 +8 -1
- 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/siteLifecycleEndpoints.d.ts +61 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +19 -25
- package/dist/_dts/api/src/siteMembers.d.ts +10 -10
- package/dist/_dts/api/src/siteOnboarding.d.ts +16 -14
- 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/PageRenderer.d.ts +3 -4
- package/dist/_dts/blocks/src/client/events.d.ts +3 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -4
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +18 -9
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +4 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +0 -2
- 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 +4 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -1
- 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 +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +18 -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 +36 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -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 +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-choice.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-state.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.reserved-fields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +17 -1
- 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 +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-success.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -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/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/SuccessStep.d.ts +7 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +18 -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 +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.block-submission.d.ts +2 -4
- 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 +13 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingMailingListNote.d.ts +6 -0
- 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/mailingListSignupCopy.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/types.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/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -2
- package/dist/_dts/blocks/src/system/transforms/registry/core.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -3
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- 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/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/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/branded.d.ts +12 -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 +55 -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 +5 -1
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +15 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +9 -0
- package/dist/_dts/core/src/participants.d.ts +0 -38
- package/dist/_dts/core/src/uuid.d.ts +7 -5
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +261 -175
- 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/actionPresentation.d.ts +1 -0
- 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/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
- 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/EditablePageRenderer.d.ts +7 -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 +10 -6
- 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 +24 -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/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 +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -2
- 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/buttons/effects/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +13 -0
- package/dist/_dts/theme-core/src/footer/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/effectiveNavLinkStyle.d.ts +17 -0
- package/dist/_dts/theme-core/src/header/generateHeaderLogoStyles.d.ts +15 -0
- package/dist/_dts/theme-core/src/header/generateHeaderNavLinkStyles.d.ts +4 -0
- package/dist/_dts/theme-core/src/header/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/openingForegroundProjection.d.ts +7 -0
- package/dist/_dts/theme-core/src/header/rootPaint.d.ts +4 -0
- package/dist/_dts/theme-core/src/navigation/effectPolicy.d.ts +38 -0
- package/dist/_dts/theme-core/src/navigation/generateNavLinkCSS.d.ts +4 -0
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +7 -0
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +29 -22
- package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +10 -2
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +9 -0
- package/dist/_dts/theme-core/src/utils/cssDeclarations.d.ts +2 -0
- package/dist/_dts/ui/src/badge.d.ts +2 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/combobox-keys.d.ts +23 -0
- package/dist/_dts/ui/src/combobox-rows.d.ts +34 -0
- package/dist/_dts/ui/src/combobox.d.ts +26 -1
- package/dist/_dts/ui/src/date-picker.d.ts +5 -8
- package/dist/_dts/ui/src/editor-item-card.d.ts +1 -0
- package/dist/_dts/ui/src/field-trigger.d.ts +39 -0
- package/dist/_dts/ui/src/fieldControl.d.ts +27 -0
- package/dist/_dts/ui/src/index.d.ts +4 -1
- package/dist/_dts/ui/src/native-select.d.ts +8 -0
- package/dist/_dts/ui/src/popover.d.ts +7 -1
- package/dist/_dts/ui/src/segmented-control.d.ts +4 -0
- package/dist/_dts/ui/src/surface.d.ts +1 -1
- package/dist/client/{BookingConsentAgreement-BQKL045f.mjs → BookingMailingListNote-CzRt2dF_.mjs} +110 -97
- package/dist/client/{CheckboxChoice--W2n6yKs.mjs → CheckboxChoice-B33MqoUo.mjs} +1 -1
- package/dist/client/DemoBookingPortalAccess-mxqwap3f.mjs +344 -0
- package/dist/client/{EventCombined.client-BdRjVbhH.mjs → EventCombined.client-CDb11igO.mjs} +7 -7
- package/dist/client/{EventListing.client-DBxC6xOU.mjs → EventListing.client-EgYhzKPa.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-mHEJKrTs.mjs → LeafletStaticMap-gtmtaA2b.mjs} +1 -1
- package/dist/client/{scrollToBlock-BNgaEUpo.mjs → TerminalPanel-DvNUP5ot.mjs} +77 -77
- package/dist/client/{ThemedButton-CE5KYT6z.mjs → ThemedButton-C7CeUJjW.mjs} +2 -2
- package/dist/client/{accordion-BEQNSptH.mjs → accordion-kjvt49rA.mjs} +1 -1
- package/dist/client/{bookingForm-AMr-s5vw.mjs → bookingForm-pbRZordh.mjs} +411 -141
- package/dist/client/bookings.mjs +966 -396
- package/dist/client/{carousel-Bbt_QgJy.mjs → carousel-f4Zbmicv.mjs} +2 -2
- package/dist/client/{carousel.client-jahpU9Vz.mjs → carousel.client-A2lG-9od.mjs} +1 -1
- package/dist/client/{cart-CnWi30zJ.mjs → cart-DO20An50.mjs} +3 -3
- package/dist/client/{checkout-f3nkWgd4.mjs → checkout-Du5amDR_.mjs} +3 -3
- package/dist/client/{checkoutUrls-CW3-78uu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
- package/dist/client/client.mjs +3837 -2202
- package/dist/client/{colorStyles-CuJBiS-1.mjs → colorStyles-j5U9v5JA.mjs} +5 -1
- package/dist/client/{context-Bc8T6pCe.mjs → context-eW97E945.mjs} +4 -3
- package/dist/client/{dates-DUsCEzLb.mjs → dates-jPCirRea.mjs} +56 -11
- package/dist/client/{eventCalendar-CKwgXui5.mjs → eventCalendar-C2M-iE4j.mjs} +10 -10
- package/dist/client/{eventCombined-CBAOSTGR.mjs → eventCombined-W6ns3LHg.mjs} +4 -4
- package/dist/client/{eventDetails-Dh-_WiBD.mjs → eventDetails-CR-GT0f0.mjs} +4 -4
- package/dist/client/{eventListing-CA3frIH5.mjs → eventListing-BK8AfYZz.mjs} +4 -4
- package/dist/client/{eventRegistration-BHtsgdcg.mjs → eventRegistration-BJSd4KUu.mjs} +461 -266
- package/dist/client/{form-C2h3YAcg.mjs → form-BvpfbQaT.mjs} +5 -5
- package/dist/client/{headerSection-lwMuMTH9.mjs → headerSection-I5sUQ8x-.mjs} +3 -3
- package/dist/client/hooks.mjs +909 -163
- package/dist/client/{locationMap-DJ2bLODV.mjs → locationMap-BLvwf9_f.mjs} +4 -4
- package/dist/client/{FieldValidationMessage-AYanWFb-.mjs → mailingListSignupCopy-DZSHZrm6.mjs} +14 -1
- package/dist/client/{media-BtJ37tzS.mjs → media-Cl38iOMI.mjs} +11 -4
- package/dist/client/{newsletterForm-8Pu5K32g.mjs → newsletterForm-DrQ2weE8.mjs} +6 -6
- package/dist/client/{pricing-HHx3IgBz.mjs → pricing-BES87mrR.mjs} +1 -1
- package/dist/client/{productDetail-C_1odnAf.mjs → productDetail-Url9jcc5.mjs} +3 -3
- package/dist/client/{productList-CtCv-Nmx.mjs → productList-DE7ngEZJ.mjs} +3 -3
- package/dist/client/{propsDecoder-Dcgsncxb.mjs → propsDecoder-D1OtGXDV.mjs} +140 -22
- package/dist/client/rendering/client.mjs +2366 -997
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +4607 -2884
- package/dist/client/{routeIslandApiConfig-CWLP7wu3.mjs → routeIslandApiConfig-BG9Y-SHg.mjs} +1 -1
- package/dist/client/{shop-DQXrQ8kJ.mjs → shop-CJkuySJ3.mjs} +126 -79
- package/dist/client/{shop-commerce-B88zmWWo.mjs → shop-commerce-4rKj5n9h.mjs} +26 -14
- package/dist/client/{shop-commerce-store-DtSfkKuX.mjs → shop-commerce-store-Bxm75Pg6.mjs} +1 -1
- package/dist/client/{shopShared-cuaONpkJ.mjs → shopShared-DpoQDWfz.mjs} +5 -5
- package/dist/client/{useEventFilters-Bukew6Gb.mjs → useEventFilters-D8HliSqR.mjs} +33 -18
- package/dist/preview-next/before-render.mjs +314 -133
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-base.css +53 -2
- package/dist/preview-next/editor-chrome.css +7 -4
- package/dist/preview-next/keepAlive.mjs +314 -133
- package/dist/preview-next/middleware.mjs +314 -133
- package/dist/{previewAuthStore-h5IgbSp4.mjs → previewAuthStore-BXXF3hhW.mjs} +316 -133
- package/dist/{sdk-runtime-DTc1uIXn.mjs → sdk-runtime-C2a05WjL.mjs} +2 -2
- package/dist/{separator-BpHS1KZK.mjs → separator-CuNhBAhS.mjs} +1 -1
- package/dist/server/components.mjs +6888 -6157
- package/dist/server/config-validation.mjs +931 -199
- package/dist/server/config.mjs +931 -199
- package/dist/server/data.mjs +929 -198
- package/dist/server/index.mjs +317 -134
- package/dist/server/navigation.mjs +13 -2
- package/dist/server/next.mjs +5003 -4340
- package/dist/server/page-converter.mjs +160 -78
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6421 -5687
- package/dist/server/rendering.mjs +7683 -6933
- package/dist/server/routing.mjs +1035 -338
- package/dist/server/server.mjs +946 -256
- package/dist/server/theme-bridge.mjs +66 -17
- package/dist/server/theme.mjs +5 -1
- package/dist/styles/index.css +32 -4
- package/package.json +1 -1
- package/dist/_dts/billing/src/plans/display.d.ts +0 -15
- 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/_dts/core/src/participant-identity.d.ts +0 -135
- package/dist/client/DiscountCodeDisclosure-CsOtjFY7.mjs +0 -137
package/dist/server/index.mjs
CHANGED
|
@@ -28,6 +28,64 @@ function defineEndpointDefinitions(definitions) {
|
|
|
28
28
|
return definitions;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
+
//#region ../api/src/apiEndpointTypes.ts
|
|
32
|
+
function allowedDemoMutationPolicy() {
|
|
33
|
+
return {
|
|
34
|
+
classification: "allowed",
|
|
35
|
+
publicMessage: ""
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function blockedDemoMutationPolicy(classification, publicMessage) {
|
|
39
|
+
if (publicMessage.trim() === "") throw new Error(`Demo mutation policy ${classification} requires publicMessage.`);
|
|
40
|
+
return {
|
|
41
|
+
classification,
|
|
42
|
+
publicMessage
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region ../api/src/demoMutationPolicies.ts
|
|
47
|
+
const DEMO_MUTATION_BLOCKED_HIDDEN = blockedDemoMutationPolicy("blocked-hidden", "This action is not available in demo sites.");
|
|
48
|
+
const DEMO_MUTATION_BLOCKED_DISABLED = blockedDemoMutationPolicy("blocked-disabled", "This setting is disabled in demo sites.");
|
|
49
|
+
const DEMO_MUTATION_INTERNAL_ONLY = blockedDemoMutationPolicy("internal-only", "This internal operation is not available in demo sites.");
|
|
50
|
+
const DEMO_MUTATION_ALLOWED = allowedDemoMutationPolicy();
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region ../api/src/siteLifecycleEndpoints.ts
|
|
53
|
+
const SITE_LIFECYCLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
54
|
+
createSite: {
|
|
55
|
+
path: "/sites/manage",
|
|
56
|
+
method: "POST",
|
|
57
|
+
tags: ["site"],
|
|
58
|
+
auth: "user",
|
|
59
|
+
responseKind: "json",
|
|
60
|
+
errors: []
|
|
61
|
+
},
|
|
62
|
+
createSiteManual: {
|
|
63
|
+
path: "/sites/manual",
|
|
64
|
+
method: "POST",
|
|
65
|
+
tags: ["site"],
|
|
66
|
+
auth: "user",
|
|
67
|
+
responseKind: "json",
|
|
68
|
+
errors: []
|
|
69
|
+
},
|
|
70
|
+
updateSite: {
|
|
71
|
+
path: "/sites/manage",
|
|
72
|
+
method: "PUT",
|
|
73
|
+
tags: ["site"],
|
|
74
|
+
auth: "user",
|
|
75
|
+
responseKind: "json",
|
|
76
|
+
errors: []
|
|
77
|
+
},
|
|
78
|
+
deleteSite: {
|
|
79
|
+
path: "/sites/{siteId}",
|
|
80
|
+
method: "DELETE",
|
|
81
|
+
tags: ["site", "site-{siteId}"],
|
|
82
|
+
auth: "user",
|
|
83
|
+
responseKind: "json",
|
|
84
|
+
errors: [],
|
|
85
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
//#endregion
|
|
31
89
|
//#region ../api/src/publicNewsletterEndpointDefinitions.ts
|
|
32
90
|
const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
33
91
|
subscribeNewsletter: {
|
|
@@ -88,27 +146,6 @@ const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
88
146
|
}
|
|
89
147
|
});
|
|
90
148
|
//#endregion
|
|
91
|
-
//#region ../api/src/apiEndpointTypes.ts
|
|
92
|
-
function allowedDemoMutationPolicy() {
|
|
93
|
-
return {
|
|
94
|
-
classification: "allowed",
|
|
95
|
-
publicMessage: ""
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
function blockedDemoMutationPolicy(classification, publicMessage) {
|
|
99
|
-
if (publicMessage.trim() === "") throw new Error(`Demo mutation policy ${classification} requires publicMessage.`);
|
|
100
|
-
return {
|
|
101
|
-
classification,
|
|
102
|
-
publicMessage
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region ../api/src/demoMutationPolicies.ts
|
|
107
|
-
const DEMO_MUTATION_BLOCKED_HIDDEN = blockedDemoMutationPolicy("blocked-hidden", "This action is not available in demo sites.");
|
|
108
|
-
const DEMO_MUTATION_BLOCKED_DISABLED = blockedDemoMutationPolicy("blocked-disabled", "This setting is disabled in demo sites.");
|
|
109
|
-
const DEMO_MUTATION_INTERNAL_ONLY = blockedDemoMutationPolicy("internal-only", "This internal operation is not available in demo sites.");
|
|
110
|
-
const DEMO_MUTATION_ALLOWED = allowedDemoMutationPolicy();
|
|
111
|
-
//#endregion
|
|
112
149
|
//#region ../api/src/cache-tags.ts
|
|
113
150
|
/**
|
|
114
151
|
* Tag templates for endpoint definitions (support `{param}` placeholders).
|
|
@@ -1135,6 +1172,20 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1135
1172
|
responseKind: "json",
|
|
1136
1173
|
errors: ["auth:forbidden", "server:internal_error"]
|
|
1137
1174
|
},
|
|
1175
|
+
setMailingListBookingOptIn: {
|
|
1176
|
+
path: "/sites/{siteId}/mailing-list/setup/booking-opt-in",
|
|
1177
|
+
method: "PUT",
|
|
1178
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1179
|
+
auth: "user",
|
|
1180
|
+
responseKind: "json",
|
|
1181
|
+
demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
|
|
1182
|
+
errors: [
|
|
1183
|
+
"auth:forbidden",
|
|
1184
|
+
"validation:invalid_input",
|
|
1185
|
+
"resource:conflict",
|
|
1186
|
+
"server:internal_error"
|
|
1187
|
+
]
|
|
1188
|
+
},
|
|
1138
1189
|
getMailingListAuthoringContext: {
|
|
1139
1190
|
path: "/sites/{siteId}/mailing-list/authoring-context",
|
|
1140
1191
|
method: "GET",
|
|
@@ -1550,6 +1601,7 @@ const SDK_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1550
1601
|
responseKind: "json",
|
|
1551
1602
|
errors: [
|
|
1552
1603
|
"resource:not_found",
|
|
1604
|
+
"validation:invalid_input",
|
|
1553
1605
|
"resource:conflict",
|
|
1554
1606
|
"server:internal_error"
|
|
1555
1607
|
]
|
|
@@ -2057,28 +2109,6 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2057
2109
|
"resource:conflict",
|
|
2058
2110
|
"server:internal_error"
|
|
2059
2111
|
]
|
|
2060
|
-
},
|
|
2061
|
-
/**
|
|
2062
|
-
* The Content tab's one write: the short introduction, image and
|
|
2063
|
-
* description of an event's page, published without its layout.
|
|
2064
|
-
*/
|
|
2065
|
-
saveEventPageWords: {
|
|
2066
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/words",
|
|
2067
|
-
method: "PUT",
|
|
2068
|
-
tags: [
|
|
2069
|
-
TAG_TEMPLATES.siteCollection,
|
|
2070
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
2071
|
-
TAG_TEMPLATES.pageSurfaceById
|
|
2072
|
-
],
|
|
2073
|
-
auth: "user",
|
|
2074
|
-
responseKind: "json",
|
|
2075
|
-
errors: [
|
|
2076
|
-
"auth:forbidden",
|
|
2077
|
-
"validation:invalid_input",
|
|
2078
|
-
"resource:not_found",
|
|
2079
|
-
"resource:conflict",
|
|
2080
|
-
"server:internal_error"
|
|
2081
|
-
]
|
|
2082
2112
|
}
|
|
2083
2113
|
});
|
|
2084
2114
|
//#endregion
|
|
@@ -2503,6 +2533,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2503
2533
|
auth: "user",
|
|
2504
2534
|
responseKind: "json"
|
|
2505
2535
|
},
|
|
2536
|
+
/** Continue on Free from the onboarding card page; only the attempt's owner. */
|
|
2537
|
+
continueOnboardingOnFree: {
|
|
2538
|
+
path: "/onboarding/attempts/{attemptToken}/plan/free",
|
|
2539
|
+
method: "POST",
|
|
2540
|
+
tags: ["billing"],
|
|
2541
|
+
auth: "user",
|
|
2542
|
+
errors: [],
|
|
2543
|
+
responseKind: "json"
|
|
2544
|
+
},
|
|
2506
2545
|
createBillingPortalSession: {
|
|
2507
2546
|
path: "/billing/portal/session",
|
|
2508
2547
|
method: "POST",
|
|
@@ -2512,6 +2551,209 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2512
2551
|
}
|
|
2513
2552
|
});
|
|
2514
2553
|
//#endregion
|
|
2554
|
+
//#region ../api/src/editLeaseEndpoints.ts
|
|
2555
|
+
const path$1 = "/sites/{siteId}/edit-leases/{nodeType}/{nodeId}";
|
|
2556
|
+
const lifecycleErrors = [
|
|
2557
|
+
"auth:lease_required",
|
|
2558
|
+
"auth:forbidden",
|
|
2559
|
+
"resource:not_found",
|
|
2560
|
+
"validation:invalid_input",
|
|
2561
|
+
"server:internal_error"
|
|
2562
|
+
];
|
|
2563
|
+
const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
2564
|
+
readEditLease: {
|
|
2565
|
+
path: path$1,
|
|
2566
|
+
method: "GET",
|
|
2567
|
+
editLease: "lifecycle",
|
|
2568
|
+
errors: lifecycleErrors,
|
|
2569
|
+
auth: "user",
|
|
2570
|
+
responseKind: "json"
|
|
2571
|
+
},
|
|
2572
|
+
acquireEditLease: {
|
|
2573
|
+
path: path$1,
|
|
2574
|
+
method: "POST",
|
|
2575
|
+
editLease: "lifecycle",
|
|
2576
|
+
errors: lifecycleErrors,
|
|
2577
|
+
auth: "user",
|
|
2578
|
+
responseKind: "json"
|
|
2579
|
+
},
|
|
2580
|
+
takeOverEditLease: {
|
|
2581
|
+
path: path$1,
|
|
2582
|
+
method: "PUT",
|
|
2583
|
+
editLease: "lifecycle",
|
|
2584
|
+
errors: lifecycleErrors,
|
|
2585
|
+
auth: "user",
|
|
2586
|
+
responseKind: "json"
|
|
2587
|
+
},
|
|
2588
|
+
heartbeatEditLease: {
|
|
2589
|
+
path: path$1,
|
|
2590
|
+
method: "PATCH",
|
|
2591
|
+
editLease: "lifecycle",
|
|
2592
|
+
errors: [...lifecycleErrors, "auth:lease_lost"],
|
|
2593
|
+
auth: "user",
|
|
2594
|
+
responseKind: "json"
|
|
2595
|
+
},
|
|
2596
|
+
releaseEditLease: {
|
|
2597
|
+
path: path$1,
|
|
2598
|
+
method: "DELETE",
|
|
2599
|
+
editLease: "lifecycle",
|
|
2600
|
+
errors: lifecycleErrors,
|
|
2601
|
+
auth: "user",
|
|
2602
|
+
responseKind: "json"
|
|
2603
|
+
}
|
|
2604
|
+
};
|
|
2605
|
+
//#endregion
|
|
2606
|
+
//#region ../api/src/pageSurfaceEditorEndpoints.ts
|
|
2607
|
+
const surfaceTags = [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById];
|
|
2608
|
+
const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
2609
|
+
getPageSurfaceEditorDocument: {
|
|
2610
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
2611
|
+
method: "GET",
|
|
2612
|
+
errors: [
|
|
2613
|
+
"auth:forbidden",
|
|
2614
|
+
"validation:invalid_input",
|
|
2615
|
+
"resource:not_found",
|
|
2616
|
+
"resource:conflict",
|
|
2617
|
+
"server:internal_error"
|
|
2618
|
+
],
|
|
2619
|
+
tags: surfaceTags,
|
|
2620
|
+
auth: "user",
|
|
2621
|
+
responseKind: "json"
|
|
2622
|
+
},
|
|
2623
|
+
updatePageSurfaceDraftContent: {
|
|
2624
|
+
editLease: "managed",
|
|
2625
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
2626
|
+
method: "PUT",
|
|
2627
|
+
errors: [
|
|
2628
|
+
"validation:invalid_input",
|
|
2629
|
+
"resource:not_found",
|
|
2630
|
+
"resource:conflict",
|
|
2631
|
+
"server:internal_error"
|
|
2632
|
+
],
|
|
2633
|
+
tags: surfaceTags,
|
|
2634
|
+
auth: "user",
|
|
2635
|
+
responseKind: "json"
|
|
2636
|
+
},
|
|
2637
|
+
discardPageSurfaceDraftContent: {
|
|
2638
|
+
editLease: "managed",
|
|
2639
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content/draft",
|
|
2640
|
+
method: "DELETE",
|
|
2641
|
+
errors: [
|
|
2642
|
+
"validation:invalid_input",
|
|
2643
|
+
"resource:not_found",
|
|
2644
|
+
"resource:conflict",
|
|
2645
|
+
"server:internal_error"
|
|
2646
|
+
],
|
|
2647
|
+
tags: surfaceTags,
|
|
2648
|
+
auth: "user",
|
|
2649
|
+
responseKind: "json"
|
|
2650
|
+
},
|
|
2651
|
+
updatePageSurfaceRouteMetadata: {
|
|
2652
|
+
editLease: "managed",
|
|
2653
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/metadata",
|
|
2654
|
+
method: "PATCH",
|
|
2655
|
+
errors: [
|
|
2656
|
+
"validation:invalid_input",
|
|
2657
|
+
"resource:not_found",
|
|
2658
|
+
"resource:conflict",
|
|
2659
|
+
"server:internal_error"
|
|
2660
|
+
],
|
|
2661
|
+
tags: [
|
|
2662
|
+
TAG_TEMPLATES.siteCollection,
|
|
2663
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2664
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2665
|
+
],
|
|
2666
|
+
auth: "user",
|
|
2667
|
+
responseKind: "json"
|
|
2668
|
+
},
|
|
2669
|
+
publishPageSurface: {
|
|
2670
|
+
editLease: "managed",
|
|
2671
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2672
|
+
method: "POST",
|
|
2673
|
+
errors: [
|
|
2674
|
+
"auth:forbidden",
|
|
2675
|
+
"validation:invalid_input",
|
|
2676
|
+
"resource:not_found",
|
|
2677
|
+
"resource:conflict",
|
|
2678
|
+
"server:internal_error"
|
|
2679
|
+
],
|
|
2680
|
+
tags: [
|
|
2681
|
+
TAG_TEMPLATES.siteCollection,
|
|
2682
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2683
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2684
|
+
],
|
|
2685
|
+
auth: "user",
|
|
2686
|
+
responseKind: "json"
|
|
2687
|
+
},
|
|
2688
|
+
saveEventContentTab: {
|
|
2689
|
+
editLease: "managed",
|
|
2690
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/event-content",
|
|
2691
|
+
method: "PUT",
|
|
2692
|
+
errors: [
|
|
2693
|
+
"auth:forbidden",
|
|
2694
|
+
"validation:invalid_input",
|
|
2695
|
+
"resource:not_found",
|
|
2696
|
+
"resource:conflict",
|
|
2697
|
+
"server:internal_error"
|
|
2698
|
+
],
|
|
2699
|
+
tags: [
|
|
2700
|
+
TAG_TEMPLATES.siteCollection,
|
|
2701
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2702
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2703
|
+
],
|
|
2704
|
+
auth: "user",
|
|
2705
|
+
responseKind: "json"
|
|
2706
|
+
}
|
|
2707
|
+
};
|
|
2708
|
+
//#endregion
|
|
2709
|
+
//#region ../api/src/bookingPeopleEndpointDefinitions.ts
|
|
2710
|
+
/**
|
|
2711
|
+
* People endpoints (#1356): the People list, its CSV export, and deleting a
|
|
2712
|
+
* person when nothing is attached to them.
|
|
2713
|
+
*/
|
|
2714
|
+
const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2715
|
+
listPeople: {
|
|
2716
|
+
path: "/sites/{siteId}/bookings/people",
|
|
2717
|
+
method: "GET",
|
|
2718
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
2719
|
+
auth: "user",
|
|
2720
|
+
responseKind: "json",
|
|
2721
|
+
errors: ["server:internal_error"]
|
|
2722
|
+
},
|
|
2723
|
+
exportPeopleCsv: {
|
|
2724
|
+
path: "/sites/{siteId}/bookings/people/export.csv",
|
|
2725
|
+
method: "GET",
|
|
2726
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
2727
|
+
auth: "user",
|
|
2728
|
+
errors: [],
|
|
2729
|
+
responseKind: "blob"
|
|
2730
|
+
},
|
|
2731
|
+
checkPersonDeletion: {
|
|
2732
|
+
path: "/sites/{siteId}/bookings/people/{personId}/deletion-check",
|
|
2733
|
+
method: "GET",
|
|
2734
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
2735
|
+
auth: "user",
|
|
2736
|
+
responseKind: "json",
|
|
2737
|
+
errors: [
|
|
2738
|
+
"auth:forbidden",
|
|
2739
|
+
"resource:not_found",
|
|
2740
|
+
"server:internal_error"
|
|
2741
|
+
]
|
|
2742
|
+
},
|
|
2743
|
+
deletePerson: {
|
|
2744
|
+
path: "/sites/{siteId}/bookings/people/{personId}",
|
|
2745
|
+
method: "DELETE",
|
|
2746
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
2747
|
+
auth: "user",
|
|
2748
|
+
responseKind: "json",
|
|
2749
|
+
errors: [
|
|
2750
|
+
"auth:forbidden",
|
|
2751
|
+
"resource:not_found",
|
|
2752
|
+
"server:internal_error"
|
|
2753
|
+
]
|
|
2754
|
+
}
|
|
2755
|
+
});
|
|
2756
|
+
//#endregion
|
|
2515
2757
|
//#region ../api/src/clientErrorReporting.ts
|
|
2516
2758
|
const CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({ reportClientError: {
|
|
2517
2759
|
path: "/client/error-report",
|
|
@@ -2547,6 +2789,7 @@ z.object({
|
|
|
2547
2789
|
sourceLocation: z.string().max(CLIENT_ERROR_REPORT_LIMITS.sourceLocation).nullable()
|
|
2548
2790
|
}).strict();
|
|
2549
2791
|
const API_ENDPOINTS$1 = {
|
|
2792
|
+
...SITE_LIFECYCLE_ENDPOINT_DEFINITIONS,
|
|
2550
2793
|
...CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS,
|
|
2551
2794
|
...PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS,
|
|
2552
2795
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
@@ -2555,6 +2798,8 @@ const API_ENDPOINTS$1 = {
|
|
|
2555
2798
|
...GIFTING_ENDPOINT_DEFINITIONS,
|
|
2556
2799
|
...PUBLIC_READ_ENDPOINT_DEFINITIONS,
|
|
2557
2800
|
...BILLING_ENDPOINT_DEFINITIONS,
|
|
2801
|
+
...EDIT_LEASE_ENDPOINT_DEFINITIONS,
|
|
2802
|
+
...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
|
|
2558
2803
|
...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
|
|
2559
2804
|
aiContentUpdateChat: {
|
|
2560
2805
|
path: "/ai/content-update-chat",
|
|
@@ -2576,6 +2821,7 @@ const API_ENDPOINTS$1 = {
|
|
|
2576
2821
|
responseKind: "json"
|
|
2577
2822
|
},
|
|
2578
2823
|
aiDesignerPageOpsApply: {
|
|
2824
|
+
editLease: "managed",
|
|
2579
2825
|
path: "/sites/{siteId}/ai/designer/page/apply",
|
|
2580
2826
|
method: "POST",
|
|
2581
2827
|
tags: [TAG_TEMPLATES.siteCollection],
|
|
@@ -3082,13 +3328,6 @@ const API_ENDPOINTS$1 = {
|
|
|
3082
3328
|
auth: "user",
|
|
3083
3329
|
responseKind: "json"
|
|
3084
3330
|
},
|
|
3085
|
-
createSiteManual: {
|
|
3086
|
-
path: "/sites/manual",
|
|
3087
|
-
method: "POST",
|
|
3088
|
-
tags: ["site"],
|
|
3089
|
-
auth: "user",
|
|
3090
|
-
responseKind: "json"
|
|
3091
|
-
},
|
|
3092
3331
|
listSiteMembers: {
|
|
3093
3332
|
path: "/sites/{siteId}/members",
|
|
3094
3333
|
method: "GET",
|
|
@@ -3417,6 +3656,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3417
3656
|
responseKind: "json"
|
|
3418
3657
|
},
|
|
3419
3658
|
restoreContentEntryVersion: {
|
|
3659
|
+
editLease: "managed",
|
|
3420
3660
|
path: "/sites/{siteId}/content/{type}/{entryId}/versions/{versionId}/restore",
|
|
3421
3661
|
method: "POST",
|
|
3422
3662
|
errors: [
|
|
@@ -3434,6 +3674,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3434
3674
|
responseKind: "json"
|
|
3435
3675
|
},
|
|
3436
3676
|
updateContentEntryContent: {
|
|
3677
|
+
editLease: "managed",
|
|
3437
3678
|
path: "/sites/{siteId}/content/{type}/{entryId}/content",
|
|
3438
3679
|
method: "PUT",
|
|
3439
3680
|
tags: [
|
|
@@ -3450,67 +3691,6 @@ const API_ENDPOINTS$1 = {
|
|
|
3450
3691
|
],
|
|
3451
3692
|
responseKind: "json"
|
|
3452
3693
|
},
|
|
3453
|
-
updatePageSurfaceDraftContent: {
|
|
3454
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
3455
|
-
method: "PUT",
|
|
3456
|
-
errors: [
|
|
3457
|
-
"validation:invalid_input",
|
|
3458
|
-
"resource:not_found",
|
|
3459
|
-
"resource:conflict",
|
|
3460
|
-
"server:internal_error"
|
|
3461
|
-
],
|
|
3462
|
-
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById],
|
|
3463
|
-
auth: "user",
|
|
3464
|
-
responseKind: "json"
|
|
3465
|
-
},
|
|
3466
|
-
discardPageSurfaceDraftContent: {
|
|
3467
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content/draft",
|
|
3468
|
-
method: "DELETE",
|
|
3469
|
-
errors: [
|
|
3470
|
-
"validation:invalid_input",
|
|
3471
|
-
"resource:not_found",
|
|
3472
|
-
"resource:conflict",
|
|
3473
|
-
"server:internal_error"
|
|
3474
|
-
],
|
|
3475
|
-
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById],
|
|
3476
|
-
auth: "user",
|
|
3477
|
-
responseKind: "json"
|
|
3478
|
-
},
|
|
3479
|
-
updatePageSurfaceRouteMetadata: {
|
|
3480
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/metadata",
|
|
3481
|
-
method: "PATCH",
|
|
3482
|
-
errors: [
|
|
3483
|
-
"validation:invalid_input",
|
|
3484
|
-
"resource:not_found",
|
|
3485
|
-
"resource:conflict",
|
|
3486
|
-
"server:internal_error"
|
|
3487
|
-
],
|
|
3488
|
-
tags: [
|
|
3489
|
-
TAG_TEMPLATES.siteCollection,
|
|
3490
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
3491
|
-
TAG_TEMPLATES.pageSurfaceById
|
|
3492
|
-
],
|
|
3493
|
-
auth: "user",
|
|
3494
|
-
responseKind: "json"
|
|
3495
|
-
},
|
|
3496
|
-
publishPageSurface: {
|
|
3497
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
3498
|
-
method: "POST",
|
|
3499
|
-
errors: [
|
|
3500
|
-
"auth:forbidden",
|
|
3501
|
-
"validation:invalid_input",
|
|
3502
|
-
"resource:not_found",
|
|
3503
|
-
"resource:conflict",
|
|
3504
|
-
"server:internal_error"
|
|
3505
|
-
],
|
|
3506
|
-
tags: [
|
|
3507
|
-
TAG_TEMPLATES.siteCollection,
|
|
3508
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
3509
|
-
TAG_TEMPLATES.pageSurfaceById
|
|
3510
|
-
],
|
|
3511
|
-
auth: "user",
|
|
3512
|
-
responseKind: "json"
|
|
3513
|
-
},
|
|
3514
3694
|
runSdkWorkflow: {
|
|
3515
3695
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
3516
3696
|
method: "POST",
|
|
@@ -3547,6 +3727,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3547
3727
|
responseKind: "json"
|
|
3548
3728
|
},
|
|
3549
3729
|
updateRouteMetadata: {
|
|
3730
|
+
editLease: "managed",
|
|
3550
3731
|
path: "/sites/{siteId}/routes/{routeId}/metadata",
|
|
3551
3732
|
method: "PATCH",
|
|
3552
3733
|
tags: [
|
|
@@ -3564,6 +3745,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3564
3745
|
responseKind: "json"
|
|
3565
3746
|
},
|
|
3566
3747
|
publishContentEntry: {
|
|
3748
|
+
editLease: "managed",
|
|
3567
3749
|
path: "/sites/{siteId}/content/{type}/{entryId}/publish",
|
|
3568
3750
|
method: "POST",
|
|
3569
3751
|
tags: [
|
|
@@ -3575,6 +3757,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3575
3757
|
responseKind: "json"
|
|
3576
3758
|
},
|
|
3577
3759
|
scheduleContentEntry: {
|
|
3760
|
+
editLease: "managed",
|
|
3578
3761
|
path: "/sites/{siteId}/content/{type}/{entryId}/schedule",
|
|
3579
3762
|
method: "POST",
|
|
3580
3763
|
tags: [
|
|
@@ -3592,6 +3775,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3592
3775
|
responseKind: "json"
|
|
3593
3776
|
},
|
|
3594
3777
|
cancelScheduledContentEntry: {
|
|
3778
|
+
editLease: "managed",
|
|
3595
3779
|
path: "/sites/{siteId}/content/{type}/{entryId}/schedule",
|
|
3596
3780
|
method: "DELETE",
|
|
3597
3781
|
tags: [
|
|
@@ -3609,6 +3793,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3609
3793
|
responseKind: "json"
|
|
3610
3794
|
},
|
|
3611
3795
|
discardContentEntry: {
|
|
3796
|
+
editLease: "managed",
|
|
3612
3797
|
path: "/sites/{siteId}/content/{type}/{entryId}/discard",
|
|
3613
3798
|
method: "POST",
|
|
3614
3799
|
tags: [
|
|
@@ -3627,6 +3812,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3627
3812
|
responseKind: "json"
|
|
3628
3813
|
},
|
|
3629
3814
|
unpublishContentEntry: {
|
|
3815
|
+
editLease: "managed",
|
|
3630
3816
|
path: "/sites/{siteId}/content/{type}/{entryId}/unpublish",
|
|
3631
3817
|
method: "POST",
|
|
3632
3818
|
tags: [
|
|
@@ -3668,6 +3854,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3668
3854
|
responseKind: "json"
|
|
3669
3855
|
},
|
|
3670
3856
|
deleteContentEntry: {
|
|
3857
|
+
editLease: "managed",
|
|
3671
3858
|
path: "/sites/{siteId}/content/{type}/{entryId}",
|
|
3672
3859
|
method: "DELETE",
|
|
3673
3860
|
tags: [
|
|
@@ -4877,6 +5064,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4877
5064
|
responseKind: "json"
|
|
4878
5065
|
},
|
|
4879
5066
|
saveBlockContent: {
|
|
5067
|
+
editLease: "owner-derived",
|
|
4880
5068
|
path: "/blocks/{blockId}/content",
|
|
4881
5069
|
method: "POST",
|
|
4882
5070
|
tags: [
|
|
@@ -4914,6 +5102,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4914
5102
|
errors: ["resource:not_found", "resource:conflict"]
|
|
4915
5103
|
},
|
|
4916
5104
|
createEntrySlotBlock: {
|
|
5105
|
+
editLease: "managed",
|
|
4917
5106
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks",
|
|
4918
5107
|
method: "POST",
|
|
4919
5108
|
tags: [
|
|
@@ -4931,6 +5120,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4931
5120
|
]
|
|
4932
5121
|
},
|
|
4933
5122
|
reorderEntrySlotBlocks: {
|
|
5123
|
+
editLease: "managed",
|
|
4934
5124
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/reorder",
|
|
4935
5125
|
method: "POST",
|
|
4936
5126
|
tags: [
|
|
@@ -4948,6 +5138,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4948
5138
|
]
|
|
4949
5139
|
},
|
|
4950
5140
|
deleteEntrySlotBlock: {
|
|
5141
|
+
editLease: "managed",
|
|
4951
5142
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/{blockId}",
|
|
4952
5143
|
method: "DELETE",
|
|
4953
5144
|
tags: [
|
|
@@ -4978,6 +5169,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4978
5169
|
]
|
|
4979
5170
|
},
|
|
4980
5171
|
createPageSurfaceSlotBlock: {
|
|
5172
|
+
editLease: "managed",
|
|
4981
5173
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
|
|
4982
5174
|
method: "POST",
|
|
4983
5175
|
tags: [
|
|
@@ -4996,6 +5188,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4996
5188
|
]
|
|
4997
5189
|
},
|
|
4998
5190
|
reorderPageSurfaceSlotBlocks: {
|
|
5191
|
+
editLease: "managed",
|
|
4999
5192
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
|
|
5000
5193
|
method: "POST",
|
|
5001
5194
|
tags: [
|
|
@@ -5014,6 +5207,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5014
5207
|
]
|
|
5015
5208
|
},
|
|
5016
5209
|
deletePageSurfaceSlotBlock: {
|
|
5210
|
+
editLease: "managed",
|
|
5017
5211
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
|
|
5018
5212
|
method: "DELETE",
|
|
5019
5213
|
tags: [
|
|
@@ -5031,6 +5225,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5031
5225
|
]
|
|
5032
5226
|
},
|
|
5033
5227
|
createBlock: {
|
|
5228
|
+
editLease: "managed",
|
|
5034
5229
|
path: "/sites/{siteId}/pages/{pageId}/blocks",
|
|
5035
5230
|
method: "POST",
|
|
5036
5231
|
tags: [
|
|
@@ -5042,6 +5237,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5042
5237
|
responseKind: "json"
|
|
5043
5238
|
},
|
|
5044
5239
|
reorderBlocks: {
|
|
5240
|
+
editLease: "managed",
|
|
5045
5241
|
path: "/sites/{siteId}/pages/{pageId}/blocks/reorder",
|
|
5046
5242
|
method: "POST",
|
|
5047
5243
|
tags: [
|
|
@@ -5053,6 +5249,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5053
5249
|
responseKind: "json"
|
|
5054
5250
|
},
|
|
5055
5251
|
deleteBlock: {
|
|
5252
|
+
editLease: "managed",
|
|
5056
5253
|
path: "/sites/{siteId}/pages/{pageId}/blocks/{blockId}",
|
|
5057
5254
|
method: "DELETE",
|
|
5058
5255
|
tags: [
|
|
@@ -5098,6 +5295,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5098
5295
|
responseKind: "json"
|
|
5099
5296
|
},
|
|
5100
5297
|
publishPageDraft: {
|
|
5298
|
+
editLease: "managed",
|
|
5101
5299
|
path: "/sites/{siteId}/pages/{pageId}/publish",
|
|
5102
5300
|
method: "POST",
|
|
5103
5301
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -5105,6 +5303,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5105
5303
|
responseKind: "json"
|
|
5106
5304
|
},
|
|
5107
5305
|
discardPageDraft: {
|
|
5306
|
+
editLease: "managed",
|
|
5108
5307
|
path: "/sites/{siteId}/pages/{pageId}/discard",
|
|
5109
5308
|
method: "POST",
|
|
5110
5309
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -5120,6 +5319,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5120
5319
|
errors: ["resource:not_found", "server:internal_error"]
|
|
5121
5320
|
},
|
|
5122
5321
|
savePageDesignState: {
|
|
5322
|
+
editLease: "managed",
|
|
5123
5323
|
path: "/sites/{siteId}/pages/{pageId}/design-state",
|
|
5124
5324
|
method: "POST",
|
|
5125
5325
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -5149,6 +5349,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5149
5349
|
responseKind: "json"
|
|
5150
5350
|
},
|
|
5151
5351
|
restorePageVersion: {
|
|
5352
|
+
editLease: "managed",
|
|
5152
5353
|
path: "/sites/{siteId}/pages/{pageId}/versions/{versionId}/restore",
|
|
5153
5354
|
method: "POST",
|
|
5154
5355
|
errors: [
|
|
@@ -5162,6 +5363,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5162
5363
|
responseKind: "json"
|
|
5163
5364
|
},
|
|
5164
5365
|
applyPageDesignEditorAction: {
|
|
5366
|
+
editLease: "managed",
|
|
5165
5367
|
path: "/sites/{siteId}/pages/{pageId}/design/actions",
|
|
5166
5368
|
method: "POST",
|
|
5167
5369
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -6594,21 +6796,7 @@ const API_ENDPOINTS$1 = {
|
|
|
6594
6796
|
responseKind: "json",
|
|
6595
6797
|
errors: []
|
|
6596
6798
|
},
|
|
6597
|
-
|
|
6598
|
-
path: "/sites/{siteId}/bookings/customers",
|
|
6599
|
-
method: "GET",
|
|
6600
|
-
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
6601
|
-
auth: "user",
|
|
6602
|
-
responseKind: "json"
|
|
6603
|
-
},
|
|
6604
|
-
exportBookingCustomersCsv: {
|
|
6605
|
-
path: "/sites/{siteId}/bookings/customers/export.csv",
|
|
6606
|
-
method: "GET",
|
|
6607
|
-
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
6608
|
-
auth: "user",
|
|
6609
|
-
errors: [],
|
|
6610
|
-
responseKind: "blob"
|
|
6611
|
-
},
|
|
6799
|
+
...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS,
|
|
6612
6800
|
createBookingCustomer: {
|
|
6613
6801
|
path: "/sites/{siteId}/bookings/customers",
|
|
6614
6802
|
method: "POST",
|
|
@@ -6699,13 +6887,6 @@ const API_ENDPOINTS$1 = {
|
|
|
6699
6887
|
"server:internal_error"
|
|
6700
6888
|
]
|
|
6701
6889
|
},
|
|
6702
|
-
listCustomerAttendances: {
|
|
6703
|
-
path: "/sites/{siteId}/bookings/customers/{customerId}/attendances",
|
|
6704
|
-
method: "GET",
|
|
6705
|
-
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
6706
|
-
auth: "user",
|
|
6707
|
-
responseKind: "json"
|
|
6708
|
-
},
|
|
6709
6890
|
createPersonRecordEntry: {
|
|
6710
6891
|
path: "/sites/{siteId}/bookings/person-records/entries",
|
|
6711
6892
|
method: "POST",
|
|
@@ -8039,6 +8220,8 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
8039
8220
|
"auth:sudo_required",
|
|
8040
8221
|
"auth:insufficient_permissions",
|
|
8041
8222
|
"auth:impersonation_restricted",
|
|
8223
|
+
"auth:lease_required",
|
|
8224
|
+
"auth:lease_lost",
|
|
8042
8225
|
"validation:invalid_input",
|
|
8043
8226
|
"validation:missing_field",
|
|
8044
8227
|
"validation:invalid_format",
|
|
@@ -8590,7 +8773,7 @@ var SimpleCache = class {
|
|
|
8590
8773
|
* 1. This constant
|
|
8591
8774
|
* 2. The "version" field in package.json
|
|
8592
8775
|
*/
|
|
8593
|
-
const SDK_VERSION = "0.
|
|
8776
|
+
const SDK_VERSION = "0.148.0";
|
|
8594
8777
|
//#endregion
|
|
8595
8778
|
//#region src/client/error.ts
|
|
8596
8779
|
let _Symbol$for;
|