@riverbankcms/sdk 0.144.0 → 0.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/{PreviewEditorSidebar-CQZNnFiM.mjs → PreviewEditorSidebar-kg2r2Fyi.mjs} +4 -4
- package/dist/{PreviewEditorUI-DCNxnmI0.mjs → PreviewEditorUI-sWMLp5dT.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BCYICImX.mjs → PreviewQueryProvider-Cg51xq1w.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BJolUbr1.mjs → SdkPreviewModeRuntime-h2ti3Hch.mjs} +688 -519
- package/dist/{SiteChromeCustomizeContext-CKgEpoxi.mjs → SiteChromeCustomizeContext-DEACFH9m.mjs} +3381 -2017
- package/dist/_dts/ai/src/contracts/proposals.d.ts +5643 -66
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +513 -6
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/appointmentServiceCategoryEndpoints.d.ts +75 -0
- package/dist/_dts/api/src/appointmentServiceContracts.d.ts +80 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +8 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +8 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +10 -26
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +45 -1
- package/dist/_dts/api/src/clientErrorReporting.d.ts +50 -0
- package/dist/_dts/api/src/communications.d.ts +32 -24
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -5
- package/dist/_dts/api/src/endpoints.d.ts +316 -134
- package/dist/_dts/api/src/event-visibility.d.ts +20 -0
- package/dist/_dts/api/src/eventManagementContracts.d.ts +56 -3
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +24 -0
- package/dist/_dts/api/src/eventPageWords.d.ts +19 -0
- package/dist/_dts/api/src/eventSeriesRegistrationEndpointDefinitions.d.ts +14 -0
- package/dist/_dts/api/src/index.d.ts +7 -1
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +22 -2
- package/dist/_dts/api/src/launchRequirementPriority.d.ts +3 -0
- package/dist/_dts/api/src/newsletterCampaignCommandEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +30 -11
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +10 -0
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +3 -0
- package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +44 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +11 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +35 -1
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/publicNewsletterEndpointDefinitions.d.ts +58 -0
- package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +3 -3
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +40 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +3 -42
- package/dist/_dts/api/src/sdkCourseBooking.d.ts +30 -0
- package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +76 -0
- package/dist/_dts/api/src/sdkEventLifecycle.d.ts +37 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkPageDesign.d.ts +388 -0
- package/dist/_dts/api/src/sdkPageDesignEndpointDefinitions.d.ts +22 -0
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +46 -0
- package/dist/_dts/api/src/siteAddressEndpoints.d.ts +29 -0
- package/dist/_dts/api/src/siteManagementEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +4 -38
- package/dist/_dts/api/src/siteOnboarding.d.ts +75 -9
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/types.d.ts +8 -1
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +14 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -4
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -0
- package/dist/_dts/blocks/src/index.d.ts +3 -1
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +10 -0
- package/dist/_dts/blocks/src/pageRenderJoins.d.ts +68 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -27
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +7 -4
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +40 -23
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +27 -5
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +14 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/icons/social.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -3
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +22 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +57 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-choices.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +13 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +23 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.block-submission.d.ts +36 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +46 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/primitives/previewEditableOutline.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/editorBlockEquality.d.ts +3 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +3 -3
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/core/src/appointment-service-categories.d.ts +108 -0
- package/dist/_dts/core/src/block-content-identity.d.ts +5 -0
- package/dist/_dts/core/src/editor-state.d.ts +2 -1
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +3 -1
- package/dist/_dts/core/src/public-event-booking-availability.d.ts +20 -1
- package/dist/_dts/core/src/public-profile.d.ts +12 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +711 -242
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +13 -1
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +16 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +13 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +29 -0
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +1 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -1
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +8 -0
- package/dist/_dts/sdk/src/client/types.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +7 -2
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +2 -2
- package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +0 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -8
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +5 -2
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +6 -2
- package/dist/_dts/sdk/src/rendering/hooks/usePage.d.ts +5 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +10 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +42 -0
- package/dist/_dts/theme-core/src/inputs/inputGroup.d.ts +19 -0
- package/dist/_dts/theme-core/src/layout/boundaryCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +1 -3
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/joinTreatment.d.ts +132 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorBoundaries.d.ts +31 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +33 -29
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageFlowPresets.d.ts +36 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -10
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +17 -4
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +20 -74
- package/dist/_dts/theme-core/src/site-styles/sectionBoundaryComposition.d.ts +95 -0
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +80 -518
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/transitionCatalogue.d.ts +320 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -18
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -1
- package/dist/client/{BookingConsentAgreement-DoAILrkN.mjs → BookingConsentAgreement-BQKL045f.mjs} +2 -2
- package/dist/client/CheckboxChoice--W2n6yKs.mjs +24 -0
- package/dist/client/{DiscountCodeDisclosure-X528hUTf.mjs → DiscountCodeDisclosure-CsOtjFY7.mjs} +1 -1
- package/dist/client/{EventCombined.client-DSBVwq5m.mjs → EventCombined.client-BdRjVbhH.mjs} +6 -6
- package/dist/client/{EventListing.client-DmFAX7Vb.mjs → EventListing.client-DBxC6xOU.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BAqXdfhq.mjs → LeafletStaticMap-mHEJKrTs.mjs} +1 -1
- package/dist/client/{ThemedButton-BwNFVwi4.mjs → ThemedButton-CE5KYT6z.mjs} +1 -1
- package/dist/client/{accordion-DRhMdkbd.mjs → accordion-BEQNSptH.mjs} +1 -1
- package/dist/client/{bookingForm-iJ_nCsNF.mjs → bookingForm-AMr-s5vw.mjs} +168 -95
- package/dist/client/bookings.mjs +239 -110
- package/dist/client/{carousel-D8zuffZr.mjs → carousel-Bbt_QgJy.mjs} +1 -1
- package/dist/client/{cart-DeMGJViN.mjs → cart-CnWi30zJ.mjs} +3 -3
- package/dist/client/{checkout-DXc06Km2.mjs → checkout-f3nkWgd4.mjs} +3 -3
- package/dist/client/client.mjs +3222 -1612
- package/dist/client/{context-CDLCfDep.mjs → context-Bc8T6pCe.mjs} +1 -1
- package/dist/client/{dates-ClFx7Epy.mjs → dates-DUsCEzLb.mjs} +2 -3
- package/dist/client/{eventCalendar-BaGpnOGN.mjs → eventCalendar-CKwgXui5.mjs} +9 -9
- package/dist/client/{eventCombined-ywONOx2m.mjs → eventCombined-CBAOSTGR.mjs} +4 -4
- package/dist/client/{eventDetails-B2LlOTYY.mjs → eventDetails-Dh-_WiBD.mjs} +4 -4
- package/dist/client/{eventListing-CMgxWpqP.mjs → eventListing-CA3frIH5.mjs} +4 -4
- package/dist/client/{eventRegistration-BarLDNHR.mjs → eventRegistration-BHtsgdcg.mjs} +21 -22
- package/dist/client/{form-BjqKaBJ7.mjs → form-C2h3YAcg.mjs} +135 -104
- package/dist/client/{headerSection-CP4XDwz1.mjs → headerSection-lwMuMTH9.mjs} +3 -3
- package/dist/client/hooks.mjs +1023 -148
- package/dist/client/{locationMap-C5gW-d-w.mjs → locationMap-DJ2bLODV.mjs} +3 -3
- package/dist/client/{newsletterForm-afXlVSA0.mjs → newsletterForm-8Pu5K32g.mjs} +225 -102
- package/dist/client/{pricing-Bl1CAl28.mjs → pricing-HHx3IgBz.mjs} +1 -1
- package/dist/client/{productDetail-CvQ3jWQe.mjs → productDetail-C_1odnAf.mjs} +3 -3
- package/dist/client/{productList-U874PGO7.mjs → productList-CtCv-Nmx.mjs} +3 -3
- package/dist/client/{propsDecoder-DPXtCZWP.mjs → propsDecoder-Dcgsncxb.mjs} +111 -55
- package/dist/client/rendering/client.mjs +1389 -722
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +3136 -1400
- package/dist/client/{routeIslandApiConfig-NGYiUWXu.mjs → routeIslandApiConfig-CWLP7wu3.mjs} +1 -1
- package/dist/client/{scrollToBlock-0-C3DVhK.mjs → scrollToBlock-BNgaEUpo.mjs} +1 -1
- package/dist/client/{shop-BXjXhM9P.mjs → shop-DQXrQ8kJ.mjs} +7 -7
- package/dist/client/{shop-commerce-BZ6UlWJ7.mjs → shop-commerce-B88zmWWo.mjs} +6 -6
- package/dist/client/{shop-commerce-store-DlSBXb3D.mjs → shop-commerce-store-DtSfkKuX.mjs} +1 -1
- package/dist/client/{shopShared-kkEOiLPA.mjs → shopShared-cuaONpkJ.mjs} +4 -4
- package/dist/client/{useEventFilters-zvnnE1ro.mjs → useEventFilters-Bukew6Gb.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +500 -165
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-base.css +11 -0
- package/dist/preview-next/keepAlive.mjs +460 -165
- package/dist/preview-next/middleware.mjs +461 -165
- package/dist/{previewAuthStore-JA6-I_sL.mjs → previewAuthStore-h5IgbSp4.mjs} +485 -165
- package/dist/{sdk-runtime-DFJlQt3q.mjs → sdk-runtime-DTc1uIXn.mjs} +2 -2
- package/dist/{separator-o8GHb1xh.mjs → separator-BpHS1KZK.mjs} +1 -1
- package/dist/server/components.mjs +3088 -1307
- package/dist/server/config-validation.mjs +927 -109
- package/dist/server/config.mjs +927 -109
- package/dist/server/data.mjs +939 -110
- package/dist/server/index.mjs +513 -169
- package/dist/server/next.mjs +2874 -1195
- package/dist/server/page-converter.mjs +420 -79
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3071 -1289
- package/dist/server/rendering.mjs +3169 -1350
- package/dist/server/routing.mjs +1085 -159
- package/dist/server/server.mjs +1042 -291
- package/dist/server/theme-bridge.mjs +1658 -137
- package/dist/server/theme.mjs +6 -4
- package/dist/styles/index.css +186 -65
- package/package.json +2 -1
|
@@ -1181,8 +1181,50 @@ export type Database = {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
];
|
|
1183
1183
|
};
|
|
1184
|
+
appointment_service_categories: {
|
|
1185
|
+
Row: {
|
|
1186
|
+
created_at: string;
|
|
1187
|
+
description: string | null;
|
|
1188
|
+
id: string;
|
|
1189
|
+
identifier: string;
|
|
1190
|
+
name: string;
|
|
1191
|
+
site_id: string;
|
|
1192
|
+
sort_order: number;
|
|
1193
|
+
updated_at: string;
|
|
1194
|
+
};
|
|
1195
|
+
Insert: {
|
|
1196
|
+
created_at?: string;
|
|
1197
|
+
description?: string | null;
|
|
1198
|
+
id?: string;
|
|
1199
|
+
identifier: string;
|
|
1200
|
+
name: string;
|
|
1201
|
+
site_id: string;
|
|
1202
|
+
sort_order?: number;
|
|
1203
|
+
updated_at?: string;
|
|
1204
|
+
};
|
|
1205
|
+
Update: {
|
|
1206
|
+
created_at?: string;
|
|
1207
|
+
description?: string | null;
|
|
1208
|
+
id?: string;
|
|
1209
|
+
identifier?: string;
|
|
1210
|
+
name?: string;
|
|
1211
|
+
site_id?: string;
|
|
1212
|
+
sort_order?: number;
|
|
1213
|
+
updated_at?: string;
|
|
1214
|
+
};
|
|
1215
|
+
Relationships: [
|
|
1216
|
+
{
|
|
1217
|
+
foreignKeyName: "appointment_service_categories_site_id_fkey";
|
|
1218
|
+
columns: ["site_id"];
|
|
1219
|
+
isOneToOne: false;
|
|
1220
|
+
referencedRelation: "sites";
|
|
1221
|
+
referencedColumns: ["id"];
|
|
1222
|
+
}
|
|
1223
|
+
];
|
|
1224
|
+
};
|
|
1184
1225
|
appointment_services: {
|
|
1185
1226
|
Row: {
|
|
1227
|
+
category_id: string | null;
|
|
1186
1228
|
cleanup_minutes: number;
|
|
1187
1229
|
color_hex: string | null;
|
|
1188
1230
|
created_at: string;
|
|
@@ -1199,6 +1241,7 @@ export type Database = {
|
|
|
1199
1241
|
settings_json: Json;
|
|
1200
1242
|
site_id: string;
|
|
1201
1243
|
slug: string;
|
|
1244
|
+
sort_order: number;
|
|
1202
1245
|
timezone: string | null;
|
|
1203
1246
|
title: string;
|
|
1204
1247
|
updated_at: string;
|
|
@@ -1206,6 +1249,7 @@ export type Database = {
|
|
|
1206
1249
|
visibility: string;
|
|
1207
1250
|
};
|
|
1208
1251
|
Insert: {
|
|
1252
|
+
category_id?: string | null;
|
|
1209
1253
|
cleanup_minutes?: number;
|
|
1210
1254
|
color_hex?: string | null;
|
|
1211
1255
|
created_at?: string;
|
|
@@ -1222,6 +1266,7 @@ export type Database = {
|
|
|
1222
1266
|
settings_json?: Json;
|
|
1223
1267
|
site_id: string;
|
|
1224
1268
|
slug: string;
|
|
1269
|
+
sort_order?: number;
|
|
1225
1270
|
timezone?: string | null;
|
|
1226
1271
|
title: string;
|
|
1227
1272
|
updated_at?: string;
|
|
@@ -1229,6 +1274,7 @@ export type Database = {
|
|
|
1229
1274
|
visibility?: string;
|
|
1230
1275
|
};
|
|
1231
1276
|
Update: {
|
|
1277
|
+
category_id?: string | null;
|
|
1232
1278
|
cleanup_minutes?: number;
|
|
1233
1279
|
color_hex?: string | null;
|
|
1234
1280
|
created_at?: string;
|
|
@@ -1245,6 +1291,7 @@ export type Database = {
|
|
|
1245
1291
|
settings_json?: Json;
|
|
1246
1292
|
site_id?: string;
|
|
1247
1293
|
slug?: string;
|
|
1294
|
+
sort_order?: number;
|
|
1248
1295
|
timezone?: string | null;
|
|
1249
1296
|
title?: string;
|
|
1250
1297
|
updated_at?: string;
|
|
@@ -1252,6 +1299,13 @@ export type Database = {
|
|
|
1252
1299
|
visibility?: string;
|
|
1253
1300
|
};
|
|
1254
1301
|
Relationships: [
|
|
1302
|
+
{
|
|
1303
|
+
foreignKeyName: "appointment_services_category_site_fk";
|
|
1304
|
+
columns: ["site_id", "category_id"];
|
|
1305
|
+
isOneToOne: false;
|
|
1306
|
+
referencedRelation: "appointment_service_categories";
|
|
1307
|
+
referencedColumns: ["site_id", "id"];
|
|
1308
|
+
},
|
|
1255
1309
|
{
|
|
1256
1310
|
foreignKeyName: "appointment_services_form_id_fkey";
|
|
1257
1311
|
columns: ["form_id"];
|
|
@@ -7480,6 +7534,99 @@ export type Database = {
|
|
|
7480
7534
|
}
|
|
7481
7535
|
];
|
|
7482
7536
|
};
|
|
7537
|
+
email_webhook_receipts: {
|
|
7538
|
+
Row: {
|
|
7539
|
+
applied_at: string | null;
|
|
7540
|
+
association_deadline: string;
|
|
7541
|
+
bounce_subtype: string | null;
|
|
7542
|
+
bounce_type: string | null;
|
|
7543
|
+
correlation_invalid: boolean;
|
|
7544
|
+
delivery_id: string | null;
|
|
7545
|
+
email_id: string | null;
|
|
7546
|
+
event_type: string;
|
|
7547
|
+
foreign_source: boolean;
|
|
7548
|
+
id: string;
|
|
7549
|
+
last_error_code: string | null;
|
|
7550
|
+
next_attempt_at: string;
|
|
7551
|
+
observed_at: string;
|
|
7552
|
+
provider: string;
|
|
7553
|
+
provider_event_id: string;
|
|
7554
|
+
provider_message_id: string;
|
|
7555
|
+
reason: string | null;
|
|
7556
|
+
received_at: string;
|
|
7557
|
+
recipient_email: string | null;
|
|
7558
|
+
site_id: string | null;
|
|
7559
|
+
source_marker: string | null;
|
|
7560
|
+
state: string;
|
|
7561
|
+
transactional_job_id: string | null;
|
|
7562
|
+
};
|
|
7563
|
+
Insert: {
|
|
7564
|
+
applied_at?: string | null;
|
|
7565
|
+
association_deadline?: string;
|
|
7566
|
+
bounce_subtype?: string | null;
|
|
7567
|
+
bounce_type?: string | null;
|
|
7568
|
+
correlation_invalid?: boolean;
|
|
7569
|
+
delivery_id?: string | null;
|
|
7570
|
+
email_id?: string | null;
|
|
7571
|
+
event_type: string;
|
|
7572
|
+
foreign_source?: boolean;
|
|
7573
|
+
id?: string;
|
|
7574
|
+
last_error_code?: string | null;
|
|
7575
|
+
next_attempt_at?: string;
|
|
7576
|
+
observed_at: string;
|
|
7577
|
+
provider: string;
|
|
7578
|
+
provider_event_id: string;
|
|
7579
|
+
provider_message_id: string;
|
|
7580
|
+
reason?: string | null;
|
|
7581
|
+
received_at?: string;
|
|
7582
|
+
recipient_email?: string | null;
|
|
7583
|
+
site_id?: string | null;
|
|
7584
|
+
source_marker?: string | null;
|
|
7585
|
+
state?: string;
|
|
7586
|
+
transactional_job_id?: string | null;
|
|
7587
|
+
};
|
|
7588
|
+
Update: {
|
|
7589
|
+
applied_at?: string | null;
|
|
7590
|
+
association_deadline?: string;
|
|
7591
|
+
bounce_subtype?: string | null;
|
|
7592
|
+
bounce_type?: string | null;
|
|
7593
|
+
correlation_invalid?: boolean;
|
|
7594
|
+
delivery_id?: string | null;
|
|
7595
|
+
email_id?: string | null;
|
|
7596
|
+
event_type?: string;
|
|
7597
|
+
foreign_source?: boolean;
|
|
7598
|
+
id?: string;
|
|
7599
|
+
last_error_code?: string | null;
|
|
7600
|
+
next_attempt_at?: string;
|
|
7601
|
+
observed_at?: string;
|
|
7602
|
+
provider?: string;
|
|
7603
|
+
provider_event_id?: string;
|
|
7604
|
+
provider_message_id?: string;
|
|
7605
|
+
reason?: string | null;
|
|
7606
|
+
received_at?: string;
|
|
7607
|
+
recipient_email?: string | null;
|
|
7608
|
+
site_id?: string | null;
|
|
7609
|
+
source_marker?: string | null;
|
|
7610
|
+
state?: string;
|
|
7611
|
+
transactional_job_id?: string | null;
|
|
7612
|
+
};
|
|
7613
|
+
Relationships: [
|
|
7614
|
+
{
|
|
7615
|
+
foreignKeyName: "email_webhook_receipts_email_id_fkey";
|
|
7616
|
+
columns: ["email_id"];
|
|
7617
|
+
isOneToOne: false;
|
|
7618
|
+
referencedRelation: "emails";
|
|
7619
|
+
referencedColumns: ["id"];
|
|
7620
|
+
},
|
|
7621
|
+
{
|
|
7622
|
+
foreignKeyName: "email_webhook_receipts_site_id_fkey";
|
|
7623
|
+
columns: ["site_id"];
|
|
7624
|
+
isOneToOne: false;
|
|
7625
|
+
referencedRelation: "sites";
|
|
7626
|
+
referencedColumns: ["id"];
|
|
7627
|
+
}
|
|
7628
|
+
];
|
|
7629
|
+
};
|
|
7483
7630
|
emails: {
|
|
7484
7631
|
Row: {
|
|
7485
7632
|
body_html: string | null;
|
|
@@ -10986,91 +11133,220 @@ export type Database = {
|
|
|
10986
11133
|
}
|
|
10987
11134
|
];
|
|
10988
11135
|
};
|
|
11136
|
+
newsletter_address_suppressions: {
|
|
11137
|
+
Row: {
|
|
11138
|
+
created_at: string;
|
|
11139
|
+
email: string;
|
|
11140
|
+
reason: string;
|
|
11141
|
+
site_id: string;
|
|
11142
|
+
};
|
|
11143
|
+
Insert: {
|
|
11144
|
+
created_at?: string;
|
|
11145
|
+
email: string;
|
|
11146
|
+
reason: string;
|
|
11147
|
+
site_id: string;
|
|
11148
|
+
};
|
|
11149
|
+
Update: {
|
|
11150
|
+
created_at?: string;
|
|
11151
|
+
email?: string;
|
|
11152
|
+
reason?: string;
|
|
11153
|
+
site_id?: string;
|
|
11154
|
+
};
|
|
11155
|
+
Relationships: [
|
|
11156
|
+
{
|
|
11157
|
+
foreignKeyName: "newsletter_address_suppressions_site_id_fkey";
|
|
11158
|
+
columns: ["site_id"];
|
|
11159
|
+
isOneToOne: false;
|
|
11160
|
+
referencedRelation: "sites";
|
|
11161
|
+
referencedColumns: ["id"];
|
|
11162
|
+
}
|
|
11163
|
+
];
|
|
11164
|
+
};
|
|
11165
|
+
newsletter_campaign_deliveries: {
|
|
11166
|
+
Row: {
|
|
11167
|
+
accepted_at: string | null;
|
|
11168
|
+
attempt_count: number;
|
|
11169
|
+
bounce_type: string | null;
|
|
11170
|
+
bounced_at: string | null;
|
|
11171
|
+
campaign_id: string;
|
|
11172
|
+
captured_email: string | null;
|
|
11173
|
+
claim_expires_at: string | null;
|
|
11174
|
+
claim_token: string | null;
|
|
11175
|
+
click_count: number;
|
|
11176
|
+
clicked_at: string | null;
|
|
11177
|
+
complained_at: string | null;
|
|
11178
|
+
created_at: string;
|
|
11179
|
+
delivered_at: string | null;
|
|
11180
|
+
first_possible_acceptance_at: string | null;
|
|
11181
|
+
id: string;
|
|
11182
|
+
last_error_code: string | null;
|
|
11183
|
+
next_attempt_at: string | null;
|
|
11184
|
+
open_count: number;
|
|
11185
|
+
opened_at: string | null;
|
|
11186
|
+
payload_json: Json | null;
|
|
11187
|
+
provider_message_id: string | null;
|
|
11188
|
+
reason: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
|
|
11189
|
+
retry_cutoff_at: string | null;
|
|
11190
|
+
site_id: string;
|
|
11191
|
+
state: Database["public"]["Enums"]["newsletter_delivery_state"];
|
|
11192
|
+
subscriber_id: string | null;
|
|
11193
|
+
unsubscribed_at: string | null;
|
|
11194
|
+
updated_at: string;
|
|
11195
|
+
};
|
|
11196
|
+
Insert: {
|
|
11197
|
+
accepted_at?: string | null;
|
|
11198
|
+
attempt_count?: number;
|
|
11199
|
+
bounce_type?: string | null;
|
|
11200
|
+
bounced_at?: string | null;
|
|
11201
|
+
campaign_id: string;
|
|
11202
|
+
captured_email?: string | null;
|
|
11203
|
+
claim_expires_at?: string | null;
|
|
11204
|
+
claim_token?: string | null;
|
|
11205
|
+
click_count?: number;
|
|
11206
|
+
clicked_at?: string | null;
|
|
11207
|
+
complained_at?: string | null;
|
|
11208
|
+
created_at?: string;
|
|
11209
|
+
delivered_at?: string | null;
|
|
11210
|
+
first_possible_acceptance_at?: string | null;
|
|
11211
|
+
id?: string;
|
|
11212
|
+
last_error_code?: string | null;
|
|
11213
|
+
next_attempt_at?: string | null;
|
|
11214
|
+
open_count?: number;
|
|
11215
|
+
opened_at?: string | null;
|
|
11216
|
+
payload_json?: Json | null;
|
|
11217
|
+
provider_message_id?: string | null;
|
|
11218
|
+
reason?: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
|
|
11219
|
+
retry_cutoff_at?: string | null;
|
|
11220
|
+
site_id: string;
|
|
11221
|
+
state?: Database["public"]["Enums"]["newsletter_delivery_state"];
|
|
11222
|
+
subscriber_id?: string | null;
|
|
11223
|
+
unsubscribed_at?: string | null;
|
|
11224
|
+
updated_at?: string;
|
|
11225
|
+
};
|
|
11226
|
+
Update: {
|
|
11227
|
+
accepted_at?: string | null;
|
|
11228
|
+
attempt_count?: number;
|
|
11229
|
+
bounce_type?: string | null;
|
|
11230
|
+
bounced_at?: string | null;
|
|
11231
|
+
campaign_id?: string;
|
|
11232
|
+
captured_email?: string | null;
|
|
11233
|
+
claim_expires_at?: string | null;
|
|
11234
|
+
claim_token?: string | null;
|
|
11235
|
+
click_count?: number;
|
|
11236
|
+
clicked_at?: string | null;
|
|
11237
|
+
complained_at?: string | null;
|
|
11238
|
+
created_at?: string;
|
|
11239
|
+
delivered_at?: string | null;
|
|
11240
|
+
first_possible_acceptance_at?: string | null;
|
|
11241
|
+
id?: string;
|
|
11242
|
+
last_error_code?: string | null;
|
|
11243
|
+
next_attempt_at?: string | null;
|
|
11244
|
+
open_count?: number;
|
|
11245
|
+
opened_at?: string | null;
|
|
11246
|
+
payload_json?: Json | null;
|
|
11247
|
+
provider_message_id?: string | null;
|
|
11248
|
+
reason?: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
|
|
11249
|
+
retry_cutoff_at?: string | null;
|
|
11250
|
+
site_id?: string;
|
|
11251
|
+
state?: Database["public"]["Enums"]["newsletter_delivery_state"];
|
|
11252
|
+
subscriber_id?: string | null;
|
|
11253
|
+
unsubscribed_at?: string | null;
|
|
11254
|
+
updated_at?: string;
|
|
11255
|
+
};
|
|
11256
|
+
Relationships: [
|
|
11257
|
+
{
|
|
11258
|
+
foreignKeyName: "newsletter_campaign_deliveries_campaign_id_fkey";
|
|
11259
|
+
columns: ["campaign_id"];
|
|
11260
|
+
isOneToOne: false;
|
|
11261
|
+
referencedRelation: "newsletter_campaigns";
|
|
11262
|
+
referencedColumns: ["id"];
|
|
11263
|
+
},
|
|
11264
|
+
{
|
|
11265
|
+
foreignKeyName: "newsletter_campaign_deliveries_site_id_fkey";
|
|
11266
|
+
columns: ["site_id"];
|
|
11267
|
+
isOneToOne: false;
|
|
11268
|
+
referencedRelation: "sites";
|
|
11269
|
+
referencedColumns: ["id"];
|
|
11270
|
+
},
|
|
11271
|
+
{
|
|
11272
|
+
foreignKeyName: "newsletter_campaign_deliveries_subscriber_id_fkey";
|
|
11273
|
+
columns: ["subscriber_id"];
|
|
11274
|
+
isOneToOne: false;
|
|
11275
|
+
referencedRelation: "newsletter_subscribers";
|
|
11276
|
+
referencedColumns: ["id"];
|
|
11277
|
+
}
|
|
11278
|
+
];
|
|
11279
|
+
};
|
|
10989
11280
|
newsletter_campaigns: {
|
|
10990
11281
|
Row: {
|
|
10991
11282
|
audience_list_ids: string[];
|
|
10992
|
-
audience_mode: string;
|
|
10993
11283
|
audience_tags: string[];
|
|
10994
|
-
|
|
10995
|
-
clicked_count: number;
|
|
10996
|
-
complained_count: number;
|
|
11284
|
+
captured_at: string | null;
|
|
10997
11285
|
created_at: string;
|
|
10998
11286
|
created_by: string | null;
|
|
10999
|
-
|
|
11287
|
+
deadline_at: string | null;
|
|
11288
|
+
finish_reason: Database["public"]["Enums"]["newsletter_campaign_finish_reason"] | null;
|
|
11289
|
+
finished_at: string | null;
|
|
11000
11290
|
id: string;
|
|
11001
|
-
|
|
11291
|
+
intended_start_at: string | null;
|
|
11292
|
+
last_claimed_at: string | null;
|
|
11002
11293
|
name: string;
|
|
11003
|
-
opened_count: number;
|
|
11004
11294
|
preheader: string | null;
|
|
11005
|
-
rendered_html: string | null;
|
|
11006
|
-
rendered_text: string | null;
|
|
11007
11295
|
scheduled_at: string | null;
|
|
11008
|
-
sent_count: number;
|
|
11009
11296
|
site_id: string;
|
|
11010
11297
|
snapshot_json: Json | null;
|
|
11011
|
-
status: Database["public"]["Enums"]["
|
|
11298
|
+
status: Database["public"]["Enums"]["newsletter_campaign_control_state"];
|
|
11012
11299
|
subject: string | null;
|
|
11013
11300
|
template_id: string | null;
|
|
11014
11301
|
timezone: string | null;
|
|
11015
|
-
unsubscribed_count: number;
|
|
11016
11302
|
updated_at: string;
|
|
11017
11303
|
updated_by: string | null;
|
|
11018
11304
|
};
|
|
11019
11305
|
Insert: {
|
|
11020
11306
|
audience_list_ids?: string[];
|
|
11021
|
-
audience_mode?: string;
|
|
11022
11307
|
audience_tags?: string[];
|
|
11023
|
-
|
|
11024
|
-
clicked_count?: number;
|
|
11025
|
-
complained_count?: number;
|
|
11308
|
+
captured_at?: string | null;
|
|
11026
11309
|
created_at?: string;
|
|
11027
11310
|
created_by?: string | null;
|
|
11028
|
-
|
|
11311
|
+
deadline_at?: string | null;
|
|
11312
|
+
finish_reason?: Database["public"]["Enums"]["newsletter_campaign_finish_reason"] | null;
|
|
11313
|
+
finished_at?: string | null;
|
|
11029
11314
|
id?: string;
|
|
11030
|
-
|
|
11315
|
+
intended_start_at?: string | null;
|
|
11316
|
+
last_claimed_at?: string | null;
|
|
11031
11317
|
name: string;
|
|
11032
|
-
opened_count?: number;
|
|
11033
11318
|
preheader?: string | null;
|
|
11034
|
-
rendered_html?: string | null;
|
|
11035
|
-
rendered_text?: string | null;
|
|
11036
11319
|
scheduled_at?: string | null;
|
|
11037
|
-
sent_count?: number;
|
|
11038
11320
|
site_id: string;
|
|
11039
11321
|
snapshot_json?: Json | null;
|
|
11040
|
-
status?: Database["public"]["Enums"]["
|
|
11322
|
+
status?: Database["public"]["Enums"]["newsletter_campaign_control_state"];
|
|
11041
11323
|
subject?: string | null;
|
|
11042
11324
|
template_id?: string | null;
|
|
11043
11325
|
timezone?: string | null;
|
|
11044
|
-
unsubscribed_count?: number;
|
|
11045
11326
|
updated_at?: string;
|
|
11046
11327
|
updated_by?: string | null;
|
|
11047
11328
|
};
|
|
11048
11329
|
Update: {
|
|
11049
11330
|
audience_list_ids?: string[];
|
|
11050
|
-
audience_mode?: string;
|
|
11051
11331
|
audience_tags?: string[];
|
|
11052
|
-
|
|
11053
|
-
clicked_count?: number;
|
|
11054
|
-
complained_count?: number;
|
|
11332
|
+
captured_at?: string | null;
|
|
11055
11333
|
created_at?: string;
|
|
11056
11334
|
created_by?: string | null;
|
|
11057
|
-
|
|
11335
|
+
deadline_at?: string | null;
|
|
11336
|
+
finish_reason?: Database["public"]["Enums"]["newsletter_campaign_finish_reason"] | null;
|
|
11337
|
+
finished_at?: string | null;
|
|
11058
11338
|
id?: string;
|
|
11059
|
-
|
|
11339
|
+
intended_start_at?: string | null;
|
|
11340
|
+
last_claimed_at?: string | null;
|
|
11060
11341
|
name?: string;
|
|
11061
|
-
opened_count?: number;
|
|
11062
11342
|
preheader?: string | null;
|
|
11063
|
-
rendered_html?: string | null;
|
|
11064
|
-
rendered_text?: string | null;
|
|
11065
11343
|
scheduled_at?: string | null;
|
|
11066
|
-
sent_count?: number;
|
|
11067
11344
|
site_id?: string;
|
|
11068
11345
|
snapshot_json?: Json | null;
|
|
11069
|
-
status?: Database["public"]["Enums"]["
|
|
11346
|
+
status?: Database["public"]["Enums"]["newsletter_campaign_control_state"];
|
|
11070
11347
|
subject?: string | null;
|
|
11071
11348
|
template_id?: string | null;
|
|
11072
11349
|
timezone?: string | null;
|
|
11073
|
-
unsubscribed_count?: number;
|
|
11074
11350
|
updated_at?: string;
|
|
11075
11351
|
updated_by?: string | null;
|
|
11076
11352
|
};
|
|
@@ -11175,192 +11451,31 @@ export type Database = {
|
|
|
11175
11451
|
}
|
|
11176
11452
|
];
|
|
11177
11453
|
};
|
|
11178
|
-
|
|
11454
|
+
newsletter_settings: {
|
|
11179
11455
|
Row: {
|
|
11180
|
-
|
|
11181
|
-
|
|
11456
|
+
charity_number: string | null;
|
|
11457
|
+
company_registration_number: string | null;
|
|
11182
11458
|
created_at: string;
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11459
|
+
from_localpart: string;
|
|
11460
|
+
from_name: string | null;
|
|
11461
|
+
reply_to_email: string | null;
|
|
11462
|
+
sender_address_line_1: string | null;
|
|
11463
|
+
sender_address_line_2: string | null;
|
|
11464
|
+
sender_address_source: string;
|
|
11465
|
+
sender_city: string | null;
|
|
11466
|
+
sender_country: string | null;
|
|
11467
|
+
sender_display_name: string | null;
|
|
11468
|
+
sender_entity_type: Database["public"]["Enums"]["newsletter_sender_entity_type"];
|
|
11469
|
+
sender_postcode: string | null;
|
|
11189
11470
|
site_id: string;
|
|
11190
|
-
|
|
11471
|
+
track_clicks: boolean;
|
|
11472
|
+
track_opens: boolean;
|
|
11191
11473
|
updated_at: string;
|
|
11474
|
+
vat_number: string | null;
|
|
11192
11475
|
};
|
|
11193
11476
|
Insert: {
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
created_at?: string;
|
|
11197
|
-
id?: string;
|
|
11198
|
-
last_error?: string | null;
|
|
11199
|
-
locked_at?: string | null;
|
|
11200
|
-
locked_by?: string | null;
|
|
11201
|
-
max_attempts?: number;
|
|
11202
|
-
run_after?: string | null;
|
|
11203
|
-
site_id: string;
|
|
11204
|
-
status?: Database["public"]["Enums"]["newsletter_send_job_status"];
|
|
11205
|
-
updated_at?: string;
|
|
11206
|
-
};
|
|
11207
|
-
Update: {
|
|
11208
|
-
attempt_count?: number;
|
|
11209
|
-
campaign_id?: string;
|
|
11210
|
-
created_at?: string;
|
|
11211
|
-
id?: string;
|
|
11212
|
-
last_error?: string | null;
|
|
11213
|
-
locked_at?: string | null;
|
|
11214
|
-
locked_by?: string | null;
|
|
11215
|
-
max_attempts?: number;
|
|
11216
|
-
run_after?: string | null;
|
|
11217
|
-
site_id?: string;
|
|
11218
|
-
status?: Database["public"]["Enums"]["newsletter_send_job_status"];
|
|
11219
|
-
updated_at?: string;
|
|
11220
|
-
};
|
|
11221
|
-
Relationships: [
|
|
11222
|
-
{
|
|
11223
|
-
foreignKeyName: "newsletter_send_jobs_campaign_id_fkey";
|
|
11224
|
-
columns: ["campaign_id"];
|
|
11225
|
-
isOneToOne: false;
|
|
11226
|
-
referencedRelation: "newsletter_campaigns";
|
|
11227
|
-
referencedColumns: ["id"];
|
|
11228
|
-
},
|
|
11229
|
-
{
|
|
11230
|
-
foreignKeyName: "newsletter_send_jobs_site_id_fkey";
|
|
11231
|
-
columns: ["site_id"];
|
|
11232
|
-
isOneToOne: false;
|
|
11233
|
-
referencedRelation: "sites";
|
|
11234
|
-
referencedColumns: ["id"];
|
|
11235
|
-
}
|
|
11236
|
-
];
|
|
11237
|
-
};
|
|
11238
|
-
newsletter_send_outcomes: {
|
|
11239
|
-
Row: {
|
|
11240
|
-
bounce_sub_type: string | null;
|
|
11241
|
-
bounce_type: string | null;
|
|
11242
|
-
bounced_at: string | null;
|
|
11243
|
-
campaign_id: string;
|
|
11244
|
-
click_count: number;
|
|
11245
|
-
clicked_at: string | null;
|
|
11246
|
-
complained_at: string | null;
|
|
11247
|
-
created_at: string;
|
|
11248
|
-
delivered_at: string | null;
|
|
11249
|
-
id: string;
|
|
11250
|
-
idempotency_key: string;
|
|
11251
|
-
is_test: boolean;
|
|
11252
|
-
job_id: string | null;
|
|
11253
|
-
open_count: number;
|
|
11254
|
-
opened_at: string | null;
|
|
11255
|
-
provider_message_id: string | null;
|
|
11256
|
-
provider_status: string | null;
|
|
11257
|
-
site_id: string;
|
|
11258
|
-
subscriber_id: string | null;
|
|
11259
|
-
unsubscribed_at: string | null;
|
|
11260
|
-
updated_at: string;
|
|
11261
|
-
};
|
|
11262
|
-
Insert: {
|
|
11263
|
-
bounce_sub_type?: string | null;
|
|
11264
|
-
bounce_type?: string | null;
|
|
11265
|
-
bounced_at?: string | null;
|
|
11266
|
-
campaign_id: string;
|
|
11267
|
-
click_count?: number;
|
|
11268
|
-
clicked_at?: string | null;
|
|
11269
|
-
complained_at?: string | null;
|
|
11270
|
-
created_at?: string;
|
|
11271
|
-
delivered_at?: string | null;
|
|
11272
|
-
id?: string;
|
|
11273
|
-
idempotency_key: string;
|
|
11274
|
-
is_test?: boolean;
|
|
11275
|
-
job_id?: string | null;
|
|
11276
|
-
open_count?: number;
|
|
11277
|
-
opened_at?: string | null;
|
|
11278
|
-
provider_message_id?: string | null;
|
|
11279
|
-
provider_status?: string | null;
|
|
11280
|
-
site_id: string;
|
|
11281
|
-
subscriber_id?: string | null;
|
|
11282
|
-
unsubscribed_at?: string | null;
|
|
11283
|
-
updated_at?: string;
|
|
11284
|
-
};
|
|
11285
|
-
Update: {
|
|
11286
|
-
bounce_sub_type?: string | null;
|
|
11287
|
-
bounce_type?: string | null;
|
|
11288
|
-
bounced_at?: string | null;
|
|
11289
|
-
campaign_id?: string;
|
|
11290
|
-
click_count?: number;
|
|
11291
|
-
clicked_at?: string | null;
|
|
11292
|
-
complained_at?: string | null;
|
|
11293
|
-
created_at?: string;
|
|
11294
|
-
delivered_at?: string | null;
|
|
11295
|
-
id?: string;
|
|
11296
|
-
idempotency_key?: string;
|
|
11297
|
-
is_test?: boolean;
|
|
11298
|
-
job_id?: string | null;
|
|
11299
|
-
open_count?: number;
|
|
11300
|
-
opened_at?: string | null;
|
|
11301
|
-
provider_message_id?: string | null;
|
|
11302
|
-
provider_status?: string | null;
|
|
11303
|
-
site_id?: string;
|
|
11304
|
-
subscriber_id?: string | null;
|
|
11305
|
-
unsubscribed_at?: string | null;
|
|
11306
|
-
updated_at?: string;
|
|
11307
|
-
};
|
|
11308
|
-
Relationships: [
|
|
11309
|
-
{
|
|
11310
|
-
foreignKeyName: "newsletter_send_outcomes_campaign_id_fkey";
|
|
11311
|
-
columns: ["campaign_id"];
|
|
11312
|
-
isOneToOne: false;
|
|
11313
|
-
referencedRelation: "newsletter_campaigns";
|
|
11314
|
-
referencedColumns: ["id"];
|
|
11315
|
-
},
|
|
11316
|
-
{
|
|
11317
|
-
foreignKeyName: "newsletter_send_outcomes_job_id_fkey";
|
|
11318
|
-
columns: ["job_id"];
|
|
11319
|
-
isOneToOne: false;
|
|
11320
|
-
referencedRelation: "newsletter_send_jobs";
|
|
11321
|
-
referencedColumns: ["id"];
|
|
11322
|
-
},
|
|
11323
|
-
{
|
|
11324
|
-
foreignKeyName: "newsletter_send_outcomes_site_id_fkey";
|
|
11325
|
-
columns: ["site_id"];
|
|
11326
|
-
isOneToOne: false;
|
|
11327
|
-
referencedRelation: "sites";
|
|
11328
|
-
referencedColumns: ["id"];
|
|
11329
|
-
},
|
|
11330
|
-
{
|
|
11331
|
-
foreignKeyName: "newsletter_send_outcomes_subscriber_id_fkey";
|
|
11332
|
-
columns: ["subscriber_id"];
|
|
11333
|
-
isOneToOne: false;
|
|
11334
|
-
referencedRelation: "newsletter_subscribers";
|
|
11335
|
-
referencedColumns: ["id"];
|
|
11336
|
-
}
|
|
11337
|
-
];
|
|
11338
|
-
};
|
|
11339
|
-
newsletter_settings: {
|
|
11340
|
-
Row: {
|
|
11341
|
-
charity_number: string | null;
|
|
11342
|
-
company_registration_number: string | null;
|
|
11343
|
-
created_at: string;
|
|
11344
|
-
from_localpart: string;
|
|
11345
|
-
from_name: string | null;
|
|
11346
|
-
reply_to_email: string | null;
|
|
11347
|
-
sender_address_line_1: string | null;
|
|
11348
|
-
sender_address_line_2: string | null;
|
|
11349
|
-
sender_address_source: string;
|
|
11350
|
-
sender_city: string | null;
|
|
11351
|
-
sender_country: string | null;
|
|
11352
|
-
sender_display_name: string | null;
|
|
11353
|
-
sender_entity_type: Database["public"]["Enums"]["newsletter_sender_entity_type"];
|
|
11354
|
-
sender_postcode: string | null;
|
|
11355
|
-
site_id: string;
|
|
11356
|
-
track_clicks: boolean;
|
|
11357
|
-
track_opens: boolean;
|
|
11358
|
-
updated_at: string;
|
|
11359
|
-
vat_number: string | null;
|
|
11360
|
-
};
|
|
11361
|
-
Insert: {
|
|
11362
|
-
charity_number?: string | null;
|
|
11363
|
-
company_registration_number?: string | null;
|
|
11477
|
+
charity_number?: string | null;
|
|
11478
|
+
company_registration_number?: string | null;
|
|
11364
11479
|
created_at?: string;
|
|
11365
11480
|
from_localpart?: string;
|
|
11366
11481
|
from_name?: string | null;
|
|
@@ -11461,9 +11576,13 @@ export type Database = {
|
|
|
11461
11576
|
anonymized_by: string | null;
|
|
11462
11577
|
confirm_token_expires_at: string | null;
|
|
11463
11578
|
confirm_token_hash: string | null;
|
|
11579
|
+
confirmation_list_ids: string[] | null;
|
|
11580
|
+
confirmation_revision: number | null;
|
|
11581
|
+
confirmed_at: string | null;
|
|
11464
11582
|
consent_ip: string | null;
|
|
11465
11583
|
consent_metadata: Json | null;
|
|
11466
11584
|
consent_referer: string | null;
|
|
11585
|
+
consent_revision: number;
|
|
11467
11586
|
consent_source: string | null;
|
|
11468
11587
|
consent_source_block_id: string | null;
|
|
11469
11588
|
consent_user_agent: string | null;
|
|
@@ -11492,9 +11611,13 @@ export type Database = {
|
|
|
11492
11611
|
anonymized_by?: string | null;
|
|
11493
11612
|
confirm_token_expires_at?: string | null;
|
|
11494
11613
|
confirm_token_hash?: string | null;
|
|
11614
|
+
confirmation_list_ids?: string[] | null;
|
|
11615
|
+
confirmation_revision?: number | null;
|
|
11616
|
+
confirmed_at?: string | null;
|
|
11495
11617
|
consent_ip?: string | null;
|
|
11496
11618
|
consent_metadata?: Json | null;
|
|
11497
11619
|
consent_referer?: string | null;
|
|
11620
|
+
consent_revision?: number;
|
|
11498
11621
|
consent_source?: string | null;
|
|
11499
11622
|
consent_source_block_id?: string | null;
|
|
11500
11623
|
consent_user_agent?: string | null;
|
|
@@ -11523,9 +11646,13 @@ export type Database = {
|
|
|
11523
11646
|
anonymized_by?: string | null;
|
|
11524
11647
|
confirm_token_expires_at?: string | null;
|
|
11525
11648
|
confirm_token_hash?: string | null;
|
|
11649
|
+
confirmation_list_ids?: string[] | null;
|
|
11650
|
+
confirmation_revision?: number | null;
|
|
11651
|
+
confirmed_at?: string | null;
|
|
11526
11652
|
consent_ip?: string | null;
|
|
11527
11653
|
consent_metadata?: Json | null;
|
|
11528
11654
|
consent_referer?: string | null;
|
|
11655
|
+
consent_revision?: number;
|
|
11529
11656
|
consent_source?: string | null;
|
|
11530
11657
|
consent_source_block_id?: string | null;
|
|
11531
11658
|
consent_user_agent?: string | null;
|
|
@@ -11605,6 +11732,10 @@ export type Database = {
|
|
|
11605
11732
|
brand_guidelines: Json | null;
|
|
11606
11733
|
cancelled_at: string | null;
|
|
11607
11734
|
completed_at: string | null;
|
|
11735
|
+
confirmation_resend_count: number;
|
|
11736
|
+
confirmation_resend_previous_resent_at: string | null;
|
|
11737
|
+
confirmation_resend_reservation_id: string | null;
|
|
11738
|
+
confirmation_resent_at: string | null;
|
|
11608
11739
|
created_at: string;
|
|
11609
11740
|
generate_request: Json;
|
|
11610
11741
|
generation_intake: Json;
|
|
@@ -11631,6 +11762,10 @@ export type Database = {
|
|
|
11631
11762
|
brand_guidelines?: Json | null;
|
|
11632
11763
|
cancelled_at?: string | null;
|
|
11633
11764
|
completed_at?: string | null;
|
|
11765
|
+
confirmation_resend_count?: number;
|
|
11766
|
+
confirmation_resend_previous_resent_at?: string | null;
|
|
11767
|
+
confirmation_resend_reservation_id?: string | null;
|
|
11768
|
+
confirmation_resent_at?: string | null;
|
|
11634
11769
|
created_at?: string;
|
|
11635
11770
|
generate_request: Json;
|
|
11636
11771
|
generation_intake: Json;
|
|
@@ -11657,6 +11792,10 @@ export type Database = {
|
|
|
11657
11792
|
brand_guidelines?: Json | null;
|
|
11658
11793
|
cancelled_at?: string | null;
|
|
11659
11794
|
completed_at?: string | null;
|
|
11795
|
+
confirmation_resend_count?: number;
|
|
11796
|
+
confirmation_resend_previous_resent_at?: string | null;
|
|
11797
|
+
confirmation_resend_reservation_id?: string | null;
|
|
11798
|
+
confirmation_resent_at?: string | null;
|
|
11660
11799
|
created_at?: string;
|
|
11661
11800
|
generate_request?: Json;
|
|
11662
11801
|
generation_intake?: Json;
|
|
@@ -18029,6 +18168,14 @@ export type Database = {
|
|
|
18029
18168
|
};
|
|
18030
18169
|
Returns: boolean;
|
|
18031
18170
|
};
|
|
18171
|
+
append_appointment_service_to_category: {
|
|
18172
|
+
Args: {
|
|
18173
|
+
p_category_id?: string;
|
|
18174
|
+
p_service_id: string;
|
|
18175
|
+
p_site_id: string;
|
|
18176
|
+
};
|
|
18177
|
+
Returns: string;
|
|
18178
|
+
};
|
|
18032
18179
|
apply_canonical_order_refund_projection: {
|
|
18033
18180
|
Args: {
|
|
18034
18181
|
p_expected_order_refunded_cents: number;
|
|
@@ -18041,6 +18188,15 @@ export type Database = {
|
|
|
18041
18188
|
};
|
|
18042
18189
|
Returns: string;
|
|
18043
18190
|
};
|
|
18191
|
+
apply_course_booking_settings_v1_atomic: {
|
|
18192
|
+
Args: {
|
|
18193
|
+
p_event_offering_id: string;
|
|
18194
|
+
p_settings: Json;
|
|
18195
|
+
p_site_id: string;
|
|
18196
|
+
p_user_id: string;
|
|
18197
|
+
};
|
|
18198
|
+
Returns: Json;
|
|
18199
|
+
};
|
|
18044
18200
|
apply_customer_profile_rectification: {
|
|
18045
18201
|
Args: {
|
|
18046
18202
|
audit_actor_user_id: string;
|
|
@@ -19290,6 +19446,59 @@ export type Database = {
|
|
|
19290
19446
|
};
|
|
19291
19447
|
Returns: Json;
|
|
19292
19448
|
};
|
|
19449
|
+
create_page_with_route: {
|
|
19450
|
+
Args: {
|
|
19451
|
+
p_draft_meta_description?: string;
|
|
19452
|
+
p_draft_meta_title?: string;
|
|
19453
|
+
p_identifier: string;
|
|
19454
|
+
p_path: string;
|
|
19455
|
+
p_published_meta_title?: string;
|
|
19456
|
+
p_purpose: string;
|
|
19457
|
+
p_site_id: string;
|
|
19458
|
+
p_title: string;
|
|
19459
|
+
p_user_id: string;
|
|
19460
|
+
};
|
|
19461
|
+
Returns: {
|
|
19462
|
+
canonical_url: string | null;
|
|
19463
|
+
created_at: string;
|
|
19464
|
+
created_by: string | null;
|
|
19465
|
+
deleted_at: string | null;
|
|
19466
|
+
deleted_by: string | null;
|
|
19467
|
+
draft_meta_description: string | null;
|
|
19468
|
+
draft_meta_title: string | null;
|
|
19469
|
+
draft_path: string;
|
|
19470
|
+
draft_slug: string | null;
|
|
19471
|
+
draft_status: Database["public"]["Enums"]["route_status"];
|
|
19472
|
+
draft_title: string;
|
|
19473
|
+
draft_updated_at: string;
|
|
19474
|
+
id: string;
|
|
19475
|
+
node_id: string;
|
|
19476
|
+
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
19477
|
+
og_image_id: string | null;
|
|
19478
|
+
published_at: string | null;
|
|
19479
|
+
published_meta_description: string | null;
|
|
19480
|
+
published_meta_title: string | null;
|
|
19481
|
+
published_path: string;
|
|
19482
|
+
published_slug: string | null;
|
|
19483
|
+
published_title: string;
|
|
19484
|
+
scheduled_publish_at: string | null;
|
|
19485
|
+
scheduled_publish_attempts: number;
|
|
19486
|
+
scheduled_publish_failed_at: string | null;
|
|
19487
|
+
scheduled_publish_last_error: string | null;
|
|
19488
|
+
scheduled_publish_last_error_at: string | null;
|
|
19489
|
+
scheduled_publish_requested_by: string | null;
|
|
19490
|
+
site_id: string;
|
|
19491
|
+
status: Database["public"]["Enums"]["route_status"];
|
|
19492
|
+
updated_at: string;
|
|
19493
|
+
updated_by: string | null;
|
|
19494
|
+
};
|
|
19495
|
+
SetofOptions: {
|
|
19496
|
+
from: "*";
|
|
19497
|
+
to: "site_routes";
|
|
19498
|
+
isOneToOne: true;
|
|
19499
|
+
isSetofReturn: false;
|
|
19500
|
+
};
|
|
19501
|
+
};
|
|
19293
19502
|
create_site_invitation: {
|
|
19294
19503
|
Args: {
|
|
19295
19504
|
p_email: string;
|
|
@@ -19390,6 +19599,13 @@ export type Database = {
|
|
|
19390
19599
|
used_capacity: number;
|
|
19391
19600
|
}[];
|
|
19392
19601
|
};
|
|
19602
|
+
delete_appointment_service_category: {
|
|
19603
|
+
Args: {
|
|
19604
|
+
p_category_id: string;
|
|
19605
|
+
p_site_id: string;
|
|
19606
|
+
};
|
|
19607
|
+
Returns: string;
|
|
19608
|
+
};
|
|
19393
19609
|
delete_event_occurrence_if_unregistered: {
|
|
19394
19610
|
Args: {
|
|
19395
19611
|
p_occurrence_id: string;
|
|
@@ -19471,6 +19687,49 @@ export type Database = {
|
|
|
19471
19687
|
holds_cancelled: number;
|
|
19472
19688
|
}[];
|
|
19473
19689
|
};
|
|
19690
|
+
email_apply_webhook_receipt_atomic: {
|
|
19691
|
+
Args: {
|
|
19692
|
+
p_receipt_id: string;
|
|
19693
|
+
};
|
|
19694
|
+
Returns: string;
|
|
19695
|
+
};
|
|
19696
|
+
email_feedback_last_event: {
|
|
19697
|
+
Args: {
|
|
19698
|
+
p_email_id: string;
|
|
19699
|
+
};
|
|
19700
|
+
Returns: Json;
|
|
19701
|
+
};
|
|
19702
|
+
email_issue_evidence: {
|
|
19703
|
+
Args: {
|
|
19704
|
+
p_limit?: number;
|
|
19705
|
+
p_offset?: number;
|
|
19706
|
+
};
|
|
19707
|
+
Returns: Json;
|
|
19708
|
+
};
|
|
19709
|
+
email_issue_group_evidence: {
|
|
19710
|
+
Args: {
|
|
19711
|
+
p_group_id: string;
|
|
19712
|
+
p_limit?: number;
|
|
19713
|
+
};
|
|
19714
|
+
Returns: Json;
|
|
19715
|
+
};
|
|
19716
|
+
email_issue_rows: {
|
|
19717
|
+
Args: never;
|
|
19718
|
+
Returns: Json[];
|
|
19719
|
+
};
|
|
19720
|
+
email_reconcile_receipt_audits: {
|
|
19721
|
+
Args: {
|
|
19722
|
+
p_limit?: number;
|
|
19723
|
+
};
|
|
19724
|
+
Returns: number;
|
|
19725
|
+
};
|
|
19726
|
+
email_status_from_feedback: {
|
|
19727
|
+
Args: {
|
|
19728
|
+
p_email_id: string;
|
|
19729
|
+
p_fallback: string;
|
|
19730
|
+
};
|
|
19731
|
+
Returns: string;
|
|
19732
|
+
};
|
|
19474
19733
|
enqueue_participant_roster_assertion_job: {
|
|
19475
19734
|
Args: {
|
|
19476
19735
|
p_customer_id: string;
|
|
@@ -19992,60 +20251,164 @@ export type Database = {
|
|
|
19992
20251
|
};
|
|
19993
20252
|
Returns: undefined;
|
|
19994
20253
|
};
|
|
19995
|
-
|
|
20254
|
+
newsletter_begin_attempt_atomic: {
|
|
19996
20255
|
Args: {
|
|
19997
|
-
|
|
19998
|
-
|
|
20256
|
+
p_claim_token: string;
|
|
20257
|
+
p_delivery_id: string;
|
|
20258
|
+
};
|
|
20259
|
+
Returns: string;
|
|
20260
|
+
};
|
|
20261
|
+
newsletter_capture_audience_atomic: {
|
|
20262
|
+
Args: {
|
|
20263
|
+
p_campaign_id: string;
|
|
19999
20264
|
};
|
|
20265
|
+
Returns: number;
|
|
20266
|
+
};
|
|
20267
|
+
newsletter_claim_delivery_atomic: {
|
|
20268
|
+
Args: never;
|
|
20000
20269
|
Returns: {
|
|
20270
|
+
accepted_at: string | null;
|
|
20001
20271
|
attempt_count: number;
|
|
20272
|
+
bounce_type: string | null;
|
|
20273
|
+
bounced_at: string | null;
|
|
20002
20274
|
campaign_id: string;
|
|
20275
|
+
captured_email: string | null;
|
|
20276
|
+
claim_expires_at: string | null;
|
|
20277
|
+
claim_token: string | null;
|
|
20278
|
+
click_count: number;
|
|
20279
|
+
clicked_at: string | null;
|
|
20280
|
+
complained_at: string | null;
|
|
20003
20281
|
created_at: string;
|
|
20282
|
+
delivered_at: string | null;
|
|
20283
|
+
first_possible_acceptance_at: string | null;
|
|
20004
20284
|
id: string;
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20008
|
-
|
|
20009
|
-
|
|
20285
|
+
last_error_code: string | null;
|
|
20286
|
+
next_attempt_at: string | null;
|
|
20287
|
+
open_count: number;
|
|
20288
|
+
opened_at: string | null;
|
|
20289
|
+
payload_json: Json | null;
|
|
20290
|
+
provider_message_id: string | null;
|
|
20291
|
+
reason: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
|
|
20292
|
+
retry_cutoff_at: string | null;
|
|
20010
20293
|
site_id: string;
|
|
20011
|
-
|
|
20294
|
+
state: Database["public"]["Enums"]["newsletter_delivery_state"];
|
|
20295
|
+
subscriber_id: string | null;
|
|
20296
|
+
unsubscribed_at: string | null;
|
|
20012
20297
|
updated_at: string;
|
|
20013
20298
|
}[];
|
|
20014
20299
|
SetofOptions: {
|
|
20015
20300
|
from: "*";
|
|
20016
|
-
to: "
|
|
20301
|
+
to: "newsletter_campaign_deliveries";
|
|
20017
20302
|
isOneToOne: false;
|
|
20018
20303
|
isSetofReturn: true;
|
|
20019
20304
|
};
|
|
20020
20305
|
};
|
|
20306
|
+
newsletter_complete_campaign_atomic: {
|
|
20307
|
+
Args: {
|
|
20308
|
+
p_campaign_id: string;
|
|
20309
|
+
};
|
|
20310
|
+
Returns: boolean;
|
|
20311
|
+
};
|
|
20312
|
+
newsletter_complete_idle_campaigns: {
|
|
20313
|
+
Args: {
|
|
20314
|
+
p_limit?: number;
|
|
20315
|
+
};
|
|
20316
|
+
Returns: string[];
|
|
20317
|
+
};
|
|
20318
|
+
newsletter_confirm_atomic: {
|
|
20319
|
+
Args: {
|
|
20320
|
+
p_hash: string;
|
|
20321
|
+
p_site_id: string;
|
|
20322
|
+
};
|
|
20323
|
+
Returns: boolean;
|
|
20324
|
+
};
|
|
20021
20325
|
newsletter_count_recipients: {
|
|
20022
20326
|
Args: {
|
|
20023
20327
|
p_list_ids: string[];
|
|
20024
|
-
p_mode: string;
|
|
20025
20328
|
p_site_id: string;
|
|
20026
20329
|
p_tags: string[];
|
|
20027
20330
|
};
|
|
20028
20331
|
Returns: number;
|
|
20029
20332
|
};
|
|
20030
|
-
|
|
20333
|
+
newsletter_delivery_stats: {
|
|
20334
|
+
Args: {
|
|
20335
|
+
p_campaign_id: string;
|
|
20336
|
+
};
|
|
20337
|
+
Returns: {
|
|
20338
|
+
bounced_count: number;
|
|
20339
|
+
clicked_count: number;
|
|
20340
|
+
complained_count: number;
|
|
20341
|
+
delivered_count: number;
|
|
20342
|
+
last_activity_at: string;
|
|
20343
|
+
not_sent_count: number;
|
|
20344
|
+
not_sent_reasons: Json;
|
|
20345
|
+
opened_count: number;
|
|
20346
|
+
remaining_count: number;
|
|
20347
|
+
selected_count: number;
|
|
20348
|
+
sent_count: number;
|
|
20349
|
+
unknown_count: number;
|
|
20350
|
+
unsubscribed_count: number;
|
|
20351
|
+
}[];
|
|
20352
|
+
};
|
|
20353
|
+
newsletter_finish_campaign_atomic: {
|
|
20031
20354
|
Args: {
|
|
20032
20355
|
p_campaign_id: string;
|
|
20356
|
+
p_reason: string;
|
|
20357
|
+
};
|
|
20358
|
+
Returns: boolean;
|
|
20359
|
+
};
|
|
20360
|
+
newsletter_preferences_atomic: {
|
|
20361
|
+
Args: {
|
|
20362
|
+
p_campaign_id?: string;
|
|
20363
|
+
p_list_ids: string[];
|
|
20364
|
+
p_nonce: string;
|
|
20033
20365
|
p_site_id: string;
|
|
20366
|
+
p_subscriber_id: string;
|
|
20367
|
+
p_unsubscribe?: boolean;
|
|
20034
20368
|
};
|
|
20035
|
-
Returns:
|
|
20369
|
+
Returns: string;
|
|
20036
20370
|
};
|
|
20037
|
-
|
|
20371
|
+
newsletter_record_acceptance_atomic: {
|
|
20038
20372
|
Args: {
|
|
20039
|
-
|
|
20373
|
+
p_delivery_id: string;
|
|
20374
|
+
p_provider_message_id: string;
|
|
20375
|
+
};
|
|
20376
|
+
Returns: string;
|
|
20377
|
+
};
|
|
20378
|
+
newsletter_schedule_campaign_atomic: {
|
|
20379
|
+
Args: {
|
|
20380
|
+
p_actor_user_id: string;
|
|
20381
|
+
p_campaign_id: string;
|
|
20382
|
+
p_expected_updated_at: string;
|
|
20383
|
+
p_intended_start_at: string;
|
|
20384
|
+
p_scheduled_at: string;
|
|
20385
|
+
p_site_id: string;
|
|
20386
|
+
p_snapshot: Json;
|
|
20387
|
+
p_timezone: string;
|
|
20388
|
+
};
|
|
20389
|
+
Returns: boolean;
|
|
20390
|
+
};
|
|
20391
|
+
newsletter_signup_atomic: {
|
|
20392
|
+
Args: {
|
|
20393
|
+
p_confirmation_expires_at: string;
|
|
20394
|
+
p_confirmation_hash: string;
|
|
20395
|
+
p_consent: Json;
|
|
20396
|
+
p_double_opt_in: boolean;
|
|
20397
|
+
p_email: string;
|
|
20040
20398
|
p_list_ids: string[];
|
|
20041
|
-
|
|
20042
|
-
p_offset: number;
|
|
20399
|
+
p_profile: Json;
|
|
20043
20400
|
p_site_id: string;
|
|
20044
|
-
p_tags: string[];
|
|
20045
20401
|
};
|
|
20046
|
-
Returns:
|
|
20047
|
-
|
|
20048
|
-
|
|
20402
|
+
Returns: boolean;
|
|
20403
|
+
};
|
|
20404
|
+
newsletter_suppress_address_atomic: {
|
|
20405
|
+
Args: {
|
|
20406
|
+
p_email: string;
|
|
20407
|
+
p_observed_at?: string;
|
|
20408
|
+
p_reason: string;
|
|
20409
|
+
p_site_id: string;
|
|
20410
|
+
};
|
|
20411
|
+
Returns: undefined;
|
|
20049
20412
|
};
|
|
20050
20413
|
newsletter_update_list_memberships: {
|
|
20051
20414
|
Args: {
|
|
@@ -20434,6 +20797,13 @@ export type Database = {
|
|
|
20434
20797
|
outcome: string;
|
|
20435
20798
|
}[];
|
|
20436
20799
|
};
|
|
20800
|
+
release_onboarding_confirmation_resend_atomic: {
|
|
20801
|
+
Args: {
|
|
20802
|
+
p_attempt_id: string;
|
|
20803
|
+
p_reservation_id: string;
|
|
20804
|
+
};
|
|
20805
|
+
Returns: boolean;
|
|
20806
|
+
};
|
|
20437
20807
|
release_site_invitation_resend_claim: {
|
|
20438
20808
|
Args: {
|
|
20439
20809
|
p_actor_user_id: string;
|
|
@@ -20467,7 +20837,7 @@ export type Database = {
|
|
|
20467
20837
|
rename_event_slug_atomic_guarded: {
|
|
20468
20838
|
Args: {
|
|
20469
20839
|
p_event_offering_id?: string;
|
|
20470
|
-
p_event_series_id
|
|
20840
|
+
p_event_series_id?: string;
|
|
20471
20841
|
p_expected_old_path: string;
|
|
20472
20842
|
p_expected_series_ids: string[];
|
|
20473
20843
|
p_page_surface_id?: string;
|
|
@@ -20498,6 +20868,23 @@ export type Database = {
|
|
|
20498
20868
|
locked_until: string;
|
|
20499
20869
|
}[];
|
|
20500
20870
|
};
|
|
20871
|
+
reorder_appointment_service_categories: {
|
|
20872
|
+
Args: {
|
|
20873
|
+
p_expected_order: string[];
|
|
20874
|
+
p_next_order: string[];
|
|
20875
|
+
p_site_id: string;
|
|
20876
|
+
};
|
|
20877
|
+
Returns: string;
|
|
20878
|
+
};
|
|
20879
|
+
reorder_appointment_services: {
|
|
20880
|
+
Args: {
|
|
20881
|
+
p_category_id?: string;
|
|
20882
|
+
p_expected_order: string[];
|
|
20883
|
+
p_next_order: string[];
|
|
20884
|
+
p_site_id: string;
|
|
20885
|
+
};
|
|
20886
|
+
Returns: string;
|
|
20887
|
+
};
|
|
20501
20888
|
replace_appointment_availability_schedule_payload: {
|
|
20502
20889
|
Args: {
|
|
20503
20890
|
p_interval_minutes: number;
|
|
@@ -20594,6 +20981,15 @@ export type Database = {
|
|
|
20594
20981
|
reservation_id: string;
|
|
20595
20982
|
}[];
|
|
20596
20983
|
};
|
|
20984
|
+
reserve_onboarding_confirmation_resend_atomic: {
|
|
20985
|
+
Args: {
|
|
20986
|
+
p_attempt_id: string;
|
|
20987
|
+
p_cooldown_seconds: number;
|
|
20988
|
+
p_limit: number;
|
|
20989
|
+
p_reservation_id: string;
|
|
20990
|
+
};
|
|
20991
|
+
Returns: Json;
|
|
20992
|
+
};
|
|
20597
20993
|
reserve_order_refund_capacity: {
|
|
20598
20994
|
Args: {
|
|
20599
20995
|
p_refund: Json;
|
|
@@ -20747,6 +21143,18 @@ export type Database = {
|
|
|
20747
21143
|
theme_id: string;
|
|
20748
21144
|
}[];
|
|
20749
21145
|
};
|
|
21146
|
+
save_event_page_words_v1: {
|
|
21147
|
+
Args: {
|
|
21148
|
+
p_data: Json;
|
|
21149
|
+
p_expected_draft_updated_at: string;
|
|
21150
|
+
p_expected_draft_version_id: string;
|
|
21151
|
+
p_expected_published_version_id: string;
|
|
21152
|
+
p_page_surface_id: string;
|
|
21153
|
+
p_site_id: string;
|
|
21154
|
+
p_user_id: string;
|
|
21155
|
+
};
|
|
21156
|
+
Returns: Json;
|
|
21157
|
+
};
|
|
20750
21158
|
select_dated_offering_run_cancellation_settlement_v1_atomic: {
|
|
20751
21159
|
Args: {
|
|
20752
21160
|
p_enrollment_id: string;
|
|
@@ -20810,6 +21218,53 @@ export type Database = {
|
|
|
20810
21218
|
};
|
|
20811
21219
|
Returns: boolean;
|
|
20812
21220
|
};
|
|
21221
|
+
soft_delete_page_with_route: {
|
|
21222
|
+
Args: {
|
|
21223
|
+
p_page_id: string;
|
|
21224
|
+
p_site_id: string;
|
|
21225
|
+
p_user_id: string;
|
|
21226
|
+
};
|
|
21227
|
+
Returns: {
|
|
21228
|
+
canonical_url: string | null;
|
|
21229
|
+
created_at: string;
|
|
21230
|
+
created_by: string | null;
|
|
21231
|
+
deleted_at: string | null;
|
|
21232
|
+
deleted_by: string | null;
|
|
21233
|
+
draft_meta_description: string | null;
|
|
21234
|
+
draft_meta_title: string | null;
|
|
21235
|
+
draft_path: string;
|
|
21236
|
+
draft_slug: string | null;
|
|
21237
|
+
draft_status: Database["public"]["Enums"]["route_status"];
|
|
21238
|
+
draft_title: string;
|
|
21239
|
+
draft_updated_at: string;
|
|
21240
|
+
id: string;
|
|
21241
|
+
node_id: string;
|
|
21242
|
+
node_type: Database["public"]["Enums"]["route_node_type"];
|
|
21243
|
+
og_image_id: string | null;
|
|
21244
|
+
published_at: string | null;
|
|
21245
|
+
published_meta_description: string | null;
|
|
21246
|
+
published_meta_title: string | null;
|
|
21247
|
+
published_path: string;
|
|
21248
|
+
published_slug: string | null;
|
|
21249
|
+
published_title: string;
|
|
21250
|
+
scheduled_publish_at: string | null;
|
|
21251
|
+
scheduled_publish_attempts: number;
|
|
21252
|
+
scheduled_publish_failed_at: string | null;
|
|
21253
|
+
scheduled_publish_last_error: string | null;
|
|
21254
|
+
scheduled_publish_last_error_at: string | null;
|
|
21255
|
+
scheduled_publish_requested_by: string | null;
|
|
21256
|
+
site_id: string;
|
|
21257
|
+
status: Database["public"]["Enums"]["route_status"];
|
|
21258
|
+
updated_at: string;
|
|
21259
|
+
updated_by: string | null;
|
|
21260
|
+
};
|
|
21261
|
+
SetofOptions: {
|
|
21262
|
+
from: "*";
|
|
21263
|
+
to: "site_routes";
|
|
21264
|
+
isOneToOne: true;
|
|
21265
|
+
isSetofReturn: false;
|
|
21266
|
+
};
|
|
21267
|
+
};
|
|
20813
21268
|
staff_member_has_customer_record_relationship: {
|
|
20814
21269
|
Args: {
|
|
20815
21270
|
p_customer_id: string;
|
|
@@ -21185,6 +21640,16 @@ export type Database = {
|
|
|
21185
21640
|
next_available_at: string;
|
|
21186
21641
|
}[];
|
|
21187
21642
|
};
|
|
21643
|
+
try_acquire_newsletter_email_capacity: {
|
|
21644
|
+
Args: {
|
|
21645
|
+
p_interval_ms: number;
|
|
21646
|
+
p_provider: string;
|
|
21647
|
+
};
|
|
21648
|
+
Returns: {
|
|
21649
|
+
allowed: boolean;
|
|
21650
|
+
next_available_at: string;
|
|
21651
|
+
}[];
|
|
21652
|
+
};
|
|
21188
21653
|
try_cast_boolean: {
|
|
21189
21654
|
Args: {
|
|
21190
21655
|
input: string;
|
|
@@ -21635,8 +22100,10 @@ export type Database = {
|
|
|
21635
22100
|
mailchimp_oauth_state_action: "connect" | "reauth";
|
|
21636
22101
|
mailchimp_reauth_reason: "token_revoked" | "account_access_lost" | "permission_denied" | "unknown_auth_failure";
|
|
21637
22102
|
navigation_location: "main" | "footer" | "legal";
|
|
21638
|
-
|
|
21639
|
-
|
|
22103
|
+
newsletter_campaign_control_state: "draft" | "scheduled" | "sending" | "finished";
|
|
22104
|
+
newsletter_campaign_finish_reason: "completed" | "stopped_by_owner" | "deadline_reached" | "campaign_blocked";
|
|
22105
|
+
newsletter_delivery_reason: "ineligible" | "address_changed" | "owner_stopped" | "deadline" | "campaign_blocked" | "definitive_rejection" | "retry_cutoff" | "attempts_exhausted" | "payload_mismatch";
|
|
22106
|
+
newsletter_delivery_state: "pending" | "claimed" | "retry_wait" | "accepted" | "not_sent" | "unresolved";
|
|
21640
22107
|
newsletter_sender_entity_type: "individual" | "company" | "llp" | "charity" | "other";
|
|
21641
22108
|
newsletter_subscriber_status: "pending_confirmation" | "active" | "unsubscribed";
|
|
21642
22109
|
plan_price_interval: "month" | "year";
|
|
@@ -22304,8 +22771,10 @@ export declare const Constants: {
|
|
|
22304
22771
|
readonly mailchimp_oauth_state_action: readonly ["connect", "reauth"];
|
|
22305
22772
|
readonly mailchimp_reauth_reason: readonly ["token_revoked", "account_access_lost", "permission_denied", "unknown_auth_failure"];
|
|
22306
22773
|
readonly navigation_location: readonly ["main", "footer", "legal"];
|
|
22307
|
-
readonly
|
|
22308
|
-
readonly
|
|
22774
|
+
readonly newsletter_campaign_control_state: readonly ["draft", "scheduled", "sending", "finished"];
|
|
22775
|
+
readonly newsletter_campaign_finish_reason: readonly ["completed", "stopped_by_owner", "deadline_reached", "campaign_blocked"];
|
|
22776
|
+
readonly newsletter_delivery_reason: readonly ["ineligible", "address_changed", "owner_stopped", "deadline", "campaign_blocked", "definitive_rejection", "retry_cutoff", "attempts_exhausted", "payload_mismatch"];
|
|
22777
|
+
readonly newsletter_delivery_state: readonly ["pending", "claimed", "retry_wait", "accepted", "not_sent", "unresolved"];
|
|
22309
22778
|
readonly newsletter_sender_entity_type: readonly ["individual", "company", "llp", "charity", "other"];
|
|
22310
22779
|
readonly newsletter_subscriber_status: readonly ["pending_confirmation", "active", "unsubscribed"];
|
|
22311
22780
|
readonly plan_price_interval: readonly ["month", "year"];
|