@riverbankcms/sdk 0.62.2 → 0.64.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 +11 -0
- package/dist/_dts/api/src/accessAdmin.d.ts +71 -2
- package/dist/_dts/api/src/aiEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/billing.d.ts +46 -10
- package/dist/_dts/api/src/bookingClosures.d.ts +106 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +27 -1
- package/dist/_dts/api/src/calendar.d.ts +11 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +12 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -0
- package/dist/_dts/api/src/contentVersionHistory.d.ts +52 -0
- package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +45 -0
- package/dist/_dts/api/src/courses.d.ts +3 -0
- package/dist/_dts/api/src/endpoints.d.ts +133 -6
- package/dist/_dts/api/src/index.d.ts +12 -6
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +29 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +13 -1
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +31 -7
- package/dist/_dts/api/src/siteMembers.d.ts +10 -1
- package/dist/_dts/api/src/siteOnboarding.d.ts +4 -0
- package/dist/_dts/api/src/siteOperations.d.ts +10 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +62 -12
- package/dist/_dts/api/src/types.d.ts +4 -2
- package/dist/_dts/api/src/url.d.ts +3 -3
- package/dist/_dts/billing/src/plans/registry.d.ts +1 -0
- package/dist/_dts/billing/src/plans/types.d.ts +9 -0
- package/dist/_dts/block-form/src/FormRenderer.d.ts +38 -0
- package/dist/_dts/block-form/src/backend/adapter.d.ts +7 -0
- package/dist/_dts/block-form/src/backend/hooks/useRepeaterBackend.d.ts +34 -0
- package/dist/_dts/block-form/src/backend/hooks.d.ts +66 -0
- package/dist/_dts/block-form/src/backend/index.d.ts +12 -0
- package/dist/_dts/block-form/src/backend/rhf-backend.d.ts +34 -0
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +60 -0
- package/dist/_dts/block-form/src/backend/types.d.ts +137 -0
- package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +22 -0
- package/dist/_dts/block-form/src/backend/utils/getErrorMessage.d.ts +1 -0
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +70 -0
- package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +1 -0
- package/dist/_dts/block-form/src/client/index.d.ts +30 -0
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +29 -0
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +33 -0
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +30 -0
- package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -0
- package/dist/_dts/block-form/src/context/index.d.ts +4 -0
- package/dist/_dts/block-form/src/fields/props.d.ts +48 -0
- package/dist/_dts/block-form/src/fields/types.d.ts +223 -0
- package/dist/_dts/block-form/src/index.d.ts +22 -0
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +37 -0
- package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +5 -0
- package/dist/_dts/block-form/src/manifest/filterSdkTabs.d.ts +44 -0
- package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +61 -0
- package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +24 -0
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +11 -0
- package/dist/_dts/block-form/src/registry/schemas.d.ts +105 -0
- package/dist/_dts/block-form/src/registry/widgets.d.ts +59 -0
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +110 -0
- package/dist/_dts/block-form/src/sdk-config/hooks.d.ts +21 -0
- package/dist/_dts/block-form/src/sdk-config/index.d.ts +2 -0
- package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -0
- package/dist/_dts/block-form/src/shared/hooks/index.d.ts +2 -0
- package/dist/_dts/block-form/src/shared/hooks/useCoarsePointer.d.ts +5 -0
- package/dist/_dts/block-form/src/shared/hooks/useContainerWidth.d.ts +6 -0
- package/dist/_dts/block-form/src/utils/VisibilityWrapper.d.ts +25 -0
- package/dist/_dts/block-form/src/utils/computeWatchedPath.d.ts +18 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +9 -0
- package/dist/_dts/block-form/src/utils/fieldHelpers.d.ts +94 -0
- package/dist/_dts/block-form/src/utils/resolvePromotedFields.d.ts +22 -0
- package/dist/_dts/block-form/src/utils/slug.d.ts +3 -0
- package/dist/_dts/block-form/src/utils/typeGuards.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorField.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientField.d.ts +13 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/booleanFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/booleanFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BoxStyleWidget/BoxStyleWidget.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/BoxStyleWidget/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/ContentTypeSelectField/contentTypeSelectFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/ContentTypeSelectField/contentTypeSelectFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/DateField/dateFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/DateField/dateFieldSchema.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +32 -0
- package/dist/_dts/block-form/src/widgets/DateField/index.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +30 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/dateTimeFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/dateTimeFieldSchema.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/index.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/utils/dateTimeUtils.d.ts +22 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/utils/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/EntryPickerField/entryPickerFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/EntryPickerField/entryPickerFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/Field.d.ts +21 -0
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +32 -0
- package/dist/_dts/block-form/src/widgets/FieldSettingsModal/FieldSettingsModal.d.ts +34 -0
- package/dist/_dts/block-form/src/widgets/FieldSettingsModal/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/GroupField/GroupField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/GroupField/groupFieldDefaults.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/GroupField/groupFieldSchema.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/GroupField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/LinkField/linkFieldDefaults.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/LinkField/linkFieldSchema.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/MediaField/mediaFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/MediaField/mediaFieldSchema.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/ModalGroupField.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/modalFieldDefaults.d.ts +18 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/modalFieldSchema.d.ts +14 -0
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/NumberField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/NumberField/numberFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/NumberField/numberFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/index.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/presetOrCustomFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/presetOrCustomFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/types.d.ts +37 -0
- package/dist/_dts/block-form/src/widgets/ReferenceField/referenceFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/ReferenceField/referenceFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/RepeaterField.d.ts +26 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterDragHandle.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterError.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterHeader.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +27 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +19 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowContent.d.ts +19 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterTabbedEditDialog.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailCard.d.ts +26 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailGrid.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/index.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +34 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/layoutGridCapacityDecision.d.ts +22 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridCapacity.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLinearRepeaterDnd.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterRowErrors.d.ts +12 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterVisibility.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useResolvedItemLabel.d.ts +12 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/repeaterFieldDefaults.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/repeaterFieldSchema.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildItemLabel.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/createDefaultItem.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/getRepeaterItemFieldGroups.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/getRepeaterItemFields.d.ts +22 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/index.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/layoutGridCapacityContext.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +43 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +24 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +12 -0
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldDefaults.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/SdkSelectField/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/SelectField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/SelectField/selectFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/SelectField/selectFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +34 -0
- package/dist/_dts/block-form/src/widgets/SettingsModal/SettingsModal.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/SettingsModal/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/SliderField/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/SlugField/SlugField.d.ts +39 -0
- package/dist/_dts/block-form/src/widgets/SlugField/hooks/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/SlugField/hooks/useSlugAutoGeneration.d.ts +29 -0
- package/dist/_dts/block-form/src/widgets/SlugField/index.d.ts +5 -0
- package/dist/_dts/block-form/src/widgets/SlugField/slugFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/SlugField/slugFieldSchema.d.ts +14 -0
- package/dist/_dts/block-form/src/widgets/SlugField/utils/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/SlugField/utils/pathUtils.d.ts +30 -0
- package/dist/_dts/block-form/src/widgets/SlugField/utils/slugUtils.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/TabGroupField.d.ts +13 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/tabGroupFieldSchema.d.ts +25 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/types.d.ts +46 -0
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/TextField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/TextField/textFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/TextField/textFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/TimeField/TimeField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/TimeField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/TimeField/timeFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/TimeField/timeFieldSchema.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/UrlField/UrlField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/UrlField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/UrlField/urlFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/UrlField/urlFieldSchema.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/constants.d.ts +58 -0
- package/dist/_dts/block-form/src/widgets/groupFieldHelpers.d.ts +61 -0
- package/dist/_dts/block-form/src/widgets/index.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/selectValueMapping.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/types/modalConfig.d.ts +18 -0
- package/dist/_dts/block-form/src/widgets/utils/readNumericUiConfig.d.ts +10 -0
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +25 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +6 -6
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- 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/fragments/library/card.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +19 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +8 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/themeColorResolution.d.ts +7 -0
- package/dist/_dts/calendar/src/grid.d.ts +60 -0
- package/dist/_dts/calendar/src/group.d.ts +14 -0
- package/dist/_dts/calendar/src/index.d.ts +6 -0
- package/dist/_dts/calendar/src/lane-packing.d.ts +28 -0
- package/dist/_dts/calendar/src/timetable.d.ts +90 -0
- package/dist/_dts/calendar/src/timezone.d.ts +19 -0
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +24 -0
- package/dist/_dts/content-editor/src/index.d.ts +2 -4
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +1 -0
- package/dist/_dts/core/src/branded.d.ts +18 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1192 -234
- package/dist/_dts/db/src/schemas/forms.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +7 -7
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -2
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/index.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +31 -8
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +6 -5
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +72 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +6 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +12 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +10 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +49 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +15 -2
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControlStyles.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +9 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +8 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +49 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +18 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +5 -0
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +17 -0
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +6 -0
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +77 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +45 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +21 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +30 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +9 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +50 -0
- package/dist/_dts/sdk/src/cli/merge-remote/stableJson.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +85 -0
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +30 -0
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +23 -0
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +8 -0
- package/dist/_dts/site-commands/src/commands.d.ts +1944 -0
- package/dist/_dts/site-commands/src/domain.d.ts +104 -0
- package/dist/_dts/site-commands/src/guards.d.ts +1 -0
- package/dist/_dts/site-commands/src/index.d.ts +9 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +412 -0
- package/dist/_dts/site-commands/src/planner.d.ts +51 -0
- package/dist/_dts/site-commands/src/refContributions.d.ts +10 -0
- package/dist/_dts/site-commands/src/refs.d.ts +75 -0
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +10 -0
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- 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/palette/variants/types.d.ts +2 -21
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -67
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -62
- package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +24 -0
- package/dist/_dts/theme-core/src/site-styles/customizableSurfaces.d.ts +94 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +59 -0
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +155 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +7 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +15 -1
- package/dist/_dts/theme-core/src/site-styles/records.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +96 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +1 -2
- package/dist/_dts/theme-core/src/siteChrome.d.ts +44 -2
- package/dist/_dts/theme-core/src/tokens/colorTokenParts.d.ts +13 -0
- package/dist/_dts/theme-core/src/tokens/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +29 -0
- package/dist/_dts/theme-core/src/utils/tokenOrColor.d.ts +27 -1
- package/dist/cli/index.mjs +5049 -932
- package/dist/cli/init-docs/content/cli-reference.md +18 -0
- package/dist/client/bookings.mjs +544 -393
- package/dist/client/client.mjs +5189 -4144
- package/dist/client/hooks.mjs +3233 -2540
- package/dist/client/rendering/client.mjs +4649 -3597
- package/dist/client/rendering/islands.mjs +19533 -13480
- package/dist/client/rendering.mjs +5218 -4171
- package/dist/preview-next/before-render.mjs +161 -6
- package/dist/preview-next/client/runtime.mjs +5676 -3565
- package/dist/preview-next/editor-base.css +31 -0
- package/dist/preview-next/middleware.mjs +154 -6
- package/dist/server/components.mjs +3333 -2575
- package/dist/server/config-validation.mjs +3447 -2754
- package/dist/server/config.mjs +3450 -2757
- package/dist/server/data.mjs +3233 -2540
- package/dist/server/index.mjs +730 -543
- package/dist/server/next.mjs +3651 -2893
- package/dist/server/page-converter.mjs +2512 -2031
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3333 -2575
- package/dist/server/rendering.mjs +3352 -2594
- package/dist/server/routing.mjs +3351 -2640
- package/dist/server/server.mjs +3262 -2569
- package/dist/server/theme-bridge.mjs +1260 -767
- package/dist/server/theme.mjs +623 -498
- package/dist/styles/index.css +33 -0
- package/package.json +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/colorResolution.d.ts +0 -13
- package/dist/_dts/content-editor/src/ai/patch/allowed.d.ts +0 -2
- package/dist/_dts/content-editor/src/ai/patch/diff.d.ts +0 -17
- package/dist/_dts/content-editor/src/ai/patch/schema.d.ts +0 -49
- package/dist/_dts/preview-next/src/client/blocks/overlay.d.ts +0 -30
- package/dist/_dts/theme-core/src/site-styles/siteChromeAppearancePresets.d.ts +0 -67
|
@@ -424,6 +424,8 @@ export type Database = {
|
|
|
424
424
|
};
|
|
425
425
|
appointment_availability_rules: {
|
|
426
426
|
Row: {
|
|
427
|
+
command_batch_ref: string | null;
|
|
428
|
+
command_owner_ref: string | null;
|
|
427
429
|
created_at: string;
|
|
428
430
|
end_time: string;
|
|
429
431
|
id: string;
|
|
@@ -435,6 +437,8 @@ export type Database = {
|
|
|
435
437
|
weekday: number;
|
|
436
438
|
};
|
|
437
439
|
Insert: {
|
|
440
|
+
command_batch_ref?: string | null;
|
|
441
|
+
command_owner_ref?: string | null;
|
|
438
442
|
created_at?: string;
|
|
439
443
|
end_time: string;
|
|
440
444
|
id?: string;
|
|
@@ -446,6 +450,8 @@ export type Database = {
|
|
|
446
450
|
weekday: number;
|
|
447
451
|
};
|
|
448
452
|
Update: {
|
|
453
|
+
command_batch_ref?: string | null;
|
|
454
|
+
command_owner_ref?: string | null;
|
|
449
455
|
created_at?: string;
|
|
450
456
|
end_time?: string;
|
|
451
457
|
id?: string;
|
|
@@ -985,6 +991,168 @@ export type Database = {
|
|
|
985
991
|
}
|
|
986
992
|
];
|
|
987
993
|
};
|
|
994
|
+
billing_component_registrar_attempts: {
|
|
995
|
+
Row: {
|
|
996
|
+
billing_component_id: string;
|
|
997
|
+
completed_at: string | null;
|
|
998
|
+
created_at: string;
|
|
999
|
+
domain: string;
|
|
1000
|
+
id: string;
|
|
1001
|
+
idempotency_key: string;
|
|
1002
|
+
last_error: string | null;
|
|
1003
|
+
provider: string;
|
|
1004
|
+
provider_response_code: number | null;
|
|
1005
|
+
registrar_order_id: string | null;
|
|
1006
|
+
site_domain_id: string | null;
|
|
1007
|
+
site_id: string | null;
|
|
1008
|
+
started_at: string;
|
|
1009
|
+
status: Database["public"]["Enums"]["billing_component_registrar_attempt_status"];
|
|
1010
|
+
updated_at: string;
|
|
1011
|
+
user_id: string;
|
|
1012
|
+
};
|
|
1013
|
+
Insert: {
|
|
1014
|
+
billing_component_id: string;
|
|
1015
|
+
completed_at?: string | null;
|
|
1016
|
+
created_at?: string;
|
|
1017
|
+
domain: string;
|
|
1018
|
+
id?: string;
|
|
1019
|
+
idempotency_key: string;
|
|
1020
|
+
last_error?: string | null;
|
|
1021
|
+
provider: string;
|
|
1022
|
+
provider_response_code?: number | null;
|
|
1023
|
+
registrar_order_id?: string | null;
|
|
1024
|
+
site_domain_id?: string | null;
|
|
1025
|
+
site_id?: string | null;
|
|
1026
|
+
started_at?: string;
|
|
1027
|
+
status?: Database["public"]["Enums"]["billing_component_registrar_attempt_status"];
|
|
1028
|
+
updated_at?: string;
|
|
1029
|
+
user_id: string;
|
|
1030
|
+
};
|
|
1031
|
+
Update: {
|
|
1032
|
+
billing_component_id?: string;
|
|
1033
|
+
completed_at?: string | null;
|
|
1034
|
+
created_at?: string;
|
|
1035
|
+
domain?: string;
|
|
1036
|
+
id?: string;
|
|
1037
|
+
idempotency_key?: string;
|
|
1038
|
+
last_error?: string | null;
|
|
1039
|
+
provider?: string;
|
|
1040
|
+
provider_response_code?: number | null;
|
|
1041
|
+
registrar_order_id?: string | null;
|
|
1042
|
+
site_domain_id?: string | null;
|
|
1043
|
+
site_id?: string | null;
|
|
1044
|
+
started_at?: string;
|
|
1045
|
+
status?: Database["public"]["Enums"]["billing_component_registrar_attempt_status"];
|
|
1046
|
+
updated_at?: string;
|
|
1047
|
+
user_id?: string;
|
|
1048
|
+
};
|
|
1049
|
+
Relationships: [
|
|
1050
|
+
{
|
|
1051
|
+
foreignKeyName: "billing_component_registrar_attempts_billing_component_id_fkey";
|
|
1052
|
+
columns: ["billing_component_id"];
|
|
1053
|
+
isOneToOne: false;
|
|
1054
|
+
referencedRelation: "billing_components";
|
|
1055
|
+
referencedColumns: ["id"];
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
foreignKeyName: "billing_component_registrar_attempts_site_domain_id_fkey";
|
|
1059
|
+
columns: ["site_domain_id"];
|
|
1060
|
+
isOneToOne: false;
|
|
1061
|
+
referencedRelation: "site_domains";
|
|
1062
|
+
referencedColumns: ["id"];
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
foreignKeyName: "billing_component_registrar_attempts_site_id_fkey";
|
|
1066
|
+
columns: ["site_id"];
|
|
1067
|
+
isOneToOne: false;
|
|
1068
|
+
referencedRelation: "sites";
|
|
1069
|
+
referencedColumns: ["id"];
|
|
1070
|
+
}
|
|
1071
|
+
];
|
|
1072
|
+
};
|
|
1073
|
+
billing_components: {
|
|
1074
|
+
Row: {
|
|
1075
|
+
accepted_at: string | null;
|
|
1076
|
+
accepted_by: string | null;
|
|
1077
|
+
amount_cents: number;
|
|
1078
|
+
created_at: string;
|
|
1079
|
+
currency: string;
|
|
1080
|
+
ends_at: string | null;
|
|
1081
|
+
id: string;
|
|
1082
|
+
idempotency_key: string;
|
|
1083
|
+
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
1084
|
+
kind: Database["public"]["Enums"]["billing_component_kind"];
|
|
1085
|
+
last_registrar_error: string | null;
|
|
1086
|
+
last_sync_error: string | null;
|
|
1087
|
+
pending_source_key: string;
|
|
1088
|
+
pricing_snapshot: Json;
|
|
1089
|
+
site_id: string | null;
|
|
1090
|
+
snapshot_hash: string;
|
|
1091
|
+
source_entity_id: string | null;
|
|
1092
|
+
source_entity_type: Database["public"]["Enums"]["billing_component_source_entity_type"];
|
|
1093
|
+
starts_at: string | null;
|
|
1094
|
+
status: Database["public"]["Enums"]["billing_component_status"];
|
|
1095
|
+
updated_at: string;
|
|
1096
|
+
user_id: string;
|
|
1097
|
+
};
|
|
1098
|
+
Insert: {
|
|
1099
|
+
accepted_at?: string | null;
|
|
1100
|
+
accepted_by?: string | null;
|
|
1101
|
+
amount_cents: number;
|
|
1102
|
+
created_at?: string;
|
|
1103
|
+
currency: string;
|
|
1104
|
+
ends_at?: string | null;
|
|
1105
|
+
id?: string;
|
|
1106
|
+
idempotency_key: string;
|
|
1107
|
+
interval: Database["public"]["Enums"]["plan_price_interval"];
|
|
1108
|
+
kind: Database["public"]["Enums"]["billing_component_kind"];
|
|
1109
|
+
last_registrar_error?: string | null;
|
|
1110
|
+
last_sync_error?: string | null;
|
|
1111
|
+
pending_source_key: string;
|
|
1112
|
+
pricing_snapshot?: Json;
|
|
1113
|
+
site_id?: string | null;
|
|
1114
|
+
snapshot_hash: string;
|
|
1115
|
+
source_entity_id?: string | null;
|
|
1116
|
+
source_entity_type: Database["public"]["Enums"]["billing_component_source_entity_type"];
|
|
1117
|
+
starts_at?: string | null;
|
|
1118
|
+
status?: Database["public"]["Enums"]["billing_component_status"];
|
|
1119
|
+
updated_at?: string;
|
|
1120
|
+
user_id: string;
|
|
1121
|
+
};
|
|
1122
|
+
Update: {
|
|
1123
|
+
accepted_at?: string | null;
|
|
1124
|
+
accepted_by?: string | null;
|
|
1125
|
+
amount_cents?: number;
|
|
1126
|
+
created_at?: string;
|
|
1127
|
+
currency?: string;
|
|
1128
|
+
ends_at?: string | null;
|
|
1129
|
+
id?: string;
|
|
1130
|
+
idempotency_key?: string;
|
|
1131
|
+
interval?: Database["public"]["Enums"]["plan_price_interval"];
|
|
1132
|
+
kind?: Database["public"]["Enums"]["billing_component_kind"];
|
|
1133
|
+
last_registrar_error?: string | null;
|
|
1134
|
+
last_sync_error?: string | null;
|
|
1135
|
+
pending_source_key?: string;
|
|
1136
|
+
pricing_snapshot?: Json;
|
|
1137
|
+
site_id?: string | null;
|
|
1138
|
+
snapshot_hash?: string;
|
|
1139
|
+
source_entity_id?: string | null;
|
|
1140
|
+
source_entity_type?: Database["public"]["Enums"]["billing_component_source_entity_type"];
|
|
1141
|
+
starts_at?: string | null;
|
|
1142
|
+
status?: Database["public"]["Enums"]["billing_component_status"];
|
|
1143
|
+
updated_at?: string;
|
|
1144
|
+
user_id?: string;
|
|
1145
|
+
};
|
|
1146
|
+
Relationships: [
|
|
1147
|
+
{
|
|
1148
|
+
foreignKeyName: "billing_components_site_id_fkey";
|
|
1149
|
+
columns: ["site_id"];
|
|
1150
|
+
isOneToOne: false;
|
|
1151
|
+
referencedRelation: "sites";
|
|
1152
|
+
referencedColumns: ["id"];
|
|
1153
|
+
}
|
|
1154
|
+
];
|
|
1155
|
+
};
|
|
988
1156
|
billing_customers: {
|
|
989
1157
|
Row: {
|
|
990
1158
|
created_at: string;
|
|
@@ -1300,89 +1468,68 @@ export type Database = {
|
|
|
1300
1468
|
}
|
|
1301
1469
|
];
|
|
1302
1470
|
};
|
|
1303
|
-
|
|
1471
|
+
booking_closure_notification_jobs: {
|
|
1304
1472
|
Row: {
|
|
1305
|
-
|
|
1473
|
+
attendee_id: string;
|
|
1474
|
+
closure_id: string;
|
|
1306
1475
|
created_at: string;
|
|
1307
|
-
credits_restored: number;
|
|
1308
|
-
customer_id: string;
|
|
1309
|
-
customer_pass_id: string;
|
|
1310
1476
|
id: string;
|
|
1311
1477
|
idempotency_key: string;
|
|
1312
|
-
|
|
1313
|
-
metadata: Json;
|
|
1314
|
-
reason: string | null;
|
|
1315
|
-
restored_at: string;
|
|
1316
|
-
settlement_outcome: string;
|
|
1478
|
+
occurrence_id: string;
|
|
1317
1479
|
site_id: string;
|
|
1318
|
-
|
|
1319
|
-
subject_kind: string;
|
|
1480
|
+
transactional_email_job_id: string;
|
|
1320
1481
|
};
|
|
1321
1482
|
Insert: {
|
|
1322
|
-
|
|
1483
|
+
attendee_id: string;
|
|
1484
|
+
closure_id: string;
|
|
1323
1485
|
created_at?: string;
|
|
1324
|
-
credits_restored: number;
|
|
1325
|
-
customer_id: string;
|
|
1326
|
-
customer_pass_id: string;
|
|
1327
1486
|
id?: string;
|
|
1328
1487
|
idempotency_key: string;
|
|
1329
|
-
|
|
1330
|
-
metadata?: Json;
|
|
1331
|
-
reason?: string | null;
|
|
1332
|
-
restored_at?: string;
|
|
1333
|
-
settlement_outcome?: string;
|
|
1488
|
+
occurrence_id: string;
|
|
1334
1489
|
site_id: string;
|
|
1335
|
-
|
|
1336
|
-
subject_kind: string;
|
|
1490
|
+
transactional_email_job_id: string;
|
|
1337
1491
|
};
|
|
1338
1492
|
Update: {
|
|
1339
|
-
|
|
1493
|
+
attendee_id?: string;
|
|
1494
|
+
closure_id?: string;
|
|
1340
1495
|
created_at?: string;
|
|
1341
|
-
credits_restored?: number;
|
|
1342
|
-
customer_id?: string;
|
|
1343
|
-
customer_pass_id?: string;
|
|
1344
1496
|
id?: string;
|
|
1345
1497
|
idempotency_key?: string;
|
|
1346
|
-
|
|
1347
|
-
metadata?: Json;
|
|
1348
|
-
reason?: string | null;
|
|
1349
|
-
restored_at?: string;
|
|
1350
|
-
settlement_outcome?: string;
|
|
1498
|
+
occurrence_id?: string;
|
|
1351
1499
|
site_id?: string;
|
|
1352
|
-
|
|
1353
|
-
subject_kind?: string;
|
|
1500
|
+
transactional_email_job_id?: string;
|
|
1354
1501
|
};
|
|
1355
1502
|
Relationships: [
|
|
1356
1503
|
{
|
|
1357
|
-
foreignKeyName: "
|
|
1358
|
-
columns: ["
|
|
1504
|
+
foreignKeyName: "booking_closure_notification_jo_transactional_email_job_id_fkey";
|
|
1505
|
+
columns: ["transactional_email_job_id"];
|
|
1359
1506
|
isOneToOne: false;
|
|
1360
|
-
referencedRelation: "
|
|
1507
|
+
referencedRelation: "transactional_email_jobs";
|
|
1361
1508
|
referencedColumns: ["id"];
|
|
1362
1509
|
},
|
|
1363
1510
|
{
|
|
1364
|
-
foreignKeyName: "
|
|
1365
|
-
columns: ["
|
|
1511
|
+
foreignKeyName: "booking_closure_notification_jobs_attendee_id_fkey";
|
|
1512
|
+
columns: ["attendee_id"];
|
|
1366
1513
|
isOneToOne: false;
|
|
1367
|
-
referencedRelation: "
|
|
1514
|
+
referencedRelation: "event_attendees";
|
|
1368
1515
|
referencedColumns: ["id"];
|
|
1369
1516
|
},
|
|
1370
1517
|
{
|
|
1371
|
-
foreignKeyName: "
|
|
1372
|
-
columns: ["
|
|
1518
|
+
foreignKeyName: "booking_closure_notification_jobs_closure_id_fkey";
|
|
1519
|
+
columns: ["closure_id"];
|
|
1373
1520
|
isOneToOne: false;
|
|
1374
|
-
referencedRelation: "
|
|
1521
|
+
referencedRelation: "booking_closures";
|
|
1375
1522
|
referencedColumns: ["id"];
|
|
1376
1523
|
},
|
|
1377
1524
|
{
|
|
1378
|
-
foreignKeyName: "
|
|
1379
|
-
columns: ["
|
|
1525
|
+
foreignKeyName: "booking_closure_notification_jobs_occurrence_id_fkey";
|
|
1526
|
+
columns: ["occurrence_id"];
|
|
1380
1527
|
isOneToOne: false;
|
|
1381
|
-
referencedRelation: "
|
|
1528
|
+
referencedRelation: "event_occurrences";
|
|
1382
1529
|
referencedColumns: ["id"];
|
|
1383
1530
|
},
|
|
1384
1531
|
{
|
|
1385
|
-
foreignKeyName: "
|
|
1532
|
+
foreignKeyName: "booking_closure_notification_jobs_site_id_fkey";
|
|
1386
1533
|
columns: ["site_id"];
|
|
1387
1534
|
isOneToOne: false;
|
|
1388
1535
|
referencedRelation: "sites";
|
|
@@ -1390,90 +1537,57 @@ export type Database = {
|
|
|
1390
1537
|
}
|
|
1391
1538
|
];
|
|
1392
1539
|
};
|
|
1393
|
-
|
|
1540
|
+
booking_closure_occurrence_actions: {
|
|
1394
1541
|
Row: {
|
|
1395
|
-
|
|
1542
|
+
action_type: string;
|
|
1543
|
+
cancellation_state: string;
|
|
1544
|
+
closure_id: string;
|
|
1396
1545
|
created_at: string;
|
|
1397
|
-
credit_reservation_id: string | null;
|
|
1398
|
-
currency: string;
|
|
1399
|
-
customer_id: string;
|
|
1400
|
-
failure_code: string | null;
|
|
1401
|
-
failure_message: string | null;
|
|
1402
1546
|
id: string;
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
payment_last4: string | null;
|
|
1406
|
-
reason: string | null;
|
|
1547
|
+
last_error: string | null;
|
|
1548
|
+
occurrence_id: string;
|
|
1407
1549
|
site_id: string;
|
|
1408
|
-
|
|
1409
|
-
source_refund_type: string;
|
|
1410
|
-
status: string;
|
|
1411
|
-
stripe_account_id: string | null;
|
|
1412
|
-
stripe_checkout_session_id: string | null;
|
|
1413
|
-
stripe_payment_intent_id: string | null;
|
|
1414
|
-
stripe_refund_id: string | null;
|
|
1550
|
+
updated_at: string;
|
|
1415
1551
|
};
|
|
1416
1552
|
Insert: {
|
|
1417
|
-
|
|
1553
|
+
action_type?: string;
|
|
1554
|
+
cancellation_state?: string;
|
|
1555
|
+
closure_id: string;
|
|
1418
1556
|
created_at?: string;
|
|
1419
|
-
credit_reservation_id?: string | null;
|
|
1420
|
-
currency: string;
|
|
1421
|
-
customer_id: string;
|
|
1422
|
-
failure_code?: string | null;
|
|
1423
|
-
failure_message?: string | null;
|
|
1424
1557
|
id?: string;
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
payment_last4?: string | null;
|
|
1428
|
-
reason?: string | null;
|
|
1558
|
+
last_error?: string | null;
|
|
1559
|
+
occurrence_id: string;
|
|
1429
1560
|
site_id: string;
|
|
1430
|
-
|
|
1431
|
-
source_refund_type: string;
|
|
1432
|
-
status?: string;
|
|
1433
|
-
stripe_account_id?: string | null;
|
|
1434
|
-
stripe_checkout_session_id?: string | null;
|
|
1435
|
-
stripe_payment_intent_id?: string | null;
|
|
1436
|
-
stripe_refund_id?: string | null;
|
|
1561
|
+
updated_at?: string;
|
|
1437
1562
|
};
|
|
1438
1563
|
Update: {
|
|
1439
|
-
|
|
1564
|
+
action_type?: string;
|
|
1565
|
+
cancellation_state?: string;
|
|
1566
|
+
closure_id?: string;
|
|
1440
1567
|
created_at?: string;
|
|
1441
|
-
credit_reservation_id?: string | null;
|
|
1442
|
-
currency?: string;
|
|
1443
|
-
customer_id?: string;
|
|
1444
|
-
failure_code?: string | null;
|
|
1445
|
-
failure_message?: string | null;
|
|
1446
1568
|
id?: string;
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
payment_last4?: string | null;
|
|
1450
|
-
reason?: string | null;
|
|
1569
|
+
last_error?: string | null;
|
|
1570
|
+
occurrence_id?: string;
|
|
1451
1571
|
site_id?: string;
|
|
1452
|
-
|
|
1453
|
-
source_refund_type?: string;
|
|
1454
|
-
status?: string;
|
|
1455
|
-
stripe_account_id?: string | null;
|
|
1456
|
-
stripe_checkout_session_id?: string | null;
|
|
1457
|
-
stripe_payment_intent_id?: string | null;
|
|
1458
|
-
stripe_refund_id?: string | null;
|
|
1572
|
+
updated_at?: string;
|
|
1459
1573
|
};
|
|
1460
1574
|
Relationships: [
|
|
1461
1575
|
{
|
|
1462
|
-
foreignKeyName: "
|
|
1463
|
-
columns: ["
|
|
1576
|
+
foreignKeyName: "booking_closure_occurrence_actions_closure_id_fkey";
|
|
1577
|
+
columns: ["closure_id"];
|
|
1464
1578
|
isOneToOne: false;
|
|
1465
|
-
referencedRelation: "
|
|
1579
|
+
referencedRelation: "booking_closures";
|
|
1466
1580
|
referencedColumns: ["id"];
|
|
1467
1581
|
},
|
|
1468
1582
|
{
|
|
1469
|
-
foreignKeyName: "
|
|
1470
|
-
columns: ["
|
|
1583
|
+
foreignKeyName: "booking_closure_occurrence_actions_occurrence_id_fkey";
|
|
1584
|
+
columns: ["occurrence_id"];
|
|
1471
1585
|
isOneToOne: false;
|
|
1472
|
-
referencedRelation: "
|
|
1586
|
+
referencedRelation: "event_occurrences";
|
|
1473
1587
|
referencedColumns: ["id"];
|
|
1474
1588
|
},
|
|
1475
1589
|
{
|
|
1476
|
-
foreignKeyName: "
|
|
1590
|
+
foreignKeyName: "booking_closure_occurrence_actions_site_id_fkey";
|
|
1477
1591
|
columns: ["site_id"];
|
|
1478
1592
|
isOneToOne: false;
|
|
1479
1593
|
referencedRelation: "sites";
|
|
@@ -1481,16 +1595,266 @@ export type Database = {
|
|
|
1481
1595
|
}
|
|
1482
1596
|
];
|
|
1483
1597
|
};
|
|
1484
|
-
|
|
1598
|
+
booking_closures: {
|
|
1485
1599
|
Row: {
|
|
1486
|
-
amount_cents: number;
|
|
1487
|
-
consumed_at: string | null;
|
|
1488
|
-
course_enrollment_id: string | null;
|
|
1489
1600
|
created_at: string;
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1601
|
+
created_by_user_id: string | null;
|
|
1602
|
+
deleted_at: string | null;
|
|
1603
|
+
deleted_by_user_id: string | null;
|
|
1604
|
+
ends_on: string;
|
|
1605
|
+
id: string;
|
|
1606
|
+
metadata: Json;
|
|
1607
|
+
name: string | null;
|
|
1608
|
+
reason: string;
|
|
1609
|
+
scope_type: string;
|
|
1610
|
+
site_id: string;
|
|
1611
|
+
starts_on: string;
|
|
1612
|
+
timezone: string;
|
|
1613
|
+
updated_at: string;
|
|
1614
|
+
venue_id: string | null;
|
|
1615
|
+
};
|
|
1616
|
+
Insert: {
|
|
1617
|
+
created_at?: string;
|
|
1618
|
+
created_by_user_id?: string | null;
|
|
1619
|
+
deleted_at?: string | null;
|
|
1620
|
+
deleted_by_user_id?: string | null;
|
|
1621
|
+
ends_on: string;
|
|
1622
|
+
id?: string;
|
|
1623
|
+
metadata?: Json;
|
|
1624
|
+
name?: string | null;
|
|
1625
|
+
reason: string;
|
|
1626
|
+
scope_type: string;
|
|
1627
|
+
site_id: string;
|
|
1628
|
+
starts_on: string;
|
|
1629
|
+
timezone: string;
|
|
1630
|
+
updated_at?: string;
|
|
1631
|
+
venue_id?: string | null;
|
|
1632
|
+
};
|
|
1633
|
+
Update: {
|
|
1634
|
+
created_at?: string;
|
|
1635
|
+
created_by_user_id?: string | null;
|
|
1636
|
+
deleted_at?: string | null;
|
|
1637
|
+
deleted_by_user_id?: string | null;
|
|
1638
|
+
ends_on?: string;
|
|
1639
|
+
id?: string;
|
|
1640
|
+
metadata?: Json;
|
|
1641
|
+
name?: string | null;
|
|
1642
|
+
reason?: string;
|
|
1643
|
+
scope_type?: string;
|
|
1644
|
+
site_id?: string;
|
|
1645
|
+
starts_on?: string;
|
|
1646
|
+
timezone?: string;
|
|
1647
|
+
updated_at?: string;
|
|
1648
|
+
venue_id?: string | null;
|
|
1649
|
+
};
|
|
1650
|
+
Relationships: [
|
|
1651
|
+
{
|
|
1652
|
+
foreignKeyName: "booking_closures_site_id_fkey";
|
|
1653
|
+
columns: ["site_id"];
|
|
1654
|
+
isOneToOne: false;
|
|
1655
|
+
referencedRelation: "sites";
|
|
1656
|
+
referencedColumns: ["id"];
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
foreignKeyName: "booking_closures_venue_id_fkey";
|
|
1660
|
+
columns: ["venue_id"];
|
|
1661
|
+
isOneToOne: false;
|
|
1662
|
+
referencedRelation: "venues";
|
|
1663
|
+
referencedColumns: ["id"];
|
|
1664
|
+
}
|
|
1665
|
+
];
|
|
1666
|
+
};
|
|
1667
|
+
booking_credit_restorations: {
|
|
1668
|
+
Row: {
|
|
1669
|
+
actor_kind: string;
|
|
1670
|
+
created_at: string;
|
|
1671
|
+
credits_restored: number;
|
|
1672
|
+
customer_id: string;
|
|
1673
|
+
customer_pass_id: string;
|
|
1674
|
+
id: string;
|
|
1675
|
+
idempotency_key: string;
|
|
1676
|
+
legacy_pass_redemption_id: string | null;
|
|
1677
|
+
metadata: Json;
|
|
1678
|
+
reason: string | null;
|
|
1679
|
+
restored_at: string;
|
|
1680
|
+
settlement_outcome: string;
|
|
1681
|
+
site_id: string;
|
|
1682
|
+
subject_id: string;
|
|
1683
|
+
subject_kind: string;
|
|
1684
|
+
};
|
|
1685
|
+
Insert: {
|
|
1686
|
+
actor_kind: string;
|
|
1687
|
+
created_at?: string;
|
|
1688
|
+
credits_restored: number;
|
|
1689
|
+
customer_id: string;
|
|
1690
|
+
customer_pass_id: string;
|
|
1691
|
+
id?: string;
|
|
1692
|
+
idempotency_key: string;
|
|
1693
|
+
legacy_pass_redemption_id?: string | null;
|
|
1694
|
+
metadata?: Json;
|
|
1695
|
+
reason?: string | null;
|
|
1696
|
+
restored_at?: string;
|
|
1697
|
+
settlement_outcome?: string;
|
|
1698
|
+
site_id: string;
|
|
1699
|
+
subject_id: string;
|
|
1700
|
+
subject_kind: string;
|
|
1701
|
+
};
|
|
1702
|
+
Update: {
|
|
1703
|
+
actor_kind?: string;
|
|
1704
|
+
created_at?: string;
|
|
1705
|
+
credits_restored?: number;
|
|
1706
|
+
customer_id?: string;
|
|
1707
|
+
customer_pass_id?: string;
|
|
1708
|
+
id?: string;
|
|
1709
|
+
idempotency_key?: string;
|
|
1710
|
+
legacy_pass_redemption_id?: string | null;
|
|
1711
|
+
metadata?: Json;
|
|
1712
|
+
reason?: string | null;
|
|
1713
|
+
restored_at?: string;
|
|
1714
|
+
settlement_outcome?: string;
|
|
1715
|
+
site_id?: string;
|
|
1716
|
+
subject_id?: string;
|
|
1717
|
+
subject_kind?: string;
|
|
1718
|
+
};
|
|
1719
|
+
Relationships: [
|
|
1720
|
+
{
|
|
1721
|
+
foreignKeyName: "booking_credit_restorations_customer_id_fkey";
|
|
1722
|
+
columns: ["customer_id"];
|
|
1723
|
+
isOneToOne: false;
|
|
1724
|
+
referencedRelation: "booking_customers";
|
|
1725
|
+
referencedColumns: ["id"];
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
foreignKeyName: "booking_credit_restorations_customer_pass_id_fkey";
|
|
1729
|
+
columns: ["customer_pass_id"];
|
|
1730
|
+
isOneToOne: false;
|
|
1731
|
+
referencedRelation: "booking_customer_passes";
|
|
1732
|
+
referencedColumns: ["id"];
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
foreignKeyName: "booking_credit_restorations_customer_pass_id_fkey";
|
|
1736
|
+
columns: ["customer_pass_id"];
|
|
1737
|
+
isOneToOne: false;
|
|
1738
|
+
referencedRelation: "booking_customer_passes_list_view";
|
|
1739
|
+
referencedColumns: ["id"];
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
foreignKeyName: "booking_credit_restorations_legacy_pass_redemption_id_fkey";
|
|
1743
|
+
columns: ["legacy_pass_redemption_id"];
|
|
1744
|
+
isOneToOne: false;
|
|
1745
|
+
referencedRelation: "booking_pass_redemptions";
|
|
1746
|
+
referencedColumns: ["id"];
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
foreignKeyName: "booking_credit_restorations_site_id_fkey";
|
|
1750
|
+
columns: ["site_id"];
|
|
1751
|
+
isOneToOne: false;
|
|
1752
|
+
referencedRelation: "sites";
|
|
1753
|
+
referencedColumns: ["id"];
|
|
1754
|
+
}
|
|
1755
|
+
];
|
|
1756
|
+
};
|
|
1757
|
+
booking_customer_credit_conversions: {
|
|
1758
|
+
Row: {
|
|
1759
|
+
amount_cents: number;
|
|
1760
|
+
created_at: string;
|
|
1761
|
+
credit_reservation_id: string | null;
|
|
1762
|
+
currency: string;
|
|
1763
|
+
customer_id: string;
|
|
1764
|
+
failure_code: string | null;
|
|
1765
|
+
failure_message: string | null;
|
|
1766
|
+
id: string;
|
|
1767
|
+
idempotency_key: string;
|
|
1768
|
+
initiator_user_id: string | null;
|
|
1769
|
+
payment_last4: string | null;
|
|
1770
|
+
reason: string | null;
|
|
1771
|
+
site_id: string;
|
|
1772
|
+
source_refund_id: string;
|
|
1773
|
+
source_refund_type: string;
|
|
1774
|
+
status: string;
|
|
1775
|
+
stripe_account_id: string | null;
|
|
1776
|
+
stripe_checkout_session_id: string | null;
|
|
1777
|
+
stripe_payment_intent_id: string | null;
|
|
1778
|
+
stripe_refund_id: string | null;
|
|
1779
|
+
};
|
|
1780
|
+
Insert: {
|
|
1781
|
+
amount_cents: number;
|
|
1782
|
+
created_at?: string;
|
|
1783
|
+
credit_reservation_id?: string | null;
|
|
1784
|
+
currency: string;
|
|
1785
|
+
customer_id: string;
|
|
1786
|
+
failure_code?: string | null;
|
|
1787
|
+
failure_message?: string | null;
|
|
1788
|
+
id?: string;
|
|
1789
|
+
idempotency_key: string;
|
|
1790
|
+
initiator_user_id?: string | null;
|
|
1791
|
+
payment_last4?: string | null;
|
|
1792
|
+
reason?: string | null;
|
|
1793
|
+
site_id: string;
|
|
1794
|
+
source_refund_id: string;
|
|
1795
|
+
source_refund_type: string;
|
|
1796
|
+
status?: string;
|
|
1797
|
+
stripe_account_id?: string | null;
|
|
1798
|
+
stripe_checkout_session_id?: string | null;
|
|
1799
|
+
stripe_payment_intent_id?: string | null;
|
|
1800
|
+
stripe_refund_id?: string | null;
|
|
1801
|
+
};
|
|
1802
|
+
Update: {
|
|
1803
|
+
amount_cents?: number;
|
|
1804
|
+
created_at?: string;
|
|
1805
|
+
credit_reservation_id?: string | null;
|
|
1806
|
+
currency?: string;
|
|
1807
|
+
customer_id?: string;
|
|
1808
|
+
failure_code?: string | null;
|
|
1809
|
+
failure_message?: string | null;
|
|
1810
|
+
id?: string;
|
|
1811
|
+
idempotency_key?: string;
|
|
1812
|
+
initiator_user_id?: string | null;
|
|
1813
|
+
payment_last4?: string | null;
|
|
1814
|
+
reason?: string | null;
|
|
1815
|
+
site_id?: string;
|
|
1816
|
+
source_refund_id?: string;
|
|
1817
|
+
source_refund_type?: string;
|
|
1818
|
+
status?: string;
|
|
1819
|
+
stripe_account_id?: string | null;
|
|
1820
|
+
stripe_checkout_session_id?: string | null;
|
|
1821
|
+
stripe_payment_intent_id?: string | null;
|
|
1822
|
+
stripe_refund_id?: string | null;
|
|
1823
|
+
};
|
|
1824
|
+
Relationships: [
|
|
1825
|
+
{
|
|
1826
|
+
foreignKeyName: "booking_customer_credit_conversions_credit_reservation_id_fkey";
|
|
1827
|
+
columns: ["credit_reservation_id"];
|
|
1828
|
+
isOneToOne: false;
|
|
1829
|
+
referencedRelation: "booking_customer_credit_reservations";
|
|
1830
|
+
referencedColumns: ["id"];
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
foreignKeyName: "booking_customer_credit_conversions_customer_id_fkey";
|
|
1834
|
+
columns: ["customer_id"];
|
|
1835
|
+
isOneToOne: false;
|
|
1836
|
+
referencedRelation: "booking_customers";
|
|
1837
|
+
referencedColumns: ["id"];
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
foreignKeyName: "booking_customer_credit_conversions_site_id_fkey";
|
|
1841
|
+
columns: ["site_id"];
|
|
1842
|
+
isOneToOne: false;
|
|
1843
|
+
referencedRelation: "sites";
|
|
1844
|
+
referencedColumns: ["id"];
|
|
1845
|
+
}
|
|
1846
|
+
];
|
|
1847
|
+
};
|
|
1848
|
+
booking_customer_credit_reservations: {
|
|
1849
|
+
Row: {
|
|
1850
|
+
amount_cents: number;
|
|
1851
|
+
consumed_at: string | null;
|
|
1852
|
+
course_enrollment_id: string | null;
|
|
1853
|
+
created_at: string;
|
|
1854
|
+
currency: string;
|
|
1855
|
+
customer_id: string;
|
|
1856
|
+
customer_membership_id: string | null;
|
|
1857
|
+
customer_pass_id: string | null;
|
|
1494
1858
|
event_attendee_id: string | null;
|
|
1495
1859
|
expires_at: string;
|
|
1496
1860
|
id: string;
|
|
@@ -4215,77 +4579,404 @@ export type Database = {
|
|
|
4215
4579
|
form_submission_json?: Json;
|
|
4216
4580
|
id?: string;
|
|
4217
4581
|
metadata?: Json;
|
|
4218
|
-
payment_id?: string | null;
|
|
4219
|
-
payment_method?: string | null;
|
|
4220
|
-
payment_status?: string | null;
|
|
4221
|
-
pricing_option_id?: string | null;
|
|
4582
|
+
payment_id?: string | null;
|
|
4583
|
+
payment_method?: string | null;
|
|
4584
|
+
payment_status?: string | null;
|
|
4585
|
+
pricing_option_id?: string | null;
|
|
4586
|
+
site_id: string;
|
|
4587
|
+
status?: string;
|
|
4588
|
+
updated_at?: string;
|
|
4589
|
+
};
|
|
4590
|
+
Update: {
|
|
4591
|
+
cancelled_at?: string | null;
|
|
4592
|
+
course_id?: string;
|
|
4593
|
+
created_at?: string;
|
|
4594
|
+
customer_id?: string;
|
|
4595
|
+
customer_membership_id?: string | null;
|
|
4596
|
+
enrolled_at?: string;
|
|
4597
|
+
form_submission_json?: Json;
|
|
4598
|
+
id?: string;
|
|
4599
|
+
metadata?: Json;
|
|
4600
|
+
payment_id?: string | null;
|
|
4601
|
+
payment_method?: string | null;
|
|
4602
|
+
payment_status?: string | null;
|
|
4603
|
+
pricing_option_id?: string | null;
|
|
4604
|
+
site_id?: string;
|
|
4605
|
+
status?: string;
|
|
4606
|
+
updated_at?: string;
|
|
4607
|
+
};
|
|
4608
|
+
Relationships: [
|
|
4609
|
+
{
|
|
4610
|
+
foreignKeyName: "course_enrollments_course_id_fkey";
|
|
4611
|
+
columns: ["course_id"];
|
|
4612
|
+
isOneToOne: false;
|
|
4613
|
+
referencedRelation: "courses";
|
|
4614
|
+
referencedColumns: ["id"];
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
foreignKeyName: "course_enrollments_customer_id_fkey";
|
|
4618
|
+
columns: ["customer_id"];
|
|
4619
|
+
isOneToOne: false;
|
|
4620
|
+
referencedRelation: "booking_customers";
|
|
4621
|
+
referencedColumns: ["id"];
|
|
4622
|
+
},
|
|
4623
|
+
{
|
|
4624
|
+
foreignKeyName: "course_enrollments_customer_membership_id_fkey";
|
|
4625
|
+
columns: ["customer_membership_id"];
|
|
4626
|
+
isOneToOne: false;
|
|
4627
|
+
referencedRelation: "booking_customer_memberships";
|
|
4628
|
+
referencedColumns: ["id"];
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
foreignKeyName: "course_enrollments_payment_id_fkey";
|
|
4632
|
+
columns: ["payment_id"];
|
|
4633
|
+
isOneToOne: false;
|
|
4634
|
+
referencedRelation: "booking_payments";
|
|
4635
|
+
referencedColumns: ["id"];
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
foreignKeyName: "course_enrollments_payment_id_fkey";
|
|
4639
|
+
columns: ["payment_id"];
|
|
4640
|
+
isOneToOne: false;
|
|
4641
|
+
referencedRelation: "booking_payments_list_view";
|
|
4642
|
+
referencedColumns: ["id"];
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
foreignKeyName: "course_enrollments_pricing_option_id_fkey";
|
|
4646
|
+
columns: ["pricing_option_id"];
|
|
4647
|
+
isOneToOne: false;
|
|
4648
|
+
referencedRelation: "booking_pricing_options";
|
|
4649
|
+
referencedColumns: ["id"];
|
|
4650
|
+
},
|
|
4651
|
+
{
|
|
4652
|
+
foreignKeyName: "course_enrollments_site_id_fkey";
|
|
4653
|
+
columns: ["site_id"];
|
|
4654
|
+
isOneToOne: false;
|
|
4655
|
+
referencedRelation: "sites";
|
|
4656
|
+
referencedColumns: ["id"];
|
|
4657
|
+
}
|
|
4658
|
+
];
|
|
4659
|
+
};
|
|
4660
|
+
course_programs: {
|
|
4661
|
+
Row: {
|
|
4662
|
+
content_entry_id: string;
|
|
4663
|
+
created_at: string;
|
|
4664
|
+
id: string;
|
|
4665
|
+
site_id: string;
|
|
4666
|
+
title: string;
|
|
4667
|
+
updated_at: string;
|
|
4668
|
+
};
|
|
4669
|
+
Insert: {
|
|
4670
|
+
content_entry_id: string;
|
|
4671
|
+
created_at?: string;
|
|
4672
|
+
id?: string;
|
|
4673
|
+
site_id: string;
|
|
4674
|
+
title: string;
|
|
4675
|
+
updated_at?: string;
|
|
4676
|
+
};
|
|
4677
|
+
Update: {
|
|
4678
|
+
content_entry_id?: string;
|
|
4679
|
+
created_at?: string;
|
|
4680
|
+
id?: string;
|
|
4681
|
+
site_id?: string;
|
|
4682
|
+
title?: string;
|
|
4683
|
+
updated_at?: string;
|
|
4684
|
+
};
|
|
4685
|
+
Relationships: [
|
|
4686
|
+
{
|
|
4687
|
+
foreignKeyName: "course_programs_content_entry_id_fkey";
|
|
4688
|
+
columns: ["content_entry_id"];
|
|
4689
|
+
isOneToOne: false;
|
|
4690
|
+
referencedRelation: "content_entries";
|
|
4691
|
+
referencedColumns: ["id"];
|
|
4692
|
+
},
|
|
4693
|
+
{
|
|
4694
|
+
foreignKeyName: "course_programs_site_id_fkey";
|
|
4695
|
+
columns: ["site_id"];
|
|
4696
|
+
isOneToOne: false;
|
|
4697
|
+
referencedRelation: "sites";
|
|
4698
|
+
referencedColumns: ["id"];
|
|
4699
|
+
}
|
|
4700
|
+
];
|
|
4701
|
+
};
|
|
4702
|
+
courses: {
|
|
4703
|
+
Row: {
|
|
4704
|
+
accepts_memberships: boolean;
|
|
4705
|
+
created_at: string;
|
|
4706
|
+
currency: string;
|
|
4707
|
+
enrollment_capacity: number | null;
|
|
4708
|
+
id: string;
|
|
4709
|
+
price_cents: number | null;
|
|
4710
|
+
program_id: string;
|
|
4711
|
+
series_id: string;
|
|
4712
|
+
site_id: string;
|
|
4713
|
+
status: string;
|
|
4714
|
+
updated_at: string;
|
|
4715
|
+
waitlist_mode: string;
|
|
4716
|
+
};
|
|
4717
|
+
Insert: {
|
|
4718
|
+
accepts_memberships?: boolean;
|
|
4719
|
+
created_at?: string;
|
|
4720
|
+
currency?: string;
|
|
4721
|
+
enrollment_capacity?: number | null;
|
|
4722
|
+
id?: string;
|
|
4723
|
+
price_cents?: number | null;
|
|
4724
|
+
program_id: string;
|
|
4725
|
+
series_id: string;
|
|
4726
|
+
site_id: string;
|
|
4727
|
+
status?: string;
|
|
4728
|
+
updated_at?: string;
|
|
4729
|
+
waitlist_mode?: string;
|
|
4730
|
+
};
|
|
4731
|
+
Update: {
|
|
4732
|
+
accepts_memberships?: boolean;
|
|
4733
|
+
created_at?: string;
|
|
4734
|
+
currency?: string;
|
|
4735
|
+
enrollment_capacity?: number | null;
|
|
4736
|
+
id?: string;
|
|
4737
|
+
price_cents?: number | null;
|
|
4738
|
+
program_id?: string;
|
|
4739
|
+
series_id?: string;
|
|
4740
|
+
site_id?: string;
|
|
4741
|
+
status?: string;
|
|
4742
|
+
updated_at?: string;
|
|
4743
|
+
waitlist_mode?: string;
|
|
4744
|
+
};
|
|
4745
|
+
Relationships: [
|
|
4746
|
+
{
|
|
4747
|
+
foreignKeyName: "courses_program_id_fkey";
|
|
4748
|
+
columns: ["program_id"];
|
|
4749
|
+
isOneToOne: false;
|
|
4750
|
+
referencedRelation: "course_programs";
|
|
4751
|
+
referencedColumns: ["id"];
|
|
4752
|
+
},
|
|
4753
|
+
{
|
|
4754
|
+
foreignKeyName: "courses_series_id_fkey";
|
|
4755
|
+
columns: ["series_id"];
|
|
4756
|
+
isOneToOne: true;
|
|
4757
|
+
referencedRelation: "event_series";
|
|
4758
|
+
referencedColumns: ["id"];
|
|
4759
|
+
},
|
|
4760
|
+
{
|
|
4761
|
+
foreignKeyName: "courses_site_id_fkey";
|
|
4762
|
+
columns: ["site_id"];
|
|
4763
|
+
isOneToOne: false;
|
|
4764
|
+
referencedRelation: "sites";
|
|
4765
|
+
referencedColumns: ["id"];
|
|
4766
|
+
}
|
|
4767
|
+
];
|
|
4768
|
+
};
|
|
4769
|
+
customer_profile_audit_events: {
|
|
4770
|
+
Row: {
|
|
4771
|
+
actor_customer_id: string | null;
|
|
4772
|
+
actor_kind: string;
|
|
4773
|
+
actor_user_id: string | null;
|
|
4774
|
+
changes: Json;
|
|
4775
|
+
created_at: string;
|
|
4776
|
+
customer_id: string;
|
|
4777
|
+
event_type: string;
|
|
4778
|
+
id: string;
|
|
4779
|
+
occurred_at: string;
|
|
4780
|
+
reason: string | null;
|
|
4781
|
+
request_id: string | null;
|
|
4782
|
+
site_id: string;
|
|
4783
|
+
source_context: Json;
|
|
4784
|
+
};
|
|
4785
|
+
Insert: {
|
|
4786
|
+
actor_customer_id?: string | null;
|
|
4787
|
+
actor_kind: string;
|
|
4788
|
+
actor_user_id?: string | null;
|
|
4789
|
+
changes: Json;
|
|
4790
|
+
created_at?: string;
|
|
4791
|
+
customer_id: string;
|
|
4792
|
+
event_type: string;
|
|
4793
|
+
id?: string;
|
|
4794
|
+
occurred_at: string;
|
|
4795
|
+
reason?: string | null;
|
|
4796
|
+
request_id?: string | null;
|
|
4797
|
+
site_id: string;
|
|
4798
|
+
source_context?: Json;
|
|
4799
|
+
};
|
|
4800
|
+
Update: {
|
|
4801
|
+
actor_customer_id?: string | null;
|
|
4802
|
+
actor_kind?: string;
|
|
4803
|
+
actor_user_id?: string | null;
|
|
4804
|
+
changes?: Json;
|
|
4805
|
+
created_at?: string;
|
|
4806
|
+
customer_id?: string;
|
|
4807
|
+
event_type?: string;
|
|
4808
|
+
id?: string;
|
|
4809
|
+
occurred_at?: string;
|
|
4810
|
+
reason?: string | null;
|
|
4811
|
+
request_id?: string | null;
|
|
4812
|
+
site_id?: string;
|
|
4813
|
+
source_context?: Json;
|
|
4814
|
+
};
|
|
4815
|
+
Relationships: [];
|
|
4816
|
+
};
|
|
4817
|
+
demo_blueprint_versions: {
|
|
4818
|
+
Row: {
|
|
4819
|
+
archived_at: string | null;
|
|
4820
|
+
artifact_kind: string;
|
|
4821
|
+
artifact_ref: string;
|
|
4822
|
+
blueprint_id: string;
|
|
4823
|
+
created_at: string;
|
|
4824
|
+
created_by_user_id: string | null;
|
|
4825
|
+
id: string;
|
|
4826
|
+
metadata: Json;
|
|
4827
|
+
published_at: string | null;
|
|
4828
|
+
source_recipe_key: string | null;
|
|
4829
|
+
source_site_id: string | null;
|
|
4830
|
+
version_label: string;
|
|
4831
|
+
};
|
|
4832
|
+
Insert: {
|
|
4833
|
+
archived_at?: string | null;
|
|
4834
|
+
artifact_kind?: string;
|
|
4835
|
+
artifact_ref: string;
|
|
4836
|
+
blueprint_id: string;
|
|
4837
|
+
created_at?: string;
|
|
4838
|
+
created_by_user_id?: string | null;
|
|
4839
|
+
id?: string;
|
|
4840
|
+
metadata?: Json;
|
|
4841
|
+
published_at?: string | null;
|
|
4842
|
+
source_recipe_key?: string | null;
|
|
4843
|
+
source_site_id?: string | null;
|
|
4844
|
+
version_label: string;
|
|
4845
|
+
};
|
|
4846
|
+
Update: {
|
|
4847
|
+
archived_at?: string | null;
|
|
4848
|
+
artifact_kind?: string;
|
|
4849
|
+
artifact_ref?: string;
|
|
4850
|
+
blueprint_id?: string;
|
|
4851
|
+
created_at?: string;
|
|
4852
|
+
created_by_user_id?: string | null;
|
|
4853
|
+
id?: string;
|
|
4854
|
+
metadata?: Json;
|
|
4855
|
+
published_at?: string | null;
|
|
4856
|
+
source_recipe_key?: string | null;
|
|
4857
|
+
source_site_id?: string | null;
|
|
4858
|
+
version_label?: string;
|
|
4859
|
+
};
|
|
4860
|
+
Relationships: [
|
|
4861
|
+
{
|
|
4862
|
+
foreignKeyName: "demo_blueprint_versions_blueprint_id_fkey";
|
|
4863
|
+
columns: ["blueprint_id"];
|
|
4864
|
+
isOneToOne: false;
|
|
4865
|
+
referencedRelation: "demo_blueprints";
|
|
4866
|
+
referencedColumns: ["id"];
|
|
4867
|
+
},
|
|
4868
|
+
{
|
|
4869
|
+
foreignKeyName: "demo_blueprint_versions_source_site_id_fkey";
|
|
4870
|
+
columns: ["source_site_id"];
|
|
4871
|
+
isOneToOne: false;
|
|
4872
|
+
referencedRelation: "sites";
|
|
4873
|
+
referencedColumns: ["id"];
|
|
4874
|
+
}
|
|
4875
|
+
];
|
|
4876
|
+
};
|
|
4877
|
+
demo_blueprints: {
|
|
4878
|
+
Row: {
|
|
4879
|
+
created_at: string;
|
|
4880
|
+
display_name: string;
|
|
4881
|
+
id: string;
|
|
4882
|
+
metadata: Json;
|
|
4883
|
+
notes: string | null;
|
|
4884
|
+
slug: string;
|
|
4885
|
+
source_recipe_key: string | null;
|
|
4886
|
+
source_site_id: string | null;
|
|
4887
|
+
status: string;
|
|
4888
|
+
updated_at: string;
|
|
4889
|
+
};
|
|
4890
|
+
Insert: {
|
|
4891
|
+
created_at?: string;
|
|
4892
|
+
display_name: string;
|
|
4893
|
+
id?: string;
|
|
4894
|
+
metadata?: Json;
|
|
4895
|
+
notes?: string | null;
|
|
4896
|
+
slug: string;
|
|
4897
|
+
source_recipe_key?: string | null;
|
|
4898
|
+
source_site_id?: string | null;
|
|
4899
|
+
status?: string;
|
|
4900
|
+
updated_at?: string;
|
|
4901
|
+
};
|
|
4902
|
+
Update: {
|
|
4903
|
+
created_at?: string;
|
|
4904
|
+
display_name?: string;
|
|
4905
|
+
id?: string;
|
|
4906
|
+
metadata?: Json;
|
|
4907
|
+
notes?: string | null;
|
|
4908
|
+
slug?: string;
|
|
4909
|
+
source_recipe_key?: string | null;
|
|
4910
|
+
source_site_id?: string | null;
|
|
4911
|
+
status?: string;
|
|
4912
|
+
updated_at?: string;
|
|
4913
|
+
};
|
|
4914
|
+
Relationships: [
|
|
4915
|
+
{
|
|
4916
|
+
foreignKeyName: "demo_blueprints_source_site_id_fkey";
|
|
4917
|
+
columns: ["source_site_id"];
|
|
4918
|
+
isOneToOne: false;
|
|
4919
|
+
referencedRelation: "sites";
|
|
4920
|
+
referencedColumns: ["id"];
|
|
4921
|
+
}
|
|
4922
|
+
];
|
|
4923
|
+
};
|
|
4924
|
+
demo_claims: {
|
|
4925
|
+
Row: {
|
|
4926
|
+
claimant_email: string;
|
|
4927
|
+
claimant_user_id: string | null;
|
|
4928
|
+
claimed_at: string;
|
|
4929
|
+
created_at: string;
|
|
4930
|
+
expires_at: string;
|
|
4931
|
+
id: string;
|
|
4932
|
+
instance_id: string;
|
|
4933
|
+
metadata: Json;
|
|
4934
|
+
release_reason: string | null;
|
|
4935
|
+
released_at: string | null;
|
|
4936
|
+
site_id: string;
|
|
4937
|
+
status: string;
|
|
4938
|
+
updated_at: string;
|
|
4939
|
+
};
|
|
4940
|
+
Insert: {
|
|
4941
|
+
claimant_email: string;
|
|
4942
|
+
claimant_user_id?: string | null;
|
|
4943
|
+
claimed_at?: string;
|
|
4944
|
+
created_at?: string;
|
|
4945
|
+
expires_at: string;
|
|
4946
|
+
id?: string;
|
|
4947
|
+
instance_id: string;
|
|
4948
|
+
metadata?: Json;
|
|
4949
|
+
release_reason?: string | null;
|
|
4950
|
+
released_at?: string | null;
|
|
4222
4951
|
site_id: string;
|
|
4223
4952
|
status?: string;
|
|
4224
4953
|
updated_at?: string;
|
|
4225
4954
|
};
|
|
4226
4955
|
Update: {
|
|
4227
|
-
|
|
4228
|
-
|
|
4956
|
+
claimant_email?: string;
|
|
4957
|
+
claimant_user_id?: string | null;
|
|
4958
|
+
claimed_at?: string;
|
|
4229
4959
|
created_at?: string;
|
|
4230
|
-
|
|
4231
|
-
customer_membership_id?: string | null;
|
|
4232
|
-
enrolled_at?: string;
|
|
4233
|
-
form_submission_json?: Json;
|
|
4960
|
+
expires_at?: string;
|
|
4234
4961
|
id?: string;
|
|
4962
|
+
instance_id?: string;
|
|
4235
4963
|
metadata?: Json;
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
payment_status?: string | null;
|
|
4239
|
-
pricing_option_id?: string | null;
|
|
4964
|
+
release_reason?: string | null;
|
|
4965
|
+
released_at?: string | null;
|
|
4240
4966
|
site_id?: string;
|
|
4241
4967
|
status?: string;
|
|
4242
4968
|
updated_at?: string;
|
|
4243
4969
|
};
|
|
4244
4970
|
Relationships: [
|
|
4245
4971
|
{
|
|
4246
|
-
foreignKeyName: "
|
|
4247
|
-
columns: ["
|
|
4248
|
-
isOneToOne: false;
|
|
4249
|
-
referencedRelation: "courses";
|
|
4250
|
-
referencedColumns: ["id"];
|
|
4251
|
-
},
|
|
4252
|
-
{
|
|
4253
|
-
foreignKeyName: "course_enrollments_customer_id_fkey";
|
|
4254
|
-
columns: ["customer_id"];
|
|
4255
|
-
isOneToOne: false;
|
|
4256
|
-
referencedRelation: "booking_customers";
|
|
4257
|
-
referencedColumns: ["id"];
|
|
4258
|
-
},
|
|
4259
|
-
{
|
|
4260
|
-
foreignKeyName: "course_enrollments_customer_membership_id_fkey";
|
|
4261
|
-
columns: ["customer_membership_id"];
|
|
4262
|
-
isOneToOne: false;
|
|
4263
|
-
referencedRelation: "booking_customer_memberships";
|
|
4264
|
-
referencedColumns: ["id"];
|
|
4265
|
-
},
|
|
4266
|
-
{
|
|
4267
|
-
foreignKeyName: "course_enrollments_payment_id_fkey";
|
|
4268
|
-
columns: ["payment_id"];
|
|
4269
|
-
isOneToOne: false;
|
|
4270
|
-
referencedRelation: "booking_payments";
|
|
4271
|
-
referencedColumns: ["id"];
|
|
4272
|
-
},
|
|
4273
|
-
{
|
|
4274
|
-
foreignKeyName: "course_enrollments_payment_id_fkey";
|
|
4275
|
-
columns: ["payment_id"];
|
|
4276
|
-
isOneToOne: false;
|
|
4277
|
-
referencedRelation: "booking_payments_list_view";
|
|
4278
|
-
referencedColumns: ["id"];
|
|
4279
|
-
},
|
|
4280
|
-
{
|
|
4281
|
-
foreignKeyName: "course_enrollments_pricing_option_id_fkey";
|
|
4282
|
-
columns: ["pricing_option_id"];
|
|
4972
|
+
foreignKeyName: "demo_claims_instance_id_fkey";
|
|
4973
|
+
columns: ["instance_id"];
|
|
4283
4974
|
isOneToOne: false;
|
|
4284
|
-
referencedRelation: "
|
|
4975
|
+
referencedRelation: "demo_instances";
|
|
4285
4976
|
referencedColumns: ["id"];
|
|
4286
4977
|
},
|
|
4287
4978
|
{
|
|
4288
|
-
foreignKeyName: "
|
|
4979
|
+
foreignKeyName: "demo_claims_site_id_fkey";
|
|
4289
4980
|
columns: ["site_id"];
|
|
4290
4981
|
isOneToOne: false;
|
|
4291
4982
|
referencedRelation: "sites";
|
|
@@ -4293,41 +4984,47 @@ export type Database = {
|
|
|
4293
4984
|
}
|
|
4294
4985
|
];
|
|
4295
4986
|
};
|
|
4296
|
-
|
|
4987
|
+
demo_health_checks: {
|
|
4297
4988
|
Row: {
|
|
4298
|
-
|
|
4989
|
+
check_type: string;
|
|
4990
|
+
checked_at: string;
|
|
4299
4991
|
created_at: string;
|
|
4992
|
+
detail: Json;
|
|
4300
4993
|
id: string;
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4994
|
+
instance_id: string | null;
|
|
4995
|
+
site_id: string | null;
|
|
4996
|
+
status: string;
|
|
4304
4997
|
};
|
|
4305
4998
|
Insert: {
|
|
4306
|
-
|
|
4999
|
+
check_type: string;
|
|
5000
|
+
checked_at?: string;
|
|
4307
5001
|
created_at?: string;
|
|
5002
|
+
detail?: Json;
|
|
4308
5003
|
id?: string;
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
5004
|
+
instance_id?: string | null;
|
|
5005
|
+
site_id?: string | null;
|
|
5006
|
+
status: string;
|
|
4312
5007
|
};
|
|
4313
5008
|
Update: {
|
|
4314
|
-
|
|
5009
|
+
check_type?: string;
|
|
5010
|
+
checked_at?: string;
|
|
4315
5011
|
created_at?: string;
|
|
5012
|
+
detail?: Json;
|
|
4316
5013
|
id?: string;
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
5014
|
+
instance_id?: string | null;
|
|
5015
|
+
site_id?: string | null;
|
|
5016
|
+
status?: string;
|
|
4320
5017
|
};
|
|
4321
5018
|
Relationships: [
|
|
4322
5019
|
{
|
|
4323
|
-
foreignKeyName: "
|
|
4324
|
-
columns: ["
|
|
5020
|
+
foreignKeyName: "demo_health_checks_instance_id_fkey";
|
|
5021
|
+
columns: ["instance_id"];
|
|
4325
5022
|
isOneToOne: false;
|
|
4326
|
-
referencedRelation: "
|
|
5023
|
+
referencedRelation: "demo_instances";
|
|
4327
5024
|
referencedColumns: ["id"];
|
|
4328
5025
|
},
|
|
4329
5026
|
{
|
|
4330
|
-
foreignKeyName: "
|
|
5027
|
+
foreignKeyName: "demo_health_checks_site_id_fkey";
|
|
4331
5028
|
columns: ["site_id"];
|
|
4332
5029
|
isOneToOne: false;
|
|
4333
5030
|
referencedRelation: "sites";
|
|
@@ -4335,66 +5032,81 @@ export type Database = {
|
|
|
4335
5032
|
}
|
|
4336
5033
|
];
|
|
4337
5034
|
};
|
|
4338
|
-
|
|
5035
|
+
demo_instances: {
|
|
4339
5036
|
Row: {
|
|
4340
|
-
|
|
5037
|
+
available_at: string | null;
|
|
5038
|
+
base_domain: string | null;
|
|
5039
|
+
blueprint_id: string;
|
|
5040
|
+
blueprint_version_id: string;
|
|
5041
|
+
claimed_at: string | null;
|
|
4341
5042
|
created_at: string;
|
|
4342
|
-
|
|
4343
|
-
|
|
5043
|
+
expires_at: string | null;
|
|
5044
|
+
failure_context: Json | null;
|
|
5045
|
+
failure_reason: string | null;
|
|
4344
5046
|
id: string;
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
5047
|
+
last_recycled_at: string | null;
|
|
5048
|
+
metadata: Json;
|
|
5049
|
+
route_path: string | null;
|
|
5050
|
+
routing_kind: string;
|
|
4348
5051
|
site_id: string;
|
|
4349
5052
|
status: string;
|
|
4350
5053
|
updated_at: string;
|
|
4351
|
-
waitlist_mode: string;
|
|
4352
5054
|
};
|
|
4353
5055
|
Insert: {
|
|
4354
|
-
|
|
5056
|
+
available_at?: string | null;
|
|
5057
|
+
base_domain?: string | null;
|
|
5058
|
+
blueprint_id: string;
|
|
5059
|
+
blueprint_version_id: string;
|
|
5060
|
+
claimed_at?: string | null;
|
|
4355
5061
|
created_at?: string;
|
|
4356
|
-
|
|
4357
|
-
|
|
5062
|
+
expires_at?: string | null;
|
|
5063
|
+
failure_context?: Json | null;
|
|
5064
|
+
failure_reason?: string | null;
|
|
4358
5065
|
id?: string;
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
5066
|
+
last_recycled_at?: string | null;
|
|
5067
|
+
metadata?: Json;
|
|
5068
|
+
route_path?: string | null;
|
|
5069
|
+
routing_kind?: string;
|
|
4362
5070
|
site_id: string;
|
|
4363
5071
|
status?: string;
|
|
4364
5072
|
updated_at?: string;
|
|
4365
|
-
waitlist_mode?: string;
|
|
4366
5073
|
};
|
|
4367
5074
|
Update: {
|
|
4368
|
-
|
|
5075
|
+
available_at?: string | null;
|
|
5076
|
+
base_domain?: string | null;
|
|
5077
|
+
blueprint_id?: string;
|
|
5078
|
+
blueprint_version_id?: string;
|
|
5079
|
+
claimed_at?: string | null;
|
|
4369
5080
|
created_at?: string;
|
|
4370
|
-
|
|
4371
|
-
|
|
5081
|
+
expires_at?: string | null;
|
|
5082
|
+
failure_context?: Json | null;
|
|
5083
|
+
failure_reason?: string | null;
|
|
4372
5084
|
id?: string;
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
5085
|
+
last_recycled_at?: string | null;
|
|
5086
|
+
metadata?: Json;
|
|
5087
|
+
route_path?: string | null;
|
|
5088
|
+
routing_kind?: string;
|
|
4376
5089
|
site_id?: string;
|
|
4377
5090
|
status?: string;
|
|
4378
5091
|
updated_at?: string;
|
|
4379
|
-
waitlist_mode?: string;
|
|
4380
5092
|
};
|
|
4381
5093
|
Relationships: [
|
|
4382
5094
|
{
|
|
4383
|
-
foreignKeyName: "
|
|
4384
|
-
columns: ["
|
|
5095
|
+
foreignKeyName: "demo_instances_blueprint_id_fkey";
|
|
5096
|
+
columns: ["blueprint_id"];
|
|
4385
5097
|
isOneToOne: false;
|
|
4386
|
-
referencedRelation: "
|
|
5098
|
+
referencedRelation: "demo_blueprints";
|
|
4387
5099
|
referencedColumns: ["id"];
|
|
4388
5100
|
},
|
|
4389
5101
|
{
|
|
4390
|
-
foreignKeyName: "
|
|
4391
|
-
columns: ["
|
|
4392
|
-
isOneToOne:
|
|
4393
|
-
referencedRelation: "
|
|
5102
|
+
foreignKeyName: "demo_instances_blueprint_version_id_fkey";
|
|
5103
|
+
columns: ["blueprint_version_id"];
|
|
5104
|
+
isOneToOne: false;
|
|
5105
|
+
referencedRelation: "demo_blueprint_versions";
|
|
4394
5106
|
referencedColumns: ["id"];
|
|
4395
5107
|
},
|
|
4396
5108
|
{
|
|
4397
|
-
foreignKeyName: "
|
|
5109
|
+
foreignKeyName: "demo_instances_site_id_fkey";
|
|
4398
5110
|
columns: ["site_id"];
|
|
4399
5111
|
isOneToOne: false;
|
|
4400
5112
|
referencedRelation: "sites";
|
|
@@ -4402,51 +5114,138 @@ export type Database = {
|
|
|
4402
5114
|
}
|
|
4403
5115
|
];
|
|
4404
5116
|
};
|
|
4405
|
-
|
|
5117
|
+
demo_lifecycle_audit_events: {
|
|
4406
5118
|
Row: {
|
|
4407
|
-
actor_customer_id: string | null;
|
|
4408
5119
|
actor_kind: string;
|
|
4409
5120
|
actor_user_id: string | null;
|
|
4410
|
-
|
|
5121
|
+
blueprint_id: string | null;
|
|
5122
|
+
blueprint_version_id: string | null;
|
|
5123
|
+
claim_id: string | null;
|
|
4411
5124
|
created_at: string;
|
|
4412
|
-
customer_id: string;
|
|
4413
5125
|
event_type: string;
|
|
4414
5126
|
id: string;
|
|
5127
|
+
instance_id: string | null;
|
|
4415
5128
|
occurred_at: string;
|
|
4416
|
-
reason: string
|
|
5129
|
+
reason: string;
|
|
4417
5130
|
request_id: string | null;
|
|
4418
|
-
|
|
4419
|
-
|
|
5131
|
+
runtime_env: string;
|
|
5132
|
+
site_id: string | null;
|
|
5133
|
+
source_context: Json | null;
|
|
5134
|
+
target_kind: string;
|
|
4420
5135
|
};
|
|
4421
5136
|
Insert: {
|
|
4422
|
-
actor_customer_id?: string | null;
|
|
4423
5137
|
actor_kind: string;
|
|
4424
5138
|
actor_user_id?: string | null;
|
|
4425
|
-
|
|
5139
|
+
blueprint_id?: string | null;
|
|
5140
|
+
blueprint_version_id?: string | null;
|
|
5141
|
+
claim_id?: string | null;
|
|
4426
5142
|
created_at?: string;
|
|
4427
|
-
customer_id: string;
|
|
4428
5143
|
event_type: string;
|
|
4429
5144
|
id?: string;
|
|
4430
|
-
|
|
4431
|
-
|
|
5145
|
+
instance_id?: string | null;
|
|
5146
|
+
occurred_at?: string;
|
|
5147
|
+
reason: string;
|
|
4432
5148
|
request_id?: string | null;
|
|
4433
|
-
|
|
4434
|
-
|
|
5149
|
+
runtime_env: string;
|
|
5150
|
+
site_id?: string | null;
|
|
5151
|
+
source_context?: Json | null;
|
|
5152
|
+
target_kind: string;
|
|
4435
5153
|
};
|
|
4436
5154
|
Update: {
|
|
4437
|
-
actor_customer_id?: string | null;
|
|
4438
5155
|
actor_kind?: string;
|
|
4439
5156
|
actor_user_id?: string | null;
|
|
4440
|
-
|
|
5157
|
+
blueprint_id?: string | null;
|
|
5158
|
+
blueprint_version_id?: string | null;
|
|
5159
|
+
claim_id?: string | null;
|
|
4441
5160
|
created_at?: string;
|
|
4442
|
-
customer_id?: string;
|
|
4443
5161
|
event_type?: string;
|
|
4444
5162
|
id?: string;
|
|
5163
|
+
instance_id?: string | null;
|
|
4445
5164
|
occurred_at?: string;
|
|
4446
|
-
reason?: string
|
|
5165
|
+
reason?: string;
|
|
4447
5166
|
request_id?: string | null;
|
|
4448
|
-
|
|
4449
|
-
|
|
5167
|
+
runtime_env?: string;
|
|
5168
|
+
site_id?: string | null;
|
|
5169
|
+
source_context?: Json | null;
|
|
5170
|
+
target_kind?: string;
|
|
5171
|
+
};
|
|
5172
|
+
Relationships: [
|
|
5173
|
+
{
|
|
5174
|
+
foreignKeyName: "demo_lifecycle_audit_events_blueprint_id_fkey";
|
|
5175
|
+
columns: ["blueprint_id"];
|
|
5176
|
+
isOneToOne: false;
|
|
5177
|
+
referencedRelation: "demo_blueprints";
|
|
5178
|
+
referencedColumns: ["id"];
|
|
5179
|
+
},
|
|
5180
|
+
{
|
|
5181
|
+
foreignKeyName: "demo_lifecycle_audit_events_blueprint_version_id_fkey";
|
|
5182
|
+
columns: ["blueprint_version_id"];
|
|
5183
|
+
isOneToOne: false;
|
|
5184
|
+
referencedRelation: "demo_blueprint_versions";
|
|
5185
|
+
referencedColumns: ["id"];
|
|
5186
|
+
},
|
|
5187
|
+
{
|
|
5188
|
+
foreignKeyName: "demo_lifecycle_audit_events_claim_id_fkey";
|
|
5189
|
+
columns: ["claim_id"];
|
|
5190
|
+
isOneToOne: false;
|
|
5191
|
+
referencedRelation: "demo_claims";
|
|
5192
|
+
referencedColumns: ["id"];
|
|
5193
|
+
},
|
|
5194
|
+
{
|
|
5195
|
+
foreignKeyName: "demo_lifecycle_audit_events_instance_id_fkey";
|
|
5196
|
+
columns: ["instance_id"];
|
|
5197
|
+
isOneToOne: false;
|
|
5198
|
+
referencedRelation: "demo_instances";
|
|
5199
|
+
referencedColumns: ["id"];
|
|
5200
|
+
},
|
|
5201
|
+
{
|
|
5202
|
+
foreignKeyName: "demo_lifecycle_audit_events_site_id_fkey";
|
|
5203
|
+
columns: ["site_id"];
|
|
5204
|
+
isOneToOne: false;
|
|
5205
|
+
referencedRelation: "sites";
|
|
5206
|
+
referencedColumns: ["id"];
|
|
5207
|
+
}
|
|
5208
|
+
];
|
|
5209
|
+
};
|
|
5210
|
+
demo_lifecycle_jobs: {
|
|
5211
|
+
Row: {
|
|
5212
|
+
consecutive_failures: number;
|
|
5213
|
+
created_at: string;
|
|
5214
|
+
job_name: string;
|
|
5215
|
+
last_error: string | null;
|
|
5216
|
+
last_failed_at: string | null;
|
|
5217
|
+
last_started_at: string | null;
|
|
5218
|
+
last_succeeded_at: string | null;
|
|
5219
|
+
last_summary: Json;
|
|
5220
|
+
lease_token: string | null;
|
|
5221
|
+
locked_until: string | null;
|
|
5222
|
+
updated_at: string;
|
|
5223
|
+
};
|
|
5224
|
+
Insert: {
|
|
5225
|
+
consecutive_failures?: number;
|
|
5226
|
+
created_at?: string;
|
|
5227
|
+
job_name: string;
|
|
5228
|
+
last_error?: string | null;
|
|
5229
|
+
last_failed_at?: string | null;
|
|
5230
|
+
last_started_at?: string | null;
|
|
5231
|
+
last_succeeded_at?: string | null;
|
|
5232
|
+
last_summary?: Json;
|
|
5233
|
+
lease_token?: string | null;
|
|
5234
|
+
locked_until?: string | null;
|
|
5235
|
+
updated_at?: string;
|
|
5236
|
+
};
|
|
5237
|
+
Update: {
|
|
5238
|
+
consecutive_failures?: number;
|
|
5239
|
+
created_at?: string;
|
|
5240
|
+
job_name?: string;
|
|
5241
|
+
last_error?: string | null;
|
|
5242
|
+
last_failed_at?: string | null;
|
|
5243
|
+
last_started_at?: string | null;
|
|
5244
|
+
last_succeeded_at?: string | null;
|
|
5245
|
+
last_summary?: Json;
|
|
5246
|
+
lease_token?: string | null;
|
|
5247
|
+
locked_until?: string | null;
|
|
5248
|
+
updated_at?: string;
|
|
4450
5249
|
};
|
|
4451
5250
|
Relationships: [];
|
|
4452
5251
|
};
|
|
@@ -6247,6 +7046,7 @@ export type Database = {
|
|
|
6247
7046
|
Row: {
|
|
6248
7047
|
created_at: string;
|
|
6249
7048
|
id: string;
|
|
7049
|
+
is_primary: boolean;
|
|
6250
7050
|
occurrence_id: string;
|
|
6251
7051
|
site_id: string;
|
|
6252
7052
|
staff_member_id: string;
|
|
@@ -6254,6 +7054,7 @@ export type Database = {
|
|
|
6254
7054
|
Insert: {
|
|
6255
7055
|
created_at?: string;
|
|
6256
7056
|
id?: string;
|
|
7057
|
+
is_primary?: boolean;
|
|
6257
7058
|
occurrence_id: string;
|
|
6258
7059
|
site_id: string;
|
|
6259
7060
|
staff_member_id: string;
|
|
@@ -6261,6 +7062,7 @@ export type Database = {
|
|
|
6261
7062
|
Update: {
|
|
6262
7063
|
created_at?: string;
|
|
6263
7064
|
id?: string;
|
|
7065
|
+
is_primary?: boolean;
|
|
6264
7066
|
occurrence_id?: string;
|
|
6265
7067
|
site_id?: string;
|
|
6266
7068
|
staff_member_id?: string;
|
|
@@ -6679,6 +7481,7 @@ export type Database = {
|
|
|
6679
7481
|
created_at: string;
|
|
6680
7482
|
event_series_id: string;
|
|
6681
7483
|
id: string;
|
|
7484
|
+
is_primary: boolean;
|
|
6682
7485
|
site_id: string;
|
|
6683
7486
|
staff_member_id: string;
|
|
6684
7487
|
};
|
|
@@ -6686,6 +7489,7 @@ export type Database = {
|
|
|
6686
7489
|
created_at?: string;
|
|
6687
7490
|
event_series_id: string;
|
|
6688
7491
|
id?: string;
|
|
7492
|
+
is_primary?: boolean;
|
|
6689
7493
|
site_id: string;
|
|
6690
7494
|
staff_member_id: string;
|
|
6691
7495
|
};
|
|
@@ -6693,6 +7497,7 @@ export type Database = {
|
|
|
6693
7497
|
created_at?: string;
|
|
6694
7498
|
event_series_id?: string;
|
|
6695
7499
|
id?: string;
|
|
7500
|
+
is_primary?: boolean;
|
|
6696
7501
|
site_id?: string;
|
|
6697
7502
|
staff_member_id?: string;
|
|
6698
7503
|
};
|
|
@@ -6731,6 +7536,7 @@ export type Database = {
|
|
|
6731
7536
|
is_active: boolean;
|
|
6732
7537
|
name: string;
|
|
6733
7538
|
price_amount: number;
|
|
7539
|
+
recipe_identifier: string | null;
|
|
6734
7540
|
sale_ends_at: string | null;
|
|
6735
7541
|
sale_starts_at: string | null;
|
|
6736
7542
|
site_id: string;
|
|
@@ -6747,6 +7553,7 @@ export type Database = {
|
|
|
6747
7553
|
is_active?: boolean;
|
|
6748
7554
|
name: string;
|
|
6749
7555
|
price_amount: number;
|
|
7556
|
+
recipe_identifier?: string | null;
|
|
6750
7557
|
sale_ends_at?: string | null;
|
|
6751
7558
|
sale_starts_at?: string | null;
|
|
6752
7559
|
site_id: string;
|
|
@@ -6763,6 +7570,7 @@ export type Database = {
|
|
|
6763
7570
|
is_active?: boolean;
|
|
6764
7571
|
name?: string;
|
|
6765
7572
|
price_amount?: number;
|
|
7573
|
+
recipe_identifier?: string | null;
|
|
6766
7574
|
sale_ends_at?: string | null;
|
|
6767
7575
|
sale_starts_at?: string | null;
|
|
6768
7576
|
site_id?: string;
|
|
@@ -11621,6 +12429,7 @@ export type Database = {
|
|
|
11621
12429
|
revoked_at: string | null;
|
|
11622
12430
|
role: Database["public"]["Enums"]["site_role"];
|
|
11623
12431
|
site_id: string;
|
|
12432
|
+
staff_capabilities: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
11624
12433
|
token_hash: string;
|
|
11625
12434
|
updated_at: string;
|
|
11626
12435
|
};
|
|
@@ -11637,6 +12446,7 @@ export type Database = {
|
|
|
11637
12446
|
revoked_at?: string | null;
|
|
11638
12447
|
role: Database["public"]["Enums"]["site_role"];
|
|
11639
12448
|
site_id: string;
|
|
12449
|
+
staff_capabilities?: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
11640
12450
|
token_hash: string;
|
|
11641
12451
|
updated_at?: string;
|
|
11642
12452
|
};
|
|
@@ -11653,6 +12463,7 @@ export type Database = {
|
|
|
11653
12463
|
revoked_at?: string | null;
|
|
11654
12464
|
role?: Database["public"]["Enums"]["site_role"];
|
|
11655
12465
|
site_id?: string;
|
|
12466
|
+
staff_capabilities?: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
11656
12467
|
token_hash?: string;
|
|
11657
12468
|
updated_at?: string;
|
|
11658
12469
|
};
|
|
@@ -11737,6 +12548,7 @@ export type Database = {
|
|
|
11737
12548
|
removed_at: string | null;
|
|
11738
12549
|
role: Database["public"]["Enums"]["site_role"];
|
|
11739
12550
|
site_id: string;
|
|
12551
|
+
staff_capabilities: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
11740
12552
|
updated_at: string;
|
|
11741
12553
|
user_id: string;
|
|
11742
12554
|
};
|
|
@@ -11749,6 +12561,7 @@ export type Database = {
|
|
|
11749
12561
|
removed_at?: string | null;
|
|
11750
12562
|
role: Database["public"]["Enums"]["site_role"];
|
|
11751
12563
|
site_id: string;
|
|
12564
|
+
staff_capabilities?: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
11752
12565
|
updated_at?: string;
|
|
11753
12566
|
user_id: string;
|
|
11754
12567
|
};
|
|
@@ -11761,6 +12574,7 @@ export type Database = {
|
|
|
11761
12574
|
removed_at?: string | null;
|
|
11762
12575
|
role?: Database["public"]["Enums"]["site_role"];
|
|
11763
12576
|
site_id?: string;
|
|
12577
|
+
staff_capabilities?: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
11764
12578
|
updated_at?: string;
|
|
11765
12579
|
user_id?: string;
|
|
11766
12580
|
};
|
|
@@ -12250,6 +13064,8 @@ export type Database = {
|
|
|
12250
13064
|
Row: {
|
|
12251
13065
|
button_personality_id: string | null;
|
|
12252
13066
|
created_at: string;
|
|
13067
|
+
footer_look_id: string | null;
|
|
13068
|
+
header_look_id: string | null;
|
|
12253
13069
|
id: string;
|
|
12254
13070
|
is_current: boolean;
|
|
12255
13071
|
overrides: Json;
|
|
@@ -12263,6 +13079,8 @@ export type Database = {
|
|
|
12263
13079
|
Insert: {
|
|
12264
13080
|
button_personality_id?: string | null;
|
|
12265
13081
|
created_at?: string;
|
|
13082
|
+
footer_look_id?: string | null;
|
|
13083
|
+
header_look_id?: string | null;
|
|
12266
13084
|
id?: string;
|
|
12267
13085
|
is_current?: boolean;
|
|
12268
13086
|
overrides?: Json;
|
|
@@ -12276,6 +13094,8 @@ export type Database = {
|
|
|
12276
13094
|
Update: {
|
|
12277
13095
|
button_personality_id?: string | null;
|
|
12278
13096
|
created_at?: string;
|
|
13097
|
+
footer_look_id?: string | null;
|
|
13098
|
+
header_look_id?: string | null;
|
|
12279
13099
|
id?: string;
|
|
12280
13100
|
is_current?: boolean;
|
|
12281
13101
|
overrides?: Json;
|
|
@@ -12991,6 +13811,7 @@ export type Database = {
|
|
|
12991
13811
|
Row: {
|
|
12992
13812
|
content_type: string;
|
|
12993
13813
|
created_at: string;
|
|
13814
|
+
dedupe_key: string | null;
|
|
12994
13815
|
entry_id: string;
|
|
12995
13816
|
error_message: string | null;
|
|
12996
13817
|
external_job_id: string | null;
|
|
@@ -13011,6 +13832,7 @@ export type Database = {
|
|
|
13011
13832
|
Insert: {
|
|
13012
13833
|
content_type: string;
|
|
13013
13834
|
created_at?: string;
|
|
13835
|
+
dedupe_key?: string | null;
|
|
13014
13836
|
entry_id: string;
|
|
13015
13837
|
error_message?: string | null;
|
|
13016
13838
|
external_job_id?: string | null;
|
|
@@ -13031,6 +13853,7 @@ export type Database = {
|
|
|
13031
13853
|
Update: {
|
|
13032
13854
|
content_type?: string;
|
|
13033
13855
|
created_at?: string;
|
|
13856
|
+
dedupe_key?: string | null;
|
|
13034
13857
|
entry_id?: string;
|
|
13035
13858
|
error_message?: string | null;
|
|
13036
13859
|
external_job_id?: string | null;
|
|
@@ -13834,6 +14657,31 @@ export type Database = {
|
|
|
13834
14657
|
};
|
|
13835
14658
|
};
|
|
13836
14659
|
Functions: {
|
|
14660
|
+
_finalize_site_invitation: {
|
|
14661
|
+
Args: {
|
|
14662
|
+
p_invite: Database["public"]["Tables"]["site_invitations"]["Row"];
|
|
14663
|
+
p_user: string;
|
|
14664
|
+
};
|
|
14665
|
+
Returns: {
|
|
14666
|
+
accepted_at: string | null;
|
|
14667
|
+
created_at: string;
|
|
14668
|
+
id: string;
|
|
14669
|
+
invited_by: string | null;
|
|
14670
|
+
linked_staff_member_id: string | null;
|
|
14671
|
+
removed_at: string | null;
|
|
14672
|
+
role: Database["public"]["Enums"]["site_role"];
|
|
14673
|
+
site_id: string;
|
|
14674
|
+
staff_capabilities: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
14675
|
+
updated_at: string;
|
|
14676
|
+
user_id: string;
|
|
14677
|
+
};
|
|
14678
|
+
SetofOptions: {
|
|
14679
|
+
from: "*";
|
|
14680
|
+
to: "site_memberships";
|
|
14681
|
+
isOneToOne: true;
|
|
14682
|
+
isSetofReturn: false;
|
|
14683
|
+
};
|
|
14684
|
+
};
|
|
13837
14685
|
accept_site_invitation: {
|
|
13838
14686
|
Args: {
|
|
13839
14687
|
p_invitation_id: string;
|
|
@@ -13848,6 +14696,7 @@ export type Database = {
|
|
|
13848
14696
|
removed_at: string | null;
|
|
13849
14697
|
role: Database["public"]["Enums"]["site_role"];
|
|
13850
14698
|
site_id: string;
|
|
14699
|
+
staff_capabilities: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
13851
14700
|
updated_at: string;
|
|
13852
14701
|
user_id: string;
|
|
13853
14702
|
};
|
|
@@ -13858,6 +14707,23 @@ export type Database = {
|
|
|
13858
14707
|
isSetofReturn: false;
|
|
13859
14708
|
};
|
|
13860
14709
|
};
|
|
14710
|
+
acquire_demo_lifecycle_job_lease: {
|
|
14711
|
+
Args: {
|
|
14712
|
+
p_job_name: string;
|
|
14713
|
+
p_lease_token: string;
|
|
14714
|
+
p_locked_until: string;
|
|
14715
|
+
p_now: string;
|
|
14716
|
+
};
|
|
14717
|
+
Returns: {
|
|
14718
|
+
consecutive_failures: number;
|
|
14719
|
+
job_name: string;
|
|
14720
|
+
last_failed_at: string;
|
|
14721
|
+
last_started_at: string;
|
|
14722
|
+
last_succeeded_at: string;
|
|
14723
|
+
lease_token: string;
|
|
14724
|
+
locked_until: string;
|
|
14725
|
+
}[];
|
|
14726
|
+
};
|
|
13861
14727
|
adjust_product_inventory: {
|
|
13862
14728
|
Args: {
|
|
13863
14729
|
p_enforce_available?: boolean;
|
|
@@ -14189,6 +15055,32 @@ export type Database = {
|
|
|
14189
15055
|
enrollment_status: string;
|
|
14190
15056
|
}[];
|
|
14191
15057
|
};
|
|
15058
|
+
claim_next_available_demo_instance: {
|
|
15059
|
+
Args: {
|
|
15060
|
+
p_blueprint_id: string;
|
|
15061
|
+
p_claimant_email: string;
|
|
15062
|
+
p_claimant_user_id?: string;
|
|
15063
|
+
p_claimed_at: string;
|
|
15064
|
+
p_expires_at: string;
|
|
15065
|
+
};
|
|
15066
|
+
Returns: {
|
|
15067
|
+
claim_claimant_email: string;
|
|
15068
|
+
claim_claimant_user_id: string;
|
|
15069
|
+
claim_claimed_at: string;
|
|
15070
|
+
claim_expires_at: string;
|
|
15071
|
+
claim_id: string;
|
|
15072
|
+
claim_instance_id: string;
|
|
15073
|
+
claim_site_id: string;
|
|
15074
|
+
claim_status: string;
|
|
15075
|
+
instance_blueprint_id: string;
|
|
15076
|
+
instance_blueprint_version_id: string;
|
|
15077
|
+
instance_claimed_at: string;
|
|
15078
|
+
instance_expires_at: string;
|
|
15079
|
+
instance_id: string;
|
|
15080
|
+
instance_site_id: string;
|
|
15081
|
+
instance_status: string;
|
|
15082
|
+
}[];
|
|
15083
|
+
};
|
|
14192
15084
|
claim_participant_roster_assertion_jobs: {
|
|
14193
15085
|
Args: {
|
|
14194
15086
|
p_job_ids?: string[];
|
|
@@ -14210,6 +15102,27 @@ export type Database = {
|
|
|
14210
15102
|
target_kind: string;
|
|
14211
15103
|
}[];
|
|
14212
15104
|
};
|
|
15105
|
+
complete_demo_lifecycle_job_lease: {
|
|
15106
|
+
Args: {
|
|
15107
|
+
p_error_message?: string;
|
|
15108
|
+
p_finished_at: string;
|
|
15109
|
+
p_job_name: string;
|
|
15110
|
+
p_lease_token: string;
|
|
15111
|
+
p_status: string;
|
|
15112
|
+
p_summary: Json;
|
|
15113
|
+
};
|
|
15114
|
+
Returns: {
|
|
15115
|
+
consecutive_failures: number;
|
|
15116
|
+
job_name: string;
|
|
15117
|
+
last_error: string;
|
|
15118
|
+
last_failed_at: string;
|
|
15119
|
+
last_started_at: string;
|
|
15120
|
+
last_succeeded_at: string;
|
|
15121
|
+
last_summary: Json;
|
|
15122
|
+
lease_token: string;
|
|
15123
|
+
locked_until: string;
|
|
15124
|
+
}[];
|
|
15125
|
+
};
|
|
14213
15126
|
consume_booking_customer_credit_reservation: {
|
|
14214
15127
|
Args: {
|
|
14215
15128
|
p_booking_payment_id?: string;
|
|
@@ -14344,6 +15257,7 @@ export type Database = {
|
|
|
14344
15257
|
p_metadata?: Json;
|
|
14345
15258
|
p_role: string;
|
|
14346
15259
|
p_site_id: string;
|
|
15260
|
+
p_staff_capabilities?: Database["public"]["Enums"]["staff_operational_capability"][];
|
|
14347
15261
|
p_token_hash: string;
|
|
14348
15262
|
};
|
|
14349
15263
|
Returns: {
|
|
@@ -14359,6 +15273,7 @@ export type Database = {
|
|
|
14359
15273
|
revoked_at: string | null;
|
|
14360
15274
|
role: Database["public"]["Enums"]["site_role"];
|
|
14361
15275
|
site_id: string;
|
|
15276
|
+
staff_capabilities: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
14362
15277
|
token_hash: string;
|
|
14363
15278
|
updated_at: string;
|
|
14364
15279
|
};
|
|
@@ -14420,6 +15335,30 @@ export type Database = {
|
|
|
14420
15335
|
};
|
|
14421
15336
|
Returns: string;
|
|
14422
15337
|
};
|
|
15338
|
+
expire_demo_claim_atomic: {
|
|
15339
|
+
Args: {
|
|
15340
|
+
p_claim_id: string;
|
|
15341
|
+
p_expired_at: string;
|
|
15342
|
+
p_instance_id: string;
|
|
15343
|
+
};
|
|
15344
|
+
Returns: {
|
|
15345
|
+
claim_claimant_email: string;
|
|
15346
|
+
claim_claimant_user_id: string;
|
|
15347
|
+
claim_claimed_at: string;
|
|
15348
|
+
claim_expires_at: string;
|
|
15349
|
+
claim_id: string;
|
|
15350
|
+
claim_instance_id: string;
|
|
15351
|
+
claim_site_id: string;
|
|
15352
|
+
claim_status: string;
|
|
15353
|
+
instance_blueprint_id: string;
|
|
15354
|
+
instance_blueprint_version_id: string;
|
|
15355
|
+
instance_claimed_at: string;
|
|
15356
|
+
instance_expires_at: string;
|
|
15357
|
+
instance_id: string;
|
|
15358
|
+
instance_site_id: string;
|
|
15359
|
+
instance_status: string;
|
|
15360
|
+
}[];
|
|
15361
|
+
};
|
|
14423
15362
|
expire_overdue_passes: {
|
|
14424
15363
|
Args: {
|
|
14425
15364
|
p_site_id?: string;
|
|
@@ -14494,6 +15433,14 @@ export type Database = {
|
|
|
14494
15433
|
};
|
|
14495
15434
|
Returns: boolean;
|
|
14496
15435
|
};
|
|
15436
|
+
has_staff_capability: {
|
|
15437
|
+
Args: {
|
|
15438
|
+
p_capability: Database["public"]["Enums"]["staff_operational_capability"];
|
|
15439
|
+
p_site_id: string;
|
|
15440
|
+
p_user_id?: string;
|
|
15441
|
+
};
|
|
15442
|
+
Returns: boolean;
|
|
15443
|
+
};
|
|
14497
15444
|
increment_webhook_failure_count: {
|
|
14498
15445
|
Args: {
|
|
14499
15446
|
endpoint_id: string;
|
|
@@ -14971,6 +15918,7 @@ export type Database = {
|
|
|
14971
15918
|
removed_at: string | null;
|
|
14972
15919
|
role: Database["public"]["Enums"]["site_role"];
|
|
14973
15920
|
site_id: string;
|
|
15921
|
+
staff_capabilities: Database["public"]["Enums"]["staff_operational_capability"][] | null;
|
|
14974
15922
|
updated_at: string;
|
|
14975
15923
|
user_id: string;
|
|
14976
15924
|
};
|
|
@@ -15086,6 +16034,10 @@ export type Database = {
|
|
|
15086
16034
|
Enums: {
|
|
15087
16035
|
admin_role: "viewer" | "editor" | "org_admin" | "superadmin";
|
|
15088
16036
|
api_key_type: "content" | "preview" | "management";
|
|
16037
|
+
billing_component_kind: "extra_site" | "managed_domain_overage";
|
|
16038
|
+
billing_component_registrar_attempt_status: "in_flight" | "provider_succeeded" | "provider_failed" | "provider_unknown" | "provider_succeeded_persist_failed";
|
|
16039
|
+
billing_component_source_entity_type: "site" | "site_domain";
|
|
16040
|
+
billing_component_status: "pending_acceptance" | "accepted" | "sync_failed" | "registrar_failed" | "registrar_succeeded_persist_failed" | "active" | "ending" | "ended" | "failed";
|
|
15089
16041
|
billing_interval: "monthly" | "annual";
|
|
15090
16042
|
cancellation_context_category: "customer_requested" | "schedule_conflict" | "duplicate_or_admin_error" | "non_payment" | "policy_or_eligibility" | "other" | "legacy_client_unspecified";
|
|
15091
16043
|
content_entry_status: "draft" | "scheduled" | "published" | "archived";
|
|
@@ -15103,6 +16055,7 @@ export type Database = {
|
|
|
15103
16055
|
site_deployment_mode: "managed" | "headless_cms" | "headless_full";
|
|
15104
16056
|
site_purpose: "GENERATE_LEADS" | "SHOWCASE_PORTFOLIO" | "SELL_PRODUCTS" | "SELL_TICKETS" | "EVENT_INFO" | "BLOGGING" | "COMMUNITY" | "OTHER";
|
|
15105
16057
|
site_role: "owner" | "administrator" | "editor" | "team_member" | "event_host";
|
|
16058
|
+
staff_operational_capability: "appointments" | "event_ops";
|
|
15106
16059
|
};
|
|
15107
16060
|
CompositeTypes: {
|
|
15108
16061
|
[_ in never]: never;
|
|
@@ -15816,6 +16769,10 @@ export declare const Constants: {
|
|
|
15816
16769
|
readonly Enums: {
|
|
15817
16770
|
readonly admin_role: readonly ["viewer", "editor", "org_admin", "superadmin"];
|
|
15818
16771
|
readonly api_key_type: readonly ["content", "preview", "management"];
|
|
16772
|
+
readonly billing_component_kind: readonly ["extra_site", "managed_domain_overage"];
|
|
16773
|
+
readonly billing_component_registrar_attempt_status: readonly ["in_flight", "provider_succeeded", "provider_failed", "provider_unknown", "provider_succeeded_persist_failed"];
|
|
16774
|
+
readonly billing_component_source_entity_type: readonly ["site", "site_domain"];
|
|
16775
|
+
readonly billing_component_status: readonly ["pending_acceptance", "accepted", "sync_failed", "registrar_failed", "registrar_succeeded_persist_failed", "active", "ending", "ended", "failed"];
|
|
15819
16776
|
readonly billing_interval: readonly ["monthly", "annual"];
|
|
15820
16777
|
readonly cancellation_context_category: readonly ["customer_requested", "schedule_conflict", "duplicate_or_admin_error", "non_payment", "policy_or_eligibility", "other", "legacy_client_unspecified"];
|
|
15821
16778
|
readonly content_entry_status: readonly ["draft", "scheduled", "published", "archived"];
|
|
@@ -15833,6 +16790,7 @@ export declare const Constants: {
|
|
|
15833
16790
|
readonly site_deployment_mode: readonly ["managed", "headless_cms", "headless_full"];
|
|
15834
16791
|
readonly site_purpose: readonly ["GENERATE_LEADS", "SHOWCASE_PORTFOLIO", "SELL_PRODUCTS", "SELL_TICKETS", "EVENT_INFO", "BLOGGING", "COMMUNITY", "OTHER"];
|
|
15835
16792
|
readonly site_role: readonly ["owner", "administrator", "editor", "team_member", "event_host"];
|
|
16793
|
+
readonly staff_operational_capability: readonly ["appointments", "event_ops"];
|
|
15836
16794
|
};
|
|
15837
16795
|
};
|
|
15838
16796
|
readonly storage: {
|