@riverbankcms/sdk 0.139.0 → 0.140.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.
Files changed (196) hide show
  1. package/README.md +1 -1
  2. package/dist/{PreviewEditorSidebar-BDeenhi3.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
  3. package/dist/{PreviewEditorUI-DSRhgjF5.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-D2K8GLUG.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-CL7wSnYu.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +22 -8
  6. package/dist/{SiteChromeCustomizeContext-BhDn-5ir.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +2053 -1110
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +165 -165
  8. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +212 -212
  9. package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
  10. package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
  11. package/dist/_dts/api/src/authSubmission.d.ts +46 -0
  12. package/dist/_dts/api/src/billing.d.ts +8 -4
  13. package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
  14. package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
  15. package/dist/_dts/api/src/blocks.d.ts +2 -0
  16. package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
  17. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
  18. package/dist/_dts/api/src/communications.d.ts +0 -1
  19. package/dist/_dts/api/src/contentRuntime.d.ts +8 -3
  20. package/dist/_dts/api/src/endpoints.d.ts +93 -64
  21. package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
  22. package/dist/_dts/api/src/footerSettings.d.ts +9 -6
  23. package/dist/_dts/api/src/index.d.ts +5 -6
  24. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
  25. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  26. package/dist/_dts/api/src/mailingListIntegration.d.ts +8 -2
  27. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
  28. package/dist/_dts/api/src/navigation/types.d.ts +1 -1
  29. package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
  30. package/dist/_dts/api/src/onboarding/surfaceData.d.ts +32 -32
  31. package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +8 -0
  32. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
  33. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
  34. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +3 -29
  35. package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
  36. package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
  37. package/dist/_dts/api/src/sdkContracts.d.ts +3 -22
  38. package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
  39. package/dist/_dts/api/src/sdkThemeWire.d.ts +44 -44
  40. package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
  41. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -5
  42. package/dist/_dts/api/src/siteOnboarding.d.ts +2 -9
  43. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -4
  44. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
  45. package/dist/_dts/api/src/siteSettings.d.ts +20 -7
  46. package/dist/_dts/api/src/types.d.ts +77 -77
  47. package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
  48. package/dist/_dts/billing/src/membership/index.d.ts +3 -0
  49. package/dist/_dts/billing/src/plans/types.d.ts +3 -0
  50. package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
  51. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +16 -4
  52. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
  53. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +5 -0
  54. package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
  55. package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
  56. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
  57. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
  58. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
  59. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
  60. package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
  61. package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
  62. package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
  63. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
  64. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  65. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
  66. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
  68. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +30 -6
  69. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +15 -3
  70. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +43 -0
  71. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
  72. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
  73. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
  74. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
  75. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
  76. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
  77. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
  78. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +10 -2
  79. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
  80. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
  81. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -6
  82. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
  83. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -0
  84. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +1 -0
  85. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
  86. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
  87. package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
  88. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
  89. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
  90. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +27 -4
  91. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
  92. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
  93. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -0
  94. package/dist/_dts/core/src/branded.d.ts +0 -8
  95. package/dist/_dts/core/src/index.d.ts +1 -0
  96. package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +1 -1
  97. package/dist/_dts/core/src/mailing-list-setup.d.ts +14 -1
  98. package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -27
  99. package/dist/_dts/core/src/participants.d.ts +2 -29
  100. package/dist/_dts/core/src/public-experience.d.ts +4 -0
  101. package/dist/_dts/core/src/public-profile.d.ts +27 -1
  102. package/dist/_dts/core/src/site-route-target.d.ts +9 -2
  103. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +293 -606
  104. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
  105. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +3 -2
  106. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +3 -2
  107. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +3 -2
  108. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
  109. package/dist/_dts/sdk/src/public-api/contracts.d.ts +14 -20
  110. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
  111. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  112. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -1
  113. package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
  114. package/dist/_dts/sdk/src/version.d.ts +1 -1
  115. package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
  116. package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
  117. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  118. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
  119. package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
  120. package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
  121. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
  122. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
  123. package/dist/_dts/theme-core/src/schema.d.ts +84 -84
  124. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
  125. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  126. package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
  127. package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
  128. package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
  129. package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
  130. package/dist/_dts/ui/src/pending-button.d.ts +10 -0
  131. package/dist/client/{BookingConsentAgreement-CZvTDtsK.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
  132. package/dist/client/{DiscountCodeDisclosure-D-DsLCMU.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
  133. package/dist/client/{EventCombined.client-dWqgd5ZO.mjs → EventCombined.client-LTfR1Aby.mjs} +6 -6
  134. package/dist/client/{EventListing.client-BMRa9IYp.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
  135. package/dist/client/{LeafletStaticMap-D21W9kBZ.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
  136. package/dist/client/{accordion-FxF_ta47.mjs → accordion-6HiIFxNL.mjs} +1 -1
  137. package/dist/client/{bookingForm-YnwW4TGw.mjs → bookingForm-Dlmid43H.mjs} +7 -7
  138. package/dist/client/bookings.mjs +325 -140
  139. package/dist/client/{carousel-vng7fFT5.mjs → carousel-DmkZRRq_.mjs} +2 -2
  140. package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
  141. package/dist/client/{cart-DEPDsjNk.mjs → cart-CIC24330.mjs} +3 -3
  142. package/dist/client/{checkout-CZRWu9rW.mjs → checkout-D1Zw9imo.mjs} +3 -3
  143. package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
  144. package/dist/client/client.mjs +1717 -882
  145. package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
  146. package/dist/client/{context-DvU_WUmd.mjs → context-Cy1OayHx.mjs} +6 -19
  147. package/dist/client/{dates-wnPMiRl5.mjs → dates-aDcfoLHr.mjs} +2 -2
  148. package/dist/client/{eventCalendar-BA3Q5L15.mjs → eventCalendar-FQxMPAjf.mjs} +8 -8
  149. package/dist/client/{eventCombined-51wgR-1R.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
  150. package/dist/client/{eventDetails-modaetpm.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
  151. package/dist/client/{eventListing-D8t2J3Kv.mjs → eventListing-B3XxBf3i.mjs} +3 -3
  152. package/dist/client/{eventRegistration-CYqtkCE_.mjs → eventRegistration-I6EaokFD.mjs} +500 -152
  153. package/dist/client/{form-CBKXN5In.mjs → form-BbWckVWY.mjs} +3 -3
  154. package/dist/client/{headerSection-DylDqNrs.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
  155. package/dist/client/hooks.mjs +445 -180
  156. package/dist/client/{locationMap-CvWrG0vZ.mjs → locationMap-CLCShvlG.mjs} +3 -3
  157. package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
  158. package/dist/client/{newsletterForm-Btwk70zw.mjs → newsletterForm-Briukxzi.mjs} +130 -87
  159. package/dist/client/{pricing-Uzw-GQ6Y.mjs → pricing-Copadu-2.mjs} +1 -1
  160. package/dist/client/{productDetail-JLcUYKnd.mjs → productDetail-oujlRd-r.mjs} +3 -3
  161. package/dist/client/{productList-FM0cbUzj.mjs → productList-BRiIRUcd.mjs} +3 -3
  162. package/dist/client/{propsDecoder-DYzafZb2.mjs → propsDecoder-CB2KS_ko.mjs} +130 -24
  163. package/dist/client/rendering/client.mjs +911 -400
  164. package/dist/client/rendering/islands.mjs +19 -19
  165. package/dist/client/rendering.mjs +1696 -818
  166. package/dist/client/{scrollToBlock-CvXszexS.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
  167. package/dist/client/{shop-BIcjvy5a.mjs → shop-Vn6yNFED.mjs} +6 -6
  168. package/dist/client/{shop-commerce-BZQsy7xw.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
  169. package/dist/client/{shop-commerce-store-D5V7XAb5.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
  170. package/dist/client/{shopShared-DowkXevB.mjs → shopShared-COIeK77T.mjs} +4 -4
  171. package/dist/client/{useEventFilters-oMoTw_JE.mjs → useEventFilters-DzIUcS9n.mjs} +7 -7
  172. package/dist/preview-next/before-render.mjs +119 -64
  173. package/dist/preview-next/client/runtime.mjs +4 -4
  174. package/dist/preview-next/keepAlive.mjs +119 -64
  175. package/dist/preview-next/middleware.mjs +119 -64
  176. package/dist/{previewAuthStore-COUyAKaX.mjs → previewAuthStore-Gjb6r6vz.mjs} +119 -64
  177. package/dist/{sdk-runtime-D4k2LSGF.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
  178. package/dist/{separator-UGtpag4Z.mjs → separator-DKDRJ1oH.mjs} +1 -1
  179. package/dist/server/components.mjs +787 -323
  180. package/dist/server/config-validation.mjs +328 -79
  181. package/dist/server/config.mjs +332 -83
  182. package/dist/server/data.mjs +441 -180
  183. package/dist/server/index.mjs +126 -66
  184. package/dist/server/next.mjs +1031 -595
  185. package/dist/server/page-converter.mjs +183 -74
  186. package/dist/server/prebuild.mjs +1 -1
  187. package/dist/server/rendering/server.mjs +1068 -592
  188. package/dist/server/rendering.mjs +802 -324
  189. package/dist/server/routing.mjs +506 -214
  190. package/dist/server/server.mjs +468 -244
  191. package/dist/server/theme-bridge.mjs +433 -100
  192. package/dist/server/theme.mjs +8 -2
  193. package/dist/styles/index.css +237 -43
  194. package/package.json +1 -1
  195. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
  196. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
@@ -2518,13 +2518,6 @@ export type Database = {
2518
2518
  referencedRelation: "event_series_registrations";
2519
2519
  referencedColumns: ["id"];
2520
2520
  },
2521
- {
2522
- foreignKeyName: "booking_customer_credit_reservations_event_series_registration_";
2523
- columns: ["event_series_registration_id"];
2524
- isOneToOne: false;
2525
- referencedRelation: "event_series_registrations_canonical";
2526
- referencedColumns: ["id"];
2527
- },
2528
2521
  {
2529
2522
  foreignKeyName: "booking_customer_credit_reservations_site_id_fkey";
2530
2523
  columns: ["site_id"];
@@ -2852,7 +2845,6 @@ export type Database = {
2852
2845
  appointment_id: string | null;
2853
2846
  created_at: string;
2854
2847
  encounter_kind: string;
2855
- event_attendee_guest_id: string | null;
2856
2848
  event_attendee_id: string | null;
2857
2849
  event_series_registration_id: string | null;
2858
2850
  id: string;
@@ -2868,7 +2860,6 @@ export type Database = {
2868
2860
  appointment_id?: string | null;
2869
2861
  created_at?: string;
2870
2862
  encounter_kind: string;
2871
- event_attendee_guest_id?: string | null;
2872
2863
  event_attendee_id?: string | null;
2873
2864
  event_series_registration_id?: string | null;
2874
2865
  id?: string;
@@ -2884,7 +2875,6 @@ export type Database = {
2884
2875
  appointment_id?: string | null;
2885
2876
  created_at?: string;
2886
2877
  encounter_kind?: string;
2887
- event_attendee_guest_id?: string | null;
2888
2878
  event_attendee_id?: string | null;
2889
2879
  event_series_registration_id?: string | null;
2890
2880
  id?: string;
@@ -2904,13 +2894,6 @@ export type Database = {
2904
2894
  referencedRelation: "appointments";
2905
2895
  referencedColumns: ["id"];
2906
2896
  },
2907
- {
2908
- foreignKeyName: "booking_encounter_records_event_attendee_guest_id_fkey";
2909
- columns: ["event_attendee_guest_id"];
2910
- isOneToOne: false;
2911
- referencedRelation: "event_attendee_guests";
2912
- referencedColumns: ["id"];
2913
- },
2914
2897
  {
2915
2898
  foreignKeyName: "booking_encounter_records_event_attendee_id_fkey";
2916
2899
  columns: ["event_attendee_id"];
@@ -2932,13 +2915,6 @@ export type Database = {
2932
2915
  referencedRelation: "event_series_registrations";
2933
2916
  referencedColumns: ["id"];
2934
2917
  },
2935
- {
2936
- foreignKeyName: "booking_encounter_records_event_series_registration_id_fkey";
2937
- columns: ["event_series_registration_id"];
2938
- isOneToOne: false;
2939
- referencedRelation: "event_series_registrations_canonical";
2940
- referencedColumns: ["id"];
2941
- },
2942
2918
  {
2943
2919
  foreignKeyName: "booking_encounter_records_participant_participation_id_fkey";
2944
2920
  columns: ["participant_participation_id"];
@@ -3171,7 +3147,7 @@ export type Database = {
3171
3147
  Row: {
3172
3148
  appointment_id: string | null;
3173
3149
  created_at: string;
3174
- event_attendee_guest_id: string | null;
3150
+ event_attendee_guest_index: number | null;
3175
3151
  event_attendee_id: string | null;
3176
3152
  event_series_registration_id: string | null;
3177
3153
  event_series_registration_slot_key: string | null;
@@ -3182,12 +3158,13 @@ export type Database = {
3182
3158
  participant_id: string;
3183
3159
  participation_kind: string;
3184
3160
  site_id: string;
3161
+ superseded_at: string | null;
3185
3162
  updated_at: string;
3186
3163
  };
3187
3164
  Insert: {
3188
3165
  appointment_id?: string | null;
3189
3166
  created_at?: string;
3190
- event_attendee_guest_id?: string | null;
3167
+ event_attendee_guest_index?: number | null;
3191
3168
  event_attendee_id?: string | null;
3192
3169
  event_series_registration_id?: string | null;
3193
3170
  event_series_registration_slot_key?: string | null;
@@ -3198,12 +3175,13 @@ export type Database = {
3198
3175
  participant_id: string;
3199
3176
  participation_kind: string;
3200
3177
  site_id: string;
3178
+ superseded_at?: string | null;
3201
3179
  updated_at?: string;
3202
3180
  };
3203
3181
  Update: {
3204
3182
  appointment_id?: string | null;
3205
3183
  created_at?: string;
3206
- event_attendee_guest_id?: string | null;
3184
+ event_attendee_guest_index?: number | null;
3207
3185
  event_attendee_id?: string | null;
3208
3186
  event_series_registration_id?: string | null;
3209
3187
  event_series_registration_slot_key?: string | null;
@@ -3214,6 +3192,7 @@ export type Database = {
3214
3192
  participant_id?: string;
3215
3193
  participation_kind?: string;
3216
3194
  site_id?: string;
3195
+ superseded_at?: string | null;
3217
3196
  updated_at?: string;
3218
3197
  };
3219
3198
  Relationships: [
@@ -3231,13 +3210,6 @@ export type Database = {
3231
3210
  referencedRelation: "appointments";
3232
3211
  referencedColumns: ["id"];
3233
3212
  },
3234
- {
3235
- foreignKeyName: "booking_participant_participations_event_attendee_guest_id_fkey";
3236
- columns: ["event_attendee_guest_id"];
3237
- isOneToOne: false;
3238
- referencedRelation: "event_attendee_guests";
3239
- referencedColumns: ["id"];
3240
- },
3241
3213
  {
3242
3214
  foreignKeyName: "booking_participant_participations_event_attendee_id_fkey";
3243
3215
  columns: ["event_attendee_id"];
@@ -3259,13 +3231,6 @@ export type Database = {
3259
3231
  referencedRelation: "event_series_registrations";
3260
3232
  referencedColumns: ["id"];
3261
3233
  },
3262
- {
3263
- foreignKeyName: "booking_participant_participations_event_series_registration_id";
3264
- columns: ["event_series_registration_id"];
3265
- isOneToOne: false;
3266
- referencedRelation: "event_series_registrations_canonical";
3267
- referencedColumns: ["id"];
3268
- },
3269
3234
  {
3270
3235
  foreignKeyName: "booking_participant_participations_participant_id_fkey";
3271
3236
  columns: ["participant_id"];
@@ -3668,13 +3633,6 @@ export type Database = {
3668
3633
  referencedRelation: "event_series_registrations";
3669
3634
  referencedColumns: ["id"];
3670
3635
  },
3671
- {
3672
- foreignKeyName: "booking_payments_event_series_registration_id_fkey";
3673
- columns: ["event_series_registration_id"];
3674
- isOneToOne: false;
3675
- referencedRelation: "event_series_registrations_canonical";
3676
- referencedColumns: ["id"];
3677
- },
3678
3636
  {
3679
3637
  foreignKeyName: "booking_payments_site_id_fkey";
3680
3638
  columns: ["site_id"];
@@ -4148,13 +4106,6 @@ export type Database = {
4148
4106
  referencedRelation: "event_series_registrations";
4149
4107
  referencedColumns: ["id"];
4150
4108
  },
4151
- {
4152
- foreignKeyName: "booking_requirement_document_uploads_event_series_registration_";
4153
- columns: ["event_series_registration_id"];
4154
- isOneToOne: false;
4155
- referencedRelation: "event_series_registrations_canonical";
4156
- referencedColumns: ["id"];
4157
- },
4158
4109
  {
4159
4110
  foreignKeyName: "booking_requirement_document_uploads_participant_participation_";
4160
4111
  columns: ["participant_participation_id"];
@@ -4169,13 +4120,6 @@ export type Database = {
4169
4120
  referencedRelation: "booking_requirements";
4170
4121
  referencedColumns: ["id"];
4171
4122
  },
4172
- {
4173
- foreignKeyName: "booking_requirement_document_uploads_requirement_id_fkey";
4174
- columns: ["requirement_id"];
4175
- isOneToOne: false;
4176
- referencedRelation: "booking_requirements_canonical";
4177
- referencedColumns: ["id"];
4178
- },
4179
4123
  {
4180
4124
  foreignKeyName: "booking_requirement_document_uploads_site_id_fkey";
4181
4125
  columns: ["site_id"];
@@ -4266,13 +4210,6 @@ export type Database = {
4266
4210
  referencedRelation: "event_series_registrations";
4267
4211
  referencedColumns: ["id"];
4268
4212
  },
4269
- {
4270
- foreignKeyName: "booking_requirement_evidence_event_series_registration_id_fkey";
4271
- columns: ["event_series_registration_id"];
4272
- isOneToOne: false;
4273
- referencedRelation: "event_series_registrations_canonical";
4274
- referencedColumns: ["id"];
4275
- },
4276
4213
  {
4277
4214
  foreignKeyName: "booking_requirement_evidence_participant_id_fkey";
4278
4215
  columns: ["participant_id"];
@@ -4294,13 +4231,6 @@ export type Database = {
4294
4231
  referencedRelation: "booking_requirements";
4295
4232
  referencedColumns: ["id"];
4296
4233
  },
4297
- {
4298
- foreignKeyName: "booking_requirement_evidence_requirement_id_fkey";
4299
- columns: ["requirement_id"];
4300
- isOneToOne: false;
4301
- referencedRelation: "booking_requirements_canonical";
4302
- referencedColumns: ["id"];
4303
- },
4304
4234
  {
4305
4235
  foreignKeyName: "booking_requirement_evidence_site_id_fkey";
4306
4236
  columns: ["site_id"];
@@ -4371,13 +4301,6 @@ export type Database = {
4371
4301
  referencedRelation: "booking_requirements";
4372
4302
  referencedColumns: ["id"];
4373
4303
  },
4374
- {
4375
- foreignKeyName: "booking_requirement_evidence_attachments_requirement_id_fkey";
4376
- columns: ["requirement_id"];
4377
- isOneToOne: false;
4378
- referencedRelation: "booking_requirements_canonical";
4379
- referencedColumns: ["id"];
4380
- },
4381
4304
  {
4382
4305
  foreignKeyName: "booking_requirement_evidence_attachments_site_id_fkey";
4383
4306
  columns: ["site_id"];
@@ -4465,13 +4388,6 @@ export type Database = {
4465
4388
  referencedRelation: "event_series_registrations";
4466
4389
  referencedColumns: ["id"];
4467
4390
  },
4468
- {
4469
- foreignKeyName: "booking_requirement_reminder_deliveri_event_series_registration";
4470
- columns: ["event_series_registration_id"];
4471
- isOneToOne: false;
4472
- referencedRelation: "event_series_registrations_canonical";
4473
- referencedColumns: ["id"];
4474
- },
4475
4391
  {
4476
4392
  foreignKeyName: "booking_requirement_reminder_deliveries_appointment_id_fkey";
4477
4393
  columns: ["appointment_id"];
@@ -4500,13 +4416,6 @@ export type Database = {
4500
4416
  referencedRelation: "booking_requirements";
4501
4417
  referencedColumns: ["id"];
4502
4418
  },
4503
- {
4504
- foreignKeyName: "booking_requirement_reminder_deliveries_requirement_id_fkey";
4505
- columns: ["requirement_id"];
4506
- isOneToOne: false;
4507
- referencedRelation: "booking_requirements_canonical";
4508
- referencedColumns: ["id"];
4509
- },
4510
4419
  {
4511
4420
  foreignKeyName: "booking_requirement_reminder_deliveries_site_id_fkey";
4512
4421
  columns: ["site_id"];
@@ -5659,13 +5568,6 @@ export type Database = {
5659
5568
  referencedRelation: "event_series_registrations";
5660
5569
  referencedColumns: ["id"];
5661
5570
  },
5662
- {
5663
- foreignKeyName: "dated_offering_capacity_holds_event_series_registration_id_fkey";
5664
- columns: ["event_series_registration_id"];
5665
- isOneToOne: false;
5666
- referencedRelation: "event_series_registrations_canonical";
5667
- referencedColumns: ["id"];
5668
- },
5669
5571
  {
5670
5572
  foreignKeyName: "dated_offering_capacity_holds_order_item_id_fkey";
5671
5573
  columns: ["order_item_id"];
@@ -5747,80 +5649,6 @@ export type Database = {
5747
5649
  }
5748
5650
  ];
5749
5651
  };
5750
- dated_offering_non_cash_order_projections: {
5751
- Row: {
5752
- attempt_count: number;
5753
- claim_token: string | null;
5754
- claimed_at: string | null;
5755
- completed_at: string | null;
5756
- created_at: string;
5757
- enrollment_id: string;
5758
- last_attempt_at: string | null;
5759
- last_error: string | null;
5760
- next_attempt_at: string;
5761
- site_id: string;
5762
- state: string;
5763
- updated_at: string;
5764
- };
5765
- Insert: {
5766
- attempt_count?: number;
5767
- claim_token?: string | null;
5768
- claimed_at?: string | null;
5769
- completed_at?: string | null;
5770
- created_at?: string;
5771
- enrollment_id: string;
5772
- last_attempt_at?: string | null;
5773
- last_error?: string | null;
5774
- next_attempt_at?: string;
5775
- site_id: string;
5776
- state?: string;
5777
- updated_at?: string;
5778
- };
5779
- Update: {
5780
- attempt_count?: number;
5781
- claim_token?: string | null;
5782
- claimed_at?: string | null;
5783
- completed_at?: string | null;
5784
- created_at?: string;
5785
- enrollment_id?: string;
5786
- last_attempt_at?: string | null;
5787
- last_error?: string | null;
5788
- next_attempt_at?: string;
5789
- site_id?: string;
5790
- state?: string;
5791
- updated_at?: string;
5792
- };
5793
- Relationships: [
5794
- {
5795
- foreignKeyName: "dated_offering_non_cash_order_projections_enrollment_id_fkey";
5796
- columns: ["enrollment_id"];
5797
- isOneToOne: true;
5798
- referencedRelation: "event_series_registration_projection_canonical";
5799
- referencedColumns: ["id"];
5800
- },
5801
- {
5802
- foreignKeyName: "dated_offering_non_cash_order_projections_enrollment_id_fkey";
5803
- columns: ["enrollment_id"];
5804
- isOneToOne: true;
5805
- referencedRelation: "event_series_registrations";
5806
- referencedColumns: ["id"];
5807
- },
5808
- {
5809
- foreignKeyName: "dated_offering_non_cash_order_projections_enrollment_id_fkey";
5810
- columns: ["enrollment_id"];
5811
- isOneToOne: true;
5812
- referencedRelation: "event_series_registrations_canonical";
5813
- referencedColumns: ["id"];
5814
- },
5815
- {
5816
- foreignKeyName: "dated_offering_non_cash_order_projections_site_id_fkey";
5817
- columns: ["site_id"];
5818
- isOneToOne: false;
5819
- referencedRelation: "sites";
5820
- referencedColumns: ["id"];
5821
- }
5822
- ];
5823
- };
5824
5652
  dated_offering_settlement_observations: {
5825
5653
  Row: {
5826
5654
  charge_ref: string | null;
@@ -5938,13 +5766,6 @@ export type Database = {
5938
5766
  referencedRelation: "event_series_registrations";
5939
5767
  referencedColumns: ["id"];
5940
5768
  },
5941
- {
5942
- foreignKeyName: "dated_offering_waitlist_capacity_effects_enrollment_id_fkey";
5943
- columns: ["enrollment_id"];
5944
- isOneToOne: false;
5945
- referencedRelation: "event_series_registrations_canonical";
5946
- referencedColumns: ["id"];
5947
- },
5948
5769
  {
5949
5770
  foreignKeyName: "dated_offering_waitlist_capacity_effects_site_id_fkey";
5950
5771
  columns: ["site_id"];
@@ -7442,13 +7263,6 @@ export type Database = {
7442
7263
  referencedRelation: "event_series_registrations";
7443
7264
  referencedColumns: ["id"];
7444
7265
  },
7445
- {
7446
- foreignKeyName: "booking_discount_redemptions_event_series_registration_id_fkey";
7447
- columns: ["event_series_registration_id"];
7448
- isOneToOne: false;
7449
- referencedRelation: "event_series_registrations_canonical";
7450
- referencedColumns: ["id"];
7451
- },
7452
7266
  {
7453
7267
  foreignKeyName: "booking_discount_redemptions_order_id_fkey";
7454
7268
  columns: ["order_id"];
@@ -7829,57 +7643,6 @@ export type Database = {
7829
7643
  }
7830
7644
  ];
7831
7645
  };
7832
- event_attendee_guests: {
7833
- Row: {
7834
- attendee_id: string;
7835
- created_at: string;
7836
- guest_index: number;
7837
- id: string;
7838
- metadata: Json;
7839
- name: string;
7840
- phone: string | null;
7841
- site_id: string;
7842
- updated_at: string;
7843
- };
7844
- Insert: {
7845
- attendee_id: string;
7846
- created_at?: string;
7847
- guest_index: number;
7848
- id?: string;
7849
- metadata?: Json;
7850
- name: string;
7851
- phone?: string | null;
7852
- site_id: string;
7853
- updated_at?: string;
7854
- };
7855
- Update: {
7856
- attendee_id?: string;
7857
- created_at?: string;
7858
- guest_index?: number;
7859
- id?: string;
7860
- metadata?: Json;
7861
- name?: string;
7862
- phone?: string | null;
7863
- site_id?: string;
7864
- updated_at?: string;
7865
- };
7866
- Relationships: [
7867
- {
7868
- foreignKeyName: "event_attendee_guests_attendee_id_fkey";
7869
- columns: ["attendee_id"];
7870
- isOneToOne: false;
7871
- referencedRelation: "event_attendees";
7872
- referencedColumns: ["id"];
7873
- },
7874
- {
7875
- foreignKeyName: "event_attendee_guests_site_id_fkey";
7876
- columns: ["site_id"];
7877
- isOneToOne: false;
7878
- referencedRelation: "sites";
7879
- referencedColumns: ["id"];
7880
- }
7881
- ];
7882
- };
7883
7646
  event_attendee_ticket_lines: {
7884
7647
  Row: {
7885
7648
  created_at: string;
@@ -8402,11 +8165,8 @@ export type Database = {
8402
8165
  event_instance_id: string;
8403
8166
  id: string;
8404
8167
  intent_digest: string;
8405
- intent_json: Json;
8406
8168
  occurrence_id: string;
8407
8169
  order_id: string | null;
8408
- order_projection_claim_token: string | null;
8409
- order_projection_state: string;
8410
8170
  pass_redemption_id: string | null;
8411
8171
  registration_command_id: string;
8412
8172
  settlement: string;
@@ -8424,11 +8184,8 @@ export type Database = {
8424
8184
  event_instance_id: string;
8425
8185
  id?: string;
8426
8186
  intent_digest: string;
8427
- intent_json?: Json;
8428
8187
  occurrence_id: string;
8429
8188
  order_id?: string | null;
8430
- order_projection_claim_token?: string | null;
8431
- order_projection_state?: string;
8432
8189
  pass_redemption_id?: string | null;
8433
8190
  registration_command_id: string;
8434
8191
  settlement: string;
@@ -8446,11 +8203,8 @@ export type Database = {
8446
8203
  event_instance_id?: string;
8447
8204
  id?: string;
8448
8205
  intent_digest?: string;
8449
- intent_json?: Json;
8450
8206
  occurrence_id?: string;
8451
8207
  order_id?: string | null;
8452
- order_projection_claim_token?: string | null;
8453
- order_projection_state?: string;
8454
8208
  pass_redemption_id?: string | null;
8455
8209
  registration_command_id?: string;
8456
8210
  settlement?: string;
@@ -9266,13 +9020,6 @@ export type Database = {
9266
9020
  referencedRelation: "event_series_registrations";
9267
9021
  referencedColumns: ["id", "site_id"];
9268
9022
  },
9269
- {
9270
- foreignKeyName: "event_series_registration_ticket_lines_registration_site_fk";
9271
- columns: ["event_series_registration_id", "site_id"];
9272
- isOneToOne: false;
9273
- referencedRelation: "event_series_registrations_canonical";
9274
- referencedColumns: ["id", "site_id"];
9275
- },
9276
9023
  {
9277
9024
  foreignKeyName: "event_series_registration_ticket_lines_site_id_fkey";
9278
9025
  columns: ["site_id"];
@@ -11592,7 +11339,6 @@ export type Database = {
11592
11339
  charity_number: string | null;
11593
11340
  company_registration_number: string | null;
11594
11341
  created_at: string;
11595
- double_opt_in: boolean;
11596
11342
  from_localpart: string;
11597
11343
  from_name: string | null;
11598
11344
  reply_to_email: string | null;
@@ -11614,7 +11360,6 @@ export type Database = {
11614
11360
  charity_number?: string | null;
11615
11361
  company_registration_number?: string | null;
11616
11362
  created_at?: string;
11617
- double_opt_in?: boolean;
11618
11363
  from_localpart?: string;
11619
11364
  from_name?: string | null;
11620
11365
  reply_to_email?: string | null;
@@ -11636,7 +11381,6 @@ export type Database = {
11636
11381
  charity_number?: string | null;
11637
11382
  company_registration_number?: string | null;
11638
11383
  created_at?: string;
11639
- double_opt_in?: boolean;
11640
11384
  from_localpart?: string;
11641
11385
  from_name?: string | null;
11642
11386
  reply_to_email?: string | null;
@@ -12358,13 +12102,6 @@ export type Database = {
12358
12102
  referencedRelation: "event_series_registrations";
12359
12103
  referencedColumns: ["id", "site_id"];
12360
12104
  },
12361
- {
12362
- foreignKeyName: "order_items_enrollment_site_fk";
12363
- columns: ["event_series_registration_id", "site_id"];
12364
- isOneToOne: false;
12365
- referencedRelation: "event_series_registrations_canonical";
12366
- referencedColumns: ["id", "site_id"];
12367
- },
12368
12105
  {
12369
12106
  foreignKeyName: "order_items_membership_site_fk";
12370
12107
  columns: ["customer_membership_id", "site_id"];
@@ -15845,6 +15582,7 @@ export type Database = {
15845
15582
  billing_settings: Json | null;
15846
15583
  booking_settings: Json;
15847
15584
  business_address: Json | null;
15585
+ cover_asset_id: string | null;
15848
15586
  created_at: string;
15849
15587
  favicon_asset_id: string | null;
15850
15588
  footer_composition_json: Json | null;
@@ -15861,6 +15599,7 @@ export type Database = {
15861
15599
  logo_asset_id: string | null;
15862
15600
  notification_email: string | null;
15863
15601
  person_record_mode: string;
15602
+ public_experience: string;
15864
15603
  public_profile_json: Json;
15865
15604
  public_profile_revision: number;
15866
15605
  sensitive_client_records: Json | null;
@@ -15877,6 +15616,7 @@ export type Database = {
15877
15616
  billing_settings?: Json | null;
15878
15617
  booking_settings?: Json;
15879
15618
  business_address?: Json | null;
15619
+ cover_asset_id?: string | null;
15880
15620
  created_at?: string;
15881
15621
  favicon_asset_id?: string | null;
15882
15622
  footer_composition_json?: Json | null;
@@ -15893,6 +15633,7 @@ export type Database = {
15893
15633
  logo_asset_id?: string | null;
15894
15634
  notification_email?: string | null;
15895
15635
  person_record_mode?: string;
15636
+ public_experience?: string;
15896
15637
  public_profile_json?: Json;
15897
15638
  public_profile_revision?: number;
15898
15639
  sensitive_client_records?: Json | null;
@@ -15909,6 +15650,7 @@ export type Database = {
15909
15650
  billing_settings?: Json | null;
15910
15651
  booking_settings?: Json;
15911
15652
  business_address?: Json | null;
15653
+ cover_asset_id?: string | null;
15912
15654
  created_at?: string;
15913
15655
  favicon_asset_id?: string | null;
15914
15656
  footer_composition_json?: Json | null;
@@ -15925,6 +15667,7 @@ export type Database = {
15925
15667
  logo_asset_id?: string | null;
15926
15668
  notification_email?: string | null;
15927
15669
  person_record_mode?: string;
15670
+ public_experience?: string;
15928
15671
  public_profile_json?: Json;
15929
15672
  public_profile_revision?: number;
15930
15673
  sensitive_client_records?: Json | null;
@@ -15936,6 +15679,13 @@ export type Database = {
15936
15679
  updated_at?: string;
15937
15680
  };
15938
15681
  Relationships: [
15682
+ {
15683
+ foreignKeyName: "site_settings_cover_asset_id_fkey";
15684
+ columns: ["cover_asset_id"];
15685
+ isOneToOne: false;
15686
+ referencedRelation: "media_assets";
15687
+ referencedColumns: ["id"];
15688
+ },
15939
15689
  {
15940
15690
  foreignKeyName: "site_settings_favicon_asset_id_fkey";
15941
15691
  columns: ["favicon_asset_id"];
@@ -16225,6 +15975,8 @@ export type Database = {
16225
15975
  };
16226
15976
  sites: {
16227
15977
  Row: {
15978
+ billing_pause_reason: string | null;
15979
+ billing_paused_at: string | null;
16228
15980
  billing_starts_at: string | null;
16229
15981
  billing_user_id: string | null;
16230
15982
  created_at: string | null;
@@ -16248,6 +16000,8 @@ export type Database = {
16248
16000
  user_id: string;
16249
16001
  };
16250
16002
  Insert: {
16003
+ billing_pause_reason?: string | null;
16004
+ billing_paused_at?: string | null;
16251
16005
  billing_starts_at?: string | null;
16252
16006
  billing_user_id?: string | null;
16253
16007
  created_at?: string | null;
@@ -16271,6 +16025,8 @@ export type Database = {
16271
16025
  user_id: string;
16272
16026
  };
16273
16027
  Update: {
16028
+ billing_pause_reason?: string | null;
16029
+ billing_paused_at?: string | null;
16274
16030
  billing_starts_at?: string | null;
16275
16031
  billing_user_id?: string | null;
16276
16032
  created_at?: string | null;
@@ -17678,13 +17434,6 @@ export type Database = {
17678
17434
  referencedRelation: "event_series_registrations";
17679
17435
  referencedColumns: ["id"];
17680
17436
  },
17681
- {
17682
- foreignKeyName: "booking_discount_redemptions_event_series_registration_id_fkey";
17683
- columns: ["event_series_registration_id"];
17684
- isOneToOne: false;
17685
- referencedRelation: "event_series_registrations_canonical";
17686
- referencedColumns: ["id"];
17687
- },
17688
17437
  {
17689
17438
  foreignKeyName: "booking_discount_redemptions_order_id_fkey";
17690
17439
  columns: ["order_id"];
@@ -17797,13 +17546,6 @@ export type Database = {
17797
17546
  referencedRelation: "event_series_registrations";
17798
17547
  referencedColumns: ["id"];
17799
17548
  },
17800
- {
17801
- foreignKeyName: "booking_payments_event_series_registration_id_fkey";
17802
- columns: ["event_series_registration_id"];
17803
- isOneToOne: false;
17804
- referencedRelation: "event_series_registrations_canonical";
17805
- referencedColumns: ["id"];
17806
- },
17807
17549
  {
17808
17550
  foreignKeyName: "booking_payments_site_id_fkey";
17809
17551
  columns: ["site_id"];
@@ -17886,123 +17628,10 @@ export type Database = {
17886
17628
  }
17887
17629
  ];
17888
17630
  };
17889
- booking_requirements_canonical: {
17631
+ event_booking_offers_canonical: {
17890
17632
  Row: {
17891
- appointment_service_id: string | null;
17892
- completion_subject: string | null;
17893
- consent_agreement_rich_text: Json | null;
17894
- consent_agreement_text: string | null;
17895
- consent_checkbox_label: string | null;
17896
- consent_title: string | null;
17897
- created_at: string | null;
17898
- due_offset_minutes: number | null;
17899
- event_series_id: string | null;
17900
- form_id: string | null;
17901
- id: string | null;
17902
- question_reuse_mode: string | null;
17903
- question_shape: string | null;
17904
- reminder_offset_minutes: number | null;
17905
- requirement_kind: string | null;
17906
- sensitive_collection_confirmation_version: number | null;
17907
- sensitive_collection_enabled_at: string | null;
17908
- sensitive_collection_enabled_by_user_id: string | null;
17909
- sensitive_collection_mode: string | null;
17910
- site_id: string | null;
17911
- target_type: string | null;
17912
- timing: string | null;
17913
- updated_at: string | null;
17914
- validity_months: number | null;
17915
- validity_policy: string | null;
17916
- };
17917
- Insert: {
17918
- appointment_service_id?: string | null;
17919
- completion_subject?: string | null;
17920
- consent_agreement_rich_text?: Json | null;
17921
- consent_agreement_text?: string | null;
17922
- consent_checkbox_label?: string | null;
17923
- consent_title?: string | null;
17924
- created_at?: string | null;
17925
- due_offset_minutes?: number | null;
17926
- event_series_id?: string | null;
17927
- form_id?: string | null;
17928
- id?: string | null;
17929
- question_reuse_mode?: string | null;
17930
- question_shape?: string | null;
17931
- reminder_offset_minutes?: number | null;
17932
- requirement_kind?: string | null;
17933
- sensitive_collection_confirmation_version?: number | null;
17934
- sensitive_collection_enabled_at?: string | null;
17935
- sensitive_collection_enabled_by_user_id?: string | null;
17936
- sensitive_collection_mode?: string | null;
17937
- site_id?: string | null;
17938
- target_type?: string | null;
17939
- timing?: string | null;
17940
- updated_at?: string | null;
17941
- validity_months?: number | null;
17942
- validity_policy?: string | null;
17943
- };
17944
- Update: {
17945
- appointment_service_id?: string | null;
17946
- completion_subject?: string | null;
17947
- consent_agreement_rich_text?: Json | null;
17948
- consent_agreement_text?: string | null;
17949
- consent_checkbox_label?: string | null;
17950
- consent_title?: string | null;
17951
- created_at?: string | null;
17952
- due_offset_minutes?: number | null;
17953
- event_series_id?: string | null;
17954
- form_id?: string | null;
17955
- id?: string | null;
17956
- question_reuse_mode?: string | null;
17957
- question_shape?: string | null;
17958
- reminder_offset_minutes?: number | null;
17959
- requirement_kind?: string | null;
17960
- sensitive_collection_confirmation_version?: number | null;
17961
- sensitive_collection_enabled_at?: string | null;
17962
- sensitive_collection_enabled_by_user_id?: string | null;
17963
- sensitive_collection_mode?: string | null;
17964
- site_id?: string | null;
17965
- target_type?: string | null;
17966
- timing?: string | null;
17967
- updated_at?: string | null;
17968
- validity_months?: number | null;
17969
- validity_policy?: string | null;
17970
- };
17971
- Relationships: [
17972
- {
17973
- foreignKeyName: "booking_requirements_appointment_service_id_fkey";
17974
- columns: ["appointment_service_id"];
17975
- isOneToOne: false;
17976
- referencedRelation: "appointment_services";
17977
- referencedColumns: ["id"];
17978
- },
17979
- {
17980
- foreignKeyName: "booking_requirements_event_series_id_fkey";
17981
- columns: ["event_series_id"];
17982
- isOneToOne: false;
17983
- referencedRelation: "event_series";
17984
- referencedColumns: ["id"];
17985
- },
17986
- {
17987
- foreignKeyName: "booking_requirements_form_id_fkey";
17988
- columns: ["form_id"];
17989
- isOneToOne: false;
17990
- referencedRelation: "forms";
17991
- referencedColumns: ["id"];
17992
- },
17993
- {
17994
- foreignKeyName: "booking_requirements_site_id_fkey";
17995
- columns: ["site_id"];
17996
- isOneToOne: false;
17997
- referencedRelation: "sites";
17998
- referencedColumns: ["id"];
17999
- }
18000
- ];
18001
- };
18002
- event_booking_offers_canonical: {
18003
- Row: {
18004
- booking_requirement: string | null;
18005
- currency: string | null;
17633
+ booking_requirement: string | null;
17634
+ currency: string | null;
18006
17635
  event_series_id: string | null;
18007
17636
  options_json: Json | null;
18008
17637
  payment_terms_json: Json | null;
@@ -18073,113 +17702,6 @@ export type Database = {
18073
17702
  }
18074
17703
  ];
18075
17704
  };
18076
- event_series_registrations_canonical: {
18077
- Row: {
18078
- cancelled_at: string | null;
18079
- created_at: string | null;
18080
- customer_id: string | null;
18081
- customer_membership_id: string | null;
18082
- enrolled_at: string | null;
18083
- event_series_id: string | null;
18084
- form_submission_json: Json | null;
18085
- id: string | null;
18086
- metadata: Json | null;
18087
- payment_id: string | null;
18088
- payment_method: string | null;
18089
- payment_status: string | null;
18090
- pricing_option_id: string | null;
18091
- site_id: string | null;
18092
- status: string | null;
18093
- updated_at: string | null;
18094
- };
18095
- Insert: {
18096
- cancelled_at?: string | null;
18097
- created_at?: string | null;
18098
- customer_id?: string | null;
18099
- customer_membership_id?: string | null;
18100
- enrolled_at?: string | null;
18101
- event_series_id?: string | null;
18102
- form_submission_json?: Json | null;
18103
- id?: string | null;
18104
- metadata?: Json | null;
18105
- payment_id?: string | null;
18106
- payment_method?: string | null;
18107
- payment_status?: string | null;
18108
- pricing_option_id?: string | null;
18109
- site_id?: string | null;
18110
- status?: string | null;
18111
- updated_at?: string | null;
18112
- };
18113
- Update: {
18114
- cancelled_at?: string | null;
18115
- created_at?: string | null;
18116
- customer_id?: string | null;
18117
- customer_membership_id?: string | null;
18118
- enrolled_at?: string | null;
18119
- event_series_id?: string | null;
18120
- form_submission_json?: Json | null;
18121
- id?: string | null;
18122
- metadata?: Json | null;
18123
- payment_id?: string | null;
18124
- payment_method?: string | null;
18125
- payment_status?: string | null;
18126
- pricing_option_id?: string | null;
18127
- site_id?: string | null;
18128
- status?: string | null;
18129
- updated_at?: string | null;
18130
- };
18131
- Relationships: [
18132
- {
18133
- foreignKeyName: "event_series_registrations_customer_id_fkey";
18134
- columns: ["customer_id"];
18135
- isOneToOne: false;
18136
- referencedRelation: "booking_customers";
18137
- referencedColumns: ["id"];
18138
- },
18139
- {
18140
- foreignKeyName: "event_series_registrations_customer_membership_id_fkey";
18141
- columns: ["customer_membership_id"];
18142
- isOneToOne: false;
18143
- referencedRelation: "booking_customer_memberships";
18144
- referencedColumns: ["id"];
18145
- },
18146
- {
18147
- foreignKeyName: "event_series_registrations_event_series_site_fkey";
18148
- columns: ["event_series_id", "site_id"];
18149
- isOneToOne: false;
18150
- referencedRelation: "event_series";
18151
- referencedColumns: ["id", "site_id"];
18152
- },
18153
- {
18154
- foreignKeyName: "event_series_registrations_payment_id_fkey";
18155
- columns: ["payment_id"];
18156
- isOneToOne: false;
18157
- referencedRelation: "booking_payments";
18158
- referencedColumns: ["id"];
18159
- },
18160
- {
18161
- foreignKeyName: "event_series_registrations_payment_id_fkey";
18162
- columns: ["payment_id"];
18163
- isOneToOne: false;
18164
- referencedRelation: "booking_payments_list_view";
18165
- referencedColumns: ["id"];
18166
- },
18167
- {
18168
- foreignKeyName: "event_series_registrations_pricing_option_id_fkey";
18169
- columns: ["pricing_option_id"];
18170
- isOneToOne: false;
18171
- referencedRelation: "booking_pricing_options";
18172
- referencedColumns: ["id"];
18173
- },
18174
- {
18175
- foreignKeyName: "event_series_registrations_site_id_fkey";
18176
- columns: ["site_id"];
18177
- isOneToOne: false;
18178
- referencedRelation: "sites";
18179
- referencedColumns: ["id"];
18180
- }
18181
- ];
18182
- };
18183
17705
  waitlist_entries_canonical: {
18184
17706
  Row: {
18185
17707
  attendance_mode: string | null;
@@ -18465,6 +17987,16 @@ export type Database = {
18465
17987
  };
18466
17988
  Returns: number;
18467
17989
  };
17990
+ allocate_site_order_number_v1: {
17991
+ Args: {
17992
+ p_prefix: string;
17993
+ p_site_id: string;
17994
+ };
17995
+ Returns: {
17996
+ order_number: string;
17997
+ order_number_seq: number;
17998
+ }[];
17999
+ };
18468
18000
  anonymize_mailing_list_signup_consent_v1: {
18469
18001
  Args: {
18470
18002
  p_anonymized_at?: string;
@@ -18542,6 +18074,17 @@ export type Database = {
18542
18074
  };
18543
18075
  Returns: Json;
18544
18076
  };
18077
+ apply_mailing_list_setup_internal_v1: {
18078
+ Args: {
18079
+ p_expected_revision: number;
18080
+ p_global_form: Json;
18081
+ p_provider: string;
18082
+ p_provider_config: Json;
18083
+ p_reset_placements: boolean;
18084
+ p_site_id: string;
18085
+ };
18086
+ Returns: Json;
18087
+ };
18545
18088
  apply_mailing_list_setup_v1: {
18546
18089
  Args: {
18547
18090
  p_expected_revision: number;
@@ -18748,6 +18291,13 @@ export type Database = {
18748
18291
  resulting_plan_remaining_cents: number;
18749
18292
  }[];
18750
18293
  };
18294
+ assert_canonical_mailing_list_content_v1: {
18295
+ Args: {
18296
+ p_content: Json;
18297
+ p_kind: string;
18298
+ };
18299
+ Returns: undefined;
18300
+ };
18751
18301
  assert_event_attendee_booking_subject_open_v1: {
18752
18302
  Args: {
18753
18303
  p_event_attendee_id: string;
@@ -18761,6 +18311,35 @@ export type Database = {
18761
18311
  };
18762
18312
  Returns: undefined;
18763
18313
  };
18314
+ assert_mailing_list_provider_scope_v1: {
18315
+ Args: {
18316
+ p_expected_account_id: string;
18317
+ p_expected_provider: string;
18318
+ p_site_id: string;
18319
+ };
18320
+ Returns: undefined;
18321
+ };
18322
+ assert_mailing_list_targeting_matches_setup_v1: {
18323
+ Args: {
18324
+ p_site_id: string;
18325
+ p_targeting: Json;
18326
+ };
18327
+ Returns: undefined;
18328
+ };
18329
+ assert_native_mailing_list_targeting_topics_v1: {
18330
+ Args: {
18331
+ p_site_id: string;
18332
+ p_targeting: Json;
18333
+ };
18334
+ Returns: undefined;
18335
+ };
18336
+ assert_native_mailing_list_topic_v1: {
18337
+ Args: {
18338
+ p_site_id: string;
18339
+ p_topic_id_text: string;
18340
+ };
18341
+ Returns: undefined;
18342
+ };
18764
18343
  assert_single_subject_participant_roster_atomic: {
18765
18344
  Args: {
18766
18345
  p_customer_id: string;
@@ -18826,17 +18405,6 @@ export type Database = {
18826
18405
  Returns: boolean;
18827
18406
  };
18828
18407
  can_linked_staff_access_booking_encounter: {
18829
- Args: {
18830
- p_appointment_id: string;
18831
- p_encounter_kind: string;
18832
- p_event_attendee_guest_id: string;
18833
- p_event_attendee_id: string;
18834
- p_event_series_registration_id: string;
18835
- p_site_id: string;
18836
- p_staff_member_id: string;
18837
- };
18838
- Returns: boolean;
18839
- } | {
18840
18408
  Args: {
18841
18409
  p_appointment_id: string;
18842
18410
  p_encounter_kind: string;
@@ -18894,18 +18462,6 @@ export type Database = {
18894
18462
  Returns: boolean;
18895
18463
  };
18896
18464
  can_write_booking_encounter_record: {
18897
- Args: {
18898
- p_appointment_id: string;
18899
- p_encounter_kind: string;
18900
- p_event_attendee_guest_id: string;
18901
- p_event_attendee_id: string;
18902
- p_event_series_registration_id: string;
18903
- p_record_mode: string;
18904
- p_site_id: string;
18905
- p_user_id?: string;
18906
- };
18907
- Returns: boolean;
18908
- } | {
18909
18465
  Args: {
18910
18466
  p_appointment_id: string;
18911
18467
  p_encounter_kind: string;
@@ -18990,6 +18546,23 @@ export type Database = {
18990
18546
  cancelled_occurrences: number;
18991
18547
  }[];
18992
18548
  };
18549
+ cancel_waitlist_entry_v1_atomic: {
18550
+ Args: {
18551
+ p_customer_id?: string;
18552
+ p_now?: string;
18553
+ p_site_id: string;
18554
+ p_waitlist_entry_id: string;
18555
+ };
18556
+ Returns: {
18557
+ attendance_mode: string;
18558
+ capacity_release_reason: string;
18559
+ event_occurrence_id: string;
18560
+ event_series_id: string;
18561
+ outcome: string;
18562
+ seats_released: number;
18563
+ subject_kind: string;
18564
+ }[];
18565
+ };
18993
18566
  claim_billing_notification_delivery: {
18994
18567
  Args: {
18995
18568
  p_claimed_at: string;
@@ -19023,22 +18596,6 @@ export type Database = {
19023
18596
  isSetofReturn: true;
19024
18597
  };
19025
18598
  };
19026
- claim_dated_offering_non_cash_projections_v2_atomic: {
19027
- Args: {
19028
- p_claim_ttl?: string;
19029
- p_limit?: number;
19030
- p_now: string;
19031
- };
19032
- Returns: {
19033
- claim_token: string;
19034
- customer_id: string;
19035
- enrollment_id: string;
19036
- event_series_id: string;
19037
- payment_method: string;
19038
- pricing_option_id: string;
19039
- site_id: string;
19040
- }[];
19041
- };
19042
18599
  claim_dated_offering_waitlist_capacity_effects_v3_atomic: {
19043
18600
  Args: {
19044
18601
  p_claim_ttl?: string;
@@ -19122,6 +18679,21 @@ export type Database = {
19122
18679
  isSetofReturn: true;
19123
18680
  };
19124
18681
  };
18682
+ claim_gift_card_atomic_v1: {
18683
+ Args: {
18684
+ p_claimed_at: string;
18685
+ p_claimed_by_email: string;
18686
+ p_customer_id: string;
18687
+ p_expected_claim_token: Json;
18688
+ p_instrument_id: string;
18689
+ p_site_id: string;
18690
+ };
18691
+ Returns: {
18692
+ amount_cents: number;
18693
+ currency: string;
18694
+ transaction_id: string;
18695
+ }[];
18696
+ };
19125
18697
  claim_next_available_demo_instance: {
19126
18698
  Args: {
19127
18699
  p_blueprint_id: string;
@@ -19234,6 +18806,37 @@ export type Database = {
19234
18806
  version: number;
19235
18807
  }[];
19236
18808
  };
18809
+ commit_authoritative_page_surface_draft_version_scoped_v1: {
18810
+ Args: {
18811
+ p_data: Json;
18812
+ p_design_state: Json;
18813
+ p_expected_draft_data: Json;
18814
+ p_expected_draft_updated_at: string;
18815
+ p_expected_draft_version_id: string;
18816
+ p_expected_mailing_list_account_id?: string;
18817
+ p_expected_mailing_list_provider?: string;
18818
+ p_owner_id: string;
18819
+ p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18820
+ p_site_id: string;
18821
+ p_user_id: string;
18822
+ p_version: number;
18823
+ };
18824
+ Returns: {
18825
+ block_id: string;
18826
+ content_entry_id: string;
18827
+ data: Json;
18828
+ design_state: Json;
18829
+ entry_slot_id: string;
18830
+ id: string;
18831
+ owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18832
+ page_id: string;
18833
+ page_surface_id: string;
18834
+ stage: Database["public"]["Enums"]["content_stage"];
18835
+ surface_slot_id: string;
18836
+ updated_at: string;
18837
+ version: number;
18838
+ }[];
18839
+ };
19237
18840
  commit_content_draft_version: {
19238
18841
  Args: {
19239
18842
  p_data: Json;
@@ -19263,6 +18866,37 @@ export type Database = {
19263
18866
  version: number;
19264
18867
  }[];
19265
18868
  };
18869
+ commit_content_draft_version_scoped_v1: {
18870
+ Args: {
18871
+ p_data: Json;
18872
+ p_design_state: Json;
18873
+ p_expected_draft_data: Json;
18874
+ p_expected_draft_updated_at: string;
18875
+ p_expected_draft_version_id: string;
18876
+ p_expected_mailing_list_account_id?: string;
18877
+ p_expected_mailing_list_provider?: string;
18878
+ p_owner_id: string;
18879
+ p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18880
+ p_site_id: string;
18881
+ p_user_id: string;
18882
+ p_version: number;
18883
+ };
18884
+ Returns: {
18885
+ block_id: string;
18886
+ content_entry_id: string;
18887
+ data: Json;
18888
+ design_state: Json;
18889
+ entry_slot_id: string;
18890
+ id: string;
18891
+ owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18892
+ page_id: string;
18893
+ page_surface_id: string;
18894
+ stage: Database["public"]["Enums"]["content_stage"];
18895
+ surface_slot_id: string;
18896
+ updated_at: string;
18897
+ version: number;
18898
+ }[];
18899
+ };
19266
18900
  commit_event_occurrence_registration_v1: {
19267
18901
  Args: {
19268
18902
  p_attendance_mode: string;
@@ -19275,13 +18909,14 @@ export type Database = {
19275
18909
  p_customer_pass_id?: string;
19276
18910
  p_event_instance_id: string;
19277
18911
  p_event_series_id: string;
18912
+ p_expected_ticket_line_ids?: string[];
19278
18913
  p_form_data: Json;
19279
18914
  p_guests: Json;
19280
18915
  p_intent_digest: string;
19281
- p_intent_json: Json;
19282
18916
  p_metadata: Json;
19283
18917
  p_now?: string;
19284
18918
  p_occurrence_id: string;
18919
+ p_order_number_prefix: string;
19285
18920
  p_pass_credits?: number;
19286
18921
  p_registration_command_id: string;
19287
18922
  p_settlement: string;
@@ -19292,9 +18927,6 @@ export type Database = {
19292
18927
  };
19293
18928
  Returns: {
19294
18929
  attendee_id: string;
19295
- order_id: string;
19296
- order_projection_claim_token: string;
19297
- order_projection_state: string;
19298
18930
  outcome: string;
19299
18931
  pass_credits_remaining: number;
19300
18932
  reason: string;
@@ -19316,6 +18948,8 @@ export type Database = {
19316
18948
  p_idempotency_key: string;
19317
18949
  p_metadata?: Json;
19318
18950
  p_now?: string;
18951
+ p_order_item_metadata?: Json;
18952
+ p_order_number_prefix?: string;
19319
18953
  p_payment_method?: string;
19320
18954
  p_roster: Json;
19321
18955
  p_site_id: string;
@@ -19326,7 +18960,6 @@ export type Database = {
19326
18960
  attendance_rows_created: number;
19327
18961
  attendance_rows_existing_verified: number;
19328
18962
  customer_membership_id: string;
19329
- non_cash_projection_claim_token: string;
19330
18963
  participant_id: string;
19331
18964
  participant_participation_id: string;
19332
18965
  payment_method: string;
@@ -19346,6 +18979,8 @@ export type Database = {
19346
18979
  p_expected_commercial_selection_key: string;
19347
18980
  p_idempotency_key: string;
19348
18981
  p_now?: string;
18982
+ p_order_item_metadata: Json;
18983
+ p_order_number_prefix: string;
19349
18984
  p_payment_method?: string;
19350
18985
  p_site_id: string;
19351
18986
  p_waitlist_entry_id: string;
@@ -19356,7 +18991,6 @@ export type Database = {
19356
18991
  attendance_rows_created: number;
19357
18992
  attendance_rows_existing_verified: number;
19358
18993
  customer_membership_id: string;
19359
- non_cash_projection_claim_token: string;
19360
18994
  participant_id: string;
19361
18995
  participant_participation_id: string;
19362
18996
  payment_method: string;
@@ -19398,18 +19032,6 @@ export type Database = {
19398
19032
  locked_until: string;
19399
19033
  }[];
19400
19034
  };
19401
- complete_event_occurrence_registration_projection_v1: {
19402
- Args: {
19403
- p_claim_token: string;
19404
- p_command_id: string;
19405
- p_order_id: string;
19406
- p_site_id: string;
19407
- };
19408
- Returns: {
19409
- projected_order_id: string;
19410
- transition_outcome: string;
19411
- }[];
19412
- };
19413
19035
  connect_brevo_account_v1: {
19414
19036
  Args: {
19415
19037
  p_account_email: string;
@@ -20244,6 +19866,12 @@ export type Database = {
20244
19866
  };
20245
19867
  Returns: Json;
20246
19868
  };
19869
+ list_mailing_list_placement_targetings_v1: {
19870
+ Args: {
19871
+ p_site_id: string;
19872
+ };
19873
+ Returns: Json;
19874
+ };
20247
19875
  list_public_event_catalogue_representatives_v1: {
20248
19876
  Args: {
20249
19877
  p_from_date: string;
@@ -20701,34 +20329,6 @@ export type Database = {
20701
20329
  stale_until: string;
20702
20330
  }[];
20703
20331
  };
20704
- record_event_registration_command_order_v1: {
20705
- Args: {
20706
- p_command_id: string;
20707
- p_currency: string;
20708
- p_items: Json;
20709
- p_order_number: string;
20710
- p_order_number_seq: number;
20711
- p_site_id: string;
20712
- };
20713
- Returns: {
20714
- item_ids: string[];
20715
- order_id: string;
20716
- }[];
20717
- };
20718
- record_event_series_registration_order_v1: {
20719
- Args: {
20720
- p_currency: string;
20721
- p_metadata: Json;
20722
- p_order_number: string;
20723
- p_order_number_seq: number;
20724
- p_registration_id: string;
20725
- p_site_id: string;
20726
- };
20727
- Returns: {
20728
- order_id: string;
20729
- order_item_id: string;
20730
- }[];
20731
- };
20732
20332
  record_unapplied_order_payment_receipt: {
20733
20333
  Args: {
20734
20334
  p_allocations: Json;
@@ -20901,6 +20501,18 @@ export type Database = {
20901
20501
  };
20902
20502
  Returns: undefined;
20903
20503
  };
20504
+ replace_event_occurrence_registration_roster_v1: {
20505
+ Args: {
20506
+ p_attendee_id: string;
20507
+ p_booker_display_name: string;
20508
+ p_booker_email_normalized: string;
20509
+ p_booker_phone: string;
20510
+ p_customer_id: string;
20511
+ p_guests: Json;
20512
+ p_site_id: string;
20513
+ };
20514
+ Returns: undefined;
20515
+ };
20904
20516
  request_booking_commission_reconciliation: {
20905
20517
  Args: {
20906
20518
  p_user_id: string;
@@ -21015,6 +20627,21 @@ export type Database = {
21015
20627
  };
21016
20628
  Returns: Json;
21017
20629
  };
20630
+ retire_expired_unpaid_whole_series_checkout_v1_atomic: {
20631
+ Args: {
20632
+ p_checkout_attempt_id: string;
20633
+ p_credit_reservation_id?: string;
20634
+ p_event_series_id: string;
20635
+ p_expired_checkout_session_id: string;
20636
+ p_hold_id: string;
20637
+ p_order_id: string;
20638
+ p_order_item_id: string;
20639
+ p_registration_id: string;
20640
+ p_site_id: string;
20641
+ p_stripe_account_id: string;
20642
+ };
20643
+ Returns: boolean;
20644
+ };
21018
20645
  revoke_dated_offering_consumed_registration_v3_atomic: {
21019
20646
  Args: {
21020
20647
  p_enrollment_id: string;
@@ -21357,6 +20984,37 @@ export type Database = {
21357
20984
  isSetofReturn: true;
21358
20985
  };
21359
20986
  };
20987
+ transfer_event_occurrence_registration_v1: {
20988
+ Args: {
20989
+ p_attendee_id: string;
20990
+ p_booker_display_name: string;
20991
+ p_booker_email_normalized: string;
20992
+ p_booker_phone: string;
20993
+ p_from_customer_id: string;
20994
+ p_initiated_by: string;
20995
+ p_initiator_customer_id: string;
20996
+ p_initiator_user_id: string;
20997
+ p_site_id: string;
20998
+ p_to_customer_id: string;
20999
+ };
21000
+ Returns: {
21001
+ attendee_id: string;
21002
+ created_at: string;
21003
+ from_customer_id: string;
21004
+ id: string;
21005
+ initiated_by: string;
21006
+ initiator_customer_id: string | null;
21007
+ initiator_user_id: string | null;
21008
+ site_id: string;
21009
+ to_customer_id: string;
21010
+ }[];
21011
+ SetofOptions: {
21012
+ from: "*";
21013
+ to: "event_attendee_transfers";
21014
+ isOneToOne: false;
21015
+ isSetofReturn: true;
21016
+ };
21017
+ };
21360
21018
  transfer_site_ownership_trusted: {
21361
21019
  Args: {
21362
21020
  p_actor_user_id: string;
@@ -21429,19 +21087,6 @@ export type Database = {
21429
21087
  };
21430
21088
  Returns: Json;
21431
21089
  };
21432
- transition_dated_offering_non_cash_projection_v1_atomic: {
21433
- Args: {
21434
- p_claim_token: string;
21435
- p_enrollment_id: string;
21436
- p_error_message?: string;
21437
- p_now: string;
21438
- p_site_id: string;
21439
- p_transition: string;
21440
- };
21441
- Returns: {
21442
- transition_outcome: string;
21443
- }[];
21444
- };
21445
21090
  transition_dated_offering_waitlist_capacity_effect_v1_atomic: {
21446
21091
  Args: {
21447
21092
  p_claim_token: string;
@@ -21482,6 +21127,25 @@ export type Database = {
21482
21127
  };
21483
21128
  Returns: Json;
21484
21129
  };
21130
+ transition_ordinary_page_block_draft_scoped_v1: {
21131
+ Args: {
21132
+ p_block_id: string;
21133
+ p_data?: Json;
21134
+ p_expected_draft_data: Json;
21135
+ p_expected_draft_updated_at: string;
21136
+ p_expected_draft_version_id: string;
21137
+ p_expected_mailing_list_account_id?: string;
21138
+ p_expected_mailing_list_provider?: string;
21139
+ p_expected_published_data: Json;
21140
+ p_expected_published_updated_at: string;
21141
+ p_expected_published_version_id: string;
21142
+ p_page_id: string;
21143
+ p_site_id: string;
21144
+ p_transition: string;
21145
+ p_user_id: string;
21146
+ };
21147
+ Returns: Json;
21148
+ };
21485
21149
  try_acquire_email_rate_gate: {
21486
21150
  Args: {
21487
21151
  p_interval_ms: number;
@@ -21548,6 +21212,16 @@ export type Database = {
21548
21212
  };
21549
21213
  Returns: string;
21550
21214
  };
21215
+ update_footer_composition_scoped_v1: {
21216
+ Args: {
21217
+ p_base_revision: number;
21218
+ p_composition: Json;
21219
+ p_expected_mailing_list_account_id?: string;
21220
+ p_expected_mailing_list_provider?: string;
21221
+ p_site_id: string;
21222
+ };
21223
+ Returns: boolean;
21224
+ };
21551
21225
  update_site_billing_arrangement_atomic: {
21552
21226
  Args: {
21553
21227
  p_changed_by: string;
@@ -21568,6 +21242,19 @@ export type Database = {
21568
21242
  };
21569
21243
  Returns: undefined;
21570
21244
  };
21245
+ upsert_site_footer_blocks_scoped_v1: {
21246
+ Args: {
21247
+ p_blocks: Json;
21248
+ p_expected_mailing_list_account_id?: string;
21249
+ p_expected_mailing_list_provider?: string;
21250
+ p_sdk_content_hash: string;
21251
+ p_sdk_synced_at: string;
21252
+ p_site_id: string;
21253
+ p_updated_at: string;
21254
+ p_user_id: string;
21255
+ };
21256
+ Returns: undefined;
21257
+ };
21571
21258
  use_admin_invite: {
21572
21259
  Args: {
21573
21260
  p_token: string;
@@ -21924,7 +21611,7 @@ export type Database = {
21924
21611
  newsletter_sender_entity_type: "individual" | "company" | "llp" | "charity" | "other";
21925
21612
  newsletter_subscriber_status: "pending_confirmation" | "active" | "unsubscribed";
21926
21613
  plan_price_interval: "month" | "year";
21927
- route_node_type: "page" | "content_entry" | "page_surface";
21614
+ route_node_type: "page" | "content_entry" | "page_surface" | "appointment_service";
21928
21615
  route_status: "draft" | "published" | "scheduled" | "archived";
21929
21616
  site_deployment_mode: "managed" | "headless_cms" | "headless_full";
21930
21617
  site_purpose: "GENERATE_LEADS" | "SHOWCASE_PORTFOLIO" | "SELL_PRODUCTS" | "SELL_TICKETS" | "EVENT_INFO" | "BLOGGING" | "COMMUNITY" | "OTHER";
@@ -22593,7 +22280,7 @@ export declare const Constants: {
22593
22280
  readonly newsletter_sender_entity_type: readonly ["individual", "company", "llp", "charity", "other"];
22594
22281
  readonly newsletter_subscriber_status: readonly ["pending_confirmation", "active", "unsubscribed"];
22595
22282
  readonly plan_price_interval: readonly ["month", "year"];
22596
- readonly route_node_type: readonly ["page", "content_entry", "page_surface"];
22283
+ readonly route_node_type: readonly ["page", "content_entry", "page_surface", "appointment_service"];
22597
22284
  readonly route_status: readonly ["draft", "published", "scheduled", "archived"];
22598
22285
  readonly site_deployment_mode: readonly ["managed", "headless_cms", "headless_full"];
22599
22286
  readonly site_purpose: readonly ["GENERATE_LEADS", "SHOWCASE_PORTFOLIO", "SELL_PRODUCTS", "SELL_TICKETS", "EVENT_INFO", "BLOGGING", "COMMUNITY", "OTHER"];