@riverbankcms/sdk 0.96.0 → 0.99.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 +20 -1
- package/dist/{PreviewEditorSidebar-46VT4QVU.mjs → PreviewEditorSidebar-TPOKCCKY.mjs} +3 -3
- package/dist/{PreviewEditorUI-JD75GE5F.mjs → PreviewEditorUI-Y347GLC2.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-OGTXRQ4M.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +36 -36
- package/dist/_dts/api/src/billing.d.ts +2 -0
- 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/commercePortalEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +109 -40
- package/dist/_dts/api/src/endpoints.d.ts +88 -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/siteOperations.d.ts +65 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +7 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +151 -0
- package/dist/_dts/billing/src/subscriptions/store.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +8 -1
- package/dist/_dts/blocks/src/bindings/types.d.ts +0 -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/primitives/content/primitives.d.ts +4 -0
- 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/index.d.ts +1 -0
- 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/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/booking/DatePicker.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/components/booking/TimeSlotSelector.d.ts +10 -4
- 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/useHeadlessBookingFlow.state.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/booking-form.headless.state.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +3 -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/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/components/FeedbackMessage.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/{nodes/event-registration → shared/components}/SelectableOptionCard.d.ts +11 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +16 -5
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +5 -0
- package/dist/_dts/blocks/src/utils/date-formatting.d.ts +18 -2
- package/dist/_dts/content-editor/src/primitives/PreviewInlineTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +5 -5
- package/dist/_dts/content-model/src/templates/types.d.ts +2 -6
- package/dist/_dts/core/src/branded.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +767 -20
- package/dist/_dts/field-primitives/src/bindings/index.d.ts +8 -0
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +1 -1
- 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 +2 -1
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +9 -3
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +34 -0
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +13 -0
- 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/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 +6 -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/entryMergeReport.d.ts +6 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -4
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +6 -18
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +2 -4
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +32 -0
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +27 -0
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +63 -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/client/index.d.ts +6 -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/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 +3 -7
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +13 -0
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +6 -1
- package/dist/_dts/sdk/src/next/route-outcome-proxy.d.ts +3 -3
- package/dist/_dts/sdk/src/next/types.d.ts +19 -0
- package/dist/_dts/sdk/src/prebuild/loader.d.ts +8 -1
- 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/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -0
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +58 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +8 -0
- package/dist/_dts/sdk/src/rendering/hooks/usePage.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +18 -66
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
- package/dist/_dts/sdk/src/routing/resolveRoute.d.ts +18 -0
- package/dist/_dts/sdk/src/test/apiClient.d.ts +17 -0
- package/dist/_dts/sdk/src/test/bunDom.setup.d.ts +1 -0
- package/dist/_dts/sdk/src/test/env.d.ts +4 -0
- 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/site-commands/src/commands.d.ts +3 -3
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/generateBaseCSS.d.ts +6 -0
- package/dist/_dts/theme-core/src/status/contextualColors.d.ts +6 -0
- package/dist/_dts/theme-core/src/status/index.d.ts +1 -0
- package/dist/{chunk-VHIMXQ7Z.mjs → chunk-4HXF2QLH.mjs} +2 -2
- package/dist/{chunk-VTPPVAOL.mjs → chunk-EMJIT3ZJ.mjs} +1 -1
- package/dist/{chunk-4TLTV7OB.mjs → chunk-PM7HGDHM.mjs} +2 -2
- package/dist/{chunk-XMATDBXO.mjs → chunk-XO34WBBP.mjs} +2139 -1348
- package/dist/{chunk-EL55VV6Q.mjs → chunk-YGTTEVUM.mjs} +31 -10
- package/dist/{chunk-7ED5UNHL.mjs → chunk-YWTCCOSF.mjs} +117 -0
- package/dist/cli/index.mjs +2690 -1503
- package/dist/cli/init-docs/content/cli-reference.md +29 -1
- 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-GUNXIIZR.mjs → accordion-QSUEYL4L.mjs} +2 -2
- package/dist/client/{bookingForm-AOU4VHP5.mjs → bookingForm-QYGAHPDP.mjs} +376 -302
- package/dist/client/bookings.mjs +795 -429
- package/dist/client/{carousel-4QSX2JPC.mjs → carousel-SM2LEWAU.mjs} +3 -3
- package/dist/client/{cart-JKN6C4ZB.mjs → cart-3N3SFKNQ.mjs} +7 -7
- package/dist/client/{checkout-YY6YMITW.mjs → checkout-YFAYPKPZ.mjs} +7 -7
- package/dist/client/{chunk-SY543WZ3.mjs → chunk-5DLGREUB.mjs} +1 -1
- package/dist/client/{chunk-A3YN7M3G.mjs → chunk-CLZ7NBSP.mjs} +147 -75
- package/dist/client/{chunk-GWCRCJLB.mjs → chunk-CYJ3MUFP.mjs} +18 -6
- package/dist/client/{chunk-JNE6UI6U.mjs → chunk-H3H3ODO7.mjs} +1 -1
- package/dist/client/{chunk-CPKMJVBD.mjs → chunk-HPEQ4YWW.mjs} +83 -109
- package/dist/client/{chunk-PCHACQEB.mjs → chunk-IIUIKJ4K.mjs} +15 -7
- package/dist/client/{chunk-TNGL2WJF.mjs → chunk-IOAHWAQG.mjs} +18 -0
- package/dist/client/{chunk-6H27K6AA.mjs → chunk-JTKBF3W2.mjs} +10 -4
- package/dist/client/{chunk-OLAOAZEO.mjs → chunk-K7KTSACR.mjs} +1 -1
- package/dist/client/{chunk-BFCJZODD.mjs → chunk-R32M5HFS.mjs} +6 -6
- package/dist/client/{chunk-VJROUYOQ.mjs → chunk-WEVT46PX.mjs} +3 -3
- package/dist/client/{chunk-H7A6PUGM.mjs → chunk-ZU65LTI3.mjs} +1 -1
- package/dist/client/client.mjs +5052 -4083
- package/dist/client/{courseRegistration-UU2KMPSQ.mjs → courseRegistration-LYBE7VVK.mjs} +7 -7
- package/dist/client/{eventCalendar-WIVNS2TM.mjs → eventCalendar-FMTB75X6.mjs} +9 -9
- package/dist/client/{eventCombined-P3G5MW4J.mjs → eventCombined-E4LUCJXT.mjs} +9 -9
- package/dist/client/{eventDetails-2VHJ2RDG.mjs → eventDetails-GELSRR4Z.mjs} +9 -9
- package/dist/client/{eventListing-TGO6JI3R.mjs → eventListing-TB623B6R.mjs} +9 -9
- package/dist/client/{eventRegistration-B46HEJES.mjs → eventRegistration-NRIKHXTI.mjs} +9 -9
- package/dist/client/{form-VKRTFUNQ.mjs → form-Y4U4IAXE.mjs} +3 -3
- package/dist/client/{headerSection-XUX4ZJLO.mjs → headerSection-QSOVV5P7.mjs} +3 -3
- package/dist/client/hooks.mjs +1776 -1355
- package/dist/client/{locationMap-NQFI5MJO.mjs → locationMap-QYCAHH7H.mjs} +3 -3
- package/dist/client/{newsletterForm-P2GETCQK.mjs → newsletterForm-NWHY5TBY.mjs} +3 -3
- package/dist/client/{productDetail-7NQ7O5IF.mjs → productDetail-FYDMU2CE.mjs} +7 -7
- package/dist/client/{productList-RX6ZJ7BL.mjs → productList-D76CGACQ.mjs} +7 -7
- package/dist/client/rendering/client.mjs +2990 -2470
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3236 -2236
- package/dist/client/{shop-BHN5AKY6.mjs → shop-SOUACT5N.mjs} +7 -7
- package/dist/preview-next/before-render.mjs +117 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +117 -0
- package/dist/{sdk-runtime-X2LXQ5IC.mjs → sdk-runtime-XPVE3LBA.mjs} +6 -6
- package/dist/server/components.mjs +3115 -2484
- package/dist/server/config-template-validation.mjs +6 -2
- package/dist/server/config-validation.mjs +1961 -1580
- package/dist/server/config.mjs +1961 -1580
- package/dist/server/data.mjs +1762 -1352
- package/dist/server/index.mjs +266 -33
- package/dist/server/next/middleware.mjs +2 -2
- package/dist/server/next.mjs +3399 -2504
- package/dist/server/page-converter.mjs +1553 -1295
- package/dist/server/prebuild-loader.mjs +42 -23
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3151 -2489
- package/dist/server/rendering.mjs +3363 -2555
- package/dist/server/routing.mjs +1877 -1388
- package/dist/server/server.mjs +2057 -1402
- package/dist/server/theme-bridge.mjs +597 -505
- package/dist/server/theme.mjs +5 -4
- package/dist/styles/index.css +499 -490
- package/package.json +6 -4
- package/dist/SdkPreviewModeRuntime-MJUSYUFB.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"];
|
|
@@ -1414,6 +1791,7 @@ export type Database = {
|
|
|
1414
1791
|
status: string;
|
|
1415
1792
|
stripe_customer_id: string;
|
|
1416
1793
|
stripe_subscription_id: string;
|
|
1794
|
+
subscription_origin: string | null;
|
|
1417
1795
|
trial_ends_at: string | null;
|
|
1418
1796
|
updated_at: string;
|
|
1419
1797
|
user_id: string;
|
|
@@ -1429,6 +1807,7 @@ export type Database = {
|
|
|
1429
1807
|
status: string;
|
|
1430
1808
|
stripe_customer_id: string;
|
|
1431
1809
|
stripe_subscription_id: string;
|
|
1810
|
+
subscription_origin?: string | null;
|
|
1432
1811
|
trial_ends_at?: string | null;
|
|
1433
1812
|
updated_at?: string;
|
|
1434
1813
|
user_id: string;
|
|
@@ -1444,6 +1823,7 @@ export type Database = {
|
|
|
1444
1823
|
status?: string;
|
|
1445
1824
|
stripe_customer_id?: string;
|
|
1446
1825
|
stripe_subscription_id?: string;
|
|
1826
|
+
subscription_origin?: string | null;
|
|
1447
1827
|
trial_ends_at?: string | null;
|
|
1448
1828
|
updated_at?: string;
|
|
1449
1829
|
user_id?: string;
|
|
@@ -4552,6 +4932,7 @@ export type Database = {
|
|
|
4552
4932
|
id: string;
|
|
4553
4933
|
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
4554
4934
|
page_id: string | null;
|
|
4935
|
+
page_surface_id: string | null;
|
|
4555
4936
|
site_id: string;
|
|
4556
4937
|
stage: Database["public"]["Enums"]["content_stage"];
|
|
4557
4938
|
surface_slot_id: string | null;
|
|
@@ -4571,6 +4952,7 @@ export type Database = {
|
|
|
4571
4952
|
id?: string;
|
|
4572
4953
|
owner_kind?: Database["public"]["Enums"]["content_owner_kind"];
|
|
4573
4954
|
page_id?: string | null;
|
|
4955
|
+
page_surface_id?: string | null;
|
|
4574
4956
|
site_id: string;
|
|
4575
4957
|
stage?: Database["public"]["Enums"]["content_stage"];
|
|
4576
4958
|
surface_slot_id?: string | null;
|
|
@@ -4590,6 +4972,7 @@ export type Database = {
|
|
|
4590
4972
|
id?: string;
|
|
4591
4973
|
owner_kind?: Database["public"]["Enums"]["content_owner_kind"];
|
|
4592
4974
|
page_id?: string | null;
|
|
4975
|
+
page_surface_id?: string | null;
|
|
4593
4976
|
site_id?: string;
|
|
4594
4977
|
stage?: Database["public"]["Enums"]["content_stage"];
|
|
4595
4978
|
surface_slot_id?: string | null;
|
|
@@ -4633,6 +5016,13 @@ export type Database = {
|
|
|
4633
5016
|
referencedRelation: "pages";
|
|
4634
5017
|
referencedColumns: ["id"];
|
|
4635
5018
|
},
|
|
5019
|
+
{
|
|
5020
|
+
foreignKeyName: "content_versions_page_surface_id_fkey";
|
|
5021
|
+
columns: ["page_surface_id"];
|
|
5022
|
+
isOneToOne: false;
|
|
5023
|
+
referencedRelation: "page_surfaces";
|
|
5024
|
+
referencedColumns: ["id"];
|
|
5025
|
+
},
|
|
4636
5026
|
{
|
|
4637
5027
|
foreignKeyName: "content_versions_surface_slot_id_fkey";
|
|
4638
5028
|
columns: ["surface_slot_id"];
|
|
@@ -7057,8 +7447,6 @@ export type Database = {
|
|
|
7057
7447
|
reminder_sent_at: string | null;
|
|
7058
7448
|
site_id: string;
|
|
7059
7449
|
status: string;
|
|
7060
|
-
ticket_type_id: string | null;
|
|
7061
|
-
tickets_count: number;
|
|
7062
7450
|
updated_at: string;
|
|
7063
7451
|
waitlist_position: number | null;
|
|
7064
7452
|
};
|
|
@@ -7083,8 +7471,6 @@ export type Database = {
|
|
|
7083
7471
|
reminder_sent_at?: string | null;
|
|
7084
7472
|
site_id: string;
|
|
7085
7473
|
status?: string;
|
|
7086
|
-
ticket_type_id?: string | null;
|
|
7087
|
-
tickets_count?: number;
|
|
7088
7474
|
updated_at?: string;
|
|
7089
7475
|
waitlist_position?: number | null;
|
|
7090
7476
|
};
|
|
@@ -7109,8 +7495,6 @@ export type Database = {
|
|
|
7109
7495
|
reminder_sent_at?: string | null;
|
|
7110
7496
|
site_id?: string;
|
|
7111
7497
|
status?: string;
|
|
7112
|
-
ticket_type_id?: string | null;
|
|
7113
|
-
tickets_count?: number;
|
|
7114
7498
|
updated_at?: string;
|
|
7115
7499
|
waitlist_position?: number | null;
|
|
7116
7500
|
};
|
|
@@ -7177,13 +7561,6 @@ export type Database = {
|
|
|
7177
7561
|
isOneToOne: false;
|
|
7178
7562
|
referencedRelation: "sites";
|
|
7179
7563
|
referencedColumns: ["id"];
|
|
7180
|
-
},
|
|
7181
|
-
{
|
|
7182
|
-
foreignKeyName: "event_attendees_ticket_type_id_fkey";
|
|
7183
|
-
columns: ["ticket_type_id"];
|
|
7184
|
-
isOneToOne: false;
|
|
7185
|
-
referencedRelation: "event_ticket_types";
|
|
7186
|
-
referencedColumns: ["id"];
|
|
7187
7564
|
}
|
|
7188
7565
|
];
|
|
7189
7566
|
};
|
|
@@ -11735,12 +12112,15 @@ export type Database = {
|
|
|
11735
12112
|
};
|
|
11736
12113
|
page_surfaces: {
|
|
11737
12114
|
Row: {
|
|
12115
|
+
content_type_id: string | null;
|
|
11738
12116
|
created_at: string;
|
|
11739
12117
|
created_by: string | null;
|
|
11740
12118
|
deleted_at: string | null;
|
|
12119
|
+
draft_content_version_id: string | null;
|
|
11741
12120
|
id: string;
|
|
11742
12121
|
metadata_json: Json;
|
|
11743
12122
|
migration_source: Json;
|
|
12123
|
+
published_content_version_id: string | null;
|
|
11744
12124
|
readiness_state: string;
|
|
11745
12125
|
route_id: string | null;
|
|
11746
12126
|
site_id: string;
|
|
@@ -11753,12 +12133,15 @@ export type Database = {
|
|
|
11753
12133
|
updated_by: string | null;
|
|
11754
12134
|
};
|
|
11755
12135
|
Insert: {
|
|
12136
|
+
content_type_id?: string | null;
|
|
11756
12137
|
created_at?: string;
|
|
11757
12138
|
created_by?: string | null;
|
|
11758
12139
|
deleted_at?: string | null;
|
|
12140
|
+
draft_content_version_id?: string | null;
|
|
11759
12141
|
id?: string;
|
|
11760
12142
|
metadata_json?: Json;
|
|
11761
12143
|
migration_source?: Json;
|
|
12144
|
+
published_content_version_id?: string | null;
|
|
11762
12145
|
readiness_state?: string;
|
|
11763
12146
|
route_id?: string | null;
|
|
11764
12147
|
site_id: string;
|
|
@@ -11771,12 +12154,15 @@ export type Database = {
|
|
|
11771
12154
|
updated_by?: string | null;
|
|
11772
12155
|
};
|
|
11773
12156
|
Update: {
|
|
12157
|
+
content_type_id?: string | null;
|
|
11774
12158
|
created_at?: string;
|
|
11775
12159
|
created_by?: string | null;
|
|
11776
12160
|
deleted_at?: string | null;
|
|
12161
|
+
draft_content_version_id?: string | null;
|
|
11777
12162
|
id?: string;
|
|
11778
12163
|
metadata_json?: Json;
|
|
11779
12164
|
migration_source?: Json;
|
|
12165
|
+
published_content_version_id?: string | null;
|
|
11780
12166
|
readiness_state?: string;
|
|
11781
12167
|
route_id?: string | null;
|
|
11782
12168
|
site_id?: string;
|
|
@@ -11789,6 +12175,27 @@ export type Database = {
|
|
|
11789
12175
|
updated_by?: string | null;
|
|
11790
12176
|
};
|
|
11791
12177
|
Relationships: [
|
|
12178
|
+
{
|
|
12179
|
+
foreignKeyName: "page_surfaces_content_type_id_fkey";
|
|
12180
|
+
columns: ["content_type_id"];
|
|
12181
|
+
isOneToOne: false;
|
|
12182
|
+
referencedRelation: "content_types";
|
|
12183
|
+
referencedColumns: ["id"];
|
|
12184
|
+
},
|
|
12185
|
+
{
|
|
12186
|
+
foreignKeyName: "page_surfaces_draft_content_version_id_fkey";
|
|
12187
|
+
columns: ["draft_content_version_id"];
|
|
12188
|
+
isOneToOne: false;
|
|
12189
|
+
referencedRelation: "content_versions";
|
|
12190
|
+
referencedColumns: ["id"];
|
|
12191
|
+
},
|
|
12192
|
+
{
|
|
12193
|
+
foreignKeyName: "page_surfaces_published_content_version_id_fkey";
|
|
12194
|
+
columns: ["published_content_version_id"];
|
|
12195
|
+
isOneToOne: false;
|
|
12196
|
+
referencedRelation: "content_versions";
|
|
12197
|
+
referencedColumns: ["id"];
|
|
12198
|
+
},
|
|
11792
12199
|
{
|
|
11793
12200
|
foreignKeyName: "page_surfaces_route_site_fk";
|
|
11794
12201
|
columns: ["route_id", "site_id"];
|
|
@@ -12991,6 +13398,207 @@ export type Database = {
|
|
|
12991
13398
|
}
|
|
12992
13399
|
];
|
|
12993
13400
|
};
|
|
13401
|
+
site_billing_arrangement_changes: {
|
|
13402
|
+
Row: {
|
|
13403
|
+
changed_by: string;
|
|
13404
|
+
created_at: string;
|
|
13405
|
+
id: string;
|
|
13406
|
+
new_arrangement: string;
|
|
13407
|
+
new_cost_cents: number;
|
|
13408
|
+
new_manual_note: string | null;
|
|
13409
|
+
new_manual_reason: string | null;
|
|
13410
|
+
previous_arrangement: string;
|
|
13411
|
+
previous_cost_cents: number;
|
|
13412
|
+
previous_manual_note: string | null;
|
|
13413
|
+
previous_manual_reason: string | null;
|
|
13414
|
+
reason: string | null;
|
|
13415
|
+
site_id: string;
|
|
13416
|
+
subscription_action: string;
|
|
13417
|
+
subscription_action_result: Json;
|
|
13418
|
+
};
|
|
13419
|
+
Insert: {
|
|
13420
|
+
changed_by: string;
|
|
13421
|
+
created_at?: string;
|
|
13422
|
+
id?: string;
|
|
13423
|
+
new_arrangement: string;
|
|
13424
|
+
new_cost_cents: number;
|
|
13425
|
+
new_manual_note?: string | null;
|
|
13426
|
+
new_manual_reason?: string | null;
|
|
13427
|
+
previous_arrangement: string;
|
|
13428
|
+
previous_cost_cents: number;
|
|
13429
|
+
previous_manual_note?: string | null;
|
|
13430
|
+
previous_manual_reason?: string | null;
|
|
13431
|
+
reason?: string | null;
|
|
13432
|
+
site_id: string;
|
|
13433
|
+
subscription_action: string;
|
|
13434
|
+
subscription_action_result?: Json;
|
|
13435
|
+
};
|
|
13436
|
+
Update: {
|
|
13437
|
+
changed_by?: string;
|
|
13438
|
+
created_at?: string;
|
|
13439
|
+
id?: string;
|
|
13440
|
+
new_arrangement?: string;
|
|
13441
|
+
new_cost_cents?: number;
|
|
13442
|
+
new_manual_note?: string | null;
|
|
13443
|
+
new_manual_reason?: string | null;
|
|
13444
|
+
previous_arrangement?: string;
|
|
13445
|
+
previous_cost_cents?: number;
|
|
13446
|
+
previous_manual_note?: string | null;
|
|
13447
|
+
previous_manual_reason?: string | null;
|
|
13448
|
+
reason?: string | null;
|
|
13449
|
+
site_id?: string;
|
|
13450
|
+
subscription_action?: string;
|
|
13451
|
+
subscription_action_result?: Json;
|
|
13452
|
+
};
|
|
13453
|
+
Relationships: [
|
|
13454
|
+
{
|
|
13455
|
+
foreignKeyName: "site_billing_arrangement_changes_site_id_fkey";
|
|
13456
|
+
columns: ["site_id"];
|
|
13457
|
+
isOneToOne: false;
|
|
13458
|
+
referencedRelation: "sites";
|
|
13459
|
+
referencedColumns: ["id"];
|
|
13460
|
+
}
|
|
13461
|
+
];
|
|
13462
|
+
};
|
|
13463
|
+
site_billing_manual_reviews: {
|
|
13464
|
+
Row: {
|
|
13465
|
+
billing_user_id: string | null;
|
|
13466
|
+
created_at: string;
|
|
13467
|
+
created_by: string | null;
|
|
13468
|
+
details: Json;
|
|
13469
|
+
id: string;
|
|
13470
|
+
reason: string;
|
|
13471
|
+
resolution_action: string | null;
|
|
13472
|
+
resolution_note: string | null;
|
|
13473
|
+
resolved_at: string | null;
|
|
13474
|
+
resolved_by: string | null;
|
|
13475
|
+
site_id: string;
|
|
13476
|
+
status: string;
|
|
13477
|
+
stripe_subscription_id: string | null;
|
|
13478
|
+
};
|
|
13479
|
+
Insert: {
|
|
13480
|
+
billing_user_id?: string | null;
|
|
13481
|
+
created_at?: string;
|
|
13482
|
+
created_by?: string | null;
|
|
13483
|
+
details?: Json;
|
|
13484
|
+
id?: string;
|
|
13485
|
+
reason: string;
|
|
13486
|
+
resolution_action?: string | null;
|
|
13487
|
+
resolution_note?: string | null;
|
|
13488
|
+
resolved_at?: string | null;
|
|
13489
|
+
resolved_by?: string | null;
|
|
13490
|
+
site_id: string;
|
|
13491
|
+
status?: string;
|
|
13492
|
+
stripe_subscription_id?: string | null;
|
|
13493
|
+
};
|
|
13494
|
+
Update: {
|
|
13495
|
+
billing_user_id?: string | null;
|
|
13496
|
+
created_at?: string;
|
|
13497
|
+
created_by?: string | null;
|
|
13498
|
+
details?: Json;
|
|
13499
|
+
id?: string;
|
|
13500
|
+
reason?: string;
|
|
13501
|
+
resolution_action?: string | null;
|
|
13502
|
+
resolution_note?: string | null;
|
|
13503
|
+
resolved_at?: string | null;
|
|
13504
|
+
resolved_by?: string | null;
|
|
13505
|
+
site_id?: string;
|
|
13506
|
+
status?: string;
|
|
13507
|
+
stripe_subscription_id?: string | null;
|
|
13508
|
+
};
|
|
13509
|
+
Relationships: [
|
|
13510
|
+
{
|
|
13511
|
+
foreignKeyName: "site_billing_manual_reviews_site_id_fkey";
|
|
13512
|
+
columns: ["site_id"];
|
|
13513
|
+
isOneToOne: false;
|
|
13514
|
+
referencedRelation: "sites";
|
|
13515
|
+
referencedColumns: ["id"];
|
|
13516
|
+
}
|
|
13517
|
+
];
|
|
13518
|
+
};
|
|
13519
|
+
site_billing_transition_attempts: {
|
|
13520
|
+
Row: {
|
|
13521
|
+
billing_user_id: string | null;
|
|
13522
|
+
created_at: string;
|
|
13523
|
+
created_by: string | null;
|
|
13524
|
+
error_message: string | null;
|
|
13525
|
+
external_action_result: Json;
|
|
13526
|
+
finalized_at: string | null;
|
|
13527
|
+
id: string;
|
|
13528
|
+
previous_arrangement: string;
|
|
13529
|
+
previous_billing_starts_at: string | null;
|
|
13530
|
+
previous_cost_cents: number;
|
|
13531
|
+
previous_manual_note: string | null;
|
|
13532
|
+
previous_manual_reason: string | null;
|
|
13533
|
+
site_id: string;
|
|
13534
|
+
status: string;
|
|
13535
|
+
stripe_subscription_id: string | null;
|
|
13536
|
+
subscription_action: string;
|
|
13537
|
+
target_arrangement: string;
|
|
13538
|
+
target_billing_starts_at: string | null;
|
|
13539
|
+
target_cost_cents: number;
|
|
13540
|
+
target_manual_note: string | null;
|
|
13541
|
+
target_manual_reason: string | null;
|
|
13542
|
+
updated_at: string;
|
|
13543
|
+
};
|
|
13544
|
+
Insert: {
|
|
13545
|
+
billing_user_id?: string | null;
|
|
13546
|
+
created_at?: string;
|
|
13547
|
+
created_by?: string | null;
|
|
13548
|
+
error_message?: string | null;
|
|
13549
|
+
external_action_result?: Json;
|
|
13550
|
+
finalized_at?: string | null;
|
|
13551
|
+
id?: string;
|
|
13552
|
+
previous_arrangement: string;
|
|
13553
|
+
previous_billing_starts_at?: string | null;
|
|
13554
|
+
previous_cost_cents: number;
|
|
13555
|
+
previous_manual_note?: string | null;
|
|
13556
|
+
previous_manual_reason?: string | null;
|
|
13557
|
+
site_id: string;
|
|
13558
|
+
status?: string;
|
|
13559
|
+
stripe_subscription_id?: string | null;
|
|
13560
|
+
subscription_action: string;
|
|
13561
|
+
target_arrangement: string;
|
|
13562
|
+
target_billing_starts_at?: string | null;
|
|
13563
|
+
target_cost_cents: number;
|
|
13564
|
+
target_manual_note?: string | null;
|
|
13565
|
+
target_manual_reason?: string | null;
|
|
13566
|
+
updated_at?: string;
|
|
13567
|
+
};
|
|
13568
|
+
Update: {
|
|
13569
|
+
billing_user_id?: string | null;
|
|
13570
|
+
created_at?: string;
|
|
13571
|
+
created_by?: string | null;
|
|
13572
|
+
error_message?: string | null;
|
|
13573
|
+
external_action_result?: Json;
|
|
13574
|
+
finalized_at?: string | null;
|
|
13575
|
+
id?: string;
|
|
13576
|
+
previous_arrangement?: string;
|
|
13577
|
+
previous_billing_starts_at?: string | null;
|
|
13578
|
+
previous_cost_cents?: number;
|
|
13579
|
+
previous_manual_note?: string | null;
|
|
13580
|
+
previous_manual_reason?: string | null;
|
|
13581
|
+
site_id?: string;
|
|
13582
|
+
status?: string;
|
|
13583
|
+
stripe_subscription_id?: string | null;
|
|
13584
|
+
subscription_action?: string;
|
|
13585
|
+
target_arrangement?: string;
|
|
13586
|
+
target_billing_starts_at?: string | null;
|
|
13587
|
+
target_cost_cents?: number;
|
|
13588
|
+
target_manual_note?: string | null;
|
|
13589
|
+
target_manual_reason?: string | null;
|
|
13590
|
+
updated_at?: string;
|
|
13591
|
+
};
|
|
13592
|
+
Relationships: [
|
|
13593
|
+
{
|
|
13594
|
+
foreignKeyName: "site_billing_transition_attempts_site_id_fkey";
|
|
13595
|
+
columns: ["site_id"];
|
|
13596
|
+
isOneToOne: false;
|
|
13597
|
+
referencedRelation: "sites";
|
|
13598
|
+
referencedColumns: ["id"];
|
|
13599
|
+
}
|
|
13600
|
+
];
|
|
13601
|
+
};
|
|
12994
13602
|
site_briefs: {
|
|
12995
13603
|
Row: {
|
|
12996
13604
|
ai_summary: string | null;
|
|
@@ -14399,7 +15007,6 @@ export type Database = {
|
|
|
14399
15007
|
billing_user_id: string | null;
|
|
14400
15008
|
created_at: string | null;
|
|
14401
15009
|
deployment_mode: Database["public"]["Enums"]["site_deployment_mode"];
|
|
14402
|
-
domain: string | null;
|
|
14403
15010
|
id: string;
|
|
14404
15011
|
is_sdk_site: boolean | null;
|
|
14405
15012
|
launched_at: string | null;
|
|
@@ -14408,6 +15015,9 @@ export type Database = {
|
|
|
14408
15015
|
monthly_cost_cents: number;
|
|
14409
15016
|
sdk_config: Json | null;
|
|
14410
15017
|
sdk_config_updated_at: string | null;
|
|
15018
|
+
site_billing_arrangement: string | null;
|
|
15019
|
+
site_billing_manual_note: string | null;
|
|
15020
|
+
site_billing_manual_reason: string | null;
|
|
14411
15021
|
slug: string;
|
|
14412
15022
|
surface_id: string;
|
|
14413
15023
|
timezone: string;
|
|
@@ -14420,7 +15030,6 @@ export type Database = {
|
|
|
14420
15030
|
billing_user_id?: string | null;
|
|
14421
15031
|
created_at?: string | null;
|
|
14422
15032
|
deployment_mode?: Database["public"]["Enums"]["site_deployment_mode"];
|
|
14423
|
-
domain?: string | null;
|
|
14424
15033
|
id?: string;
|
|
14425
15034
|
is_sdk_site?: boolean | null;
|
|
14426
15035
|
launched_at?: string | null;
|
|
@@ -14429,6 +15038,9 @@ export type Database = {
|
|
|
14429
15038
|
monthly_cost_cents?: number;
|
|
14430
15039
|
sdk_config?: Json | null;
|
|
14431
15040
|
sdk_config_updated_at?: string | null;
|
|
15041
|
+
site_billing_arrangement?: string | null;
|
|
15042
|
+
site_billing_manual_note?: string | null;
|
|
15043
|
+
site_billing_manual_reason?: string | null;
|
|
14432
15044
|
slug: string;
|
|
14433
15045
|
surface_id?: string;
|
|
14434
15046
|
timezone?: string;
|
|
@@ -14441,7 +15053,6 @@ export type Database = {
|
|
|
14441
15053
|
billing_user_id?: string | null;
|
|
14442
15054
|
created_at?: string | null;
|
|
14443
15055
|
deployment_mode?: Database["public"]["Enums"]["site_deployment_mode"];
|
|
14444
|
-
domain?: string | null;
|
|
14445
15056
|
id?: string;
|
|
14446
15057
|
is_sdk_site?: boolean | null;
|
|
14447
15058
|
launched_at?: string | null;
|
|
@@ -14450,6 +15061,9 @@ export type Database = {
|
|
|
14450
15061
|
monthly_cost_cents?: number;
|
|
14451
15062
|
sdk_config?: Json | null;
|
|
14452
15063
|
sdk_config_updated_at?: string | null;
|
|
15064
|
+
site_billing_arrangement?: string | null;
|
|
15065
|
+
site_billing_manual_note?: string | null;
|
|
15066
|
+
site_billing_manual_reason?: string | null;
|
|
14453
15067
|
slug?: string;
|
|
14454
15068
|
surface_id?: string;
|
|
14455
15069
|
timezone?: string;
|
|
@@ -16189,6 +16803,26 @@ export type Database = {
|
|
|
16189
16803
|
participant_participation_id: string;
|
|
16190
16804
|
}[];
|
|
16191
16805
|
};
|
|
16806
|
+
begin_site_billing_transition_attempt_atomic: {
|
|
16807
|
+
Args: {
|
|
16808
|
+
p_billing_user_id?: string;
|
|
16809
|
+
p_created_by?: string;
|
|
16810
|
+
p_previous_arrangement?: string;
|
|
16811
|
+
p_previous_billing_starts_at?: string;
|
|
16812
|
+
p_previous_cost_cents?: number;
|
|
16813
|
+
p_previous_manual_note?: string;
|
|
16814
|
+
p_previous_manual_reason?: string;
|
|
16815
|
+
p_site_id: string;
|
|
16816
|
+
p_stripe_subscription_id?: string;
|
|
16817
|
+
p_subscription_action?: string;
|
|
16818
|
+
p_target_arrangement?: string;
|
|
16819
|
+
p_target_billing_starts_at?: string;
|
|
16820
|
+
p_target_cost_cents?: number;
|
|
16821
|
+
p_target_manual_note?: string;
|
|
16822
|
+
p_target_manual_reason?: string;
|
|
16823
|
+
};
|
|
16824
|
+
Returns: string;
|
|
16825
|
+
};
|
|
16192
16826
|
booking_record_entry_key_version_counts: {
|
|
16193
16827
|
Args: never;
|
|
16194
16828
|
Returns: {
|
|
@@ -16357,6 +16991,74 @@ export type Database = {
|
|
|
16357
16991
|
enrollment_status: string;
|
|
16358
16992
|
}[];
|
|
16359
16993
|
};
|
|
16994
|
+
claim_due_appointment_payment_requests: {
|
|
16995
|
+
Args: {
|
|
16996
|
+
p_claim_ttl_seconds?: number;
|
|
16997
|
+
p_limit?: number;
|
|
16998
|
+
p_max_attempts?: number;
|
|
16999
|
+
p_now: string;
|
|
17000
|
+
};
|
|
17001
|
+
Returns: {
|
|
17002
|
+
appointment_id: string;
|
|
17003
|
+
appointment_reservation_id: string | null;
|
|
17004
|
+
appointment_reservation_run_id: string | null;
|
|
17005
|
+
attempt_count: number;
|
|
17006
|
+
cancelled_at: string | null;
|
|
17007
|
+
created_at: string;
|
|
17008
|
+
failed_at: string | null;
|
|
17009
|
+
failure_message: string | null;
|
|
17010
|
+
id: string;
|
|
17011
|
+
idempotency_key: string;
|
|
17012
|
+
metadata: Json;
|
|
17013
|
+
order_id: string | null;
|
|
17014
|
+
processing_expires_at: string | null;
|
|
17015
|
+
processing_started_at: string | null;
|
|
17016
|
+
scheduled_send_at: string;
|
|
17017
|
+
sent_at: string | null;
|
|
17018
|
+
site_id: string;
|
|
17019
|
+
status: string;
|
|
17020
|
+
updated_at: string;
|
|
17021
|
+
}[];
|
|
17022
|
+
SetofOptions: {
|
|
17023
|
+
from: "*";
|
|
17024
|
+
to: "appointment_payment_requests";
|
|
17025
|
+
isOneToOne: false;
|
|
17026
|
+
isSetofReturn: true;
|
|
17027
|
+
};
|
|
17028
|
+
} | {
|
|
17029
|
+
Args: {
|
|
17030
|
+
p_claim_ttl_seconds?: number;
|
|
17031
|
+
p_limit?: number;
|
|
17032
|
+
p_now: string;
|
|
17033
|
+
};
|
|
17034
|
+
Returns: {
|
|
17035
|
+
appointment_id: string;
|
|
17036
|
+
appointment_reservation_id: string | null;
|
|
17037
|
+
appointment_reservation_run_id: string | null;
|
|
17038
|
+
attempt_count: number;
|
|
17039
|
+
cancelled_at: string | null;
|
|
17040
|
+
created_at: string;
|
|
17041
|
+
failed_at: string | null;
|
|
17042
|
+
failure_message: string | null;
|
|
17043
|
+
id: string;
|
|
17044
|
+
idempotency_key: string;
|
|
17045
|
+
metadata: Json;
|
|
17046
|
+
order_id: string | null;
|
|
17047
|
+
processing_expires_at: string | null;
|
|
17048
|
+
processing_started_at: string | null;
|
|
17049
|
+
scheduled_send_at: string;
|
|
17050
|
+
sent_at: string | null;
|
|
17051
|
+
site_id: string;
|
|
17052
|
+
status: string;
|
|
17053
|
+
updated_at: string;
|
|
17054
|
+
}[];
|
|
17055
|
+
SetofOptions: {
|
|
17056
|
+
from: "*";
|
|
17057
|
+
to: "appointment_payment_requests";
|
|
17058
|
+
isOneToOne: false;
|
|
17059
|
+
isSetofReturn: true;
|
|
17060
|
+
};
|
|
17061
|
+
};
|
|
16360
17062
|
claim_next_available_demo_instance: {
|
|
16361
17063
|
Args: {
|
|
16362
17064
|
p_blueprint_id: string;
|
|
@@ -16438,6 +17140,7 @@ export type Database = {
|
|
|
16438
17140
|
id: string;
|
|
16439
17141
|
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
16440
17142
|
page_id: string;
|
|
17143
|
+
page_surface_id: string;
|
|
16441
17144
|
stage: Database["public"]["Enums"]["content_stage"];
|
|
16442
17145
|
surface_slot_id: string;
|
|
16443
17146
|
updated_at: string;
|
|
@@ -16508,8 +17211,25 @@ export type Database = {
|
|
|
16508
17211
|
window_started_at: string;
|
|
16509
17212
|
}[];
|
|
16510
17213
|
};
|
|
17214
|
+
create_appointment_reservation_run_atomic: {
|
|
17215
|
+
Args: {
|
|
17216
|
+
p_actor_user_id: string;
|
|
17217
|
+
p_customer_display_name?: string;
|
|
17218
|
+
p_customer_email_normalized?: string;
|
|
17219
|
+
p_customer_phone?: string;
|
|
17220
|
+
p_expected_reservation_updated_at: string;
|
|
17221
|
+
p_idempotency_key: string;
|
|
17222
|
+
p_occurrences: Json;
|
|
17223
|
+
p_reservation_id: string;
|
|
17224
|
+
p_site_id: string;
|
|
17225
|
+
};
|
|
17226
|
+
Returns: Json;
|
|
17227
|
+
};
|
|
16511
17228
|
create_appointment_with_participant_roster_atomic: {
|
|
16512
17229
|
Args: {
|
|
17230
|
+
p_appointment_reservation_id?: string;
|
|
17231
|
+
p_appointment_reservation_occurrence_key?: string;
|
|
17232
|
+
p_appointment_reservation_run_id?: string;
|
|
16513
17233
|
p_customer_display_name?: string;
|
|
16514
17234
|
p_customer_email_normalized?: string;
|
|
16515
17235
|
p_customer_id: string;
|
|
@@ -16590,8 +17310,6 @@ export type Database = {
|
|
|
16590
17310
|
p_payment_status: string;
|
|
16591
17311
|
p_site_id: string;
|
|
16592
17312
|
p_ticket_lines: Json;
|
|
16593
|
-
p_ticket_type_id: string;
|
|
16594
|
-
p_tickets_count: number;
|
|
16595
17313
|
};
|
|
16596
17314
|
Returns: {
|
|
16597
17315
|
attendee_id: string;
|
|
@@ -16741,6 +17459,15 @@ export type Database = {
|
|
|
16741
17459
|
count: number;
|
|
16742
17460
|
}[];
|
|
16743
17461
|
};
|
|
17462
|
+
finalize_site_billing_transition_attempt_atomic: {
|
|
17463
|
+
Args: {
|
|
17464
|
+
p_attempt_id: string;
|
|
17465
|
+
p_changed_by: string;
|
|
17466
|
+
p_reason?: string;
|
|
17467
|
+
p_subscription_action_result?: Json;
|
|
17468
|
+
};
|
|
17469
|
+
Returns: undefined;
|
|
17470
|
+
};
|
|
16744
17471
|
finalize_site_invitation_resend: {
|
|
16745
17472
|
Args: {
|
|
16746
17473
|
p_actor_user_id: string;
|
|
@@ -17442,6 +18169,26 @@ export type Database = {
|
|
|
17442
18169
|
};
|
|
17443
18170
|
Returns: undefined;
|
|
17444
18171
|
};
|
|
18172
|
+
update_site_billing_arrangement_atomic: {
|
|
18173
|
+
Args: {
|
|
18174
|
+
p_changed_by: string;
|
|
18175
|
+
p_next_arrangement: string;
|
|
18176
|
+
p_next_billing_starts_at?: string;
|
|
18177
|
+
p_next_cost_cents: number;
|
|
18178
|
+
p_next_manual_note?: string;
|
|
18179
|
+
p_next_manual_reason?: string;
|
|
18180
|
+
p_previous_arrangement?: string;
|
|
18181
|
+
p_previous_billing_starts_at?: string;
|
|
18182
|
+
p_previous_cost_cents?: number;
|
|
18183
|
+
p_previous_manual_note?: string;
|
|
18184
|
+
p_previous_manual_reason?: string;
|
|
18185
|
+
p_reason?: string;
|
|
18186
|
+
p_site_id: string;
|
|
18187
|
+
p_subscription_action?: string;
|
|
18188
|
+
p_subscription_action_result?: Json;
|
|
18189
|
+
};
|
|
18190
|
+
Returns: undefined;
|
|
18191
|
+
};
|
|
17445
18192
|
use_admin_invite: {
|
|
17446
18193
|
Args: {
|
|
17447
18194
|
p_token: string;
|
|
@@ -17606,7 +18353,7 @@ export type Database = {
|
|
|
17606
18353
|
billing_interval: "monthly" | "annual";
|
|
17607
18354
|
cancellation_context_category: "customer_requested" | "schedule_conflict" | "duplicate_or_admin_error" | "non_payment" | "policy_or_eligibility" | "other" | "legacy_client_unspecified";
|
|
17608
18355
|
content_entry_status: "draft" | "scheduled" | "published" | "archived";
|
|
17609
|
-
content_owner_kind: "block" | "entry" | "page" | "entry_slot" | "surface_slot";
|
|
18356
|
+
content_owner_kind: "block" | "entry" | "page" | "entry_slot" | "surface_slot" | "page_surface";
|
|
17610
18357
|
content_stage: "draft" | "published";
|
|
17611
18358
|
gsc_property_type: "domain" | "url_prefix";
|
|
17612
18359
|
impersonation_scope: "read" | "write";
|
|
@@ -18348,7 +19095,7 @@ export declare const Constants: {
|
|
|
18348
19095
|
readonly billing_interval: readonly ["monthly", "annual"];
|
|
18349
19096
|
readonly cancellation_context_category: readonly ["customer_requested", "schedule_conflict", "duplicate_or_admin_error", "non_payment", "policy_or_eligibility", "other", "legacy_client_unspecified"];
|
|
18350
19097
|
readonly content_entry_status: readonly ["draft", "scheduled", "published", "archived"];
|
|
18351
|
-
readonly content_owner_kind: readonly ["block", "entry", "page", "entry_slot", "surface_slot"];
|
|
19098
|
+
readonly content_owner_kind: readonly ["block", "entry", "page", "entry_slot", "surface_slot", "page_surface"];
|
|
18352
19099
|
readonly content_stage: readonly ["draft", "published"];
|
|
18353
19100
|
readonly gsc_property_type: readonly ["domain", "url_prefix"];
|
|
18354
19101
|
readonly impersonation_scope: readonly ["read", "write"];
|