@riverbankcms/sdk 0.139.0 → 0.141.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 (232) hide show
  1. package/README.md +1 -1
  2. package/dist/{PreviewEditorSidebar-BDeenhi3.mjs → PreviewEditorSidebar-Q-fy9GYw.mjs} +4 -4
  3. package/dist/{PreviewEditorUI-DSRhgjF5.mjs → PreviewEditorUI-LYGzgk85.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-D2K8GLUG.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-CL7wSnYu.mjs → SdkPreviewModeRuntime-CoPYI5Jq.mjs} +90 -50
  6. package/dist/{SiteChromeCustomizeContext-BhDn-5ir.mjs → SiteChromeCustomizeContext-D8LePX8x.mjs} +2731 -1303
  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 +17 -31
  20. package/dist/_dts/api/src/domainConnection.d.ts +4 -0
  21. package/dist/_dts/api/src/endpoints.d.ts +93 -64
  22. package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
  23. package/dist/_dts/api/src/footerCompositionContracts.d.ts +25 -0
  24. package/dist/_dts/api/src/footerSettings.d.ts +9 -6
  25. package/dist/_dts/api/src/index.d.ts +6 -7
  26. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
  27. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  28. package/dist/_dts/api/src/launchReadiness.d.ts +1 -0
  29. package/dist/_dts/api/src/mailingListIntegration.d.ts +8 -2
  30. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
  31. package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +2 -1
  32. package/dist/_dts/api/src/navigation/types.d.ts +1 -1
  33. package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
  34. package/dist/_dts/api/src/onboarding/surfaceData.d.ts +32 -32
  35. package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +8 -0
  36. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
  37. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
  38. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +3 -29
  39. package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
  40. package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
  41. package/dist/_dts/api/src/sdkContracts.d.ts +3 -22
  42. package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
  43. package/dist/_dts/api/src/sdkThemeWire.d.ts +44 -44
  44. package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
  45. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +10 -29
  46. package/dist/_dts/api/src/siteOnboarding.d.ts +9 -9
  47. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -4
  48. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
  49. package/dist/_dts/api/src/siteSettings.d.ts +20 -7
  50. package/dist/_dts/api/src/types.d.ts +77 -77
  51. package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
  52. package/dist/_dts/billing/src/membership/index.d.ts +3 -0
  53. package/dist/_dts/billing/src/plans/types.d.ts +3 -0
  54. package/dist/_dts/billing/src/site-arrangements.d.ts +23 -3
  55. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -4
  56. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
  57. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +7 -0
  58. package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
  59. package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
  60. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
  61. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -0
  62. package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +122 -0
  63. package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +2 -1
  64. package/dist/_dts/blocks/src/system/blocks/events/shared/eventSelection.d.ts +11 -0
  65. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
  66. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
  67. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
  68. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
  69. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
  70. package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +7 -1
  71. package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
  72. package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
  73. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +27 -1
  74. package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
  75. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
  76. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  77. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
  78. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
  79. package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
  80. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +42 -186
  81. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -93
  82. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -1
  83. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +48 -1
  84. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
  85. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
  86. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
  87. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
  88. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +4 -0
  89. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.state.d.ts +5 -0
  90. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
  91. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
  92. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +3 -0
  93. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +10 -3
  94. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +9 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
  96. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +14 -7
  97. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
  98. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useSettledCommerceView.d.ts +37 -0
  99. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
  100. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -6
  101. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
  102. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +4 -3
  103. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
  104. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +11 -101
  105. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +7 -2
  106. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +2 -0
  107. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -0
  108. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +1 -0
  109. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
  110. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
  111. package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
  112. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
  113. package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +12 -0
  114. package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +4 -0
  115. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
  116. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +27 -4
  117. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
  118. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
  119. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -0
  120. package/dist/_dts/core/src/branded.d.ts +0 -8
  121. package/dist/_dts/core/src/index.d.ts +1 -0
  122. package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +1 -1
  123. package/dist/_dts/core/src/mailing-list-setup.d.ts +14 -1
  124. package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -27
  125. package/dist/_dts/core/src/participants.d.ts +2 -29
  126. package/dist/_dts/core/src/public-experience.d.ts +4 -0
  127. package/dist/_dts/core/src/public-profile.d.ts +27 -1
  128. package/dist/_dts/core/src/site-route-target.d.ts +9 -2
  129. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +296 -606
  130. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
  131. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +3 -2
  132. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +3 -2
  133. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +3 -2
  134. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
  135. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +27 -1
  136. package/dist/_dts/sdk/src/public-api/contracts.d.ts +14 -20
  137. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
  138. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  139. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -1
  140. package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
  141. package/dist/_dts/sdk/src/version.d.ts +1 -1
  142. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +17 -1
  143. package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
  144. package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +17 -0
  145. package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +1 -1
  146. package/dist/_dts/theme-core/src/buttons/classNames.d.ts +16 -0
  147. package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +0 -6
  148. package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +4 -4
  149. package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
  150. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  151. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
  152. package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
  153. package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +54 -12
  154. package/dist/_dts/theme-core/src/index.d.ts +1 -1
  155. package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
  156. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
  157. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
  158. package/dist/_dts/theme-core/src/schema.d.ts +84 -84
  159. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
  160. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  161. package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
  162. package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
  163. package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
  164. package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
  165. package/dist/_dts/ui/src/pending-button.d.ts +10 -0
  166. package/dist/client/{BookingConsentAgreement-CZvTDtsK.mjs → BookingConsentAgreement-xJeYNdnb.mjs} +4 -4
  167. package/dist/client/{DiscountCodeDisclosure-D-DsLCMU.mjs → DiscountCodeDisclosure-DdT6uzl9.mjs} +1 -1
  168. package/dist/client/{EventCombined.client-dWqgd5ZO.mjs → EventCombined.client-Cp28uYuM.mjs} +12 -16
  169. package/dist/client/{EventListing.client-BMRa9IYp.mjs → EventListing.client-CD6AJsMr.mjs} +4 -17
  170. package/dist/client/{LeafletStaticMap-D21W9kBZ.mjs → LeafletStaticMap-DBsAi9-e.mjs} +1 -1
  171. package/dist/client/{accordion-FxF_ta47.mjs → accordion-6dwbOKYR.mjs} +1 -1
  172. package/dist/client/{bookingForm-YnwW4TGw.mjs → bookingForm-CZE9_qPQ.mjs} +7 -7
  173. package/dist/client/bookings.mjs +500 -233
  174. package/dist/client/{carousel-vng7fFT5.mjs → carousel-7VHGQARz.mjs} +2 -2
  175. package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
  176. package/dist/client/{cart-DEPDsjNk.mjs → cart-Qg_mvQhh.mjs} +3 -3
  177. package/dist/client/{checkout-CZRWu9rW.mjs → checkout-D84rpgdr.mjs} +3 -3
  178. package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
  179. package/dist/client/client.mjs +2315 -1017
  180. package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
  181. package/dist/client/{context-DvU_WUmd.mjs → context-Ctp3T0Wr.mjs} +6 -19
  182. package/dist/client/{dates-wnPMiRl5.mjs → dates-DJKFcI_N.mjs} +2 -2
  183. package/dist/client/{eventCalendar-BA3Q5L15.mjs → eventCalendar-CK31z3vs.mjs} +12 -8
  184. package/dist/client/{eventCombined-51wgR-1R.mjs → eventCombined-DiXd-ewn.mjs} +3 -3
  185. package/dist/client/{eventDetails-modaetpm.mjs → eventDetails-CTRgt2DK.mjs} +4 -4
  186. package/dist/client/{eventListing-D8t2J3Kv.mjs → eventListing-Dy9vi_j_.mjs} +3 -3
  187. package/dist/client/{eventRegistration-CYqtkCE_.mjs → eventRegistration-CnalYMr2.mjs} +618 -177
  188. package/dist/client/{form-CBKXN5In.mjs → form-eUiMveTT.mjs} +3 -3
  189. package/dist/client/{headerSection-DylDqNrs.mjs → headerSection-Dy9kQpB1.mjs} +2 -2
  190. package/dist/client/hooks.mjs +692 -212
  191. package/dist/client/{locationMap-CvWrG0vZ.mjs → locationMap-DalCmWU0.mjs} +3 -3
  192. package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
  193. package/dist/client/{newsletterForm-Btwk70zw.mjs → newsletterForm-SDDPvhS0.mjs} +150 -94
  194. package/dist/client/{pricing-Uzw-GQ6Y.mjs → pricing-OcMz4SnX.mjs} +1 -1
  195. package/dist/client/{productDetail-JLcUYKnd.mjs → productDetail-BQrgHElM.mjs} +3 -3
  196. package/dist/client/{productList-FM0cbUzj.mjs → productList-OnPn_UJj.mjs} +3 -3
  197. package/dist/client/{propsDecoder-DYzafZb2.mjs → propsDecoder-zBdsnS-N.mjs} +168 -32
  198. package/dist/client/rendering/client.mjs +1355 -519
  199. package/dist/client/rendering/islands.mjs +19 -19
  200. package/dist/client/rendering.mjs +2294 -953
  201. package/dist/client/{scrollToBlock-CvXszexS.mjs → scrollToBlock-BNM4Ob2Y.mjs} +28 -11
  202. package/dist/client/{shop-BIcjvy5a.mjs → shop-Bv1fPTwQ.mjs} +6 -6
  203. package/dist/client/{shop-commerce-BZQsy7xw.mjs → shop-commerce-D4KNGaW8.mjs} +7 -7
  204. package/dist/client/{shop-commerce-store-D5V7XAb5.mjs → shop-commerce-store-2N5EV0Rc.mjs} +1 -1
  205. package/dist/client/{shopShared-DowkXevB.mjs → shopShared-DvJGdHTV.mjs} +4 -4
  206. package/dist/client/{useEventFilters-oMoTw_JE.mjs → useEventFilters-BBBvGDHQ.mjs} +19 -13
  207. package/dist/preview-next/before-render.mjs +119 -64
  208. package/dist/preview-next/client/runtime.mjs +4 -4
  209. package/dist/preview-next/editor-chrome.css +4 -8
  210. package/dist/preview-next/keepAlive.mjs +119 -64
  211. package/dist/preview-next/middleware.mjs +119 -64
  212. package/dist/{previewAuthStore-COUyAKaX.mjs → previewAuthStore-Gjb6r6vz.mjs} +119 -64
  213. package/dist/{sdk-runtime-D4k2LSGF.mjs → sdk-runtime-Defnbfzw.mjs} +2 -2
  214. package/dist/{separator-UGtpag4Z.mjs → separator-CZXO3Sb0.mjs} +1 -1
  215. package/dist/server/components.mjs +1170 -384
  216. package/dist/server/config-validation.mjs +560 -105
  217. package/dist/server/config.mjs +564 -109
  218. package/dist/server/data.mjs +688 -212
  219. package/dist/server/index.mjs +126 -66
  220. package/dist/server/next.mjs +1429 -662
  221. package/dist/server/page-converter.mjs +372 -99
  222. package/dist/server/prebuild.mjs +1 -1
  223. package/dist/server/rendering/server.mjs +1624 -817
  224. package/dist/server/rendering.mjs +1200 -391
  225. package/dist/server/routing.mjs +767 -247
  226. package/dist/server/server.mjs +715 -276
  227. package/dist/server/theme-bridge.mjs +475 -110
  228. package/dist/server/theme.mjs +9 -3
  229. package/dist/styles/index.css +265 -45
  230. package/package.json +1 -1
  231. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
  232. 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;
@@ -15857,10 +15595,12 @@ export type Database = {
15857
15595
  header_variant: string;
15858
15596
  homepage_id: string | null;
15859
15597
  homepage_path: string | null;
15598
+ hosted_booking_appearance: Json | null;
15860
15599
  legal_profile: Json | null;
15861
15600
  logo_asset_id: string | null;
15862
15601
  notification_email: string | null;
15863
15602
  person_record_mode: string;
15603
+ public_experience: string;
15864
15604
  public_profile_json: Json;
15865
15605
  public_profile_revision: number;
15866
15606
  sensitive_client_records: Json | null;
@@ -15877,6 +15617,7 @@ export type Database = {
15877
15617
  billing_settings?: Json | null;
15878
15618
  booking_settings?: Json;
15879
15619
  business_address?: Json | null;
15620
+ cover_asset_id?: string | null;
15880
15621
  created_at?: string;
15881
15622
  favicon_asset_id?: string | null;
15882
15623
  footer_composition_json?: Json | null;
@@ -15889,10 +15630,12 @@ export type Database = {
15889
15630
  header_variant?: string;
15890
15631
  homepage_id?: string | null;
15891
15632
  homepage_path?: string | null;
15633
+ hosted_booking_appearance?: Json | null;
15892
15634
  legal_profile?: Json | null;
15893
15635
  logo_asset_id?: string | null;
15894
15636
  notification_email?: string | null;
15895
15637
  person_record_mode?: string;
15638
+ public_experience?: string;
15896
15639
  public_profile_json?: Json;
15897
15640
  public_profile_revision?: number;
15898
15641
  sensitive_client_records?: Json | null;
@@ -15909,6 +15652,7 @@ export type Database = {
15909
15652
  billing_settings?: Json | null;
15910
15653
  booking_settings?: Json;
15911
15654
  business_address?: Json | null;
15655
+ cover_asset_id?: string | null;
15912
15656
  created_at?: string;
15913
15657
  favicon_asset_id?: string | null;
15914
15658
  footer_composition_json?: Json | null;
@@ -15921,10 +15665,12 @@ export type Database = {
15921
15665
  header_variant?: string;
15922
15666
  homepage_id?: string | null;
15923
15667
  homepage_path?: string | null;
15668
+ hosted_booking_appearance?: Json | null;
15924
15669
  legal_profile?: Json | null;
15925
15670
  logo_asset_id?: string | null;
15926
15671
  notification_email?: string | null;
15927
15672
  person_record_mode?: string;
15673
+ public_experience?: string;
15928
15674
  public_profile_json?: Json;
15929
15675
  public_profile_revision?: number;
15930
15676
  sensitive_client_records?: Json | null;
@@ -15936,6 +15682,13 @@ export type Database = {
15936
15682
  updated_at?: string;
15937
15683
  };
15938
15684
  Relationships: [
15685
+ {
15686
+ foreignKeyName: "site_settings_cover_asset_id_fkey";
15687
+ columns: ["cover_asset_id"];
15688
+ isOneToOne: false;
15689
+ referencedRelation: "media_assets";
15690
+ referencedColumns: ["id"];
15691
+ },
15939
15692
  {
15940
15693
  foreignKeyName: "site_settings_favicon_asset_id_fkey";
15941
15694
  columns: ["favicon_asset_id"];
@@ -16225,6 +15978,8 @@ export type Database = {
16225
15978
  };
16226
15979
  sites: {
16227
15980
  Row: {
15981
+ billing_pause_reason: string | null;
15982
+ billing_paused_at: string | null;
16228
15983
  billing_starts_at: string | null;
16229
15984
  billing_user_id: string | null;
16230
15985
  created_at: string | null;
@@ -16248,6 +16003,8 @@ export type Database = {
16248
16003
  user_id: string;
16249
16004
  };
16250
16005
  Insert: {
16006
+ billing_pause_reason?: string | null;
16007
+ billing_paused_at?: string | null;
16251
16008
  billing_starts_at?: string | null;
16252
16009
  billing_user_id?: string | null;
16253
16010
  created_at?: string | null;
@@ -16271,6 +16028,8 @@ export type Database = {
16271
16028
  user_id: string;
16272
16029
  };
16273
16030
  Update: {
16031
+ billing_pause_reason?: string | null;
16032
+ billing_paused_at?: string | null;
16274
16033
  billing_starts_at?: string | null;
16275
16034
  billing_user_id?: string | null;
16276
16035
  created_at?: string | null;
@@ -17678,13 +17437,6 @@ export type Database = {
17678
17437
  referencedRelation: "event_series_registrations";
17679
17438
  referencedColumns: ["id"];
17680
17439
  },
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
17440
  {
17689
17441
  foreignKeyName: "booking_discount_redemptions_order_id_fkey";
17690
17442
  columns: ["order_id"];
@@ -17797,13 +17549,6 @@ export type Database = {
17797
17549
  referencedRelation: "event_series_registrations";
17798
17550
  referencedColumns: ["id"];
17799
17551
  },
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
17552
  {
17808
17553
  foreignKeyName: "booking_payments_site_id_fkey";
17809
17554
  columns: ["site_id"];
@@ -17886,123 +17631,10 @@ export type Database = {
17886
17631
  }
17887
17632
  ];
17888
17633
  };
17889
- booking_requirements_canonical: {
17634
+ event_booking_offers_canonical: {
17890
17635
  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;
17636
+ booking_requirement: string | null;
17637
+ currency: string | null;
18006
17638
  event_series_id: string | null;
18007
17639
  options_json: Json | null;
18008
17640
  payment_terms_json: Json | null;
@@ -18073,113 +17705,6 @@ export type Database = {
18073
17705
  }
18074
17706
  ];
18075
17707
  };
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
17708
  waitlist_entries_canonical: {
18184
17709
  Row: {
18185
17710
  attendance_mode: string | null;
@@ -18465,6 +17990,16 @@ export type Database = {
18465
17990
  };
18466
17991
  Returns: number;
18467
17992
  };
17993
+ allocate_site_order_number_v1: {
17994
+ Args: {
17995
+ p_prefix: string;
17996
+ p_site_id: string;
17997
+ };
17998
+ Returns: {
17999
+ order_number: string;
18000
+ order_number_seq: number;
18001
+ }[];
18002
+ };
18468
18003
  anonymize_mailing_list_signup_consent_v1: {
18469
18004
  Args: {
18470
18005
  p_anonymized_at?: string;
@@ -18542,6 +18077,17 @@ export type Database = {
18542
18077
  };
18543
18078
  Returns: Json;
18544
18079
  };
18080
+ apply_mailing_list_setup_internal_v1: {
18081
+ Args: {
18082
+ p_expected_revision: number;
18083
+ p_global_form: Json;
18084
+ p_provider: string;
18085
+ p_provider_config: Json;
18086
+ p_reset_placements: boolean;
18087
+ p_site_id: string;
18088
+ };
18089
+ Returns: Json;
18090
+ };
18545
18091
  apply_mailing_list_setup_v1: {
18546
18092
  Args: {
18547
18093
  p_expected_revision: number;
@@ -18748,6 +18294,13 @@ export type Database = {
18748
18294
  resulting_plan_remaining_cents: number;
18749
18295
  }[];
18750
18296
  };
18297
+ assert_canonical_mailing_list_content_v1: {
18298
+ Args: {
18299
+ p_content: Json;
18300
+ p_kind: string;
18301
+ };
18302
+ Returns: undefined;
18303
+ };
18751
18304
  assert_event_attendee_booking_subject_open_v1: {
18752
18305
  Args: {
18753
18306
  p_event_attendee_id: string;
@@ -18761,6 +18314,35 @@ export type Database = {
18761
18314
  };
18762
18315
  Returns: undefined;
18763
18316
  };
18317
+ assert_mailing_list_provider_scope_v1: {
18318
+ Args: {
18319
+ p_expected_account_id: string;
18320
+ p_expected_provider: string;
18321
+ p_site_id: string;
18322
+ };
18323
+ Returns: undefined;
18324
+ };
18325
+ assert_mailing_list_targeting_matches_setup_v1: {
18326
+ Args: {
18327
+ p_site_id: string;
18328
+ p_targeting: Json;
18329
+ };
18330
+ Returns: undefined;
18331
+ };
18332
+ assert_native_mailing_list_targeting_topics_v1: {
18333
+ Args: {
18334
+ p_site_id: string;
18335
+ p_targeting: Json;
18336
+ };
18337
+ Returns: undefined;
18338
+ };
18339
+ assert_native_mailing_list_topic_v1: {
18340
+ Args: {
18341
+ p_site_id: string;
18342
+ p_topic_id_text: string;
18343
+ };
18344
+ Returns: undefined;
18345
+ };
18764
18346
  assert_single_subject_participant_roster_atomic: {
18765
18347
  Args: {
18766
18348
  p_customer_id: string;
@@ -18826,17 +18408,6 @@ export type Database = {
18826
18408
  Returns: boolean;
18827
18409
  };
18828
18410
  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
18411
  Args: {
18841
18412
  p_appointment_id: string;
18842
18413
  p_encounter_kind: string;
@@ -18894,18 +18465,6 @@ export type Database = {
18894
18465
  Returns: boolean;
18895
18466
  };
18896
18467
  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
18468
  Args: {
18910
18469
  p_appointment_id: string;
18911
18470
  p_encounter_kind: string;
@@ -18990,6 +18549,23 @@ export type Database = {
18990
18549
  cancelled_occurrences: number;
18991
18550
  }[];
18992
18551
  };
18552
+ cancel_waitlist_entry_v1_atomic: {
18553
+ Args: {
18554
+ p_customer_id?: string;
18555
+ p_now?: string;
18556
+ p_site_id: string;
18557
+ p_waitlist_entry_id: string;
18558
+ };
18559
+ Returns: {
18560
+ attendance_mode: string;
18561
+ capacity_release_reason: string;
18562
+ event_occurrence_id: string;
18563
+ event_series_id: string;
18564
+ outcome: string;
18565
+ seats_released: number;
18566
+ subject_kind: string;
18567
+ }[];
18568
+ };
18993
18569
  claim_billing_notification_delivery: {
18994
18570
  Args: {
18995
18571
  p_claimed_at: string;
@@ -19023,22 +18599,6 @@ export type Database = {
19023
18599
  isSetofReturn: true;
19024
18600
  };
19025
18601
  };
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
18602
  claim_dated_offering_waitlist_capacity_effects_v3_atomic: {
19043
18603
  Args: {
19044
18604
  p_claim_ttl?: string;
@@ -19122,6 +18682,21 @@ export type Database = {
19122
18682
  isSetofReturn: true;
19123
18683
  };
19124
18684
  };
18685
+ claim_gift_card_atomic_v1: {
18686
+ Args: {
18687
+ p_claimed_at: string;
18688
+ p_claimed_by_email: string;
18689
+ p_customer_id: string;
18690
+ p_expected_claim_token: Json;
18691
+ p_instrument_id: string;
18692
+ p_site_id: string;
18693
+ };
18694
+ Returns: {
18695
+ amount_cents: number;
18696
+ currency: string;
18697
+ transaction_id: string;
18698
+ }[];
18699
+ };
19125
18700
  claim_next_available_demo_instance: {
19126
18701
  Args: {
19127
18702
  p_blueprint_id: string;
@@ -19234,6 +18809,37 @@ export type Database = {
19234
18809
  version: number;
19235
18810
  }[];
19236
18811
  };
18812
+ commit_authoritative_page_surface_draft_version_scoped_v1: {
18813
+ Args: {
18814
+ p_data: Json;
18815
+ p_design_state: Json;
18816
+ p_expected_draft_data: Json;
18817
+ p_expected_draft_updated_at: string;
18818
+ p_expected_draft_version_id: string;
18819
+ p_expected_mailing_list_account_id?: string;
18820
+ p_expected_mailing_list_provider?: string;
18821
+ p_owner_id: string;
18822
+ p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18823
+ p_site_id: string;
18824
+ p_user_id: string;
18825
+ p_version: number;
18826
+ };
18827
+ Returns: {
18828
+ block_id: string;
18829
+ content_entry_id: string;
18830
+ data: Json;
18831
+ design_state: Json;
18832
+ entry_slot_id: string;
18833
+ id: string;
18834
+ owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18835
+ page_id: string;
18836
+ page_surface_id: string;
18837
+ stage: Database["public"]["Enums"]["content_stage"];
18838
+ surface_slot_id: string;
18839
+ updated_at: string;
18840
+ version: number;
18841
+ }[];
18842
+ };
19237
18843
  commit_content_draft_version: {
19238
18844
  Args: {
19239
18845
  p_data: Json;
@@ -19263,6 +18869,37 @@ export type Database = {
19263
18869
  version: number;
19264
18870
  }[];
19265
18871
  };
18872
+ commit_content_draft_version_scoped_v1: {
18873
+ Args: {
18874
+ p_data: Json;
18875
+ p_design_state: Json;
18876
+ p_expected_draft_data: Json;
18877
+ p_expected_draft_updated_at: string;
18878
+ p_expected_draft_version_id: string;
18879
+ p_expected_mailing_list_account_id?: string;
18880
+ p_expected_mailing_list_provider?: string;
18881
+ p_owner_id: string;
18882
+ p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18883
+ p_site_id: string;
18884
+ p_user_id: string;
18885
+ p_version: number;
18886
+ };
18887
+ Returns: {
18888
+ block_id: string;
18889
+ content_entry_id: string;
18890
+ data: Json;
18891
+ design_state: Json;
18892
+ entry_slot_id: string;
18893
+ id: string;
18894
+ owner_kind: Database["public"]["Enums"]["content_owner_kind"];
18895
+ page_id: string;
18896
+ page_surface_id: string;
18897
+ stage: Database["public"]["Enums"]["content_stage"];
18898
+ surface_slot_id: string;
18899
+ updated_at: string;
18900
+ version: number;
18901
+ }[];
18902
+ };
19266
18903
  commit_event_occurrence_registration_v1: {
19267
18904
  Args: {
19268
18905
  p_attendance_mode: string;
@@ -19275,13 +18912,14 @@ export type Database = {
19275
18912
  p_customer_pass_id?: string;
19276
18913
  p_event_instance_id: string;
19277
18914
  p_event_series_id: string;
18915
+ p_expected_ticket_line_ids?: string[];
19278
18916
  p_form_data: Json;
19279
18917
  p_guests: Json;
19280
18918
  p_intent_digest: string;
19281
- p_intent_json: Json;
19282
18919
  p_metadata: Json;
19283
18920
  p_now?: string;
19284
18921
  p_occurrence_id: string;
18922
+ p_order_number_prefix: string;
19285
18923
  p_pass_credits?: number;
19286
18924
  p_registration_command_id: string;
19287
18925
  p_settlement: string;
@@ -19292,9 +18930,6 @@ export type Database = {
19292
18930
  };
19293
18931
  Returns: {
19294
18932
  attendee_id: string;
19295
- order_id: string;
19296
- order_projection_claim_token: string;
19297
- order_projection_state: string;
19298
18933
  outcome: string;
19299
18934
  pass_credits_remaining: number;
19300
18935
  reason: string;
@@ -19316,6 +18951,8 @@ export type Database = {
19316
18951
  p_idempotency_key: string;
19317
18952
  p_metadata?: Json;
19318
18953
  p_now?: string;
18954
+ p_order_item_metadata?: Json;
18955
+ p_order_number_prefix?: string;
19319
18956
  p_payment_method?: string;
19320
18957
  p_roster: Json;
19321
18958
  p_site_id: string;
@@ -19326,7 +18963,6 @@ export type Database = {
19326
18963
  attendance_rows_created: number;
19327
18964
  attendance_rows_existing_verified: number;
19328
18965
  customer_membership_id: string;
19329
- non_cash_projection_claim_token: string;
19330
18966
  participant_id: string;
19331
18967
  participant_participation_id: string;
19332
18968
  payment_method: string;
@@ -19346,6 +18982,8 @@ export type Database = {
19346
18982
  p_expected_commercial_selection_key: string;
19347
18983
  p_idempotency_key: string;
19348
18984
  p_now?: string;
18985
+ p_order_item_metadata: Json;
18986
+ p_order_number_prefix: string;
19349
18987
  p_payment_method?: string;
19350
18988
  p_site_id: string;
19351
18989
  p_waitlist_entry_id: string;
@@ -19356,7 +18994,6 @@ export type Database = {
19356
18994
  attendance_rows_created: number;
19357
18995
  attendance_rows_existing_verified: number;
19358
18996
  customer_membership_id: string;
19359
- non_cash_projection_claim_token: string;
19360
18997
  participant_id: string;
19361
18998
  participant_participation_id: string;
19362
18999
  payment_method: string;
@@ -19398,18 +19035,6 @@ export type Database = {
19398
19035
  locked_until: string;
19399
19036
  }[];
19400
19037
  };
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
19038
  connect_brevo_account_v1: {
19414
19039
  Args: {
19415
19040
  p_account_email: string;
@@ -20244,6 +19869,12 @@ export type Database = {
20244
19869
  };
20245
19870
  Returns: Json;
20246
19871
  };
19872
+ list_mailing_list_placement_targetings_v1: {
19873
+ Args: {
19874
+ p_site_id: string;
19875
+ };
19876
+ Returns: Json;
19877
+ };
20247
19878
  list_public_event_catalogue_representatives_v1: {
20248
19879
  Args: {
20249
19880
  p_from_date: string;
@@ -20701,34 +20332,6 @@ export type Database = {
20701
20332
  stale_until: string;
20702
20333
  }[];
20703
20334
  };
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
20335
  record_unapplied_order_payment_receipt: {
20733
20336
  Args: {
20734
20337
  p_allocations: Json;
@@ -20901,6 +20504,18 @@ export type Database = {
20901
20504
  };
20902
20505
  Returns: undefined;
20903
20506
  };
20507
+ replace_event_occurrence_registration_roster_v1: {
20508
+ Args: {
20509
+ p_attendee_id: string;
20510
+ p_booker_display_name: string;
20511
+ p_booker_email_normalized: string;
20512
+ p_booker_phone: string;
20513
+ p_customer_id: string;
20514
+ p_guests: Json;
20515
+ p_site_id: string;
20516
+ };
20517
+ Returns: undefined;
20518
+ };
20904
20519
  request_booking_commission_reconciliation: {
20905
20520
  Args: {
20906
20521
  p_user_id: string;
@@ -21015,6 +20630,21 @@ export type Database = {
21015
20630
  };
21016
20631
  Returns: Json;
21017
20632
  };
20633
+ retire_expired_unpaid_whole_series_checkout_v1_atomic: {
20634
+ Args: {
20635
+ p_checkout_attempt_id: string;
20636
+ p_credit_reservation_id?: string;
20637
+ p_event_series_id: string;
20638
+ p_expired_checkout_session_id: string;
20639
+ p_hold_id: string;
20640
+ p_order_id: string;
20641
+ p_order_item_id: string;
20642
+ p_registration_id: string;
20643
+ p_site_id: string;
20644
+ p_stripe_account_id: string;
20645
+ };
20646
+ Returns: boolean;
20647
+ };
21018
20648
  revoke_dated_offering_consumed_registration_v3_atomic: {
21019
20649
  Args: {
21020
20650
  p_enrollment_id: string;
@@ -21357,6 +20987,37 @@ export type Database = {
21357
20987
  isSetofReturn: true;
21358
20988
  };
21359
20989
  };
20990
+ transfer_event_occurrence_registration_v1: {
20991
+ Args: {
20992
+ p_attendee_id: string;
20993
+ p_booker_display_name: string;
20994
+ p_booker_email_normalized: string;
20995
+ p_booker_phone: string;
20996
+ p_from_customer_id: string;
20997
+ p_initiated_by: string;
20998
+ p_initiator_customer_id: string;
20999
+ p_initiator_user_id: string;
21000
+ p_site_id: string;
21001
+ p_to_customer_id: string;
21002
+ };
21003
+ Returns: {
21004
+ attendee_id: string;
21005
+ created_at: string;
21006
+ from_customer_id: string;
21007
+ id: string;
21008
+ initiated_by: string;
21009
+ initiator_customer_id: string | null;
21010
+ initiator_user_id: string | null;
21011
+ site_id: string;
21012
+ to_customer_id: string;
21013
+ }[];
21014
+ SetofOptions: {
21015
+ from: "*";
21016
+ to: "event_attendee_transfers";
21017
+ isOneToOne: false;
21018
+ isSetofReturn: true;
21019
+ };
21020
+ };
21360
21021
  transfer_site_ownership_trusted: {
21361
21022
  Args: {
21362
21023
  p_actor_user_id: string;
@@ -21429,19 +21090,6 @@ export type Database = {
21429
21090
  };
21430
21091
  Returns: Json;
21431
21092
  };
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
21093
  transition_dated_offering_waitlist_capacity_effect_v1_atomic: {
21446
21094
  Args: {
21447
21095
  p_claim_token: string;
@@ -21482,6 +21130,25 @@ export type Database = {
21482
21130
  };
21483
21131
  Returns: Json;
21484
21132
  };
21133
+ transition_ordinary_page_block_draft_scoped_v1: {
21134
+ Args: {
21135
+ p_block_id: string;
21136
+ p_data?: Json;
21137
+ p_expected_draft_data: Json;
21138
+ p_expected_draft_updated_at: string;
21139
+ p_expected_draft_version_id: string;
21140
+ p_expected_mailing_list_account_id?: string;
21141
+ p_expected_mailing_list_provider?: string;
21142
+ p_expected_published_data: Json;
21143
+ p_expected_published_updated_at: string;
21144
+ p_expected_published_version_id: string;
21145
+ p_page_id: string;
21146
+ p_site_id: string;
21147
+ p_transition: string;
21148
+ p_user_id: string;
21149
+ };
21150
+ Returns: Json;
21151
+ };
21485
21152
  try_acquire_email_rate_gate: {
21486
21153
  Args: {
21487
21154
  p_interval_ms: number;
@@ -21548,6 +21215,16 @@ export type Database = {
21548
21215
  };
21549
21216
  Returns: string;
21550
21217
  };
21218
+ update_footer_composition_scoped_v1: {
21219
+ Args: {
21220
+ p_base_revision: number;
21221
+ p_composition: Json;
21222
+ p_expected_mailing_list_account_id?: string;
21223
+ p_expected_mailing_list_provider?: string;
21224
+ p_site_id: string;
21225
+ };
21226
+ Returns: boolean;
21227
+ };
21551
21228
  update_site_billing_arrangement_atomic: {
21552
21229
  Args: {
21553
21230
  p_changed_by: string;
@@ -21568,6 +21245,19 @@ export type Database = {
21568
21245
  };
21569
21246
  Returns: undefined;
21570
21247
  };
21248
+ upsert_site_footer_blocks_scoped_v1: {
21249
+ Args: {
21250
+ p_blocks: Json;
21251
+ p_expected_mailing_list_account_id?: string;
21252
+ p_expected_mailing_list_provider?: string;
21253
+ p_sdk_content_hash: string;
21254
+ p_sdk_synced_at: string;
21255
+ p_site_id: string;
21256
+ p_updated_at: string;
21257
+ p_user_id: string;
21258
+ };
21259
+ Returns: undefined;
21260
+ };
21571
21261
  use_admin_invite: {
21572
21262
  Args: {
21573
21263
  p_token: string;
@@ -21924,7 +21614,7 @@ export type Database = {
21924
21614
  newsletter_sender_entity_type: "individual" | "company" | "llp" | "charity" | "other";
21925
21615
  newsletter_subscriber_status: "pending_confirmation" | "active" | "unsubscribed";
21926
21616
  plan_price_interval: "month" | "year";
21927
- route_node_type: "page" | "content_entry" | "page_surface";
21617
+ route_node_type: "page" | "content_entry" | "page_surface" | "appointment_service";
21928
21618
  route_status: "draft" | "published" | "scheduled" | "archived";
21929
21619
  site_deployment_mode: "managed" | "headless_cms" | "headless_full";
21930
21620
  site_purpose: "GENERATE_LEADS" | "SHOWCASE_PORTFOLIO" | "SELL_PRODUCTS" | "SELL_TICKETS" | "EVENT_INFO" | "BLOGGING" | "COMMUNITY" | "OTHER";
@@ -22593,7 +22283,7 @@ export declare const Constants: {
22593
22283
  readonly newsletter_sender_entity_type: readonly ["individual", "company", "llp", "charity", "other"];
22594
22284
  readonly newsletter_subscriber_status: readonly ["pending_confirmation", "active", "unsubscribed"];
22595
22285
  readonly plan_price_interval: readonly ["month", "year"];
22596
- readonly route_node_type: readonly ["page", "content_entry", "page_surface"];
22286
+ readonly route_node_type: readonly ["page", "content_entry", "page_surface", "appointment_service"];
22597
22287
  readonly route_status: readonly ["draft", "published", "scheduled", "archived"];
22598
22288
  readonly site_deployment_mode: readonly ["managed", "headless_cms", "headless_full"];
22599
22289
  readonly site_purpose: readonly ["GENERATE_LEADS", "SHOWCASE_PORTFOLIO", "SELL_PRODUCTS", "SELL_TICKETS", "EVENT_INFO", "BLOGGING", "COMMUNITY", "OTHER"];