@riverbankcms/sdk 0.143.0 → 0.145.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 (254) hide show
  1. package/dist/{PreviewEditorSidebar-DROGfMKi.mjs → PreviewEditorSidebar-O-V6Pl5a.mjs} +20 -26
  2. package/dist/{PreviewEditorUI-BaRjhFu-.mjs → PreviewEditorUI-1UlX_9cw.mjs} +3 -3
  3. package/dist/{PreviewQueryProvider-BCYICImX.mjs → PreviewQueryProvider-BxGwdOCV.mjs} +1 -1
  4. package/dist/{SdkPreviewModeRuntime-OIABYLES.mjs → SdkPreviewModeRuntime-DYbA_4iv.mjs} +431 -351
  5. package/dist/{SiteChromeCustomizeContext-ohjTvZbc.mjs → SiteChromeCustomizeContext-CNTKQ9nx.mjs} +3989 -2769
  6. package/dist/_dts/ai/src/contracts/proposals.d.ts +4719 -66
  7. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +429 -6
  8. package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +49 -0
  9. package/dist/_dts/api/src/appointmentServiceCategoryEndpoints.d.ts +75 -0
  10. package/dist/_dts/api/src/appointmentServiceContracts.d.ts +80 -0
  11. package/dist/_dts/api/src/appointmentSetup.d.ts +8 -1
  12. package/dist/_dts/api/src/billing.d.ts +1 -1
  13. package/dist/_dts/api/src/billingEndpointTypes.d.ts +8 -2
  14. package/dist/_dts/api/src/bookingConfig.d.ts +3 -1
  15. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -12
  16. package/dist/_dts/api/src/communications.d.ts +14 -22
  17. package/dist/_dts/api/src/contentRuntime.d.ts +2 -0
  18. package/dist/_dts/api/src/endpoints.d.ts +105 -58
  19. package/dist/_dts/api/src/index.d.ts +1 -1
  20. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  21. package/dist/_dts/api/src/launchReadiness.d.ts +2 -0
  22. package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +4 -4
  23. package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +0 -23
  24. package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +3 -0
  25. package/dist/_dts/api/src/publicBookingService.d.ts +35 -1
  26. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +1 -0
  27. package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +13 -0
  28. package/dist/_dts/api/src/publicNewsletterEndpointDefinitions.d.ts +58 -0
  29. package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +3 -3
  30. package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
  31. package/dist/_dts/api/src/sdkSettingsContracts.d.ts +8 -0
  32. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -6
  33. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -8
  34. package/dist/_dts/api/src/siteSettings.d.ts +17 -7
  35. package/dist/_dts/api/src/types.d.ts +2 -1
  36. package/dist/_dts/billing/src/membership/index.d.ts +3 -0
  37. package/dist/_dts/block-form/src/backend/types.d.ts +14 -0
  38. package/dist/_dts/block-form/src/client/index.d.ts +1 -0
  39. package/dist/_dts/block-form/src/context/RepeaterHostActionsContext.d.ts +30 -0
  40. package/dist/_dts/block-form/src/context/index.d.ts +1 -0
  41. package/dist/_dts/block-form/src/index.d.ts +1 -0
  42. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +4 -1
  43. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +5 -2
  44. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +11 -1
  45. package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +1 -0
  46. package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useEmptyStateFocusAfterRemoval.d.ts +8 -0
  47. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +15 -1
  48. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterRowActionsDomain.d.ts +5 -2
  49. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -4
  50. package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
  51. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +58 -10
  52. package/dist/_dts/blocks/src/index.d.ts +1 -1
  53. package/dist/_dts/blocks/src/pageRenderJoins.d.ts +68 -0
  54. package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -27
  55. package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +7 -4
  56. package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +40 -23
  57. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -0
  58. package/dist/_dts/blocks/src/server.d.ts +1 -1
  59. package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +2 -0
  60. package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
  61. package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +1 -1
  62. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
  63. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
  64. package/dist/_dts/blocks/src/system/constants/events.d.ts +10 -0
  65. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -3
  66. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +5 -0
  67. package/dist/_dts/blocks/src/system/runtime/api/context.d.ts +3 -3
  68. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -0
  69. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +3 -2
  70. package/dist/_dts/blocks/src/system/runtime/api/readAuthority.d.ts +11 -0
  71. package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +9 -0
  72. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -13
  73. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -6
  74. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +9 -4
  75. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +0 -1
  76. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -3
  77. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -1
  78. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +22 -2
  79. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +7 -24
  80. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -1
  81. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +57 -2
  82. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts +29 -0
  83. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-choices.d.ts +13 -0
  84. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +3 -3
  85. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +13 -1
  86. package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -0
  87. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -0
  88. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +2 -1
  89. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
  90. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
  91. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
  92. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.d.ts +2 -1
  93. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +1 -1
  94. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
  95. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +8 -0
  96. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -5
  97. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +7 -2
  98. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +7 -5
  99. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -6
  100. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +6 -4
  101. package/dist/_dts/blocks/src/system/runtime/nodes/header-control.d.ts +10 -0
  102. package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +6 -21
  103. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +20 -1
  104. package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -0
  105. package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -0
  106. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
  107. package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -0
  108. package/dist/_dts/blocks/src/system/runtime/shared/components/ThemedButton.d.ts +58 -0
  109. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
  110. package/dist/_dts/blocks/src/system/transforms/registry/chromeLogo.d.ts +23 -0
  111. package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -1
  112. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +3 -1
  113. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +4 -1
  114. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -0
  115. package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
  116. package/dist/_dts/core/src/appointment-service-categories.d.ts +108 -0
  117. package/dist/_dts/core/src/editor-state.d.ts +6 -0
  118. package/dist/_dts/core/src/event-catalogue.d.ts +27 -0
  119. package/dist/_dts/core/src/event-preset-vocabulary.d.ts +7 -0
  120. package/dist/_dts/core/src/index.d.ts +3 -0
  121. package/dist/_dts/core/src/public-profile.d.ts +9 -0
  122. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +676 -241
  123. package/dist/_dts/db/src/schemas/forms.d.ts +286 -2
  124. package/dist/_dts/editor-blocks/src/block-editor/{BlockCardHeader.d.ts → BlockCardFrame.d.ts} +11 -3
  125. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +6 -0
  126. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +16 -1
  127. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +13 -0
  128. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +29 -0
  129. package/dist/_dts/logger/src/console.d.ts +3 -0
  130. package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +7 -2
  131. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
  132. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +1 -0
  133. package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +1 -3
  134. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  135. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -2
  136. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
  137. package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +1 -0
  138. package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +8 -0
  139. package/dist/_dts/sdk/src/client/types.d.ts +4 -1
  140. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  141. package/dist/_dts/sdk/src/contracts/page.d.ts +7 -2
  142. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
  143. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +2 -2
  144. package/dist/_dts/sdk/src/navigation/index.d.ts +27 -0
  145. package/dist/_dts/sdk/src/public-api/contracts.d.ts +21 -15
  146. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +3 -2
  147. package/dist/_dts/sdk/src/rendering/client.d.ts +1 -0
  148. package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +1 -0
  149. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +7 -1
  150. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -2
  151. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +1 -1
  152. package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -1
  153. package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +3 -2
  154. package/dist/_dts/sdk/src/rendering/islands/enhancers/shopShared.d.ts +2 -0
  155. package/dist/_dts/sdk/src/rendering/overrides.d.ts +1 -0
  156. package/dist/_dts/sdk/src/version.d.ts +1 -1
  157. package/dist/_dts/surfaces/src/index.d.ts +1 -0
  158. package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +1 -1
  159. package/dist/_dts/theme-core/src/buttons/classNames.d.ts +3 -13
  160. package/dist/_dts/theme-core/src/customCss/index.d.ts +1 -1
  161. package/dist/_dts/theme-core/src/customCss/patch.d.ts +0 -5
  162. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  163. package/dist/_dts/theme-core/src/layout/boundaryCss.d.ts +3 -0
  164. package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +8 -0
  165. package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +3 -2
  166. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +1 -3
  167. package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -0
  168. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  169. package/dist/_dts/theme-core/src/site-styles/joinTreatment.d.ts +132 -0
  170. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorBoundaries.d.ts +31 -0
  171. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +33 -29
  172. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
  173. package/dist/_dts/theme-core/src/site-styles/pageFlowPresets.d.ts +36 -0
  174. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -10
  175. package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +17 -4
  176. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +20 -74
  177. package/dist/_dts/theme-core/src/site-styles/sectionBoundaryComposition.d.ts +95 -0
  178. package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +80 -518
  179. package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +9 -4
  180. package/dist/_dts/theme-core/src/site-styles/transitionCatalogue.d.ts +320 -0
  181. package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -18
  182. package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
  183. package/dist/_dts/theme-core/src/surfaces/logoVariant.d.ts +26 -0
  184. package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +10 -0
  185. package/dist/_dts/ui/src/editor-item-card.d.ts +116 -0
  186. package/dist/_dts/ui/src/index.d.ts +1 -0
  187. package/dist/client/{BookingConsentAgreement-BoCtvzzu.mjs → BookingConsentAgreement-DlVOmpW4.mjs} +4 -55
  188. package/dist/client/{DiscountCodeDisclosure-B5S30nZk.mjs → DiscountCodeDisclosure-T9q623PQ.mjs} +27 -17
  189. package/dist/client/{EventCombined.client-CeZ2-zSt.mjs → EventCombined.client-DnsUeONl.mjs} +54 -46
  190. package/dist/client/{EventListing.client-DJN3j8B3.mjs → EventListing.client-CNBFqJS4.mjs} +3 -4
  191. package/dist/client/{LeafletStaticMap-RjtGzDQT.mjs → LeafletStaticMap-C7higg52.mjs} +1 -1
  192. package/dist/client/ThemedButton-LAJTNrS8.mjs +412 -0
  193. package/dist/client/{accordion-DOmnDoyg.mjs → accordion-BcNF9TjX.mjs} +1 -1
  194. package/dist/client/{bookingForm-C0vk7pgS.mjs → bookingForm-BUaQ3S03.mjs} +161 -75
  195. package/dist/client/bookings.mjs +392 -182
  196. package/dist/client/{carousel-BZJ7pno3.mjs → carousel-CTdF6e0V.mjs} +2 -2
  197. package/dist/client/{carousel.client-DQTjCVQT.mjs → carousel.client-jahpU9Vz.mjs} +1 -1
  198. package/dist/client/{cart-CaeVAHJl.mjs → cart-pGtyf_XU.mjs} +3 -3
  199. package/dist/client/{checkout-7wmoNDtG.mjs → checkout-Da9WSn7Y.mjs} +3 -3
  200. package/dist/client/{checkoutUrls-FL6lRkrt.mjs → checkoutUrls-CW3-78uu.mjs} +1 -1
  201. package/dist/client/client.mjs +3819 -2717
  202. package/dist/client/{colorStyles-3013aRAY.mjs → colorStyles-CuJBiS-1.mjs} +16 -4
  203. package/dist/client/{context-BOimxE3U.mjs → context-BFeY_Wbm.mjs} +24 -8
  204. package/dist/client/{dates-BnzVksi4.mjs → dates-BhwVSxDg.mjs} +2 -2
  205. package/dist/client/{eventCalendar-l-fpaslC.mjs → eventCalendar-BAtdnR4s.mjs} +39 -50
  206. package/dist/client/{eventCombined-DGGvssK6.mjs → eventCombined-RksA3tRC.mjs} +5 -4
  207. package/dist/client/{eventDetails-DRiCm_hL.mjs → eventDetails-BB9hB4wR.mjs} +4 -4
  208. package/dist/client/{eventListing-dph8loYX.mjs → eventListing-BpJBkviM.mjs} +5 -4
  209. package/dist/client/{eventRegistration-ClBohmbY.mjs → eventRegistration-B18jFq_o.mjs} +83 -68
  210. package/dist/client/{form-BLVVAnd3.mjs → form-Dodt8Y8t.mjs} +9 -10
  211. package/dist/client/{headerSection-DHy4C8Ix.mjs → headerSection-B0qj9ttg.mjs} +23 -30
  212. package/dist/client/hooks.mjs +807 -162
  213. package/dist/client/{locationMap-6HuS28ck.mjs → locationMap-gn-iMk7a.mjs} +9 -10
  214. package/dist/client/{media-DHpfFwd3.mjs → media-BtJ37tzS.mjs} +1 -1
  215. package/dist/client/{newsletterForm-xOdcOhZP.mjs → newsletterForm-oByLdFkr.mjs} +31 -11
  216. package/dist/client/{pricing-ChinRYFt.mjs → pricing-BOU0_Hai.mjs} +1 -1
  217. package/dist/client/{productDetail-0chA5gbK.mjs → productDetail-D9v1zH2j.mjs} +3 -3
  218. package/dist/client/{productList-OoINA0h1.mjs → productList-D-mItx1n.mjs} +3 -3
  219. package/dist/client/{propsDecoder-CIZ-hbIG.mjs → propsDecoder-C3TP_z4x.mjs} +158 -61
  220. package/dist/client/rendering/client.mjs +2785 -2000
  221. package/dist/client/rendering/islands.mjs +19 -19
  222. package/dist/client/rendering.mjs +3855 -2694
  223. package/dist/client/{routeIslandApiConfig-UNsfPcYq.mjs → routeIslandApiConfig-DzN1W0sq.mjs} +8 -1
  224. package/dist/client/{scrollToBlock-BPZl0gPZ.mjs → scrollToBlock-CWs8EIdo.mjs} +1 -1
  225. package/dist/client/{shop-CLJFqNIq.mjs → shop-Dufw7N7o.mjs} +45 -58
  226. package/dist/client/{shop-commerce-PpANg5wB.mjs → shop-commerce-gklw_hLF.mjs} +42 -55
  227. package/dist/client/{shop-commerce-store-TA_Kz2ku.mjs → shop-commerce-store-Sf1eyTaZ.mjs} +1 -1
  228. package/dist/client/{shopShared-DzcFcA5g.mjs → shopShared-B5nyA41S.mjs} +6 -5
  229. package/dist/client/{useEventFilters-CFU21QZo.mjs → useEventFilters-CLL829vy.mjs} +66 -355
  230. package/dist/preview-next/before-render.mjs +147 -77
  231. package/dist/preview-next/client/runtime.mjs +4 -4
  232. package/dist/preview-next/editor-chrome.css +8 -0
  233. package/dist/preview-next/keepAlive.mjs +147 -77
  234. package/dist/preview-next/middleware.mjs +147 -77
  235. package/dist/{previewAuthStore-JA6-I_sL.mjs → previewAuthStore-BxAFlu-j.mjs} +147 -77
  236. package/dist/{sdk-runtime-CDKl0Fr7.mjs → sdk-runtime-D0uZFev7.mjs} +2 -2
  237. package/dist/{separator-BTp96X32.mjs → separator-EvdCAn4V.mjs} +1 -1
  238. package/dist/server/components.mjs +2548 -1607
  239. package/dist/server/config-validation.mjs +794 -160
  240. package/dist/server/config.mjs +794 -160
  241. package/dist/server/data.mjs +806 -161
  242. package/dist/server/index.mjs +167 -85
  243. package/dist/server/navigation.mjs +28 -1
  244. package/dist/server/next.mjs +14930 -14036
  245. package/dist/server/page-converter.mjs +494 -113
  246. package/dist/server/prebuild.mjs +1 -1
  247. package/dist/server/rendering/server.mjs +2537 -1590
  248. package/dist/server/rendering.mjs +2571 -1618
  249. package/dist/server/routing.mjs +918 -200
  250. package/dist/server/server.mjs +819 -205
  251. package/dist/server/theme-bridge.mjs +1232 -28
  252. package/dist/server/theme.mjs +6 -4
  253. package/dist/styles/index.css +6 -0
  254. package/package.json +2 -1
@@ -1181,8 +1181,50 @@ export type Database = {
1181
1181
  }
1182
1182
  ];
1183
1183
  };
1184
+ appointment_service_categories: {
1185
+ Row: {
1186
+ created_at: string;
1187
+ description: string | null;
1188
+ id: string;
1189
+ identifier: string;
1190
+ name: string;
1191
+ site_id: string;
1192
+ sort_order: number;
1193
+ updated_at: string;
1194
+ };
1195
+ Insert: {
1196
+ created_at?: string;
1197
+ description?: string | null;
1198
+ id?: string;
1199
+ identifier: string;
1200
+ name: string;
1201
+ site_id: string;
1202
+ sort_order?: number;
1203
+ updated_at?: string;
1204
+ };
1205
+ Update: {
1206
+ created_at?: string;
1207
+ description?: string | null;
1208
+ id?: string;
1209
+ identifier?: string;
1210
+ name?: string;
1211
+ site_id?: string;
1212
+ sort_order?: number;
1213
+ updated_at?: string;
1214
+ };
1215
+ Relationships: [
1216
+ {
1217
+ foreignKeyName: "appointment_service_categories_site_id_fkey";
1218
+ columns: ["site_id"];
1219
+ isOneToOne: false;
1220
+ referencedRelation: "sites";
1221
+ referencedColumns: ["id"];
1222
+ }
1223
+ ];
1224
+ };
1184
1225
  appointment_services: {
1185
1226
  Row: {
1227
+ category_id: string | null;
1186
1228
  cleanup_minutes: number;
1187
1229
  color_hex: string | null;
1188
1230
  created_at: string;
@@ -1199,6 +1241,7 @@ export type Database = {
1199
1241
  settings_json: Json;
1200
1242
  site_id: string;
1201
1243
  slug: string;
1244
+ sort_order: number;
1202
1245
  timezone: string | null;
1203
1246
  title: string;
1204
1247
  updated_at: string;
@@ -1206,6 +1249,7 @@ export type Database = {
1206
1249
  visibility: string;
1207
1250
  };
1208
1251
  Insert: {
1252
+ category_id?: string | null;
1209
1253
  cleanup_minutes?: number;
1210
1254
  color_hex?: string | null;
1211
1255
  created_at?: string;
@@ -1222,6 +1266,7 @@ export type Database = {
1222
1266
  settings_json?: Json;
1223
1267
  site_id: string;
1224
1268
  slug: string;
1269
+ sort_order?: number;
1225
1270
  timezone?: string | null;
1226
1271
  title: string;
1227
1272
  updated_at?: string;
@@ -1229,6 +1274,7 @@ export type Database = {
1229
1274
  visibility?: string;
1230
1275
  };
1231
1276
  Update: {
1277
+ category_id?: string | null;
1232
1278
  cleanup_minutes?: number;
1233
1279
  color_hex?: string | null;
1234
1280
  created_at?: string;
@@ -1245,6 +1291,7 @@ export type Database = {
1245
1291
  settings_json?: Json;
1246
1292
  site_id?: string;
1247
1293
  slug?: string;
1294
+ sort_order?: number;
1248
1295
  timezone?: string | null;
1249
1296
  title?: string;
1250
1297
  updated_at?: string;
@@ -1252,6 +1299,13 @@ export type Database = {
1252
1299
  visibility?: string;
1253
1300
  };
1254
1301
  Relationships: [
1302
+ {
1303
+ foreignKeyName: "appointment_services_category_site_fk";
1304
+ columns: ["site_id", "category_id"];
1305
+ isOneToOne: false;
1306
+ referencedRelation: "appointment_service_categories";
1307
+ referencedColumns: ["site_id", "id"];
1308
+ },
1255
1309
  {
1256
1310
  foreignKeyName: "appointment_services_form_id_fkey";
1257
1311
  columns: ["form_id"];
@@ -1667,6 +1721,7 @@ export type Database = {
1667
1721
  metadata: Json | null;
1668
1722
  stripe_customer_id: string;
1669
1723
  subscription_recovery_checked_at: string | null;
1724
+ subscription_recovery_outcome: string;
1670
1725
  updated_at: string;
1671
1726
  user_id: string;
1672
1727
  };
@@ -1677,6 +1732,7 @@ export type Database = {
1677
1732
  metadata?: Json | null;
1678
1733
  stripe_customer_id: string;
1679
1734
  subscription_recovery_checked_at?: string | null;
1735
+ subscription_recovery_outcome?: string;
1680
1736
  updated_at?: string;
1681
1737
  user_id: string;
1682
1738
  };
@@ -1687,6 +1743,7 @@ export type Database = {
1687
1743
  metadata?: Json | null;
1688
1744
  stripe_customer_id?: string;
1689
1745
  subscription_recovery_checked_at?: string | null;
1746
+ subscription_recovery_outcome?: string;
1690
1747
  updated_at?: string;
1691
1748
  user_id?: string;
1692
1749
  };
@@ -7477,6 +7534,99 @@ export type Database = {
7477
7534
  }
7478
7535
  ];
7479
7536
  };
7537
+ email_webhook_receipts: {
7538
+ Row: {
7539
+ applied_at: string | null;
7540
+ association_deadline: string;
7541
+ bounce_subtype: string | null;
7542
+ bounce_type: string | null;
7543
+ correlation_invalid: boolean;
7544
+ delivery_id: string | null;
7545
+ email_id: string | null;
7546
+ event_type: string;
7547
+ foreign_source: boolean;
7548
+ id: string;
7549
+ last_error_code: string | null;
7550
+ next_attempt_at: string;
7551
+ observed_at: string;
7552
+ provider: string;
7553
+ provider_event_id: string;
7554
+ provider_message_id: string;
7555
+ reason: string | null;
7556
+ received_at: string;
7557
+ recipient_email: string | null;
7558
+ site_id: string | null;
7559
+ source_marker: string | null;
7560
+ state: string;
7561
+ transactional_job_id: string | null;
7562
+ };
7563
+ Insert: {
7564
+ applied_at?: string | null;
7565
+ association_deadline?: string;
7566
+ bounce_subtype?: string | null;
7567
+ bounce_type?: string | null;
7568
+ correlation_invalid?: boolean;
7569
+ delivery_id?: string | null;
7570
+ email_id?: string | null;
7571
+ event_type: string;
7572
+ foreign_source?: boolean;
7573
+ id?: string;
7574
+ last_error_code?: string | null;
7575
+ next_attempt_at?: string;
7576
+ observed_at: string;
7577
+ provider: string;
7578
+ provider_event_id: string;
7579
+ provider_message_id: string;
7580
+ reason?: string | null;
7581
+ received_at?: string;
7582
+ recipient_email?: string | null;
7583
+ site_id?: string | null;
7584
+ source_marker?: string | null;
7585
+ state?: string;
7586
+ transactional_job_id?: string | null;
7587
+ };
7588
+ Update: {
7589
+ applied_at?: string | null;
7590
+ association_deadline?: string;
7591
+ bounce_subtype?: string | null;
7592
+ bounce_type?: string | null;
7593
+ correlation_invalid?: boolean;
7594
+ delivery_id?: string | null;
7595
+ email_id?: string | null;
7596
+ event_type?: string;
7597
+ foreign_source?: boolean;
7598
+ id?: string;
7599
+ last_error_code?: string | null;
7600
+ next_attempt_at?: string;
7601
+ observed_at?: string;
7602
+ provider?: string;
7603
+ provider_event_id?: string;
7604
+ provider_message_id?: string;
7605
+ reason?: string | null;
7606
+ received_at?: string;
7607
+ recipient_email?: string | null;
7608
+ site_id?: string | null;
7609
+ source_marker?: string | null;
7610
+ state?: string;
7611
+ transactional_job_id?: string | null;
7612
+ };
7613
+ Relationships: [
7614
+ {
7615
+ foreignKeyName: "email_webhook_receipts_email_id_fkey";
7616
+ columns: ["email_id"];
7617
+ isOneToOne: false;
7618
+ referencedRelation: "emails";
7619
+ referencedColumns: ["id"];
7620
+ },
7621
+ {
7622
+ foreignKeyName: "email_webhook_receipts_site_id_fkey";
7623
+ columns: ["site_id"];
7624
+ isOneToOne: false;
7625
+ referencedRelation: "sites";
7626
+ referencedColumns: ["id"];
7627
+ }
7628
+ ];
7629
+ };
7480
7630
  emails: {
7481
7631
  Row: {
7482
7632
  body_html: string | null;
@@ -10983,91 +11133,220 @@ export type Database = {
10983
11133
  }
10984
11134
  ];
10985
11135
  };
11136
+ newsletter_address_suppressions: {
11137
+ Row: {
11138
+ created_at: string;
11139
+ email: string;
11140
+ reason: string;
11141
+ site_id: string;
11142
+ };
11143
+ Insert: {
11144
+ created_at?: string;
11145
+ email: string;
11146
+ reason: string;
11147
+ site_id: string;
11148
+ };
11149
+ Update: {
11150
+ created_at?: string;
11151
+ email?: string;
11152
+ reason?: string;
11153
+ site_id?: string;
11154
+ };
11155
+ Relationships: [
11156
+ {
11157
+ foreignKeyName: "newsletter_address_suppressions_site_id_fkey";
11158
+ columns: ["site_id"];
11159
+ isOneToOne: false;
11160
+ referencedRelation: "sites";
11161
+ referencedColumns: ["id"];
11162
+ }
11163
+ ];
11164
+ };
11165
+ newsletter_campaign_deliveries: {
11166
+ Row: {
11167
+ accepted_at: string | null;
11168
+ attempt_count: number;
11169
+ bounce_type: string | null;
11170
+ bounced_at: string | null;
11171
+ campaign_id: string;
11172
+ captured_email: string | null;
11173
+ claim_expires_at: string | null;
11174
+ claim_token: string | null;
11175
+ click_count: number;
11176
+ clicked_at: string | null;
11177
+ complained_at: string | null;
11178
+ created_at: string;
11179
+ delivered_at: string | null;
11180
+ first_possible_acceptance_at: string | null;
11181
+ id: string;
11182
+ last_error_code: string | null;
11183
+ next_attempt_at: string | null;
11184
+ open_count: number;
11185
+ opened_at: string | null;
11186
+ payload_json: Json | null;
11187
+ provider_message_id: string | null;
11188
+ reason: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
11189
+ retry_cutoff_at: string | null;
11190
+ site_id: string;
11191
+ state: Database["public"]["Enums"]["newsletter_delivery_state"];
11192
+ subscriber_id: string | null;
11193
+ unsubscribed_at: string | null;
11194
+ updated_at: string;
11195
+ };
11196
+ Insert: {
11197
+ accepted_at?: string | null;
11198
+ attempt_count?: number;
11199
+ bounce_type?: string | null;
11200
+ bounced_at?: string | null;
11201
+ campaign_id: string;
11202
+ captured_email?: string | null;
11203
+ claim_expires_at?: string | null;
11204
+ claim_token?: string | null;
11205
+ click_count?: number;
11206
+ clicked_at?: string | null;
11207
+ complained_at?: string | null;
11208
+ created_at?: string;
11209
+ delivered_at?: string | null;
11210
+ first_possible_acceptance_at?: string | null;
11211
+ id?: string;
11212
+ last_error_code?: string | null;
11213
+ next_attempt_at?: string | null;
11214
+ open_count?: number;
11215
+ opened_at?: string | null;
11216
+ payload_json?: Json | null;
11217
+ provider_message_id?: string | null;
11218
+ reason?: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
11219
+ retry_cutoff_at?: string | null;
11220
+ site_id: string;
11221
+ state?: Database["public"]["Enums"]["newsletter_delivery_state"];
11222
+ subscriber_id?: string | null;
11223
+ unsubscribed_at?: string | null;
11224
+ updated_at?: string;
11225
+ };
11226
+ Update: {
11227
+ accepted_at?: string | null;
11228
+ attempt_count?: number;
11229
+ bounce_type?: string | null;
11230
+ bounced_at?: string | null;
11231
+ campaign_id?: string;
11232
+ captured_email?: string | null;
11233
+ claim_expires_at?: string | null;
11234
+ claim_token?: string | null;
11235
+ click_count?: number;
11236
+ clicked_at?: string | null;
11237
+ complained_at?: string | null;
11238
+ created_at?: string;
11239
+ delivered_at?: string | null;
11240
+ first_possible_acceptance_at?: string | null;
11241
+ id?: string;
11242
+ last_error_code?: string | null;
11243
+ next_attempt_at?: string | null;
11244
+ open_count?: number;
11245
+ opened_at?: string | null;
11246
+ payload_json?: Json | null;
11247
+ provider_message_id?: string | null;
11248
+ reason?: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
11249
+ retry_cutoff_at?: string | null;
11250
+ site_id?: string;
11251
+ state?: Database["public"]["Enums"]["newsletter_delivery_state"];
11252
+ subscriber_id?: string | null;
11253
+ unsubscribed_at?: string | null;
11254
+ updated_at?: string;
11255
+ };
11256
+ Relationships: [
11257
+ {
11258
+ foreignKeyName: "newsletter_campaign_deliveries_campaign_id_fkey";
11259
+ columns: ["campaign_id"];
11260
+ isOneToOne: false;
11261
+ referencedRelation: "newsletter_campaigns";
11262
+ referencedColumns: ["id"];
11263
+ },
11264
+ {
11265
+ foreignKeyName: "newsletter_campaign_deliveries_site_id_fkey";
11266
+ columns: ["site_id"];
11267
+ isOneToOne: false;
11268
+ referencedRelation: "sites";
11269
+ referencedColumns: ["id"];
11270
+ },
11271
+ {
11272
+ foreignKeyName: "newsletter_campaign_deliveries_subscriber_id_fkey";
11273
+ columns: ["subscriber_id"];
11274
+ isOneToOne: false;
11275
+ referencedRelation: "newsletter_subscribers";
11276
+ referencedColumns: ["id"];
11277
+ }
11278
+ ];
11279
+ };
10986
11280
  newsletter_campaigns: {
10987
11281
  Row: {
10988
11282
  audience_list_ids: string[];
10989
- audience_mode: string;
10990
11283
  audience_tags: string[];
10991
- bounced_count: number;
10992
- clicked_count: number;
10993
- complained_count: number;
11284
+ captured_at: string | null;
10994
11285
  created_at: string;
10995
11286
  created_by: string | null;
10996
- delivered_count: number;
11287
+ deadline_at: string | null;
11288
+ finish_reason: Database["public"]["Enums"]["newsletter_campaign_finish_reason"] | null;
11289
+ finished_at: string | null;
10997
11290
  id: string;
10998
- last_activity_at: string | null;
11291
+ intended_start_at: string | null;
11292
+ last_claimed_at: string | null;
10999
11293
  name: string;
11000
- opened_count: number;
11001
11294
  preheader: string | null;
11002
- rendered_html: string | null;
11003
- rendered_text: string | null;
11004
11295
  scheduled_at: string | null;
11005
- sent_count: number;
11006
11296
  site_id: string;
11007
11297
  snapshot_json: Json | null;
11008
- status: Database["public"]["Enums"]["newsletter_campaign_status"];
11298
+ status: Database["public"]["Enums"]["newsletter_campaign_control_state"];
11009
11299
  subject: string | null;
11010
11300
  template_id: string | null;
11011
11301
  timezone: string | null;
11012
- unsubscribed_count: number;
11013
11302
  updated_at: string;
11014
11303
  updated_by: string | null;
11015
11304
  };
11016
11305
  Insert: {
11017
11306
  audience_list_ids?: string[];
11018
- audience_mode?: string;
11019
11307
  audience_tags?: string[];
11020
- bounced_count?: number;
11021
- clicked_count?: number;
11022
- complained_count?: number;
11308
+ captured_at?: string | null;
11023
11309
  created_at?: string;
11024
11310
  created_by?: string | null;
11025
- delivered_count?: number;
11311
+ deadline_at?: string | null;
11312
+ finish_reason?: Database["public"]["Enums"]["newsletter_campaign_finish_reason"] | null;
11313
+ finished_at?: string | null;
11026
11314
  id?: string;
11027
- last_activity_at?: string | null;
11315
+ intended_start_at?: string | null;
11316
+ last_claimed_at?: string | null;
11028
11317
  name: string;
11029
- opened_count?: number;
11030
11318
  preheader?: string | null;
11031
- rendered_html?: string | null;
11032
- rendered_text?: string | null;
11033
11319
  scheduled_at?: string | null;
11034
- sent_count?: number;
11035
11320
  site_id: string;
11036
11321
  snapshot_json?: Json | null;
11037
- status?: Database["public"]["Enums"]["newsletter_campaign_status"];
11322
+ status?: Database["public"]["Enums"]["newsletter_campaign_control_state"];
11038
11323
  subject?: string | null;
11039
11324
  template_id?: string | null;
11040
11325
  timezone?: string | null;
11041
- unsubscribed_count?: number;
11042
11326
  updated_at?: string;
11043
11327
  updated_by?: string | null;
11044
11328
  };
11045
11329
  Update: {
11046
11330
  audience_list_ids?: string[];
11047
- audience_mode?: string;
11048
11331
  audience_tags?: string[];
11049
- bounced_count?: number;
11050
- clicked_count?: number;
11051
- complained_count?: number;
11332
+ captured_at?: string | null;
11052
11333
  created_at?: string;
11053
11334
  created_by?: string | null;
11054
- delivered_count?: number;
11335
+ deadline_at?: string | null;
11336
+ finish_reason?: Database["public"]["Enums"]["newsletter_campaign_finish_reason"] | null;
11337
+ finished_at?: string | null;
11055
11338
  id?: string;
11056
- last_activity_at?: string | null;
11339
+ intended_start_at?: string | null;
11340
+ last_claimed_at?: string | null;
11057
11341
  name?: string;
11058
- opened_count?: number;
11059
11342
  preheader?: string | null;
11060
- rendered_html?: string | null;
11061
- rendered_text?: string | null;
11062
11343
  scheduled_at?: string | null;
11063
- sent_count?: number;
11064
11344
  site_id?: string;
11065
11345
  snapshot_json?: Json | null;
11066
- status?: Database["public"]["Enums"]["newsletter_campaign_status"];
11346
+ status?: Database["public"]["Enums"]["newsletter_campaign_control_state"];
11067
11347
  subject?: string | null;
11068
11348
  template_id?: string | null;
11069
11349
  timezone?: string | null;
11070
- unsubscribed_count?: number;
11071
11350
  updated_at?: string;
11072
11351
  updated_by?: string | null;
11073
11352
  };
@@ -11172,192 +11451,31 @@ export type Database = {
11172
11451
  }
11173
11452
  ];
11174
11453
  };
11175
- newsletter_send_jobs: {
11454
+ newsletter_settings: {
11176
11455
  Row: {
11177
- attempt_count: number;
11178
- campaign_id: string;
11456
+ charity_number: string | null;
11457
+ company_registration_number: string | null;
11179
11458
  created_at: string;
11180
- id: string;
11181
- last_error: string | null;
11182
- locked_at: string | null;
11183
- locked_by: string | null;
11184
- max_attempts: number;
11185
- run_after: string | null;
11459
+ from_localpart: string;
11460
+ from_name: string | null;
11461
+ reply_to_email: string | null;
11462
+ sender_address_line_1: string | null;
11463
+ sender_address_line_2: string | null;
11464
+ sender_address_source: string;
11465
+ sender_city: string | null;
11466
+ sender_country: string | null;
11467
+ sender_display_name: string | null;
11468
+ sender_entity_type: Database["public"]["Enums"]["newsletter_sender_entity_type"];
11469
+ sender_postcode: string | null;
11186
11470
  site_id: string;
11187
- status: Database["public"]["Enums"]["newsletter_send_job_status"];
11471
+ track_clicks: boolean;
11472
+ track_opens: boolean;
11188
11473
  updated_at: string;
11474
+ vat_number: string | null;
11189
11475
  };
11190
11476
  Insert: {
11191
- attempt_count?: number;
11192
- campaign_id: string;
11193
- created_at?: string;
11194
- id?: string;
11195
- last_error?: string | null;
11196
- locked_at?: string | null;
11197
- locked_by?: string | null;
11198
- max_attempts?: number;
11199
- run_after?: string | null;
11200
- site_id: string;
11201
- status?: Database["public"]["Enums"]["newsletter_send_job_status"];
11202
- updated_at?: string;
11203
- };
11204
- Update: {
11205
- attempt_count?: number;
11206
- campaign_id?: string;
11207
- created_at?: string;
11208
- id?: string;
11209
- last_error?: string | null;
11210
- locked_at?: string | null;
11211
- locked_by?: string | null;
11212
- max_attempts?: number;
11213
- run_after?: string | null;
11214
- site_id?: string;
11215
- status?: Database["public"]["Enums"]["newsletter_send_job_status"];
11216
- updated_at?: string;
11217
- };
11218
- Relationships: [
11219
- {
11220
- foreignKeyName: "newsletter_send_jobs_campaign_id_fkey";
11221
- columns: ["campaign_id"];
11222
- isOneToOne: false;
11223
- referencedRelation: "newsletter_campaigns";
11224
- referencedColumns: ["id"];
11225
- },
11226
- {
11227
- foreignKeyName: "newsletter_send_jobs_site_id_fkey";
11228
- columns: ["site_id"];
11229
- isOneToOne: false;
11230
- referencedRelation: "sites";
11231
- referencedColumns: ["id"];
11232
- }
11233
- ];
11234
- };
11235
- newsletter_send_outcomes: {
11236
- Row: {
11237
- bounce_sub_type: string | null;
11238
- bounce_type: string | null;
11239
- bounced_at: string | null;
11240
- campaign_id: string;
11241
- click_count: number;
11242
- clicked_at: string | null;
11243
- complained_at: string | null;
11244
- created_at: string;
11245
- delivered_at: string | null;
11246
- id: string;
11247
- idempotency_key: string;
11248
- is_test: boolean;
11249
- job_id: string | null;
11250
- open_count: number;
11251
- opened_at: string | null;
11252
- provider_message_id: string | null;
11253
- provider_status: string | null;
11254
- site_id: string;
11255
- subscriber_id: string | null;
11256
- unsubscribed_at: string | null;
11257
- updated_at: string;
11258
- };
11259
- Insert: {
11260
- bounce_sub_type?: string | null;
11261
- bounce_type?: string | null;
11262
- bounced_at?: string | null;
11263
- campaign_id: string;
11264
- click_count?: number;
11265
- clicked_at?: string | null;
11266
- complained_at?: string | null;
11267
- created_at?: string;
11268
- delivered_at?: string | null;
11269
- id?: string;
11270
- idempotency_key: string;
11271
- is_test?: boolean;
11272
- job_id?: string | null;
11273
- open_count?: number;
11274
- opened_at?: string | null;
11275
- provider_message_id?: string | null;
11276
- provider_status?: string | null;
11277
- site_id: string;
11278
- subscriber_id?: string | null;
11279
- unsubscribed_at?: string | null;
11280
- updated_at?: string;
11281
- };
11282
- Update: {
11283
- bounce_sub_type?: string | null;
11284
- bounce_type?: string | null;
11285
- bounced_at?: string | null;
11286
- campaign_id?: string;
11287
- click_count?: number;
11288
- clicked_at?: string | null;
11289
- complained_at?: string | null;
11290
- created_at?: string;
11291
- delivered_at?: string | null;
11292
- id?: string;
11293
- idempotency_key?: string;
11294
- is_test?: boolean;
11295
- job_id?: string | null;
11296
- open_count?: number;
11297
- opened_at?: string | null;
11298
- provider_message_id?: string | null;
11299
- provider_status?: string | null;
11300
- site_id?: string;
11301
- subscriber_id?: string | null;
11302
- unsubscribed_at?: string | null;
11303
- updated_at?: string;
11304
- };
11305
- Relationships: [
11306
- {
11307
- foreignKeyName: "newsletter_send_outcomes_campaign_id_fkey";
11308
- columns: ["campaign_id"];
11309
- isOneToOne: false;
11310
- referencedRelation: "newsletter_campaigns";
11311
- referencedColumns: ["id"];
11312
- },
11313
- {
11314
- foreignKeyName: "newsletter_send_outcomes_job_id_fkey";
11315
- columns: ["job_id"];
11316
- isOneToOne: false;
11317
- referencedRelation: "newsletter_send_jobs";
11318
- referencedColumns: ["id"];
11319
- },
11320
- {
11321
- foreignKeyName: "newsletter_send_outcomes_site_id_fkey";
11322
- columns: ["site_id"];
11323
- isOneToOne: false;
11324
- referencedRelation: "sites";
11325
- referencedColumns: ["id"];
11326
- },
11327
- {
11328
- foreignKeyName: "newsletter_send_outcomes_subscriber_id_fkey";
11329
- columns: ["subscriber_id"];
11330
- isOneToOne: false;
11331
- referencedRelation: "newsletter_subscribers";
11332
- referencedColumns: ["id"];
11333
- }
11334
- ];
11335
- };
11336
- newsletter_settings: {
11337
- Row: {
11338
- charity_number: string | null;
11339
- company_registration_number: string | null;
11340
- created_at: string;
11341
- from_localpart: string;
11342
- from_name: string | null;
11343
- reply_to_email: string | null;
11344
- sender_address_line_1: string | null;
11345
- sender_address_line_2: string | null;
11346
- sender_address_source: string;
11347
- sender_city: string | null;
11348
- sender_country: string | null;
11349
- sender_display_name: string | null;
11350
- sender_entity_type: Database["public"]["Enums"]["newsletter_sender_entity_type"];
11351
- sender_postcode: string | null;
11352
- site_id: string;
11353
- track_clicks: boolean;
11354
- track_opens: boolean;
11355
- updated_at: string;
11356
- vat_number: string | null;
11357
- };
11358
- Insert: {
11359
- charity_number?: string | null;
11360
- company_registration_number?: string | null;
11477
+ charity_number?: string | null;
11478
+ company_registration_number?: string | null;
11361
11479
  created_at?: string;
11362
11480
  from_localpart?: string;
11363
11481
  from_name?: string | null;
@@ -11458,9 +11576,13 @@ export type Database = {
11458
11576
  anonymized_by: string | null;
11459
11577
  confirm_token_expires_at: string | null;
11460
11578
  confirm_token_hash: string | null;
11579
+ confirmation_list_ids: string[] | null;
11580
+ confirmation_revision: number | null;
11581
+ confirmed_at: string | null;
11461
11582
  consent_ip: string | null;
11462
11583
  consent_metadata: Json | null;
11463
11584
  consent_referer: string | null;
11585
+ consent_revision: number;
11464
11586
  consent_source: string | null;
11465
11587
  consent_source_block_id: string | null;
11466
11588
  consent_user_agent: string | null;
@@ -11489,9 +11611,13 @@ export type Database = {
11489
11611
  anonymized_by?: string | null;
11490
11612
  confirm_token_expires_at?: string | null;
11491
11613
  confirm_token_hash?: string | null;
11614
+ confirmation_list_ids?: string[] | null;
11615
+ confirmation_revision?: number | null;
11616
+ confirmed_at?: string | null;
11492
11617
  consent_ip?: string | null;
11493
11618
  consent_metadata?: Json | null;
11494
11619
  consent_referer?: string | null;
11620
+ consent_revision?: number;
11495
11621
  consent_source?: string | null;
11496
11622
  consent_source_block_id?: string | null;
11497
11623
  consent_user_agent?: string | null;
@@ -11520,9 +11646,13 @@ export type Database = {
11520
11646
  anonymized_by?: string | null;
11521
11647
  confirm_token_expires_at?: string | null;
11522
11648
  confirm_token_hash?: string | null;
11649
+ confirmation_list_ids?: string[] | null;
11650
+ confirmation_revision?: number | null;
11651
+ confirmed_at?: string | null;
11523
11652
  consent_ip?: string | null;
11524
11653
  consent_metadata?: Json | null;
11525
11654
  consent_referer?: string | null;
11655
+ consent_revision?: number;
11526
11656
  consent_source?: string | null;
11527
11657
  consent_source_block_id?: string | null;
11528
11658
  consent_user_agent?: string | null;
@@ -11602,6 +11732,10 @@ export type Database = {
11602
11732
  brand_guidelines: Json | null;
11603
11733
  cancelled_at: string | null;
11604
11734
  completed_at: string | null;
11735
+ confirmation_resend_count: number;
11736
+ confirmation_resend_previous_resent_at: string | null;
11737
+ confirmation_resend_reservation_id: string | null;
11738
+ confirmation_resent_at: string | null;
11605
11739
  created_at: string;
11606
11740
  generate_request: Json;
11607
11741
  generation_intake: Json;
@@ -11628,6 +11762,10 @@ export type Database = {
11628
11762
  brand_guidelines?: Json | null;
11629
11763
  cancelled_at?: string | null;
11630
11764
  completed_at?: string | null;
11765
+ confirmation_resend_count?: number;
11766
+ confirmation_resend_previous_resent_at?: string | null;
11767
+ confirmation_resend_reservation_id?: string | null;
11768
+ confirmation_resent_at?: string | null;
11631
11769
  created_at?: string;
11632
11770
  generate_request: Json;
11633
11771
  generation_intake: Json;
@@ -11654,6 +11792,10 @@ export type Database = {
11654
11792
  brand_guidelines?: Json | null;
11655
11793
  cancelled_at?: string | null;
11656
11794
  completed_at?: string | null;
11795
+ confirmation_resend_count?: number;
11796
+ confirmation_resend_previous_resent_at?: string | null;
11797
+ confirmation_resend_reservation_id?: string | null;
11798
+ confirmation_resent_at?: string | null;
11657
11799
  created_at?: string;
11658
11800
  generate_request?: Json;
11659
11801
  generation_intake?: Json;
@@ -15606,6 +15748,7 @@ export type Database = {
15606
15748
  hosted_booking_appearance: Json | null;
15607
15749
  legal_profile: Json | null;
15608
15750
  logo_asset_id: string | null;
15751
+ logo_dark_background_asset_id: string | null;
15609
15752
  notification_email: string | null;
15610
15753
  person_record_mode: string;
15611
15754
  public_experience: string;
@@ -15641,6 +15784,7 @@ export type Database = {
15641
15784
  hosted_booking_appearance?: Json | null;
15642
15785
  legal_profile?: Json | null;
15643
15786
  logo_asset_id?: string | null;
15787
+ logo_dark_background_asset_id?: string | null;
15644
15788
  notification_email?: string | null;
15645
15789
  person_record_mode?: string;
15646
15790
  public_experience?: string;
@@ -15676,6 +15820,7 @@ export type Database = {
15676
15820
  hosted_booking_appearance?: Json | null;
15677
15821
  legal_profile?: Json | null;
15678
15822
  logo_asset_id?: string | null;
15823
+ logo_dark_background_asset_id?: string | null;
15679
15824
  notification_email?: string | null;
15680
15825
  person_record_mode?: string;
15681
15826
  public_experience?: string;
@@ -15711,6 +15856,13 @@ export type Database = {
15711
15856
  referencedRelation: "media_assets";
15712
15857
  referencedColumns: ["id"];
15713
15858
  },
15859
+ {
15860
+ foreignKeyName: "site_settings_logo_dark_background_asset_id_fkey";
15861
+ columns: ["logo_dark_background_asset_id"];
15862
+ isOneToOne: false;
15863
+ referencedRelation: "media_assets";
15864
+ referencedColumns: ["id"];
15865
+ },
15714
15866
  {
15715
15867
  foreignKeyName: "site_settings_site_id_fkey";
15716
15868
  columns: ["site_id"];
@@ -18016,6 +18168,14 @@ export type Database = {
18016
18168
  };
18017
18169
  Returns: boolean;
18018
18170
  };
18171
+ append_appointment_service_to_category: {
18172
+ Args: {
18173
+ p_category_id?: string;
18174
+ p_service_id: string;
18175
+ p_site_id: string;
18176
+ };
18177
+ Returns: string;
18178
+ };
18019
18179
  apply_canonical_order_refund_projection: {
18020
18180
  Args: {
18021
18181
  p_expected_order_refunded_cents: number;
@@ -19277,6 +19437,59 @@ export type Database = {
19277
19437
  };
19278
19438
  Returns: Json;
19279
19439
  };
19440
+ create_page_with_route: {
19441
+ Args: {
19442
+ p_draft_meta_description?: string;
19443
+ p_draft_meta_title?: string;
19444
+ p_identifier: string;
19445
+ p_path: string;
19446
+ p_published_meta_title?: string;
19447
+ p_purpose: string;
19448
+ p_site_id: string;
19449
+ p_title: string;
19450
+ p_user_id: string;
19451
+ };
19452
+ Returns: {
19453
+ canonical_url: string | null;
19454
+ created_at: string;
19455
+ created_by: string | null;
19456
+ deleted_at: string | null;
19457
+ deleted_by: string | null;
19458
+ draft_meta_description: string | null;
19459
+ draft_meta_title: string | null;
19460
+ draft_path: string;
19461
+ draft_slug: string | null;
19462
+ draft_status: Database["public"]["Enums"]["route_status"];
19463
+ draft_title: string;
19464
+ draft_updated_at: string;
19465
+ id: string;
19466
+ node_id: string;
19467
+ node_type: Database["public"]["Enums"]["route_node_type"];
19468
+ og_image_id: string | null;
19469
+ published_at: string | null;
19470
+ published_meta_description: string | null;
19471
+ published_meta_title: string | null;
19472
+ published_path: string;
19473
+ published_slug: string | null;
19474
+ published_title: string;
19475
+ scheduled_publish_at: string | null;
19476
+ scheduled_publish_attempts: number;
19477
+ scheduled_publish_failed_at: string | null;
19478
+ scheduled_publish_last_error: string | null;
19479
+ scheduled_publish_last_error_at: string | null;
19480
+ scheduled_publish_requested_by: string | null;
19481
+ site_id: string;
19482
+ status: Database["public"]["Enums"]["route_status"];
19483
+ updated_at: string;
19484
+ updated_by: string | null;
19485
+ };
19486
+ SetofOptions: {
19487
+ from: "*";
19488
+ to: "site_routes";
19489
+ isOneToOne: true;
19490
+ isSetofReturn: false;
19491
+ };
19492
+ };
19280
19493
  create_site_invitation: {
19281
19494
  Args: {
19282
19495
  p_email: string;
@@ -19377,6 +19590,13 @@ export type Database = {
19377
19590
  used_capacity: number;
19378
19591
  }[];
19379
19592
  };
19593
+ delete_appointment_service_category: {
19594
+ Args: {
19595
+ p_category_id: string;
19596
+ p_site_id: string;
19597
+ };
19598
+ Returns: string;
19599
+ };
19380
19600
  delete_event_occurrence_if_unregistered: {
19381
19601
  Args: {
19382
19602
  p_occurrence_id: string;
@@ -19458,6 +19678,38 @@ export type Database = {
19458
19678
  holds_cancelled: number;
19459
19679
  }[];
19460
19680
  };
19681
+ email_apply_webhook_receipt_atomic: {
19682
+ Args: {
19683
+ p_receipt_id: string;
19684
+ };
19685
+ Returns: string;
19686
+ };
19687
+ email_feedback_last_event: {
19688
+ Args: {
19689
+ p_email_id: string;
19690
+ };
19691
+ Returns: Json;
19692
+ };
19693
+ email_issue_evidence: {
19694
+ Args: {
19695
+ p_limit?: number;
19696
+ p_offset?: number;
19697
+ };
19698
+ Returns: Json;
19699
+ };
19700
+ email_reconcile_receipt_audits: {
19701
+ Args: {
19702
+ p_limit?: number;
19703
+ };
19704
+ Returns: number;
19705
+ };
19706
+ email_status_from_feedback: {
19707
+ Args: {
19708
+ p_email_id: string;
19709
+ p_fallback: string;
19710
+ };
19711
+ Returns: string;
19712
+ };
19461
19713
  enqueue_participant_roster_assertion_job: {
19462
19714
  Args: {
19463
19715
  p_customer_id: string;
@@ -19979,60 +20231,149 @@ export type Database = {
19979
20231
  };
19980
20232
  Returns: undefined;
19981
20233
  };
19982
- newsletter_claim_send_jobs: {
20234
+ newsletter_begin_attempt_atomic: {
19983
20235
  Args: {
19984
- p_limit: number;
19985
- p_worker_id: string;
20236
+ p_claim_token: string;
20237
+ p_delivery_id: string;
20238
+ };
20239
+ Returns: string;
20240
+ };
20241
+ newsletter_capture_audience_atomic: {
20242
+ Args: {
20243
+ p_campaign_id: string;
19986
20244
  };
20245
+ Returns: number;
20246
+ };
20247
+ newsletter_claim_delivery_atomic: {
20248
+ Args: never;
19987
20249
  Returns: {
20250
+ accepted_at: string | null;
19988
20251
  attempt_count: number;
20252
+ bounce_type: string | null;
20253
+ bounced_at: string | null;
19989
20254
  campaign_id: string;
20255
+ captured_email: string | null;
20256
+ claim_expires_at: string | null;
20257
+ claim_token: string | null;
20258
+ click_count: number;
20259
+ clicked_at: string | null;
20260
+ complained_at: string | null;
19990
20261
  created_at: string;
20262
+ delivered_at: string | null;
20263
+ first_possible_acceptance_at: string | null;
19991
20264
  id: string;
19992
- last_error: string | null;
19993
- locked_at: string | null;
19994
- locked_by: string | null;
19995
- max_attempts: number;
19996
- run_after: string | null;
20265
+ last_error_code: string | null;
20266
+ next_attempt_at: string | null;
20267
+ open_count: number;
20268
+ opened_at: string | null;
20269
+ payload_json: Json | null;
20270
+ provider_message_id: string | null;
20271
+ reason: Database["public"]["Enums"]["newsletter_delivery_reason"] | null;
20272
+ retry_cutoff_at: string | null;
19997
20273
  site_id: string;
19998
- status: Database["public"]["Enums"]["newsletter_send_job_status"];
20274
+ state: Database["public"]["Enums"]["newsletter_delivery_state"];
20275
+ subscriber_id: string | null;
20276
+ unsubscribed_at: string | null;
19999
20277
  updated_at: string;
20000
20278
  }[];
20001
20279
  SetofOptions: {
20002
20280
  from: "*";
20003
- to: "newsletter_send_jobs";
20281
+ to: "newsletter_campaign_deliveries";
20004
20282
  isOneToOne: false;
20005
20283
  isSetofReturn: true;
20006
20284
  };
20007
20285
  };
20286
+ newsletter_complete_campaign_atomic: {
20287
+ Args: {
20288
+ p_campaign_id: string;
20289
+ };
20290
+ Returns: boolean;
20291
+ };
20292
+ newsletter_complete_idle_campaigns: {
20293
+ Args: never;
20294
+ Returns: string[];
20295
+ };
20296
+ newsletter_confirm_atomic: {
20297
+ Args: {
20298
+ p_hash: string;
20299
+ p_site_id: string;
20300
+ };
20301
+ Returns: boolean;
20302
+ };
20008
20303
  newsletter_count_recipients: {
20009
20304
  Args: {
20010
20305
  p_list_ids: string[];
20011
- p_mode: string;
20012
20306
  p_site_id: string;
20013
20307
  p_tags: string[];
20014
20308
  };
20015
20309
  Returns: number;
20016
20310
  };
20017
- newsletter_recompute_campaign_stats: {
20311
+ newsletter_delivery_stats: {
20312
+ Args: {
20313
+ p_campaign_id: string;
20314
+ };
20315
+ Returns: {
20316
+ bounced_count: number;
20317
+ clicked_count: number;
20318
+ complained_count: number;
20319
+ delivered_count: number;
20320
+ last_activity_at: string;
20321
+ not_sent_count: number;
20322
+ not_sent_reasons: Json;
20323
+ opened_count: number;
20324
+ remaining_count: number;
20325
+ selected_count: number;
20326
+ sent_count: number;
20327
+ unknown_count: number;
20328
+ unsubscribed_count: number;
20329
+ }[];
20330
+ };
20331
+ newsletter_finish_campaign_atomic: {
20018
20332
  Args: {
20019
20333
  p_campaign_id: string;
20334
+ p_reason: string;
20335
+ };
20336
+ Returns: boolean;
20337
+ };
20338
+ newsletter_preferences_atomic: {
20339
+ Args: {
20340
+ p_campaign_id?: string;
20341
+ p_list_ids: string[];
20342
+ p_nonce: string;
20020
20343
  p_site_id: string;
20344
+ p_subscriber_id: string;
20345
+ p_unsubscribe?: boolean;
20021
20346
  };
20022
- Returns: undefined;
20347
+ Returns: string;
20023
20348
  };
20024
- newsletter_select_recipients: {
20349
+ newsletter_record_acceptance_atomic: {
20025
20350
  Args: {
20026
- p_limit: number;
20351
+ p_delivery_id: string;
20352
+ p_provider_message_id: string;
20353
+ };
20354
+ Returns: string;
20355
+ };
20356
+ newsletter_signup_atomic: {
20357
+ Args: {
20358
+ p_confirmation_expires_at: string;
20359
+ p_confirmation_hash: string;
20360
+ p_consent: Json;
20361
+ p_double_opt_in: boolean;
20362
+ p_email: string;
20027
20363
  p_list_ids: string[];
20028
- p_mode: string;
20029
- p_offset: number;
20364
+ p_profile: Json;
20030
20365
  p_site_id: string;
20031
- p_tags: string[];
20032
20366
  };
20033
- Returns: {
20034
- subscriber_id: string;
20035
- }[];
20367
+ Returns: boolean;
20368
+ };
20369
+ newsletter_suppress_address_atomic: {
20370
+ Args: {
20371
+ p_email: string;
20372
+ p_observed_at?: string;
20373
+ p_reason: string;
20374
+ p_site_id: string;
20375
+ };
20376
+ Returns: undefined;
20036
20377
  };
20037
20378
  newsletter_update_list_memberships: {
20038
20379
  Args: {
@@ -20421,6 +20762,13 @@ export type Database = {
20421
20762
  outcome: string;
20422
20763
  }[];
20423
20764
  };
20765
+ release_onboarding_confirmation_resend_atomic: {
20766
+ Args: {
20767
+ p_attempt_id: string;
20768
+ p_reservation_id: string;
20769
+ };
20770
+ Returns: boolean;
20771
+ };
20424
20772
  release_site_invitation_resend_claim: {
20425
20773
  Args: {
20426
20774
  p_actor_user_id: string;
@@ -20485,6 +20833,23 @@ export type Database = {
20485
20833
  locked_until: string;
20486
20834
  }[];
20487
20835
  };
20836
+ reorder_appointment_service_categories: {
20837
+ Args: {
20838
+ p_expected_order: string[];
20839
+ p_next_order: string[];
20840
+ p_site_id: string;
20841
+ };
20842
+ Returns: string;
20843
+ };
20844
+ reorder_appointment_services: {
20845
+ Args: {
20846
+ p_category_id?: string;
20847
+ p_expected_order: string[];
20848
+ p_next_order: string[];
20849
+ p_site_id: string;
20850
+ };
20851
+ Returns: string;
20852
+ };
20488
20853
  replace_appointment_availability_schedule_payload: {
20489
20854
  Args: {
20490
20855
  p_interval_minutes: number;
@@ -20581,6 +20946,15 @@ export type Database = {
20581
20946
  reservation_id: string;
20582
20947
  }[];
20583
20948
  };
20949
+ reserve_onboarding_confirmation_resend_atomic: {
20950
+ Args: {
20951
+ p_attempt_id: string;
20952
+ p_cooldown_seconds: number;
20953
+ p_limit: number;
20954
+ p_reservation_id: string;
20955
+ };
20956
+ Returns: Json;
20957
+ };
20584
20958
  reserve_order_refund_capacity: {
20585
20959
  Args: {
20586
20960
  p_refund: Json;
@@ -20797,6 +21171,53 @@ export type Database = {
20797
21171
  };
20798
21172
  Returns: boolean;
20799
21173
  };
21174
+ soft_delete_page_with_route: {
21175
+ Args: {
21176
+ p_page_id: string;
21177
+ p_site_id: string;
21178
+ p_user_id: string;
21179
+ };
21180
+ Returns: {
21181
+ canonical_url: string | null;
21182
+ created_at: string;
21183
+ created_by: string | null;
21184
+ deleted_at: string | null;
21185
+ deleted_by: string | null;
21186
+ draft_meta_description: string | null;
21187
+ draft_meta_title: string | null;
21188
+ draft_path: string;
21189
+ draft_slug: string | null;
21190
+ draft_status: Database["public"]["Enums"]["route_status"];
21191
+ draft_title: string;
21192
+ draft_updated_at: string;
21193
+ id: string;
21194
+ node_id: string;
21195
+ node_type: Database["public"]["Enums"]["route_node_type"];
21196
+ og_image_id: string | null;
21197
+ published_at: string | null;
21198
+ published_meta_description: string | null;
21199
+ published_meta_title: string | null;
21200
+ published_path: string;
21201
+ published_slug: string | null;
21202
+ published_title: string;
21203
+ scheduled_publish_at: string | null;
21204
+ scheduled_publish_attempts: number;
21205
+ scheduled_publish_failed_at: string | null;
21206
+ scheduled_publish_last_error: string | null;
21207
+ scheduled_publish_last_error_at: string | null;
21208
+ scheduled_publish_requested_by: string | null;
21209
+ site_id: string;
21210
+ status: Database["public"]["Enums"]["route_status"];
21211
+ updated_at: string;
21212
+ updated_by: string | null;
21213
+ };
21214
+ SetofOptions: {
21215
+ from: "*";
21216
+ to: "site_routes";
21217
+ isOneToOne: true;
21218
+ isSetofReturn: false;
21219
+ };
21220
+ };
20800
21221
  staff_member_has_customer_record_relationship: {
20801
21222
  Args: {
20802
21223
  p_customer_id: string;
@@ -21172,6 +21593,16 @@ export type Database = {
21172
21593
  next_available_at: string;
21173
21594
  }[];
21174
21595
  };
21596
+ try_acquire_newsletter_email_capacity: {
21597
+ Args: {
21598
+ p_interval_ms: number;
21599
+ p_provider: string;
21600
+ };
21601
+ Returns: {
21602
+ allowed: boolean;
21603
+ next_available_at: string;
21604
+ }[];
21605
+ };
21175
21606
  try_cast_boolean: {
21176
21607
  Args: {
21177
21608
  input: string;
@@ -21622,8 +22053,10 @@ export type Database = {
21622
22053
  mailchimp_oauth_state_action: "connect" | "reauth";
21623
22054
  mailchimp_reauth_reason: "token_revoked" | "account_access_lost" | "permission_denied" | "unknown_auth_failure";
21624
22055
  navigation_location: "main" | "footer" | "legal";
21625
- newsletter_campaign_status: "draft" | "scheduled" | "sending" | "sent" | "cancelled" | "failed";
21626
- newsletter_send_job_status: "pending" | "processing" | "completed" | "failed" | "cancelled";
22056
+ newsletter_campaign_control_state: "draft" | "scheduled" | "sending" | "finished";
22057
+ newsletter_campaign_finish_reason: "completed" | "stopped_by_owner" | "deadline_reached" | "campaign_blocked";
22058
+ newsletter_delivery_reason: "ineligible" | "address_changed" | "owner_stopped" | "deadline" | "campaign_blocked" | "definitive_rejection" | "retry_cutoff" | "attempts_exhausted" | "payload_mismatch";
22059
+ newsletter_delivery_state: "pending" | "claimed" | "retry_wait" | "accepted" | "not_sent" | "unresolved";
21627
22060
  newsletter_sender_entity_type: "individual" | "company" | "llp" | "charity" | "other";
21628
22061
  newsletter_subscriber_status: "pending_confirmation" | "active" | "unsubscribed";
21629
22062
  plan_price_interval: "month" | "year";
@@ -22291,8 +22724,10 @@ export declare const Constants: {
22291
22724
  readonly mailchimp_oauth_state_action: readonly ["connect", "reauth"];
22292
22725
  readonly mailchimp_reauth_reason: readonly ["token_revoked", "account_access_lost", "permission_denied", "unknown_auth_failure"];
22293
22726
  readonly navigation_location: readonly ["main", "footer", "legal"];
22294
- readonly newsletter_campaign_status: readonly ["draft", "scheduled", "sending", "sent", "cancelled", "failed"];
22295
- readonly newsletter_send_job_status: readonly ["pending", "processing", "completed", "failed", "cancelled"];
22727
+ readonly newsletter_campaign_control_state: readonly ["draft", "scheduled", "sending", "finished"];
22728
+ readonly newsletter_campaign_finish_reason: readonly ["completed", "stopped_by_owner", "deadline_reached", "campaign_blocked"];
22729
+ readonly newsletter_delivery_reason: readonly ["ineligible", "address_changed", "owner_stopped", "deadline", "campaign_blocked", "definitive_rejection", "retry_cutoff", "attempts_exhausted", "payload_mismatch"];
22730
+ readonly newsletter_delivery_state: readonly ["pending", "claimed", "retry_wait", "accepted", "not_sent", "unresolved"];
22296
22731
  readonly newsletter_sender_entity_type: readonly ["individual", "company", "llp", "charity", "other"];
22297
22732
  readonly newsletter_subscriber_status: readonly ["pending_confirmation", "active", "unsubscribed"];
22298
22733
  readonly plan_price_interval: readonly ["month", "year"];