@riverbankcms/sdk 0.95.0 → 0.98.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 +47 -5
- package/dist/{PreviewEditorSidebar-6FQYKOSB.mjs → PreviewEditorSidebar-CG3SSJND.mjs} +3 -3
- package/dist/{PreviewEditorUI-NPO2XMFB.mjs → PreviewEditorUI-RHNGKAAU.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-OV5PNJBB.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +10 -10
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +35 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +246 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +109 -40
- package/dist/_dts/api/src/endpoints.d.ts +80 -0
- package/dist/_dts/api/src/index.d.ts +3 -2
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +7 -1
- package/dist/_dts/block-form/src/client/index.d.ts +1 -1
- package/dist/_dts/block-form/src/fields/types.d.ts +9 -1
- package/dist/_dts/block-form/src/registry/schemas.d.ts +4 -0
- package/dist/_dts/block-form/src/registry/widgets.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/InlineTextField/InlineTextField.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/InlineTextField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/InlineTextField/inlineTextFieldDefaults.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/InlineTextField/inlineTextFieldSchema.d.ts +3 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -0
- package/dist/_dts/blocks/src/bindings/types.d.ts +1 -4
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +7 -0
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +12 -12
- package/dist/_dts/blocks/src/index.d.ts +2 -0
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -29631
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -29614
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -29634
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -29627
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +2 -29585
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -29677
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -29655
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +220 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -29655
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -29685
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -29761
- package/dist/_dts/blocks/src/system/blocks/weekly-slot-availability.d.ts +34 -0
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +4 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +9 -0
- package/dist/_dts/blocks/src/system/inlineText.d.ts +78 -0
- package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -1
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +15 -3
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +188 -7
- package/dist/_dts/blocks/src/system/node/builder.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/schema.d.ts +13 -0
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAppointmentCheckoutVerification.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +133 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/renderInlineText.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.controller.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.state.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.server.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.view.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +31 -1
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +5 -0
- package/dist/_dts/blocks/src/utils/date-formatting.d.ts +1 -1
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/primitives/PreviewInlineTextEditor.d.ts +9 -0
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/bindingTypeCompatibility.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +30 -0
- package/dist/_dts/content-model/src/templates/types.d.ts +3 -6
- package/dist/_dts/core/src/branded.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +505 -2
- package/dist/_dts/editor/src/inline/FloatingToolbar.d.ts +18 -0
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +18 -1
- package/dist/_dts/editor/src/inline/InlineTextEditorStyles.d.ts +1 -0
- package/dist/_dts/editor/src/inline/domParse.d.ts +3 -0
- package/dist/_dts/editor/src/inline/presentation.d.ts +48 -0
- package/dist/_dts/editor/src/inline/selection.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/inline-text/index.d.ts +1 -0
- package/dist/_dts/field-primitives/src/bindings/index.d.ts +8 -0
- package/dist/_dts/path-utils/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/content.d.ts +56 -0
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +4 -7
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +9 -3
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +56 -0
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +34 -0
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +14 -0
- package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +46 -0
- package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +16 -14
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +8 -4
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +6 -7
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +22 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +78 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +36 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +23 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +48 -0
- package/dist/_dts/sdk/src/cli/push-config.d.ts +13 -2
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +51 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +21 -0
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +3 -6
- package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +39 -0
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +1 -1
- package/dist/_dts/sdk/src/client/types.d.ts +18 -2
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +8 -3
- package/dist/_dts/sdk/src/config/typed-entries.d.ts +5 -3
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/bindings.d.ts +4 -7
- package/dist/_dts/sdk/src/contracts/content.d.ts +18 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +16 -2
- package/dist/_dts/sdk/src/next/route-outcome-proxy.d.ts +3 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +174 -78
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +4 -3
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +52 -1
- package/dist/_dts/sdk/src/rendering/hooks/usePage.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +18 -66
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/types.d.ts +15 -15
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +42 -42
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +44 -44
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -16
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
- package/dist/{chunk-4A6NWO3X.mjs → chunk-6WDBXCPX.mjs} +73 -12
- package/dist/{chunk-VZBSD4AJ.mjs → chunk-DBRI3PQF.mjs} +2281 -322
- package/dist/{chunk-PJPFTVZG.mjs → chunk-H24OU7WG.mjs} +106 -4
- package/dist/{chunk-K2SJTZMX.mjs → chunk-PKDPQHB5.mjs} +2 -2
- package/dist/{chunk-VTPPVAOL.mjs → chunk-QPXE2OUZ.mjs} +1 -1
- package/dist/{chunk-7ED5UNHL.mjs → chunk-V2BYFSPW.mjs} +109 -0
- package/dist/cli/index.mjs +4182 -1165
- package/dist/cli/init-docs/content/cli-reference.md +72 -5
- package/dist/cli/init-docs/content/content-management.md +22 -0
- package/dist/cli/init-docs/content/getting-started.md +8 -0
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +3 -1
- package/dist/cli/init-docs/content/workflow-preview-mode.md +6 -0
- package/dist/cli/init-docs/content/workflow-remote-setup.md +51 -0
- package/dist/client/{accordion-LGO4IO5U.mjs → accordion-Q2BDNL53.mjs} +1 -1
- package/dist/client/{bookingForm-MWLS4LGU.mjs → bookingForm-ZMP4P7EK.mjs} +16 -6
- package/dist/client/bookings.mjs +98 -18
- package/dist/client/{carousel-6AHNP5HA.mjs → carousel-LW3UXPWO.mjs} +1 -1
- package/dist/client/{cart-CIXGYAZB.mjs → cart-Z6D3KS6K.mjs} +5 -5
- package/dist/client/{checkout-OTX6O3DN.mjs → checkout-YMT2QJQM.mjs} +5 -5
- package/dist/client/{chunk-Y2PMKCXO.mjs → chunk-26ZBRXFR.mjs} +9 -3
- package/dist/client/{chunk-MYCXAKWP.mjs → chunk-DRRQ7QSL.mjs} +2 -2
- package/dist/client/{chunk-TREIML53.mjs → chunk-ET2MDQQT.mjs} +4 -4
- package/dist/client/{chunk-AVBQSUIS.mjs → chunk-HBQEAOG4.mjs} +1 -1
- package/dist/client/{chunk-INRIT6DP.mjs → chunk-IEOECM7U.mjs} +62 -43
- package/dist/client/{chunk-TNGL2WJF.mjs → chunk-KDP7ZRZV.mjs} +16 -0
- package/dist/client/{chunk-V67AT7ZW.mjs → chunk-R4XK3CKR.mjs} +18 -1
- package/dist/client/{chunk-R3NQTBWE.mjs → chunk-SK2BMD22.mjs} +2 -2
- package/dist/client/{chunk-HOP7MKAZ.mjs → chunk-XNTHVZ25.mjs} +1 -1
- package/dist/client/client.mjs +5172 -4177
- package/dist/client/{courseRegistration-2LU6C3JL.mjs → courseRegistration-DGKCMC77.mjs} +4 -4
- package/dist/client/{eventCalendar-OKUSISBZ.mjs → eventCalendar-74Z2NNFM.mjs} +7 -7
- package/dist/client/{eventCombined-CMF6CD4S.mjs → eventCombined-GK2ODOX2.mjs} +7 -7
- package/dist/client/{eventDetails-XYWH7WXI.mjs → eventDetails-MONAGT3N.mjs} +7 -7
- package/dist/client/{eventListing-EK5DJTAH.mjs → eventListing-SKGAO6PS.mjs} +7 -7
- package/dist/client/{eventRegistration-XDOSICV6.mjs → eventRegistration-6KISGXRD.mjs} +7 -7
- package/dist/client/{form-J6GOHKYG.mjs → form-FXPRTXHI.mjs} +2 -2
- package/dist/client/{headerSection-C5SYJTRW.mjs → headerSection-7NAN5WNB.mjs} +2 -2
- package/dist/client/hooks.mjs +1681 -1337
- package/dist/client/{locationMap-QSQIFVVT.mjs → locationMap-UERN74U4.mjs} +2 -2
- package/dist/client/{newsletterForm-47VXJRWK.mjs → newsletterForm-SGWXMJ7U.mjs} +2 -2
- package/dist/client/{productDetail-5U6ISCC2.mjs → productDetail-HN3HWZQZ.mjs} +5 -5
- package/dist/client/{productList-XDZUMR3P.mjs → productList-YT22Z5UR.mjs} +5 -5
- package/dist/client/rendering/client.mjs +4796 -4288
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +2120 -1106
- package/dist/client/{shop-ZSZKIY3R.mjs → shop-TKEDNWUS.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +109 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +109 -0
- package/dist/{sdk-runtime-PHNM7MRD.mjs → sdk-runtime-LWNYCQF2.mjs} +6 -6
- package/dist/server/components.mjs +3777 -2981
- package/dist/server/config-template-validation.mjs +35 -22
- package/dist/server/config-validation.mjs +1883 -1565
- package/dist/server/config.mjs +1883 -1565
- package/dist/server/data.mjs +1667 -1334
- package/dist/server/index.mjs +208 -9
- package/dist/server/next/middleware.mjs +2 -2
- package/dist/server/next.mjs +4077 -3060
- package/dist/server/page-converter.mjs +1481 -1279
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3806 -2993
- package/dist/server/rendering.mjs +4000 -3060
- package/dist/server/routing.mjs +1737 -1357
- package/dist/server/server.mjs +2918 -2276
- package/dist/server/theme-bridge.mjs +43 -0
- package/dist/styles/index.css +44 -0
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-PBEFH5AL.mjs +0 -8
|
@@ -846,6 +846,335 @@ export type Database = {
|
|
|
846
846
|
}
|
|
847
847
|
];
|
|
848
848
|
};
|
|
849
|
+
appointment_payment_requests: {
|
|
850
|
+
Row: {
|
|
851
|
+
appointment_id: string;
|
|
852
|
+
appointment_reservation_id: string | null;
|
|
853
|
+
appointment_reservation_run_id: string | null;
|
|
854
|
+
attempt_count: number;
|
|
855
|
+
cancelled_at: string | null;
|
|
856
|
+
created_at: string;
|
|
857
|
+
failed_at: string | null;
|
|
858
|
+
failure_message: string | null;
|
|
859
|
+
id: string;
|
|
860
|
+
idempotency_key: string;
|
|
861
|
+
metadata: Json;
|
|
862
|
+
order_id: string | null;
|
|
863
|
+
processing_expires_at: string | null;
|
|
864
|
+
processing_started_at: string | null;
|
|
865
|
+
scheduled_send_at: string;
|
|
866
|
+
sent_at: string | null;
|
|
867
|
+
site_id: string;
|
|
868
|
+
status: string;
|
|
869
|
+
updated_at: string;
|
|
870
|
+
};
|
|
871
|
+
Insert: {
|
|
872
|
+
appointment_id: string;
|
|
873
|
+
appointment_reservation_id?: string | null;
|
|
874
|
+
appointment_reservation_run_id?: string | null;
|
|
875
|
+
attempt_count?: number;
|
|
876
|
+
cancelled_at?: string | null;
|
|
877
|
+
created_at?: string;
|
|
878
|
+
failed_at?: string | null;
|
|
879
|
+
failure_message?: string | null;
|
|
880
|
+
id?: string;
|
|
881
|
+
idempotency_key: string;
|
|
882
|
+
metadata?: Json;
|
|
883
|
+
order_id?: string | null;
|
|
884
|
+
processing_expires_at?: string | null;
|
|
885
|
+
processing_started_at?: string | null;
|
|
886
|
+
scheduled_send_at: string;
|
|
887
|
+
sent_at?: string | null;
|
|
888
|
+
site_id: string;
|
|
889
|
+
status?: string;
|
|
890
|
+
updated_at?: string;
|
|
891
|
+
};
|
|
892
|
+
Update: {
|
|
893
|
+
appointment_id?: string;
|
|
894
|
+
appointment_reservation_id?: string | null;
|
|
895
|
+
appointment_reservation_run_id?: string | null;
|
|
896
|
+
attempt_count?: number;
|
|
897
|
+
cancelled_at?: string | null;
|
|
898
|
+
created_at?: string;
|
|
899
|
+
failed_at?: string | null;
|
|
900
|
+
failure_message?: string | null;
|
|
901
|
+
id?: string;
|
|
902
|
+
idempotency_key?: string;
|
|
903
|
+
metadata?: Json;
|
|
904
|
+
order_id?: string | null;
|
|
905
|
+
processing_expires_at?: string | null;
|
|
906
|
+
processing_started_at?: string | null;
|
|
907
|
+
scheduled_send_at?: string;
|
|
908
|
+
sent_at?: string | null;
|
|
909
|
+
site_id?: string;
|
|
910
|
+
status?: string;
|
|
911
|
+
updated_at?: string;
|
|
912
|
+
};
|
|
913
|
+
Relationships: [
|
|
914
|
+
{
|
|
915
|
+
foreignKeyName: "appointment_payment_requests_appointment_id_fkey";
|
|
916
|
+
columns: ["appointment_id"];
|
|
917
|
+
isOneToOne: false;
|
|
918
|
+
referencedRelation: "appointments";
|
|
919
|
+
referencedColumns: ["id"];
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
foreignKeyName: "appointment_payment_requests_appointment_reservation_context_fk";
|
|
923
|
+
columns: ["appointment_id", "appointment_reservation_id", "site_id"];
|
|
924
|
+
isOneToOne: false;
|
|
925
|
+
referencedRelation: "appointments";
|
|
926
|
+
referencedColumns: ["id", "appointment_reservation_id", "site_id"];
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
foreignKeyName: "appointment_payment_requests_appointment_reservation_id_fkey";
|
|
930
|
+
columns: ["appointment_reservation_id"];
|
|
931
|
+
isOneToOne: false;
|
|
932
|
+
referencedRelation: "appointment_reservations";
|
|
933
|
+
referencedColumns: ["id"];
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
foreignKeyName: "appointment_payment_requests_appointment_reservation_run_i_fkey";
|
|
937
|
+
columns: ["appointment_reservation_run_id"];
|
|
938
|
+
isOneToOne: false;
|
|
939
|
+
referencedRelation: "appointment_reservation_runs";
|
|
940
|
+
referencedColumns: ["id"];
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
foreignKeyName: "appointment_payment_requests_appointment_run_context_fk";
|
|
944
|
+
columns: [
|
|
945
|
+
"appointment_id",
|
|
946
|
+
"appointment_reservation_run_id",
|
|
947
|
+
"site_id"
|
|
948
|
+
];
|
|
949
|
+
isOneToOne: false;
|
|
950
|
+
referencedRelation: "appointments";
|
|
951
|
+
referencedColumns: [
|
|
952
|
+
"id",
|
|
953
|
+
"appointment_reservation_run_id",
|
|
954
|
+
"site_id"
|
|
955
|
+
];
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
foreignKeyName: "appointment_payment_requests_appointment_site_fk";
|
|
959
|
+
columns: ["appointment_id", "site_id"];
|
|
960
|
+
isOneToOne: false;
|
|
961
|
+
referencedRelation: "appointments";
|
|
962
|
+
referencedColumns: ["id", "site_id"];
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
foreignKeyName: "appointment_payment_requests_order_id_fkey";
|
|
966
|
+
columns: ["order_id"];
|
|
967
|
+
isOneToOne: false;
|
|
968
|
+
referencedRelation: "orders";
|
|
969
|
+
referencedColumns: ["id"];
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
foreignKeyName: "appointment_payment_requests_order_site_fk";
|
|
973
|
+
columns: ["order_id", "site_id"];
|
|
974
|
+
isOneToOne: false;
|
|
975
|
+
referencedRelation: "orders";
|
|
976
|
+
referencedColumns: ["id", "site_id"];
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
foreignKeyName: "appointment_payment_requests_reservation_site_fk";
|
|
980
|
+
columns: ["appointment_reservation_id", "site_id"];
|
|
981
|
+
isOneToOne: false;
|
|
982
|
+
referencedRelation: "appointment_reservations";
|
|
983
|
+
referencedColumns: ["id", "site_id"];
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
foreignKeyName: "appointment_payment_requests_run_site_fk";
|
|
987
|
+
columns: ["appointment_reservation_run_id", "site_id"];
|
|
988
|
+
isOneToOne: false;
|
|
989
|
+
referencedRelation: "appointment_reservation_runs";
|
|
990
|
+
referencedColumns: ["id", "site_id"];
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
foreignKeyName: "appointment_payment_requests_site_id_fkey";
|
|
994
|
+
columns: ["site_id"];
|
|
995
|
+
isOneToOne: false;
|
|
996
|
+
referencedRelation: "sites";
|
|
997
|
+
referencedColumns: ["id"];
|
|
998
|
+
}
|
|
999
|
+
];
|
|
1000
|
+
};
|
|
1001
|
+
appointment_reservation_runs: {
|
|
1002
|
+
Row: {
|
|
1003
|
+
created_at: string;
|
|
1004
|
+
created_by: string | null;
|
|
1005
|
+
id: string;
|
|
1006
|
+
idempotency_key: string;
|
|
1007
|
+
metadata: Json;
|
|
1008
|
+
reservation_id: string;
|
|
1009
|
+
selected_occurrence_keys: Json;
|
|
1010
|
+
site_id: string;
|
|
1011
|
+
status: string;
|
|
1012
|
+
updated_at: string;
|
|
1013
|
+
};
|
|
1014
|
+
Insert: {
|
|
1015
|
+
created_at?: string;
|
|
1016
|
+
created_by?: string | null;
|
|
1017
|
+
id?: string;
|
|
1018
|
+
idempotency_key: string;
|
|
1019
|
+
metadata?: Json;
|
|
1020
|
+
reservation_id: string;
|
|
1021
|
+
selected_occurrence_keys?: Json;
|
|
1022
|
+
site_id: string;
|
|
1023
|
+
status?: string;
|
|
1024
|
+
updated_at?: string;
|
|
1025
|
+
};
|
|
1026
|
+
Update: {
|
|
1027
|
+
created_at?: string;
|
|
1028
|
+
created_by?: string | null;
|
|
1029
|
+
id?: string;
|
|
1030
|
+
idempotency_key?: string;
|
|
1031
|
+
metadata?: Json;
|
|
1032
|
+
reservation_id?: string;
|
|
1033
|
+
selected_occurrence_keys?: Json;
|
|
1034
|
+
site_id?: string;
|
|
1035
|
+
status?: string;
|
|
1036
|
+
updated_at?: string;
|
|
1037
|
+
};
|
|
1038
|
+
Relationships: [
|
|
1039
|
+
{
|
|
1040
|
+
foreignKeyName: "appointment_reservation_runs_reservation_id_fkey";
|
|
1041
|
+
columns: ["reservation_id"];
|
|
1042
|
+
isOneToOne: false;
|
|
1043
|
+
referencedRelation: "appointment_reservations";
|
|
1044
|
+
referencedColumns: ["id"];
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
foreignKeyName: "appointment_reservation_runs_reservation_site_fk";
|
|
1048
|
+
columns: ["reservation_id", "site_id"];
|
|
1049
|
+
isOneToOne: false;
|
|
1050
|
+
referencedRelation: "appointment_reservations";
|
|
1051
|
+
referencedColumns: ["id", "site_id"];
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
foreignKeyName: "appointment_reservation_runs_site_id_fkey";
|
|
1055
|
+
columns: ["site_id"];
|
|
1056
|
+
isOneToOne: false;
|
|
1057
|
+
referencedRelation: "sites";
|
|
1058
|
+
referencedColumns: ["id"];
|
|
1059
|
+
}
|
|
1060
|
+
];
|
|
1061
|
+
};
|
|
1062
|
+
appointment_reservations: {
|
|
1063
|
+
Row: {
|
|
1064
|
+
cleanup_minutes: number;
|
|
1065
|
+
created_at: string;
|
|
1066
|
+
customer_id: string;
|
|
1067
|
+
duration_minutes: number;
|
|
1068
|
+
ends_on: string | null;
|
|
1069
|
+
id: string;
|
|
1070
|
+
local_start_time: string;
|
|
1071
|
+
metadata: Json;
|
|
1072
|
+
payment_mode: string;
|
|
1073
|
+
payment_request_send_offset_minutes: number | null;
|
|
1074
|
+
prep_minutes: number;
|
|
1075
|
+
resource_id: string;
|
|
1076
|
+
service_id: string;
|
|
1077
|
+
site_id: string;
|
|
1078
|
+
starts_on: string;
|
|
1079
|
+
status: string;
|
|
1080
|
+
timezone: string;
|
|
1081
|
+
updated_at: string;
|
|
1082
|
+
weekday: number;
|
|
1083
|
+
};
|
|
1084
|
+
Insert: {
|
|
1085
|
+
cleanup_minutes?: number;
|
|
1086
|
+
created_at?: string;
|
|
1087
|
+
customer_id: string;
|
|
1088
|
+
duration_minutes: number;
|
|
1089
|
+
ends_on?: string | null;
|
|
1090
|
+
id?: string;
|
|
1091
|
+
local_start_time: string;
|
|
1092
|
+
metadata?: Json;
|
|
1093
|
+
payment_mode?: string;
|
|
1094
|
+
payment_request_send_offset_minutes?: number | null;
|
|
1095
|
+
prep_minutes?: number;
|
|
1096
|
+
resource_id: string;
|
|
1097
|
+
service_id: string;
|
|
1098
|
+
site_id: string;
|
|
1099
|
+
starts_on: string;
|
|
1100
|
+
status?: string;
|
|
1101
|
+
timezone: string;
|
|
1102
|
+
updated_at?: string;
|
|
1103
|
+
weekday: number;
|
|
1104
|
+
};
|
|
1105
|
+
Update: {
|
|
1106
|
+
cleanup_minutes?: number;
|
|
1107
|
+
created_at?: string;
|
|
1108
|
+
customer_id?: string;
|
|
1109
|
+
duration_minutes?: number;
|
|
1110
|
+
ends_on?: string | null;
|
|
1111
|
+
id?: string;
|
|
1112
|
+
local_start_time?: string;
|
|
1113
|
+
metadata?: Json;
|
|
1114
|
+
payment_mode?: string;
|
|
1115
|
+
payment_request_send_offset_minutes?: number | null;
|
|
1116
|
+
prep_minutes?: number;
|
|
1117
|
+
resource_id?: string;
|
|
1118
|
+
service_id?: string;
|
|
1119
|
+
site_id?: string;
|
|
1120
|
+
starts_on?: string;
|
|
1121
|
+
status?: string;
|
|
1122
|
+
timezone?: string;
|
|
1123
|
+
updated_at?: string;
|
|
1124
|
+
weekday?: number;
|
|
1125
|
+
};
|
|
1126
|
+
Relationships: [
|
|
1127
|
+
{
|
|
1128
|
+
foreignKeyName: "appointment_reservations_customer_id_fkey";
|
|
1129
|
+
columns: ["customer_id"];
|
|
1130
|
+
isOneToOne: false;
|
|
1131
|
+
referencedRelation: "booking_customers";
|
|
1132
|
+
referencedColumns: ["id"];
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
foreignKeyName: "appointment_reservations_customer_site_fk";
|
|
1136
|
+
columns: ["customer_id", "site_id"];
|
|
1137
|
+
isOneToOne: false;
|
|
1138
|
+
referencedRelation: "booking_customers";
|
|
1139
|
+
referencedColumns: ["id", "site_id"];
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
foreignKeyName: "appointment_reservations_resource_id_fkey";
|
|
1143
|
+
columns: ["resource_id"];
|
|
1144
|
+
isOneToOne: false;
|
|
1145
|
+
referencedRelation: "staff_members";
|
|
1146
|
+
referencedColumns: ["id"];
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
foreignKeyName: "appointment_reservations_resource_site_fk";
|
|
1150
|
+
columns: ["resource_id", "site_id"];
|
|
1151
|
+
isOneToOne: false;
|
|
1152
|
+
referencedRelation: "staff_members";
|
|
1153
|
+
referencedColumns: ["id", "site_id"];
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
foreignKeyName: "appointment_reservations_service_id_fkey";
|
|
1157
|
+
columns: ["service_id"];
|
|
1158
|
+
isOneToOne: false;
|
|
1159
|
+
referencedRelation: "appointment_services";
|
|
1160
|
+
referencedColumns: ["id"];
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
foreignKeyName: "appointment_reservations_service_site_fk";
|
|
1164
|
+
columns: ["service_id", "site_id"];
|
|
1165
|
+
isOneToOne: false;
|
|
1166
|
+
referencedRelation: "appointment_services";
|
|
1167
|
+
referencedColumns: ["id", "site_id"];
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
foreignKeyName: "appointment_reservations_site_id_fkey";
|
|
1171
|
+
columns: ["site_id"];
|
|
1172
|
+
isOneToOne: false;
|
|
1173
|
+
referencedRelation: "sites";
|
|
1174
|
+
referencedColumns: ["id"];
|
|
1175
|
+
}
|
|
1176
|
+
];
|
|
1177
|
+
};
|
|
849
1178
|
appointment_services: {
|
|
850
1179
|
Row: {
|
|
851
1180
|
cleanup_minutes: number;
|
|
@@ -1008,6 +1337,9 @@ export type Database = {
|
|
|
1008
1337
|
};
|
|
1009
1338
|
appointments: {
|
|
1010
1339
|
Row: {
|
|
1340
|
+
appointment_reservation_id: string | null;
|
|
1341
|
+
appointment_reservation_occurrence_key: string | null;
|
|
1342
|
+
appointment_reservation_run_id: string | null;
|
|
1011
1343
|
cancellation_reason: string | null;
|
|
1012
1344
|
cancelled_at: string | null;
|
|
1013
1345
|
created_at: string;
|
|
@@ -1030,6 +1362,9 @@ export type Database = {
|
|
|
1030
1362
|
updated_at: string;
|
|
1031
1363
|
};
|
|
1032
1364
|
Insert: {
|
|
1365
|
+
appointment_reservation_id?: string | null;
|
|
1366
|
+
appointment_reservation_occurrence_key?: string | null;
|
|
1367
|
+
appointment_reservation_run_id?: string | null;
|
|
1033
1368
|
cancellation_reason?: string | null;
|
|
1034
1369
|
cancelled_at?: string | null;
|
|
1035
1370
|
created_at?: string;
|
|
@@ -1052,6 +1387,9 @@ export type Database = {
|
|
|
1052
1387
|
updated_at?: string;
|
|
1053
1388
|
};
|
|
1054
1389
|
Update: {
|
|
1390
|
+
appointment_reservation_id?: string | null;
|
|
1391
|
+
appointment_reservation_occurrence_key?: string | null;
|
|
1392
|
+
appointment_reservation_run_id?: string | null;
|
|
1055
1393
|
cancellation_reason?: string | null;
|
|
1056
1394
|
cancelled_at?: string | null;
|
|
1057
1395
|
created_at?: string;
|
|
@@ -1074,6 +1412,20 @@ export type Database = {
|
|
|
1074
1412
|
updated_at?: string;
|
|
1075
1413
|
};
|
|
1076
1414
|
Relationships: [
|
|
1415
|
+
{
|
|
1416
|
+
foreignKeyName: "appointments_appointment_reservation_id_fkey";
|
|
1417
|
+
columns: ["appointment_reservation_id"];
|
|
1418
|
+
isOneToOne: false;
|
|
1419
|
+
referencedRelation: "appointment_reservations";
|
|
1420
|
+
referencedColumns: ["id"];
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
foreignKeyName: "appointments_appointment_reservation_run_id_fkey";
|
|
1424
|
+
columns: ["appointment_reservation_run_id"];
|
|
1425
|
+
isOneToOne: false;
|
|
1426
|
+
referencedRelation: "appointment_reservation_runs";
|
|
1427
|
+
referencedColumns: ["id"];
|
|
1428
|
+
},
|
|
1077
1429
|
{
|
|
1078
1430
|
foreignKeyName: "appointments_customer_id_fkey";
|
|
1079
1431
|
columns: ["customer_id"];
|
|
@@ -1088,6 +1440,31 @@ export type Database = {
|
|
|
1088
1440
|
referencedRelation: "forms";
|
|
1089
1441
|
referencedColumns: ["id"];
|
|
1090
1442
|
},
|
|
1443
|
+
{
|
|
1444
|
+
foreignKeyName: "appointments_reservation_run_context_fk";
|
|
1445
|
+
columns: [
|
|
1446
|
+
"appointment_reservation_run_id",
|
|
1447
|
+
"appointment_reservation_id",
|
|
1448
|
+
"site_id"
|
|
1449
|
+
];
|
|
1450
|
+
isOneToOne: false;
|
|
1451
|
+
referencedRelation: "appointment_reservation_runs";
|
|
1452
|
+
referencedColumns: ["id", "reservation_id", "site_id"];
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
foreignKeyName: "appointments_reservation_run_site_fk";
|
|
1456
|
+
columns: ["appointment_reservation_run_id", "site_id"];
|
|
1457
|
+
isOneToOne: false;
|
|
1458
|
+
referencedRelation: "appointment_reservation_runs";
|
|
1459
|
+
referencedColumns: ["id", "site_id"];
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
foreignKeyName: "appointments_reservation_site_fk";
|
|
1463
|
+
columns: ["appointment_reservation_id", "site_id"];
|
|
1464
|
+
isOneToOne: false;
|
|
1465
|
+
referencedRelation: "appointment_reservations";
|
|
1466
|
+
referencedColumns: ["id", "site_id"];
|
|
1467
|
+
},
|
|
1091
1468
|
{
|
|
1092
1469
|
foreignKeyName: "appointments_resource_id_fkey";
|
|
1093
1470
|
columns: ["resource_id"];
|
|
@@ -4551,6 +4928,7 @@ export type Database = {
|
|
|
4551
4928
|
entry_slot_id: string | null;
|
|
4552
4929
|
id: string;
|
|
4553
4930
|
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
4931
|
+
page_surface_id: string | null;
|
|
4554
4932
|
page_id: string | null;
|
|
4555
4933
|
site_id: string;
|
|
4556
4934
|
stage: Database["public"]["Enums"]["content_stage"];
|
|
@@ -4570,6 +4948,7 @@ export type Database = {
|
|
|
4570
4948
|
entry_slot_id?: string | null;
|
|
4571
4949
|
id?: string;
|
|
4572
4950
|
owner_kind?: Database["public"]["Enums"]["content_owner_kind"];
|
|
4951
|
+
page_surface_id?: string | null;
|
|
4573
4952
|
page_id?: string | null;
|
|
4574
4953
|
site_id: string;
|
|
4575
4954
|
stage?: Database["public"]["Enums"]["content_stage"];
|
|
@@ -4589,6 +4968,7 @@ export type Database = {
|
|
|
4589
4968
|
entry_slot_id?: string | null;
|
|
4590
4969
|
id?: string;
|
|
4591
4970
|
owner_kind?: Database["public"]["Enums"]["content_owner_kind"];
|
|
4971
|
+
page_surface_id?: string | null;
|
|
4592
4972
|
page_id?: string | null;
|
|
4593
4973
|
site_id?: string;
|
|
4594
4974
|
stage?: Database["public"]["Enums"]["content_stage"];
|
|
@@ -4626,6 +5006,13 @@ export type Database = {
|
|
|
4626
5006
|
referencedRelation: "entry_block_slots";
|
|
4627
5007
|
referencedColumns: ["id"];
|
|
4628
5008
|
},
|
|
5009
|
+
{
|
|
5010
|
+
foreignKeyName: "content_versions_page_surface_id_fkey";
|
|
5011
|
+
columns: ["page_surface_id"];
|
|
5012
|
+
isOneToOne: false;
|
|
5013
|
+
referencedRelation: "page_surfaces";
|
|
5014
|
+
referencedColumns: ["id"];
|
|
5015
|
+
},
|
|
4629
5016
|
{
|
|
4630
5017
|
foreignKeyName: "content_versions_page_id_fkey";
|
|
4631
5018
|
columns: ["page_id"];
|
|
@@ -11735,12 +12122,15 @@ export type Database = {
|
|
|
11735
12122
|
};
|
|
11736
12123
|
page_surfaces: {
|
|
11737
12124
|
Row: {
|
|
12125
|
+
content_type_id: string | null;
|
|
11738
12126
|
created_at: string;
|
|
11739
12127
|
created_by: string | null;
|
|
11740
12128
|
deleted_at: string | null;
|
|
12129
|
+
draft_content_version_id: string | null;
|
|
11741
12130
|
id: string;
|
|
11742
12131
|
metadata_json: Json;
|
|
11743
12132
|
migration_source: Json;
|
|
12133
|
+
published_content_version_id: string | null;
|
|
11744
12134
|
readiness_state: string;
|
|
11745
12135
|
route_id: string | null;
|
|
11746
12136
|
site_id: string;
|
|
@@ -11753,12 +12143,15 @@ export type Database = {
|
|
|
11753
12143
|
updated_by: string | null;
|
|
11754
12144
|
};
|
|
11755
12145
|
Insert: {
|
|
12146
|
+
content_type_id?: string | null;
|
|
11756
12147
|
created_at?: string;
|
|
11757
12148
|
created_by?: string | null;
|
|
11758
12149
|
deleted_at?: string | null;
|
|
12150
|
+
draft_content_version_id?: string | null;
|
|
11759
12151
|
id?: string;
|
|
11760
12152
|
metadata_json?: Json;
|
|
11761
12153
|
migration_source?: Json;
|
|
12154
|
+
published_content_version_id?: string | null;
|
|
11762
12155
|
readiness_state?: string;
|
|
11763
12156
|
route_id?: string | null;
|
|
11764
12157
|
site_id: string;
|
|
@@ -11771,12 +12164,15 @@ export type Database = {
|
|
|
11771
12164
|
updated_by?: string | null;
|
|
11772
12165
|
};
|
|
11773
12166
|
Update: {
|
|
12167
|
+
content_type_id?: string | null;
|
|
11774
12168
|
created_at?: string;
|
|
11775
12169
|
created_by?: string | null;
|
|
11776
12170
|
deleted_at?: string | null;
|
|
12171
|
+
draft_content_version_id?: string | null;
|
|
11777
12172
|
id?: string;
|
|
11778
12173
|
metadata_json?: Json;
|
|
11779
12174
|
migration_source?: Json;
|
|
12175
|
+
published_content_version_id?: string | null;
|
|
11780
12176
|
readiness_state?: string;
|
|
11781
12177
|
route_id?: string | null;
|
|
11782
12178
|
site_id?: string;
|
|
@@ -11789,6 +12185,27 @@ export type Database = {
|
|
|
11789
12185
|
updated_by?: string | null;
|
|
11790
12186
|
};
|
|
11791
12187
|
Relationships: [
|
|
12188
|
+
{
|
|
12189
|
+
foreignKeyName: "page_surfaces_content_type_id_fkey";
|
|
12190
|
+
columns: ["content_type_id"];
|
|
12191
|
+
isOneToOne: false;
|
|
12192
|
+
referencedRelation: "content_types";
|
|
12193
|
+
referencedColumns: ["id"];
|
|
12194
|
+
},
|
|
12195
|
+
{
|
|
12196
|
+
foreignKeyName: "page_surfaces_draft_content_version_id_fkey";
|
|
12197
|
+
columns: ["draft_content_version_id"];
|
|
12198
|
+
isOneToOne: false;
|
|
12199
|
+
referencedRelation: "content_versions";
|
|
12200
|
+
referencedColumns: ["id"];
|
|
12201
|
+
},
|
|
12202
|
+
{
|
|
12203
|
+
foreignKeyName: "page_surfaces_published_content_version_id_fkey";
|
|
12204
|
+
columns: ["published_content_version_id"];
|
|
12205
|
+
isOneToOne: false;
|
|
12206
|
+
referencedRelation: "content_versions";
|
|
12207
|
+
referencedColumns: ["id"];
|
|
12208
|
+
},
|
|
11792
12209
|
{
|
|
11793
12210
|
foreignKeyName: "page_surfaces_route_site_fk";
|
|
11794
12211
|
columns: ["route_id", "site_id"];
|
|
@@ -16357,6 +16774,74 @@ export type Database = {
|
|
|
16357
16774
|
enrollment_status: string;
|
|
16358
16775
|
}[];
|
|
16359
16776
|
};
|
|
16777
|
+
claim_due_appointment_payment_requests: {
|
|
16778
|
+
Args: {
|
|
16779
|
+
p_claim_ttl_seconds?: number;
|
|
16780
|
+
p_limit?: number;
|
|
16781
|
+
p_max_attempts?: number;
|
|
16782
|
+
p_now: string;
|
|
16783
|
+
};
|
|
16784
|
+
Returns: {
|
|
16785
|
+
appointment_id: string;
|
|
16786
|
+
appointment_reservation_id: string | null;
|
|
16787
|
+
appointment_reservation_run_id: string | null;
|
|
16788
|
+
attempt_count: number;
|
|
16789
|
+
cancelled_at: string | null;
|
|
16790
|
+
created_at: string;
|
|
16791
|
+
failed_at: string | null;
|
|
16792
|
+
failure_message: string | null;
|
|
16793
|
+
id: string;
|
|
16794
|
+
idempotency_key: string;
|
|
16795
|
+
metadata: Json;
|
|
16796
|
+
order_id: string | null;
|
|
16797
|
+
processing_expires_at: string | null;
|
|
16798
|
+
processing_started_at: string | null;
|
|
16799
|
+
scheduled_send_at: string;
|
|
16800
|
+
sent_at: string | null;
|
|
16801
|
+
site_id: string;
|
|
16802
|
+
status: string;
|
|
16803
|
+
updated_at: string;
|
|
16804
|
+
}[];
|
|
16805
|
+
SetofOptions: {
|
|
16806
|
+
from: "*";
|
|
16807
|
+
to: "appointment_payment_requests";
|
|
16808
|
+
isOneToOne: false;
|
|
16809
|
+
isSetofReturn: true;
|
|
16810
|
+
};
|
|
16811
|
+
} | {
|
|
16812
|
+
Args: {
|
|
16813
|
+
p_claim_ttl_seconds?: number;
|
|
16814
|
+
p_limit?: number;
|
|
16815
|
+
p_now: string;
|
|
16816
|
+
};
|
|
16817
|
+
Returns: {
|
|
16818
|
+
appointment_id: string;
|
|
16819
|
+
appointment_reservation_id: string | null;
|
|
16820
|
+
appointment_reservation_run_id: string | null;
|
|
16821
|
+
attempt_count: number;
|
|
16822
|
+
cancelled_at: string | null;
|
|
16823
|
+
created_at: string;
|
|
16824
|
+
failed_at: string | null;
|
|
16825
|
+
failure_message: string | null;
|
|
16826
|
+
id: string;
|
|
16827
|
+
idempotency_key: string;
|
|
16828
|
+
metadata: Json;
|
|
16829
|
+
order_id: string | null;
|
|
16830
|
+
processing_expires_at: string | null;
|
|
16831
|
+
processing_started_at: string | null;
|
|
16832
|
+
scheduled_send_at: string;
|
|
16833
|
+
sent_at: string | null;
|
|
16834
|
+
site_id: string;
|
|
16835
|
+
status: string;
|
|
16836
|
+
updated_at: string;
|
|
16837
|
+
}[];
|
|
16838
|
+
SetofOptions: {
|
|
16839
|
+
from: "*";
|
|
16840
|
+
to: "appointment_payment_requests";
|
|
16841
|
+
isOneToOne: false;
|
|
16842
|
+
isSetofReturn: true;
|
|
16843
|
+
};
|
|
16844
|
+
};
|
|
16360
16845
|
claim_next_available_demo_instance: {
|
|
16361
16846
|
Args: {
|
|
16362
16847
|
p_blueprint_id: string;
|
|
@@ -16437,6 +16922,7 @@ export type Database = {
|
|
|
16437
16922
|
entry_slot_id: string;
|
|
16438
16923
|
id: string;
|
|
16439
16924
|
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
16925
|
+
page_surface_id: string;
|
|
16440
16926
|
page_id: string;
|
|
16441
16927
|
stage: Database["public"]["Enums"]["content_stage"];
|
|
16442
16928
|
surface_slot_id: string;
|
|
@@ -16508,8 +16994,25 @@ export type Database = {
|
|
|
16508
16994
|
window_started_at: string;
|
|
16509
16995
|
}[];
|
|
16510
16996
|
};
|
|
16997
|
+
create_appointment_reservation_run_atomic: {
|
|
16998
|
+
Args: {
|
|
16999
|
+
p_actor_user_id: string;
|
|
17000
|
+
p_customer_display_name?: string;
|
|
17001
|
+
p_customer_email_normalized?: string;
|
|
17002
|
+
p_customer_phone?: string;
|
|
17003
|
+
p_expected_reservation_updated_at: string;
|
|
17004
|
+
p_idempotency_key: string;
|
|
17005
|
+
p_occurrences: Json;
|
|
17006
|
+
p_reservation_id: string;
|
|
17007
|
+
p_site_id: string;
|
|
17008
|
+
};
|
|
17009
|
+
Returns: Json;
|
|
17010
|
+
};
|
|
16511
17011
|
create_appointment_with_participant_roster_atomic: {
|
|
16512
17012
|
Args: {
|
|
17013
|
+
p_appointment_reservation_id?: string;
|
|
17014
|
+
p_appointment_reservation_occurrence_key?: string;
|
|
17015
|
+
p_appointment_reservation_run_id?: string;
|
|
16513
17016
|
p_customer_display_name?: string;
|
|
16514
17017
|
p_customer_email_normalized?: string;
|
|
16515
17018
|
p_customer_id: string;
|
|
@@ -17606,7 +18109,7 @@ export type Database = {
|
|
|
17606
18109
|
billing_interval: "monthly" | "annual";
|
|
17607
18110
|
cancellation_context_category: "customer_requested" | "schedule_conflict" | "duplicate_or_admin_error" | "non_payment" | "policy_or_eligibility" | "other" | "legacy_client_unspecified";
|
|
17608
18111
|
content_entry_status: "draft" | "scheduled" | "published" | "archived";
|
|
17609
|
-
content_owner_kind: "block" | "entry" | "page" | "entry_slot" | "surface_slot";
|
|
18112
|
+
content_owner_kind: "block" | "entry" | "page" | "entry_slot" | "page_surface" | "surface_slot";
|
|
17610
18113
|
content_stage: "draft" | "published";
|
|
17611
18114
|
gsc_property_type: "domain" | "url_prefix";
|
|
17612
18115
|
impersonation_scope: "read" | "write";
|
|
@@ -18348,7 +18851,7 @@ export declare const Constants: {
|
|
|
18348
18851
|
readonly billing_interval: readonly ["monthly", "annual"];
|
|
18349
18852
|
readonly cancellation_context_category: readonly ["customer_requested", "schedule_conflict", "duplicate_or_admin_error", "non_payment", "policy_or_eligibility", "other", "legacy_client_unspecified"];
|
|
18350
18853
|
readonly content_entry_status: readonly ["draft", "scheduled", "published", "archived"];
|
|
18351
|
-
readonly content_owner_kind: readonly ["block", "entry", "page", "entry_slot", "surface_slot"];
|
|
18854
|
+
readonly content_owner_kind: readonly ["block", "entry", "page", "entry_slot", "page_surface", "surface_slot"];
|
|
18352
18855
|
readonly content_stage: readonly ["draft", "published"];
|
|
18353
18856
|
readonly gsc_property_type: readonly ["domain", "url_prefix"];
|
|
18354
18857
|
readonly impersonation_scope: readonly ["read", "write"];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type InlineTextAccentTone, type InlineTextHighlightTone } from '../../../blocks/src/index';
|
|
2
|
+
import { type InlineTextPresentationContext } from './presentation';
|
|
3
|
+
import type { InlineTextSelection } from './selection';
|
|
4
|
+
export type InlineTextEditorTone = 'light' | 'dark';
|
|
5
|
+
export declare function FloatingToolbar({ selection, selectedText, tone, presentationContext, openMenu, setOpenMenu, onToggleStrong, onToggleEmphasis, onApplyAccent, onRemoveAccent, onApplyHighlight, onRemoveHighlight, }: {
|
|
6
|
+
selection: InlineTextSelection;
|
|
7
|
+
selectedText: string;
|
|
8
|
+
tone: InlineTextEditorTone;
|
|
9
|
+
presentationContext: InlineTextPresentationContext;
|
|
10
|
+
openMenu: 'accent' | 'highlight' | null;
|
|
11
|
+
setOpenMenu: (menu: 'accent' | 'highlight' | null) => void;
|
|
12
|
+
onToggleStrong: () => void;
|
|
13
|
+
onToggleEmphasis: () => void;
|
|
14
|
+
onApplyAccent: (tone: InlineTextAccentTone) => void;
|
|
15
|
+
onRemoveAccent: () => void;
|
|
16
|
+
onApplyHighlight: (tone: InlineTextHighlightTone) => void;
|
|
17
|
+
onRemoveHighlight: () => void;
|
|
18
|
+
}): import("react").JSX.Element;
|