@riverbankcms/sdk 0.67.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -11
- package/dist/_dts/api/src/accessAdmin.d.ts +3 -3
- package/dist/_dts/api/src/admin/types.d.ts +1 -1
- package/dist/_dts/api/src/aiPlayground.d.ts +13 -39
- package/dist/_dts/api/src/appointmentSetup.d.ts +4 -0
- package/dist/_dts/api/src/billing.d.ts +7 -40
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -2
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +32 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -1
- package/dist/_dts/api/src/bookings.d.ts +1 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/communications.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -2
- package/dist/_dts/api/src/contentTypes.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +7 -0
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/index.d.ts +2 -2
- package/dist/_dts/api/src/public/types.d.ts +3 -3
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +1 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
- package/dist/_dts/api/src/siteBanner.d.ts +9 -9
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/siteSettings.d.ts +3 -3
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/url.d.ts +1 -1
- package/dist/_dts/billing/src/components/index.d.ts +484 -0
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +2 -2
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +2 -2
- package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -1
- package/dist/_dts/block-form/src/fields/types.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +4 -4
- package/dist/_dts/block-form/src/widgets/constants.d.ts +1 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +5 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/client.d.ts +11 -3
- package/dist/_dts/blocks/src/index.d.ts +28 -27
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +1 -1
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/structure/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +1666 -1666
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +1666 -1666
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +42 -42
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +1764 -1764
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +44 -44
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +139 -139
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +19 -19
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +1 -1
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +5 -5
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/frame/frameStyles.d.ts +3 -3
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/augmentManifest.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
- package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +1 -1
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/typography.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
- package/dist/_dts/blocks/src/system/registry.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/header/shared.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +140 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useVisibleTabPolling.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.default-ui.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +500 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +15 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/LeafletStaticMap.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptionCopy.d.ts +1 -1
- package/dist/_dts/blocks/src/system/theme/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
- package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/deriveRecoveryConflict.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/invalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/blockedPublishPlan.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +2 -2
- package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/registry.d.ts +1 -1
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +2 -2
- package/dist/_dts/content-editor/src/types.d.ts +2 -2
- package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +3 -3
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/utils.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/core/src/branded.d.ts +2 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/planner.d.ts +64 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +17 -18
- package/dist/_dts/db/src/schemas/forms.d.ts +62 -62
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +5 -5
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +5 -5
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +6 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/blockDiscovery.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useDraftContent.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/sdkBlockMerger.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/settingsIntent.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-form/debug.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +6 -6
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/reference/types.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/richTextImageHydration.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/shared/Combobox.d.ts +1 -1
- package/dist/_dts/media-core/src/fileAssetCompatibility.d.ts +1 -1
- package/dist/_dts/media-core/src/fileAssetDeletion.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDomain.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDownloadResolution.d.ts +1 -1
- package/dist/_dts/media-core/src/filePersistence.d.ts +1 -1
- package/dist/_dts/media-core/src/fileStorage.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadAssetBuilder.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadCleanup.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadFinalization.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadSessionCreation.d.ts +1 -1
- package/dist/_dts/media-core/src/types.d.ts +2 -2
- package/dist/_dts/media-core/src/url.d.ts +1 -1
- package/dist/_dts/media-core/src/videoPrep.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +3 -3
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/cropEditorSource.d.ts +1 -1
- package/dist/_dts/media-editor/src/debug.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +3 -3
- package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +1 -1
- package/dist/_dts/media-editor/src/transformModel.d.ts +1 -1
- package/dist/_dts/media-editor/src/types.d.ts +2 -2
- package/dist/_dts/media-editor/src/utils.d.ts +1 -1
- package/dist/_dts/media-react/src/components/ImageCropper.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropDraftModel.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropSessionState.d.ts +1 -1
- package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -1
- package/dist/_dts/media-react/src/ffmpegLoader.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/mediaAssetResponseMapper.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +4 -4
- package/dist/_dts/media-react/src/utils/rotation.d.ts +1 -1
- package/dist/_dts/media-react/src/videoFrameExtraction.d.ts +1 -1
- package/dist/_dts/media-react/src/videoPrepBrowser.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/editorRegistry.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +9 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorUI.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +8 -8
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -8
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/pageSchema.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromeSurface.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromeSurfacePolicy.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -3
- package/dist/_dts/sdk/src/bookings/index.d.ts +6 -2
- package/dist/_dts/sdk/src/bookings/types.d.ts +16 -8
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +32 -0
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/env.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +43 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +21 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +27 -0
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +56 -0
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +5 -3
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +9 -3
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +6 -10
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +6 -10
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +6 -10
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +14 -68
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +8 -0
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +97 -0
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +4 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +37 -43
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
- package/dist/_dts/sdk/src/portal/config.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/constants.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/cookies.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/middleware.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +18 -4
- package/dist/_dts/sdk/src/rendering/islands/blocksContracts.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +3 -3
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +6 -6
- package/dist/_dts/sdk/src/theme-bridge/generateCssVars.d.ts +4 -12
- package/dist/_dts/sdk/src/theme-bridge/index.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/types.d.ts +17 -9
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +292 -34
- package/dist/_dts/site-commands/src/domain.d.ts +3 -3
- package/dist/_dts/site-commands/src/exposure.d.ts +3 -3
- package/dist/_dts/site-commands/src/index.d.ts +1 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +79 -1
- package/dist/_dts/site-commands/src/planner.d.ts +1 -1
- package/dist/_dts/site-commands/src/refContributions.d.ts +1 -0
- package/dist/_dts/site-commands/src/refs.d.ts +8 -2
- package/dist/_dts/{sdk/src/cli/merge-remote → site-commands/src}/stableJson.d.ts +2 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +9 -9
- package/dist/_dts/theme-core/src/blocks/index.d.ts +2 -2
- package/dist/_dts/theme-core/src/blocks/types.d.ts +3 -2
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +35 -35
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +18 -18
- package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +13 -13
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +351 -351
- package/dist/_dts/theme-core/src/navigation/types.d.ts +15 -15
- package/dist/_dts/theme-core/src/palette/recipes/allRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +24 -24
- package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +18 -18
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +65 -65
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +18 -18
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +18 -18
- package/dist/_dts/theme-core/src/progress/generateProgressCss.d.ts +2 -1
- package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +1 -1
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +32 -21
- package/dist/_dts/theme-core/src/schema.d.ts +568 -568
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +34 -34
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +14 -14
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +4 -4
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +2 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +5 -5
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/color-picker.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +4 -4
- package/dist/cli/index.mjs +5910 -4824
- package/dist/client/bookings.mjs +5149 -3320
- package/dist/client/client.mjs +11643 -11031
- package/dist/client/hooks.mjs +5764 -3868
- package/dist/client/rendering/client.mjs +4317 -3724
- package/dist/client/rendering/islands.mjs +4087 -3494
- package/dist/client/rendering.mjs +4499 -3885
- package/dist/preview-next/before-render.mjs +14 -0
- package/dist/preview-next/client/runtime.mjs +2927 -2292
- package/dist/preview-next/middleware.mjs +14 -0
- package/dist/server/components.mjs +536 -368
- package/dist/server/config-validation.mjs +6886 -4910
- package/dist/server/config.mjs +6876 -4909
- package/dist/server/data.mjs +5764 -3868
- package/dist/server/index.mjs +174 -1762
- package/dist/server/next.mjs +6393 -5024
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +540 -370
- package/dist/server/rendering.mjs +540 -370
- package/dist/server/routing.mjs +10389 -6835
- package/dist/server/server.mjs +5701 -3805
- package/dist/server/theme-bridge.mjs +1558 -4902
- package/dist/styles/index.css +38 -38
- package/package.json +1 -3
- package/dist/_dts/blocks/src/system/runtime/components/booking/DateTimeSelectionStep.d.ts +0 -18
- package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.d.ts +0 -44
- package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts +0 -23
- package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceSelectionStep.d.ts +0 -18
- package/dist/_dts/blocks/src/system/runtime/components/booking/slotDisplay.d.ts +0 -2
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/MultiStepForm.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.state.d.ts +0 -51
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSteps.d.ts +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type BlockRef, type BlocksRef, type CommandRef, type ContentEntryRef, type CourseRef, type PassProductRef, type MembershipProductRef, type BookingCustomerRef, type CustomerPassRef, type CustomerMembershipRef, type AppointmentBookingRef, type CourseEnrollmentRef, type EventRegistrationRef, type PassRedemptionRef, type OrderRef, type EventSeriesRef, type FormRef, type FooterRef, type MediaRef, type NavigationRef, type PageRef, type SiteStyleRef, type StaffRef, type TicketTypeRef, type VenueRef, type AppointmentServiceRef, type AppointmentResourceRef, type AppointmentAvailabilityRef, type SiteCommandSiteRef } from './refs';
|
|
2
|
+
import { type BlockRef, type BlocksRef, type CommandRef, type ContentEntryRef, type CourseRef, type PassProductRef, type MembershipProductRef, type BookingCustomerRef, type CustomerPassRef, type CustomerMembershipRef, type AppointmentBookingRef, type CourseEnrollmentRef, type EventRegistrationRef, type PassRedemptionRef, type OrderRef, type EventSeriesRef, type FormRef, type FooterRef, type MediaRef, type NavigationRef, type PageRef, type SiteStyleRef, type StaffRef, type TicketTypeRef, type VenueRef, type EventCategoryRef, type AppointmentServiceRef, type AppointmentResourceRef, type AppointmentAvailabilityRef, type SiteCommandSiteRef } from './refs';
|
|
3
3
|
export declare const navigationLocations: readonly ["main", "header", "footer"];
|
|
4
4
|
export type NavigationLocation = (typeof navigationLocations)[number];
|
|
5
5
|
export declare const navigationMenuRoles: readonly ["primary", "footer"];
|
|
@@ -97,6 +97,17 @@ export declare const upsertPageBlockCommandSchema: z.ZodObject<{
|
|
|
97
97
|
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
98
98
|
}, z.core.$strict>;
|
|
99
99
|
}, z.core.$strict>;
|
|
100
|
+
export declare const patchPageBlockContentCommandSchema: z.ZodObject<{
|
|
101
|
+
type: z.ZodLiteral<"patchPageBlockContent">;
|
|
102
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
103
|
+
input: z.ZodObject<{
|
|
104
|
+
pageIdentifier: z.ZodString;
|
|
105
|
+
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
106
|
+
identifier: z.ZodString;
|
|
107
|
+
field: z.ZodString;
|
|
108
|
+
value: z.ZodUnknown;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
}, z.core.$strict>;
|
|
100
111
|
export declare const deletePageBlockCommandSchema: z.ZodObject<{
|
|
101
112
|
type: z.ZodLiteral<"deletePageBlock">;
|
|
102
113
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
@@ -151,8 +162,8 @@ declare const navigationLinkCommandInputSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
151
162
|
}, z.core.$strict>, z.ZodObject<{
|
|
152
163
|
kind: z.ZodLiteral<"cart">;
|
|
153
164
|
badge: z.ZodEnum<{
|
|
154
|
-
"show-count": "show-count";
|
|
155
165
|
hidden: "hidden";
|
|
166
|
+
"show-count": "show-count";
|
|
156
167
|
}>;
|
|
157
168
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
158
169
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -168,8 +179,8 @@ export declare const upsertNavigationMenuCommandSchema: z.ZodObject<{
|
|
|
168
179
|
input: z.ZodObject<{
|
|
169
180
|
name: z.ZodOptional<z.ZodString>;
|
|
170
181
|
location: z.ZodOptional<z.ZodEnum<{
|
|
171
|
-
header: "header";
|
|
172
182
|
footer: "footer";
|
|
183
|
+
header: "header";
|
|
173
184
|
main: "main";
|
|
174
185
|
}>>;
|
|
175
186
|
role: z.ZodOptional<z.ZodEnum<{
|
|
@@ -345,6 +356,33 @@ export declare const upsertVenueCommandSchema: z.ZodObject<{
|
|
|
345
356
|
mapEmbedUrl: z.ZodOptional<z.ZodString>;
|
|
346
357
|
}, z.core.$strict>;
|
|
347
358
|
}, z.core.$strict>;
|
|
359
|
+
export declare const deleteVenueCommandSchema: z.ZodObject<{
|
|
360
|
+
type: z.ZodLiteral<"deleteVenue">;
|
|
361
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
362
|
+
input: z.ZodObject<{
|
|
363
|
+
slug: z.ZodString;
|
|
364
|
+
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
365
|
+
}, z.core.$strict>;
|
|
366
|
+
}, z.core.$strict>;
|
|
367
|
+
export declare const upsertEventCategoryCommandSchema: z.ZodObject<{
|
|
368
|
+
type: z.ZodLiteral<"upsertEventCategory">;
|
|
369
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
|
|
370
|
+
input: z.ZodObject<{
|
|
371
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
372
|
+
name: z.ZodString;
|
|
373
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
374
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
}, z.core.$strict>;
|
|
377
|
+
}, z.core.$strict>;
|
|
378
|
+
export declare const deleteEventCategoryCommandSchema: z.ZodObject<{
|
|
379
|
+
type: z.ZodLiteral<"deleteEventCategory">;
|
|
380
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
381
|
+
input: z.ZodObject<{
|
|
382
|
+
identifier: z.ZodString;
|
|
383
|
+
eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
384
|
+
}, z.core.$strict>;
|
|
385
|
+
}, z.core.$strict>;
|
|
348
386
|
export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
|
|
349
387
|
type: z.ZodLiteral<"upsertEventSeries">;
|
|
350
388
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
@@ -358,6 +396,12 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
|
|
|
358
396
|
retreat: "retreat";
|
|
359
397
|
performance: "performance";
|
|
360
398
|
}>;
|
|
399
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
400
|
+
active: "active";
|
|
401
|
+
cancelled: "cancelled";
|
|
402
|
+
draft: "draft";
|
|
403
|
+
archived: "archived";
|
|
404
|
+
}>>;
|
|
361
405
|
visibility: z.ZodEnum<{
|
|
362
406
|
draft: "draft";
|
|
363
407
|
published: "published";
|
|
@@ -366,6 +410,11 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
|
|
|
366
410
|
}>;
|
|
367
411
|
timezone: z.ZodString;
|
|
368
412
|
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
413
|
+
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
414
|
+
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
415
|
+
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
416
|
+
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
417
|
+
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
369
418
|
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
370
419
|
kind: z.ZodLiteral<"unlimited">;
|
|
371
420
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -397,10 +446,13 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
|
|
|
397
446
|
kind: z.ZodLiteral<"external">;
|
|
398
447
|
url: z.ZodString;
|
|
399
448
|
}, z.core.$strict>], "kind">;
|
|
449
|
+
priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
450
|
+
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
451
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
400
452
|
deliveryMode: z.ZodOptional<z.ZodEnum<{
|
|
401
453
|
in_person: "in_person";
|
|
402
|
-
hybrid: "hybrid";
|
|
403
454
|
online: "online";
|
|
455
|
+
hybrid: "hybrid";
|
|
404
456
|
}>>;
|
|
405
457
|
occurrences: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
406
458
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -417,13 +469,25 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
|
|
|
417
469
|
content: z.ZodOptional<z.ZodObject<{
|
|
418
470
|
summary: z.ZodOptional<z.ZodString>;
|
|
419
471
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
472
|
+
image: z.ZodOptional<z.ZodUnknown>;
|
|
420
473
|
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
421
474
|
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
422
475
|
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
423
476
|
}, z.core.$strict>>;
|
|
477
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
478
|
+
presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
479
|
+
tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
424
480
|
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
425
481
|
}, z.core.$strict>;
|
|
426
482
|
}, z.core.$strict>;
|
|
483
|
+
export declare const deleteEventSeriesCommandSchema: z.ZodObject<{
|
|
484
|
+
type: z.ZodLiteral<"deleteEventSeries">;
|
|
485
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
486
|
+
input: z.ZodObject<{
|
|
487
|
+
identifier: z.ZodString;
|
|
488
|
+
eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
|
|
489
|
+
}, z.core.$strict>;
|
|
490
|
+
}, z.core.$strict>;
|
|
427
491
|
export declare const upsertEventTicketTypeCommandSchema: z.ZodObject<{
|
|
428
492
|
type: z.ZodLiteral<"upsertEventTicketType">;
|
|
429
493
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
|
|
@@ -456,6 +520,11 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
|
|
|
456
520
|
input: z.ZodObject<{
|
|
457
521
|
slug: z.ZodString;
|
|
458
522
|
title: z.ZodString;
|
|
523
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
524
|
+
active: "active";
|
|
525
|
+
cancelled: "cancelled";
|
|
526
|
+
draft: "draft";
|
|
527
|
+
}>>;
|
|
459
528
|
visibility: z.ZodEnum<{
|
|
460
529
|
draft: "draft";
|
|
461
530
|
published: "published";
|
|
@@ -464,12 +533,18 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
|
|
|
464
533
|
}>;
|
|
465
534
|
timezone: z.ZodString;
|
|
466
535
|
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
536
|
+
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
537
|
+
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
538
|
+
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
539
|
+
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
540
|
+
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
467
541
|
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
468
542
|
kind: z.ZodLiteral<"unlimited">;
|
|
469
543
|
}, z.core.$strict>, z.ZodObject<{
|
|
470
544
|
kind: z.ZodLiteral<"limited">;
|
|
471
545
|
quantity: z.ZodNumber;
|
|
472
546
|
}, z.core.$strict>], "kind">>;
|
|
547
|
+
enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
473
548
|
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
474
549
|
kind: z.ZodLiteral<"disabled">;
|
|
475
550
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -492,6 +567,7 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
|
|
|
492
567
|
kind: z.ZodLiteral<"external">;
|
|
493
568
|
url: z.ZodString;
|
|
494
569
|
}, z.core.$strict>], "kind">;
|
|
570
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
495
571
|
sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
496
572
|
title: z.ZodOptional<z.ZodString>;
|
|
497
573
|
startAt: z.ZodString;
|
|
@@ -501,13 +577,27 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
|
|
|
501
577
|
content: z.ZodOptional<z.ZodObject<{
|
|
502
578
|
summary: z.ZodOptional<z.ZodString>;
|
|
503
579
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
580
|
+
image: z.ZodOptional<z.ZodUnknown>;
|
|
504
581
|
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
505
582
|
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
506
583
|
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
507
584
|
}, z.core.$strict>>;
|
|
585
|
+
programRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
586
|
+
program: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
587
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
588
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
589
|
+
}, z.core.$strict>>>;
|
|
508
590
|
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
509
591
|
}, z.core.$strict>;
|
|
510
592
|
}, z.core.$strict>;
|
|
593
|
+
export declare const deleteCourseCommandSchema: z.ZodObject<{
|
|
594
|
+
type: z.ZodLiteral<"deleteCourse">;
|
|
595
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
596
|
+
input: z.ZodObject<{
|
|
597
|
+
identifier: z.ZodString;
|
|
598
|
+
courseRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>>;
|
|
599
|
+
}, z.core.$strict>;
|
|
600
|
+
}, z.core.$strict>;
|
|
511
601
|
export declare const ensureTeamMemberProfileCommandSchema: z.ZodObject<{
|
|
512
602
|
type: z.ZodLiteral<"ensureTeamMemberProfile">;
|
|
513
603
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
|
|
@@ -540,8 +630,8 @@ export declare const configureBookingSettingsCommandSchema: z.ZodObject<{
|
|
|
540
630
|
appointmentBookingPolicies: z.ZodOptional<z.ZodObject<{
|
|
541
631
|
refunds: z.ZodOptional<z.ZodObject<{
|
|
542
632
|
mode: z.ZodEnum<{
|
|
543
|
-
never: "never";
|
|
544
633
|
always: "always";
|
|
634
|
+
never: "never";
|
|
545
635
|
cutoff: "cutoff";
|
|
546
636
|
}>;
|
|
547
637
|
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
@@ -638,10 +728,10 @@ export declare const grantCustomerMembershipCommandSchema: z.ZodObject<{
|
|
|
638
728
|
membershipRef: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
639
729
|
status: z.ZodDefault<z.ZodEnum<{
|
|
640
730
|
active: "active";
|
|
641
|
-
trialing: "trialing";
|
|
642
|
-
past_due: "past_due";
|
|
643
|
-
canceled: "canceled";
|
|
644
731
|
paused: "paused";
|
|
732
|
+
canceled: "canceled";
|
|
733
|
+
past_due: "past_due";
|
|
734
|
+
trialing: "trialing";
|
|
645
735
|
}>>;
|
|
646
736
|
currentPeriodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
647
737
|
currentPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -680,8 +770,8 @@ export declare const seedCourseEnrollmentCommandSchema: z.ZodObject<{
|
|
|
680
770
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
681
771
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>;
|
|
682
772
|
status: z.ZodDefault<z.ZodEnum<{
|
|
683
|
-
cancelled: "cancelled";
|
|
684
773
|
completed: "completed";
|
|
774
|
+
cancelled: "cancelled";
|
|
685
775
|
enrolled: "enrolled";
|
|
686
776
|
}>>;
|
|
687
777
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -762,9 +852,9 @@ export declare const upsertAppointmentServiceCommandSchema: z.ZodObject<{
|
|
|
762
852
|
durationMinutes: z.ZodNumber;
|
|
763
853
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
764
854
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
765
|
-
virtual: "virtual";
|
|
766
855
|
in_person: "in_person";
|
|
767
856
|
hybrid: "hybrid";
|
|
857
|
+
virtual: "virtual";
|
|
768
858
|
}>>;
|
|
769
859
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
770
860
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -781,9 +871,9 @@ export declare const upsertAppointmentServiceCommandSchema: z.ZodObject<{
|
|
|
781
871
|
durationMinutes: z.ZodNumber;
|
|
782
872
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
783
873
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
784
|
-
virtual: "virtual";
|
|
785
874
|
in_person: "in_person";
|
|
786
875
|
hybrid: "hybrid";
|
|
876
|
+
virtual: "virtual";
|
|
787
877
|
}>>;
|
|
788
878
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
879
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -800,9 +890,9 @@ export declare const upsertAppointmentServiceCommandSchema: z.ZodObject<{
|
|
|
800
890
|
durationMinutes: z.ZodNumber;
|
|
801
891
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
802
892
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
803
|
-
virtual: "virtual";
|
|
804
893
|
in_person: "in_person";
|
|
805
894
|
hybrid: "hybrid";
|
|
895
|
+
virtual: "virtual";
|
|
806
896
|
}>>;
|
|
807
897
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
808
898
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -878,8 +968,8 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
878
968
|
appointmentBookingPolicies: z.ZodOptional<z.ZodObject<{
|
|
879
969
|
refunds: z.ZodOptional<z.ZodObject<{
|
|
880
970
|
mode: z.ZodEnum<{
|
|
881
|
-
never: "never";
|
|
882
971
|
always: "always";
|
|
972
|
+
never: "never";
|
|
883
973
|
cutoff: "cutoff";
|
|
884
974
|
}>;
|
|
885
975
|
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
@@ -943,6 +1033,16 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
943
1033
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
944
1034
|
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
945
1035
|
}, z.core.$strict>;
|
|
1036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1037
|
+
type: z.ZodLiteral<"patchPageBlockContent">;
|
|
1038
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1039
|
+
input: z.ZodObject<{
|
|
1040
|
+
pageIdentifier: z.ZodString;
|
|
1041
|
+
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1042
|
+
identifier: z.ZodString;
|
|
1043
|
+
field: z.ZodString;
|
|
1044
|
+
value: z.ZodUnknown;
|
|
1045
|
+
}, z.core.$strict>;
|
|
946
1046
|
}, z.core.$strict>, z.ZodObject<{
|
|
947
1047
|
type: z.ZodLiteral<"deletePageBlock">;
|
|
948
1048
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
@@ -969,8 +1069,8 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
969
1069
|
input: z.ZodObject<{
|
|
970
1070
|
name: z.ZodOptional<z.ZodString>;
|
|
971
1071
|
location: z.ZodOptional<z.ZodEnum<{
|
|
972
|
-
header: "header";
|
|
973
1072
|
footer: "footer";
|
|
1073
|
+
header: "header";
|
|
974
1074
|
main: "main";
|
|
975
1075
|
}>>;
|
|
976
1076
|
role: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1150,6 +1250,30 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1150
1250
|
}, z.core.$strict>>;
|
|
1151
1251
|
mapEmbedUrl: z.ZodOptional<z.ZodString>;
|
|
1152
1252
|
}, z.core.$strict>;
|
|
1253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1254
|
+
type: z.ZodLiteral<"deleteVenue">;
|
|
1255
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1256
|
+
input: z.ZodObject<{
|
|
1257
|
+
slug: z.ZodString;
|
|
1258
|
+
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
1259
|
+
}, z.core.$strict>;
|
|
1260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1261
|
+
type: z.ZodLiteral<"upsertEventCategory">;
|
|
1262
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
|
|
1263
|
+
input: z.ZodObject<{
|
|
1264
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
name: z.ZodString;
|
|
1266
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1267
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1269
|
+
}, z.core.$strict>;
|
|
1270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1271
|
+
type: z.ZodLiteral<"deleteEventCategory">;
|
|
1272
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1273
|
+
input: z.ZodObject<{
|
|
1274
|
+
identifier: z.ZodString;
|
|
1275
|
+
eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
1276
|
+
}, z.core.$strict>;
|
|
1153
1277
|
}, z.core.$strict>, z.ZodObject<{
|
|
1154
1278
|
type: z.ZodLiteral<"upsertEventSeries">;
|
|
1155
1279
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
@@ -1163,6 +1287,12 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1163
1287
|
retreat: "retreat";
|
|
1164
1288
|
performance: "performance";
|
|
1165
1289
|
}>;
|
|
1290
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1291
|
+
active: "active";
|
|
1292
|
+
cancelled: "cancelled";
|
|
1293
|
+
draft: "draft";
|
|
1294
|
+
archived: "archived";
|
|
1295
|
+
}>>;
|
|
1166
1296
|
visibility: z.ZodEnum<{
|
|
1167
1297
|
draft: "draft";
|
|
1168
1298
|
published: "published";
|
|
@@ -1171,6 +1301,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1171
1301
|
}>;
|
|
1172
1302
|
timezone: z.ZodString;
|
|
1173
1303
|
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
1304
|
+
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
1306
|
+
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
1308
|
+
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
1174
1309
|
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1175
1310
|
kind: z.ZodLiteral<"unlimited">;
|
|
1176
1311
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1202,10 +1337,13 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1202
1337
|
kind: z.ZodLiteral<"external">;
|
|
1203
1338
|
url: z.ZodString;
|
|
1204
1339
|
}, z.core.$strict>], "kind">;
|
|
1340
|
+
priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1341
|
+
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
1342
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
1205
1343
|
deliveryMode: z.ZodOptional<z.ZodEnum<{
|
|
1206
1344
|
in_person: "in_person";
|
|
1207
|
-
hybrid: "hybrid";
|
|
1208
1345
|
online: "online";
|
|
1346
|
+
hybrid: "hybrid";
|
|
1209
1347
|
}>>;
|
|
1210
1348
|
occurrences: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1211
1349
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1222,12 +1360,23 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1222
1360
|
content: z.ZodOptional<z.ZodObject<{
|
|
1223
1361
|
summary: z.ZodOptional<z.ZodString>;
|
|
1224
1362
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
1363
|
+
image: z.ZodOptional<z.ZodUnknown>;
|
|
1225
1364
|
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
1226
1365
|
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
1227
1366
|
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1228
1367
|
}, z.core.$strict>>;
|
|
1368
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1369
|
+
presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1370
|
+
tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1229
1371
|
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
1230
1372
|
}, z.core.$strict>;
|
|
1373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1374
|
+
type: z.ZodLiteral<"deleteEventSeries">;
|
|
1375
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1376
|
+
input: z.ZodObject<{
|
|
1377
|
+
identifier: z.ZodString;
|
|
1378
|
+
eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
|
|
1379
|
+
}, z.core.$strict>;
|
|
1231
1380
|
}, z.core.$strict>, z.ZodObject<{
|
|
1232
1381
|
type: z.ZodLiteral<"upsertEventTicketType">;
|
|
1233
1382
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
|
|
@@ -1259,6 +1408,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1259
1408
|
input: z.ZodObject<{
|
|
1260
1409
|
slug: z.ZodString;
|
|
1261
1410
|
title: z.ZodString;
|
|
1411
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1412
|
+
active: "active";
|
|
1413
|
+
cancelled: "cancelled";
|
|
1414
|
+
draft: "draft";
|
|
1415
|
+
}>>;
|
|
1262
1416
|
visibility: z.ZodEnum<{
|
|
1263
1417
|
draft: "draft";
|
|
1264
1418
|
published: "published";
|
|
@@ -1267,12 +1421,18 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1267
1421
|
}>;
|
|
1268
1422
|
timezone: z.ZodString;
|
|
1269
1423
|
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
1424
|
+
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
1426
|
+
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
1428
|
+
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
1270
1429
|
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1271
1430
|
kind: z.ZodLiteral<"unlimited">;
|
|
1272
1431
|
}, z.core.$strict>, z.ZodObject<{
|
|
1273
1432
|
kind: z.ZodLiteral<"limited">;
|
|
1274
1433
|
quantity: z.ZodNumber;
|
|
1275
1434
|
}, z.core.$strict>], "kind">>;
|
|
1435
|
+
enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1276
1436
|
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1277
1437
|
kind: z.ZodLiteral<"disabled">;
|
|
1278
1438
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1295,6 +1455,7 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1295
1455
|
kind: z.ZodLiteral<"external">;
|
|
1296
1456
|
url: z.ZodString;
|
|
1297
1457
|
}, z.core.$strict>], "kind">;
|
|
1458
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
1298
1459
|
sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1299
1460
|
title: z.ZodOptional<z.ZodString>;
|
|
1300
1461
|
startAt: z.ZodString;
|
|
@@ -1304,12 +1465,25 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1304
1465
|
content: z.ZodOptional<z.ZodObject<{
|
|
1305
1466
|
summary: z.ZodOptional<z.ZodString>;
|
|
1306
1467
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
1468
|
+
image: z.ZodOptional<z.ZodUnknown>;
|
|
1307
1469
|
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
1308
1470
|
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
1309
1471
|
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1310
1472
|
}, z.core.$strict>>;
|
|
1473
|
+
programRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1474
|
+
program: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1475
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1476
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1477
|
+
}, z.core.$strict>>>;
|
|
1311
1478
|
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
1312
1479
|
}, z.core.$strict>;
|
|
1480
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1481
|
+
type: z.ZodLiteral<"deleteCourse">;
|
|
1482
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1483
|
+
input: z.ZodObject<{
|
|
1484
|
+
identifier: z.ZodString;
|
|
1485
|
+
courseRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>>;
|
|
1486
|
+
}, z.core.$strict>;
|
|
1313
1487
|
}, z.core.$strict>, z.ZodObject<{
|
|
1314
1488
|
type: z.ZodLiteral<"upsertBookingPassProduct">;
|
|
1315
1489
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
|
|
@@ -1390,10 +1564,10 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1390
1564
|
membershipRef: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
1391
1565
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1392
1566
|
active: "active";
|
|
1393
|
-
trialing: "trialing";
|
|
1394
|
-
past_due: "past_due";
|
|
1395
|
-
canceled: "canceled";
|
|
1396
1567
|
paused: "paused";
|
|
1568
|
+
canceled: "canceled";
|
|
1569
|
+
past_due: "past_due";
|
|
1570
|
+
trialing: "trialing";
|
|
1397
1571
|
}>>;
|
|
1398
1572
|
currentPeriodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1399
1573
|
currentPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1426,8 +1600,8 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1426
1600
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1427
1601
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>;
|
|
1428
1602
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1429
|
-
cancelled: "cancelled";
|
|
1430
1603
|
completed: "completed";
|
|
1604
|
+
cancelled: "cancelled";
|
|
1431
1605
|
enrolled: "enrolled";
|
|
1432
1606
|
}>>;
|
|
1433
1607
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -1500,9 +1674,9 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1500
1674
|
durationMinutes: z.ZodNumber;
|
|
1501
1675
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1502
1676
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
1503
|
-
virtual: "virtual";
|
|
1504
1677
|
in_person: "in_person";
|
|
1505
1678
|
hybrid: "hybrid";
|
|
1679
|
+
virtual: "virtual";
|
|
1506
1680
|
}>>;
|
|
1507
1681
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1508
1682
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -1519,9 +1693,9 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1519
1693
|
durationMinutes: z.ZodNumber;
|
|
1520
1694
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1521
1695
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
1522
|
-
virtual: "virtual";
|
|
1523
1696
|
in_person: "in_person";
|
|
1524
1697
|
hybrid: "hybrid";
|
|
1698
|
+
virtual: "virtual";
|
|
1525
1699
|
}>>;
|
|
1526
1700
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1527
1701
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -1538,9 +1712,9 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1538
1712
|
durationMinutes: z.ZodNumber;
|
|
1539
1713
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1540
1714
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
1541
|
-
virtual: "virtual";
|
|
1542
1715
|
in_person: "in_person";
|
|
1543
1716
|
hybrid: "hybrid";
|
|
1717
|
+
virtual: "virtual";
|
|
1544
1718
|
}>>;
|
|
1545
1719
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1546
1720
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -1616,8 +1790,8 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1616
1790
|
appointmentBookingPolicies: z.ZodOptional<z.ZodObject<{
|
|
1617
1791
|
refunds: z.ZodOptional<z.ZodObject<{
|
|
1618
1792
|
mode: z.ZodEnum<{
|
|
1619
|
-
never: "never";
|
|
1620
1793
|
always: "always";
|
|
1794
|
+
never: "never";
|
|
1621
1795
|
cutoff: "cutoff";
|
|
1622
1796
|
}>;
|
|
1623
1797
|
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1681,6 +1855,16 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1681
1855
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1682
1856
|
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
1683
1857
|
}, z.core.$strict>;
|
|
1858
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1859
|
+
type: z.ZodLiteral<"patchPageBlockContent">;
|
|
1860
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1861
|
+
input: z.ZodObject<{
|
|
1862
|
+
pageIdentifier: z.ZodString;
|
|
1863
|
+
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1864
|
+
identifier: z.ZodString;
|
|
1865
|
+
field: z.ZodString;
|
|
1866
|
+
value: z.ZodUnknown;
|
|
1867
|
+
}, z.core.$strict>;
|
|
1684
1868
|
}, z.core.$strict>, z.ZodObject<{
|
|
1685
1869
|
type: z.ZodLiteral<"deletePageBlock">;
|
|
1686
1870
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
@@ -1707,8 +1891,8 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1707
1891
|
input: z.ZodObject<{
|
|
1708
1892
|
name: z.ZodOptional<z.ZodString>;
|
|
1709
1893
|
location: z.ZodOptional<z.ZodEnum<{
|
|
1710
|
-
header: "header";
|
|
1711
1894
|
footer: "footer";
|
|
1895
|
+
header: "header";
|
|
1712
1896
|
main: "main";
|
|
1713
1897
|
}>>;
|
|
1714
1898
|
role: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1888,6 +2072,30 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1888
2072
|
}, z.core.$strict>>;
|
|
1889
2073
|
mapEmbedUrl: z.ZodOptional<z.ZodString>;
|
|
1890
2074
|
}, z.core.$strict>;
|
|
2075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2076
|
+
type: z.ZodLiteral<"deleteVenue">;
|
|
2077
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
2078
|
+
input: z.ZodObject<{
|
|
2079
|
+
slug: z.ZodString;
|
|
2080
|
+
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
2081
|
+
}, z.core.$strict>;
|
|
2082
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2083
|
+
type: z.ZodLiteral<"upsertEventCategory">;
|
|
2084
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
|
|
2085
|
+
input: z.ZodObject<{
|
|
2086
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
name: z.ZodString;
|
|
2088
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2089
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2090
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
2091
|
+
}, z.core.$strict>;
|
|
2092
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2093
|
+
type: z.ZodLiteral<"deleteEventCategory">;
|
|
2094
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
2095
|
+
input: z.ZodObject<{
|
|
2096
|
+
identifier: z.ZodString;
|
|
2097
|
+
eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
2098
|
+
}, z.core.$strict>;
|
|
1891
2099
|
}, z.core.$strict>, z.ZodObject<{
|
|
1892
2100
|
type: z.ZodLiteral<"upsertEventSeries">;
|
|
1893
2101
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
@@ -1901,6 +2109,12 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1901
2109
|
retreat: "retreat";
|
|
1902
2110
|
performance: "performance";
|
|
1903
2111
|
}>;
|
|
2112
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
2113
|
+
active: "active";
|
|
2114
|
+
cancelled: "cancelled";
|
|
2115
|
+
draft: "draft";
|
|
2116
|
+
archived: "archived";
|
|
2117
|
+
}>>;
|
|
1904
2118
|
visibility: z.ZodEnum<{
|
|
1905
2119
|
draft: "draft";
|
|
1906
2120
|
published: "published";
|
|
@@ -1909,6 +2123,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1909
2123
|
}>;
|
|
1910
2124
|
timezone: z.ZodString;
|
|
1911
2125
|
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
2126
|
+
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
2127
|
+
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
2128
|
+
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
2129
|
+
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
2130
|
+
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
1912
2131
|
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1913
2132
|
kind: z.ZodLiteral<"unlimited">;
|
|
1914
2133
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1940,10 +2159,13 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1940
2159
|
kind: z.ZodLiteral<"external">;
|
|
1941
2160
|
url: z.ZodString;
|
|
1942
2161
|
}, z.core.$strict>], "kind">;
|
|
2162
|
+
priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2163
|
+
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
2164
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
1943
2165
|
deliveryMode: z.ZodOptional<z.ZodEnum<{
|
|
1944
2166
|
in_person: "in_person";
|
|
1945
|
-
hybrid: "hybrid";
|
|
1946
2167
|
online: "online";
|
|
2168
|
+
hybrid: "hybrid";
|
|
1947
2169
|
}>>;
|
|
1948
2170
|
occurrences: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1949
2171
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1960,12 +2182,23 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1960
2182
|
content: z.ZodOptional<z.ZodObject<{
|
|
1961
2183
|
summary: z.ZodOptional<z.ZodString>;
|
|
1962
2184
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
2185
|
+
image: z.ZodOptional<z.ZodUnknown>;
|
|
1963
2186
|
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
1964
2187
|
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
1965
2188
|
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1966
2189
|
}, z.core.$strict>>;
|
|
2190
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2191
|
+
presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2192
|
+
tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1967
2193
|
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
1968
2194
|
}, z.core.$strict>;
|
|
2195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2196
|
+
type: z.ZodLiteral<"deleteEventSeries">;
|
|
2197
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
2198
|
+
input: z.ZodObject<{
|
|
2199
|
+
identifier: z.ZodString;
|
|
2200
|
+
eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
|
|
2201
|
+
}, z.core.$strict>;
|
|
1969
2202
|
}, z.core.$strict>, z.ZodObject<{
|
|
1970
2203
|
type: z.ZodLiteral<"upsertEventTicketType">;
|
|
1971
2204
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
|
|
@@ -1997,6 +2230,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
1997
2230
|
input: z.ZodObject<{
|
|
1998
2231
|
slug: z.ZodString;
|
|
1999
2232
|
title: z.ZodString;
|
|
2233
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
2234
|
+
active: "active";
|
|
2235
|
+
cancelled: "cancelled";
|
|
2236
|
+
draft: "draft";
|
|
2237
|
+
}>>;
|
|
2000
2238
|
visibility: z.ZodEnum<{
|
|
2001
2239
|
draft: "draft";
|
|
2002
2240
|
published: "published";
|
|
@@ -2005,12 +2243,18 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2005
2243
|
}>;
|
|
2006
2244
|
timezone: z.ZodString;
|
|
2007
2245
|
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
2246
|
+
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
2247
|
+
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
2248
|
+
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
2250
|
+
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
2008
2251
|
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2009
2252
|
kind: z.ZodLiteral<"unlimited">;
|
|
2010
2253
|
}, z.core.$strict>, z.ZodObject<{
|
|
2011
2254
|
kind: z.ZodLiteral<"limited">;
|
|
2012
2255
|
quantity: z.ZodNumber;
|
|
2013
2256
|
}, z.core.$strict>], "kind">>;
|
|
2257
|
+
enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2014
2258
|
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2015
2259
|
kind: z.ZodLiteral<"disabled">;
|
|
2016
2260
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2033,6 +2277,7 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2033
2277
|
kind: z.ZodLiteral<"external">;
|
|
2034
2278
|
url: z.ZodString;
|
|
2035
2279
|
}, z.core.$strict>], "kind">;
|
|
2280
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
2036
2281
|
sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2037
2282
|
title: z.ZodOptional<z.ZodString>;
|
|
2038
2283
|
startAt: z.ZodString;
|
|
@@ -2042,12 +2287,25 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2042
2287
|
content: z.ZodOptional<z.ZodObject<{
|
|
2043
2288
|
summary: z.ZodOptional<z.ZodString>;
|
|
2044
2289
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
2290
|
+
image: z.ZodOptional<z.ZodUnknown>;
|
|
2045
2291
|
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
2046
2292
|
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
2047
2293
|
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
2048
2294
|
}, z.core.$strict>>;
|
|
2295
|
+
programRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2296
|
+
program: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2297
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2298
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2299
|
+
}, z.core.$strict>>>;
|
|
2049
2300
|
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
2050
2301
|
}, z.core.$strict>;
|
|
2302
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2303
|
+
type: z.ZodLiteral<"deleteCourse">;
|
|
2304
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
2305
|
+
input: z.ZodObject<{
|
|
2306
|
+
identifier: z.ZodString;
|
|
2307
|
+
courseRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>>;
|
|
2308
|
+
}, z.core.$strict>;
|
|
2051
2309
|
}, z.core.$strict>, z.ZodObject<{
|
|
2052
2310
|
type: z.ZodLiteral<"upsertBookingPassProduct">;
|
|
2053
2311
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
|
|
@@ -2128,10 +2386,10 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2128
2386
|
membershipRef: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
2129
2387
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2130
2388
|
active: "active";
|
|
2131
|
-
trialing: "trialing";
|
|
2132
|
-
past_due: "past_due";
|
|
2133
|
-
canceled: "canceled";
|
|
2134
2389
|
paused: "paused";
|
|
2390
|
+
canceled: "canceled";
|
|
2391
|
+
past_due: "past_due";
|
|
2392
|
+
trialing: "trialing";
|
|
2135
2393
|
}>>;
|
|
2136
2394
|
currentPeriodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2137
2395
|
currentPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2164,8 +2422,8 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2164
2422
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
2165
2423
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>;
|
|
2166
2424
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2167
|
-
cancelled: "cancelled";
|
|
2168
2425
|
completed: "completed";
|
|
2426
|
+
cancelled: "cancelled";
|
|
2169
2427
|
enrolled: "enrolled";
|
|
2170
2428
|
}>>;
|
|
2171
2429
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -2238,9 +2496,9 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2238
2496
|
durationMinutes: z.ZodNumber;
|
|
2239
2497
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
2240
2498
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
2241
|
-
virtual: "virtual";
|
|
2242
2499
|
in_person: "in_person";
|
|
2243
2500
|
hybrid: "hybrid";
|
|
2501
|
+
virtual: "virtual";
|
|
2244
2502
|
}>>;
|
|
2245
2503
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2246
2504
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -2257,9 +2515,9 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2257
2515
|
durationMinutes: z.ZodNumber;
|
|
2258
2516
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
2259
2517
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
2260
|
-
virtual: "virtual";
|
|
2261
2518
|
in_person: "in_person";
|
|
2262
2519
|
hybrid: "hybrid";
|
|
2520
|
+
virtual: "virtual";
|
|
2263
2521
|
}>>;
|
|
2264
2522
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2265
2523
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -2276,9 +2534,9 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
2276
2534
|
durationMinutes: z.ZodNumber;
|
|
2277
2535
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
2278
2536
|
locationType: z.ZodDefault<z.ZodEnum<{
|
|
2279
|
-
virtual: "virtual";
|
|
2280
2537
|
in_person: "in_person";
|
|
2281
2538
|
hybrid: "hybrid";
|
|
2539
|
+
virtual: "virtual";
|
|
2282
2540
|
}>>;
|
|
2283
2541
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2284
2542
|
buffers: z.ZodOptional<z.ZodObject<{
|
|
@@ -2329,8 +2587,8 @@ export type SiteCommandOf<TType extends SiteCommandType> = SiteCommand extends i
|
|
|
2329
2587
|
} ? TCommand : never : never;
|
|
2330
2588
|
export type ContentEntryIdentifierCommand = SiteCommandOf<'upsertContentEntry' | 'publishContentEntry' | 'unpublishContentEntry' | 'deleteContentEntry'>;
|
|
2331
2589
|
export type PageIdentifierCommand = SiteCommandOf<'upsertPage' | 'publishPage' | 'unpublishPage'>;
|
|
2332
|
-
export type PageBlockIdentifierCommand = SiteCommandOf<'upsertPageBlock' | 'deletePageBlock'>;
|
|
2333
|
-
export type PageBlockPageIdentifierCommand = SiteCommandOf<'upsertPageBlock' | 'deletePageBlock' | 'reorderPageBlocks'>;
|
|
2590
|
+
export type PageBlockIdentifierCommand = SiteCommandOf<'upsertPageBlock' | 'patchPageBlockContent' | 'deletePageBlock'>;
|
|
2591
|
+
export type PageBlockPageIdentifierCommand = SiteCommandOf<'upsertPageBlock' | 'patchPageBlockContent' | 'deletePageBlock' | 'reorderPageBlocks'>;
|
|
2334
2592
|
export declare function entryIdentifierForCommand(command: ContentEntryIdentifierCommand): string;
|
|
2335
2593
|
export declare function pageIdentifierForCommand(command: PageIdentifierCommand): string;
|
|
2336
2594
|
export declare function pagePathForCommand(command: SiteCommandOf<'upsertPage'>): string;
|