@riverbankcms/sdk 0.147.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 +16 -0
- package/dist/{PreviewEditorSidebar-DtpB3_sS.mjs → PreviewEditorSidebar-DvEPG3Z2.mjs} +202 -143
- package/dist/{PreviewEditorUI-DxTLgaHo.mjs → PreviewEditorUI-D6eb6fkx.mjs} +68 -60
- package/dist/{PreviewQueryProvider-Dd4dxOiU.mjs → PreviewQueryProvider-5znTyJuz.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DMMNCngt.mjs → SdkPreviewModeRuntime-DJ6utQ_R.mjs} +1191 -513
- package/dist/{SiteChromeCustomizeContext-DQXZXiqS.mjs → SiteChromeCustomizeContext-CFJYh6vo.mjs} +201798 -197304
- 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 +0 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -4
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
- 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/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 +133 -41
- package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +25 -0
- 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 +6 -5
- 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 +2 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -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 +0 -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/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/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/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/proof-block-islands.d.ts +16 -4
- 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 +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/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 +2 -0
- 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 +24 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -3
- 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 +15 -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 +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/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 +4 -1
- 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.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 +5 -5
- 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/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/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 +4 -0
- package/dist/_dts/core/src/uuid.d.ts +7 -5
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +159 -153
- 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/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/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 +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 +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/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/client/{BookingMailingListNote-1n4Ch_u_.mjs → BookingMailingListNote-CzRt2dF_.mjs} +98 -96
- package/dist/client/DemoBookingPortalAccess-mxqwap3f.mjs +344 -0
- package/dist/client/{EventCombined.client-C0pgma9y.mjs → EventCombined.client-CDb11igO.mjs} +6 -6
- package/dist/client/{EventListing.client-4fhLOvHP.mjs → EventListing.client-EgYhzKPa.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DScC4F3w.mjs → LeafletStaticMap-gtmtaA2b.mjs} +1 -1
- package/dist/client/{TerminalPanel-B5ZUsYhe.mjs → TerminalPanel-DvNUP5ot.mjs} +1 -1
- package/dist/client/{ThemedButton-DoVIV1Ao.mjs → ThemedButton-C7CeUJjW.mjs} +1 -1
- package/dist/client/{accordion-CoT5g7zo.mjs → accordion-kjvt49rA.mjs} +1 -1
- package/dist/client/{bookingForm-BWxB46xD.mjs → bookingForm-pbRZordh.mjs} +212 -62
- package/dist/client/bookings.mjs +616 -225
- package/dist/client/{carousel-DtNYWFd3.mjs → carousel-f4Zbmicv.mjs} +1 -1
- package/dist/client/{cart-z4qZih1Y.mjs → cart-DO20An50.mjs} +3 -3
- package/dist/client/{checkout-DpL7euFH.mjs → checkout-Du5amDR_.mjs} +3 -3
- package/dist/client/{checkoutUrls-BEfR7kVu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
- package/dist/client/client.mjs +1753 -823
- package/dist/client/{context-C8TinPJc.mjs → context-eW97E945.mjs} +4 -3
- package/dist/client/{dates-vwwxTeB0.mjs → dates-jPCirRea.mjs} +56 -11
- package/dist/client/{eventCalendar-DIbHfJXO.mjs → eventCalendar-C2M-iE4j.mjs} +9 -9
- package/dist/client/{eventCombined-DoGMJ6cg.mjs → eventCombined-W6ns3LHg.mjs} +4 -4
- package/dist/client/{eventDetails-BjN9v6a1.mjs → eventDetails-CR-GT0f0.mjs} +4 -4
- package/dist/client/{eventListing-DajjWgOv.mjs → eventListing-BK8AfYZz.mjs} +4 -4
- package/dist/client/{eventRegistration-DMq9gMA-.mjs → eventRegistration-BJSd4KUu.mjs} +369 -242
- package/dist/client/{form-Qf6qTbos.mjs → form-BvpfbQaT.mjs} +3 -3
- package/dist/client/{headerSection-D7qJrqFX.mjs → headerSection-I5sUQ8x-.mjs} +3 -3
- package/dist/client/hooks.mjs +254 -53
- package/dist/client/{locationMap-CCF9-t_0.mjs → locationMap-BLvwf9_f.mjs} +3 -3
- package/dist/client/{media-CwBGetqC.mjs → media-Cl38iOMI.mjs} +10 -3
- package/dist/client/{newsletterForm-DzCLSP4S.mjs → newsletterForm-DrQ2weE8.mjs} +3 -3
- package/dist/client/{pricing-Cgxv2KLC.mjs → pricing-BES87mrR.mjs} +1 -1
- package/dist/client/{productDetail-ru9w5GHx.mjs → productDetail-Url9jcc5.mjs} +3 -3
- package/dist/client/{productList-zaapKSl-.mjs → productList-DE7ngEZJ.mjs} +3 -3
- package/dist/client/{propsDecoder-CwvvNOHx.mjs → propsDecoder-D1OtGXDV.mjs} +89 -17
- package/dist/client/rendering/client.mjs +1445 -658
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +2478 -1515
- package/dist/client/{routeIslandApiConfig-BwVFo0Y4.mjs → routeIslandApiConfig-BG9Y-SHg.mjs} +1 -1
- package/dist/client/{shop-mktkXvbV.mjs → shop-CJkuySJ3.mjs} +126 -79
- package/dist/client/{shop-commerce-De7gEnkA.mjs → shop-commerce-4rKj5n9h.mjs} +25 -13
- package/dist/client/{shop-commerce-store-B3MCxIBW.mjs → shop-commerce-store-Bxm75Pg6.mjs} +1 -1
- package/dist/client/{shopShared-TqExh235.mjs → shopShared-DpoQDWfz.mjs} +4 -4
- package/dist/client/{useEventFilters-n_OjkIjX.mjs → useEventFilters-D8HliSqR.mjs} +32 -17
- package/dist/preview-next/before-render.mjs +192 -83
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +192 -83
- package/dist/preview-next/middleware.mjs +192 -83
- package/dist/{previewAuthStore-C_EHQ5XA.mjs → previewAuthStore-BXXF3hhW.mjs} +194 -83
- package/dist/{sdk-runtime-BIkJg5y1.mjs → sdk-runtime-C2a05WjL.mjs} +2 -2
- package/dist/{separator-C9qDP95Z.mjs → separator-CuNhBAhS.mjs} +1 -1
- package/dist/server/components.mjs +1720 -1392
- package/dist/server/config-validation.mjs +221 -37
- package/dist/server/config.mjs +221 -37
- package/dist/server/data.mjs +221 -37
- package/dist/server/index.mjs +195 -84
- package/dist/server/next.mjs +490 -196
- package/dist/server/page-converter.mjs +53 -14
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1427 -1098
- package/dist/server/rendering.mjs +2693 -2365
- package/dist/server/routing.mjs +291 -55
- package/dist/server/server.mjs +281 -114
- package/package.json +1 -1
- 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/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
package/dist/server/index.mjs
CHANGED
|
@@ -1601,6 +1601,7 @@ const SDK_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1601
1601
|
responseKind: "json",
|
|
1602
1602
|
errors: [
|
|
1603
1603
|
"resource:not_found",
|
|
1604
|
+
"validation:invalid_input",
|
|
1604
1605
|
"resource:conflict",
|
|
1605
1606
|
"server:internal_error"
|
|
1606
1607
|
]
|
|
@@ -2108,28 +2109,6 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2108
2109
|
"resource:conflict",
|
|
2109
2110
|
"server:internal_error"
|
|
2110
2111
|
]
|
|
2111
|
-
},
|
|
2112
|
-
/**
|
|
2113
|
-
* The Content tab's one write: the short introduction, image and
|
|
2114
|
-
* description of an event's page, published without its layout.
|
|
2115
|
-
*/
|
|
2116
|
-
saveEventPageWords: {
|
|
2117
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/words",
|
|
2118
|
-
method: "PUT",
|
|
2119
|
-
tags: [
|
|
2120
|
-
TAG_TEMPLATES.siteCollection,
|
|
2121
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
2122
|
-
TAG_TEMPLATES.pageSurfaceById
|
|
2123
|
-
],
|
|
2124
|
-
auth: "user",
|
|
2125
|
-
responseKind: "json",
|
|
2126
|
-
errors: [
|
|
2127
|
-
"auth:forbidden",
|
|
2128
|
-
"validation:invalid_input",
|
|
2129
|
-
"resource:not_found",
|
|
2130
|
-
"resource:conflict",
|
|
2131
|
-
"server:internal_error"
|
|
2132
|
-
]
|
|
2133
2112
|
}
|
|
2134
2113
|
});
|
|
2135
2114
|
//#endregion
|
|
@@ -2554,6 +2533,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2554
2533
|
auth: "user",
|
|
2555
2534
|
responseKind: "json"
|
|
2556
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
|
+
},
|
|
2557
2545
|
createBillingPortalSession: {
|
|
2558
2546
|
path: "/billing/portal/session",
|
|
2559
2547
|
method: "POST",
|
|
@@ -2563,6 +2551,161 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2563
2551
|
}
|
|
2564
2552
|
});
|
|
2565
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
|
|
2566
2709
|
//#region ../api/src/bookingPeopleEndpointDefinitions.ts
|
|
2567
2710
|
/**
|
|
2568
2711
|
* People endpoints (#1356): the People list, its CSV export, and deleting a
|
|
@@ -2655,6 +2798,8 @@ const API_ENDPOINTS$1 = {
|
|
|
2655
2798
|
...GIFTING_ENDPOINT_DEFINITIONS,
|
|
2656
2799
|
...PUBLIC_READ_ENDPOINT_DEFINITIONS,
|
|
2657
2800
|
...BILLING_ENDPOINT_DEFINITIONS,
|
|
2801
|
+
...EDIT_LEASE_ENDPOINT_DEFINITIONS,
|
|
2802
|
+
...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
|
|
2658
2803
|
...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
|
|
2659
2804
|
aiContentUpdateChat: {
|
|
2660
2805
|
path: "/ai/content-update-chat",
|
|
@@ -2676,6 +2821,7 @@ const API_ENDPOINTS$1 = {
|
|
|
2676
2821
|
responseKind: "json"
|
|
2677
2822
|
},
|
|
2678
2823
|
aiDesignerPageOpsApply: {
|
|
2824
|
+
editLease: "managed",
|
|
2679
2825
|
path: "/sites/{siteId}/ai/designer/page/apply",
|
|
2680
2826
|
method: "POST",
|
|
2681
2827
|
tags: [TAG_TEMPLATES.siteCollection],
|
|
@@ -3510,6 +3656,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3510
3656
|
responseKind: "json"
|
|
3511
3657
|
},
|
|
3512
3658
|
restoreContentEntryVersion: {
|
|
3659
|
+
editLease: "managed",
|
|
3513
3660
|
path: "/sites/{siteId}/content/{type}/{entryId}/versions/{versionId}/restore",
|
|
3514
3661
|
method: "POST",
|
|
3515
3662
|
errors: [
|
|
@@ -3527,6 +3674,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3527
3674
|
responseKind: "json"
|
|
3528
3675
|
},
|
|
3529
3676
|
updateContentEntryContent: {
|
|
3677
|
+
editLease: "managed",
|
|
3530
3678
|
path: "/sites/{siteId}/content/{type}/{entryId}/content",
|
|
3531
3679
|
method: "PUT",
|
|
3532
3680
|
tags: [
|
|
@@ -3543,67 +3691,6 @@ const API_ENDPOINTS$1 = {
|
|
|
3543
3691
|
],
|
|
3544
3692
|
responseKind: "json"
|
|
3545
3693
|
},
|
|
3546
|
-
updatePageSurfaceDraftContent: {
|
|
3547
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
3548
|
-
method: "PUT",
|
|
3549
|
-
errors: [
|
|
3550
|
-
"validation:invalid_input",
|
|
3551
|
-
"resource:not_found",
|
|
3552
|
-
"resource:conflict",
|
|
3553
|
-
"server:internal_error"
|
|
3554
|
-
],
|
|
3555
|
-
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById],
|
|
3556
|
-
auth: "user",
|
|
3557
|
-
responseKind: "json"
|
|
3558
|
-
},
|
|
3559
|
-
discardPageSurfaceDraftContent: {
|
|
3560
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content/draft",
|
|
3561
|
-
method: "DELETE",
|
|
3562
|
-
errors: [
|
|
3563
|
-
"validation:invalid_input",
|
|
3564
|
-
"resource:not_found",
|
|
3565
|
-
"resource:conflict",
|
|
3566
|
-
"server:internal_error"
|
|
3567
|
-
],
|
|
3568
|
-
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById],
|
|
3569
|
-
auth: "user",
|
|
3570
|
-
responseKind: "json"
|
|
3571
|
-
},
|
|
3572
|
-
updatePageSurfaceRouteMetadata: {
|
|
3573
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/metadata",
|
|
3574
|
-
method: "PATCH",
|
|
3575
|
-
errors: [
|
|
3576
|
-
"validation:invalid_input",
|
|
3577
|
-
"resource:not_found",
|
|
3578
|
-
"resource:conflict",
|
|
3579
|
-
"server:internal_error"
|
|
3580
|
-
],
|
|
3581
|
-
tags: [
|
|
3582
|
-
TAG_TEMPLATES.siteCollection,
|
|
3583
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
3584
|
-
TAG_TEMPLATES.pageSurfaceById
|
|
3585
|
-
],
|
|
3586
|
-
auth: "user",
|
|
3587
|
-
responseKind: "json"
|
|
3588
|
-
},
|
|
3589
|
-
publishPageSurface: {
|
|
3590
|
-
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
3591
|
-
method: "POST",
|
|
3592
|
-
errors: [
|
|
3593
|
-
"auth:forbidden",
|
|
3594
|
-
"validation:invalid_input",
|
|
3595
|
-
"resource:not_found",
|
|
3596
|
-
"resource:conflict",
|
|
3597
|
-
"server:internal_error"
|
|
3598
|
-
],
|
|
3599
|
-
tags: [
|
|
3600
|
-
TAG_TEMPLATES.siteCollection,
|
|
3601
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
3602
|
-
TAG_TEMPLATES.pageSurfaceById
|
|
3603
|
-
],
|
|
3604
|
-
auth: "user",
|
|
3605
|
-
responseKind: "json"
|
|
3606
|
-
},
|
|
3607
3694
|
runSdkWorkflow: {
|
|
3608
3695
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
3609
3696
|
method: "POST",
|
|
@@ -3640,6 +3727,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3640
3727
|
responseKind: "json"
|
|
3641
3728
|
},
|
|
3642
3729
|
updateRouteMetadata: {
|
|
3730
|
+
editLease: "managed",
|
|
3643
3731
|
path: "/sites/{siteId}/routes/{routeId}/metadata",
|
|
3644
3732
|
method: "PATCH",
|
|
3645
3733
|
tags: [
|
|
@@ -3657,6 +3745,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3657
3745
|
responseKind: "json"
|
|
3658
3746
|
},
|
|
3659
3747
|
publishContentEntry: {
|
|
3748
|
+
editLease: "managed",
|
|
3660
3749
|
path: "/sites/{siteId}/content/{type}/{entryId}/publish",
|
|
3661
3750
|
method: "POST",
|
|
3662
3751
|
tags: [
|
|
@@ -3668,6 +3757,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3668
3757
|
responseKind: "json"
|
|
3669
3758
|
},
|
|
3670
3759
|
scheduleContentEntry: {
|
|
3760
|
+
editLease: "managed",
|
|
3671
3761
|
path: "/sites/{siteId}/content/{type}/{entryId}/schedule",
|
|
3672
3762
|
method: "POST",
|
|
3673
3763
|
tags: [
|
|
@@ -3685,6 +3775,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3685
3775
|
responseKind: "json"
|
|
3686
3776
|
},
|
|
3687
3777
|
cancelScheduledContentEntry: {
|
|
3778
|
+
editLease: "managed",
|
|
3688
3779
|
path: "/sites/{siteId}/content/{type}/{entryId}/schedule",
|
|
3689
3780
|
method: "DELETE",
|
|
3690
3781
|
tags: [
|
|
@@ -3702,6 +3793,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3702
3793
|
responseKind: "json"
|
|
3703
3794
|
},
|
|
3704
3795
|
discardContentEntry: {
|
|
3796
|
+
editLease: "managed",
|
|
3705
3797
|
path: "/sites/{siteId}/content/{type}/{entryId}/discard",
|
|
3706
3798
|
method: "POST",
|
|
3707
3799
|
tags: [
|
|
@@ -3720,6 +3812,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3720
3812
|
responseKind: "json"
|
|
3721
3813
|
},
|
|
3722
3814
|
unpublishContentEntry: {
|
|
3815
|
+
editLease: "managed",
|
|
3723
3816
|
path: "/sites/{siteId}/content/{type}/{entryId}/unpublish",
|
|
3724
3817
|
method: "POST",
|
|
3725
3818
|
tags: [
|
|
@@ -3761,6 +3854,7 @@ const API_ENDPOINTS$1 = {
|
|
|
3761
3854
|
responseKind: "json"
|
|
3762
3855
|
},
|
|
3763
3856
|
deleteContentEntry: {
|
|
3857
|
+
editLease: "managed",
|
|
3764
3858
|
path: "/sites/{siteId}/content/{type}/{entryId}",
|
|
3765
3859
|
method: "DELETE",
|
|
3766
3860
|
tags: [
|
|
@@ -4970,6 +5064,7 @@ const API_ENDPOINTS$1 = {
|
|
|
4970
5064
|
responseKind: "json"
|
|
4971
5065
|
},
|
|
4972
5066
|
saveBlockContent: {
|
|
5067
|
+
editLease: "owner-derived",
|
|
4973
5068
|
path: "/blocks/{blockId}/content",
|
|
4974
5069
|
method: "POST",
|
|
4975
5070
|
tags: [
|
|
@@ -5007,6 +5102,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5007
5102
|
errors: ["resource:not_found", "resource:conflict"]
|
|
5008
5103
|
},
|
|
5009
5104
|
createEntrySlotBlock: {
|
|
5105
|
+
editLease: "managed",
|
|
5010
5106
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks",
|
|
5011
5107
|
method: "POST",
|
|
5012
5108
|
tags: [
|
|
@@ -5024,6 +5120,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5024
5120
|
]
|
|
5025
5121
|
},
|
|
5026
5122
|
reorderEntrySlotBlocks: {
|
|
5123
|
+
editLease: "managed",
|
|
5027
5124
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/reorder",
|
|
5028
5125
|
method: "POST",
|
|
5029
5126
|
tags: [
|
|
@@ -5041,6 +5138,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5041
5138
|
]
|
|
5042
5139
|
},
|
|
5043
5140
|
deleteEntrySlotBlock: {
|
|
5141
|
+
editLease: "managed",
|
|
5044
5142
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/{blockId}",
|
|
5045
5143
|
method: "DELETE",
|
|
5046
5144
|
tags: [
|
|
@@ -5071,6 +5169,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5071
5169
|
]
|
|
5072
5170
|
},
|
|
5073
5171
|
createPageSurfaceSlotBlock: {
|
|
5172
|
+
editLease: "managed",
|
|
5074
5173
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
|
|
5075
5174
|
method: "POST",
|
|
5076
5175
|
tags: [
|
|
@@ -5089,6 +5188,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5089
5188
|
]
|
|
5090
5189
|
},
|
|
5091
5190
|
reorderPageSurfaceSlotBlocks: {
|
|
5191
|
+
editLease: "managed",
|
|
5092
5192
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
|
|
5093
5193
|
method: "POST",
|
|
5094
5194
|
tags: [
|
|
@@ -5107,6 +5207,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5107
5207
|
]
|
|
5108
5208
|
},
|
|
5109
5209
|
deletePageSurfaceSlotBlock: {
|
|
5210
|
+
editLease: "managed",
|
|
5110
5211
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
|
|
5111
5212
|
method: "DELETE",
|
|
5112
5213
|
tags: [
|
|
@@ -5124,6 +5225,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5124
5225
|
]
|
|
5125
5226
|
},
|
|
5126
5227
|
createBlock: {
|
|
5228
|
+
editLease: "managed",
|
|
5127
5229
|
path: "/sites/{siteId}/pages/{pageId}/blocks",
|
|
5128
5230
|
method: "POST",
|
|
5129
5231
|
tags: [
|
|
@@ -5135,6 +5237,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5135
5237
|
responseKind: "json"
|
|
5136
5238
|
},
|
|
5137
5239
|
reorderBlocks: {
|
|
5240
|
+
editLease: "managed",
|
|
5138
5241
|
path: "/sites/{siteId}/pages/{pageId}/blocks/reorder",
|
|
5139
5242
|
method: "POST",
|
|
5140
5243
|
tags: [
|
|
@@ -5146,6 +5249,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5146
5249
|
responseKind: "json"
|
|
5147
5250
|
},
|
|
5148
5251
|
deleteBlock: {
|
|
5252
|
+
editLease: "managed",
|
|
5149
5253
|
path: "/sites/{siteId}/pages/{pageId}/blocks/{blockId}",
|
|
5150
5254
|
method: "DELETE",
|
|
5151
5255
|
tags: [
|
|
@@ -5191,6 +5295,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5191
5295
|
responseKind: "json"
|
|
5192
5296
|
},
|
|
5193
5297
|
publishPageDraft: {
|
|
5298
|
+
editLease: "managed",
|
|
5194
5299
|
path: "/sites/{siteId}/pages/{pageId}/publish",
|
|
5195
5300
|
method: "POST",
|
|
5196
5301
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -5198,6 +5303,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5198
5303
|
responseKind: "json"
|
|
5199
5304
|
},
|
|
5200
5305
|
discardPageDraft: {
|
|
5306
|
+
editLease: "managed",
|
|
5201
5307
|
path: "/sites/{siteId}/pages/{pageId}/discard",
|
|
5202
5308
|
method: "POST",
|
|
5203
5309
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -5213,6 +5319,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5213
5319
|
errors: ["resource:not_found", "server:internal_error"]
|
|
5214
5320
|
},
|
|
5215
5321
|
savePageDesignState: {
|
|
5322
|
+
editLease: "managed",
|
|
5216
5323
|
path: "/sites/{siteId}/pages/{pageId}/design-state",
|
|
5217
5324
|
method: "POST",
|
|
5218
5325
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -5242,6 +5349,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5242
5349
|
responseKind: "json"
|
|
5243
5350
|
},
|
|
5244
5351
|
restorePageVersion: {
|
|
5352
|
+
editLease: "managed",
|
|
5245
5353
|
path: "/sites/{siteId}/pages/{pageId}/versions/{versionId}/restore",
|
|
5246
5354
|
method: "POST",
|
|
5247
5355
|
errors: [
|
|
@@ -5255,6 +5363,7 @@ const API_ENDPOINTS$1 = {
|
|
|
5255
5363
|
responseKind: "json"
|
|
5256
5364
|
},
|
|
5257
5365
|
applyPageDesignEditorAction: {
|
|
5366
|
+
editLease: "managed",
|
|
5258
5367
|
path: "/sites/{siteId}/pages/{pageId}/design/actions",
|
|
5259
5368
|
method: "POST",
|
|
5260
5369
|
tags: [TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById],
|
|
@@ -8111,6 +8220,8 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
8111
8220
|
"auth:sudo_required",
|
|
8112
8221
|
"auth:insufficient_permissions",
|
|
8113
8222
|
"auth:impersonation_restricted",
|
|
8223
|
+
"auth:lease_required",
|
|
8224
|
+
"auth:lease_lost",
|
|
8114
8225
|
"validation:invalid_input",
|
|
8115
8226
|
"validation:missing_field",
|
|
8116
8227
|
"validation:invalid_format",
|
|
@@ -8662,7 +8773,7 @@ var SimpleCache = class {
|
|
|
8662
8773
|
* 1. This constant
|
|
8663
8774
|
* 2. The "version" field in package.json
|
|
8664
8775
|
*/
|
|
8665
|
-
const SDK_VERSION = "0.
|
|
8776
|
+
const SDK_VERSION = "0.148.0";
|
|
8666
8777
|
//#endregion
|
|
8667
8778
|
//#region src/client/error.ts
|
|
8668
8779
|
let _Symbol$for;
|