@riverbankcms/sdk 0.171.1 → 0.172.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 (210) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-DViYbakk.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-DZBOzd3U.d.ts} +1 -2
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
  9. package/dist/_dts/{index-BQPJbOkU.d.ts → index-BnMavhoh.d.ts} +2 -2
  10. package/dist/_dts/{index-DScYSl03.d.ts → index-C0zjLMAW.d.ts} +49 -38
  11. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-CpOkfBt1.d.ts} +3 -3
  12. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-Da4UMgbs.d.ts} +2 -2
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-DkFV_1Bc.d.ts} +1 -1
  14. package/dist/_dts/{index-Sua-7CF1.d.ts → index-Dns7OHyl.d.ts} +1 -1
  15. package/dist/_dts/{index-B3gfKNI-.d.ts → index-MuMYjetm.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-wQ28JWbr.d.ts} +1021 -247
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-Cc4zqaEC.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
  53. package/dist/_dts/{types-BCzfYDW2.d.ts → types-CpjyP5I4.d.ts} +7 -7
  54. package/dist/_dts/{types-JD-36x3P.d.ts → types-DrinAfeW.d.ts} +3 -3
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-ZuZoGsZV.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-sKBofjiW.mjs} +40 -14
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-Ds1s3DuC.mjs} +1426 -486
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-OsAseM7H.mjs} +36 -18
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-DgwFZJSx.mjs} +1 -1
  81. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
  82. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
  83. package/dist/client/bookings.mjs +5 -5
  84. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
  85. package/dist/client/{carousel-DeI76SEP.mjs → carousel-0sw2Kc3a.mjs} +2 -2
  86. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  87. package/dist/client/{cart-D_uxULCO.mjs → cart-CPfvMDGJ.mjs} +3 -3
  88. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BJBPUTmg.mjs} +1 -1
  89. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-DU4JFjGT.mjs} +3 -3
  90. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
  91. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
  92. package/dist/client/client.mjs +135 -4
  93. package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
  94. package/dist/client/{cta-CP9l112u.mjs → cta-CNVQHLKs.mjs} +53 -11
  95. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
  97. package/dist/client/{display-ChgDe9Da.mjs → display-B5DfNb6A.mjs} +1869 -333
  98. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
  99. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
  100. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
  101. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
  102. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
  103. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
  104. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-EhSDk4UL.mjs} +4 -4
  105. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
  106. package/dist/client/{form-ERv_X_oZ.mjs → form-BfChzSkS.mjs} +3 -3
  107. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D1zehtPk.mjs} +4 -4
  108. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-rMDlUQIv.mjs} +3 -3
  109. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
  110. package/dist/client/gifting/client.mjs +3 -3
  111. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BX9bQ84k.mjs} +2 -2
  112. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
  113. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
  114. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
  115. package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
  116. package/dist/client/portal/client.mjs +231 -117
  117. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
  118. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-CDL-jihv.mjs} +1 -1
  119. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-B97m0uZy.mjs} +3 -3
  120. package/dist/client/{productList-HoFGQXFl.mjs → productList-DE4vSSG_.mjs} +3 -3
  121. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
  122. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cn8XjRte.mjs} +1458 -1178
  123. package/dist/client/rendering/client.mjs +27 -27
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +22 -16
  126. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
  128. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
  129. package/dist/client/runtimeResponse-CPcA8xSm.mjs +3 -0
  130. package/dist/client/{shop-DXyeSNgi.mjs → shop-BC4H0oYT.mjs} +3 -3
  131. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
  132. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
  133. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-WgGVGelc.mjs} +12 -12
  134. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
  135. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-BE6TEk2A.mjs} +2 -2
  136. package/dist/client/spam-protection.mjs +1 -1
  137. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
  138. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  139. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
  140. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
  141. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
  142. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
  143. package/dist/client/{view-DhEwiTJG.mjs → view-B0TFnP4y.mjs} +198 -60
  144. package/dist/client/{view-C_brMDU2.mjs → view-DNNNbnNj.mjs} +3 -3
  145. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  146. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  147. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  148. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-D59tHj_L.mjs} +25 -20
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +100 -70
  150. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI--kS9Cwsc.mjs} +5 -5
  151. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  152. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  153. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bi8-rclb.mjs} +311 -62
  154. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +301 -125
  155. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +584 -286
  156. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  157. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  158. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-Caofnr1Z.mjs} +7190 -4065
  159. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
  160. package/dist/preview-next/client/runtime.mjs +5 -4
  161. package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
  162. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
  163. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +20 -8
  164. package/dist/preview-next/container-responsive.css +215 -4
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-DsKDQoVW.mjs} +131 -0
  168. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
  169. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  170. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  171. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Bp6OnR3n.mjs} +109 -20
  172. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  173. package/dist/server/{client-DCwLR0kQ.mjs → client-dROAfMRa.mjs} +133 -2
  174. package/dist/server/config-template-validation.mjs +3 -0
  175. package/dist/server/config-validation.mjs +1 -1
  176. package/dist/server/config.mjs +2 -2
  177. package/dist/server/data/resolveBlockData.mjs +1 -1
  178. package/dist/server/index.mjs +3 -3
  179. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-zOIrtqz-.mjs} +19 -14
  180. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
  181. package/dist/server/next.mjs +6 -6
  182. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  183. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-DjboggbB.mjs} +1 -1
  184. package/dist/server/page-converter.mjs +1 -1
  185. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
  186. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
  187. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-BJjptSGp.mjs} +1039 -853
  188. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
  189. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-CntSkZQI.mjs} +1 -1
  190. package/dist/server/prebuild.mjs +1 -1
  191. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
  192. package/dist/server/{registry-CaeRTf4E.mjs → registry-wYH0LH5f.mjs} +7257 -4959
  193. package/dist/server/rendering/components/pageShared.mjs +1 -1
  194. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  195. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  196. package/dist/server/rendering/server.mjs +3 -3
  197. package/dist/server/rendering.mjs +7 -7
  198. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
  199. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  200. package/dist/server/{schema-CxBsE9Dv.mjs → schema-BFOqYIMQ.mjs} +2 -1
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/theme-bridge.mjs +2 -2
  203. package/dist/server/theme.mjs +2 -2
  204. package/dist/server/{validation-CvmhnkDr.mjs → validation-DAQdPDku.mjs} +4 -4
  205. package/dist/server/{version-Clp2evCf.mjs → version-DAB0O3yx.mjs} +1 -1
  206. package/dist/styles/index.css +1260 -15
  207. package/package.json +1 -1
  208. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  209. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  210. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
@@ -1,6 +1,35 @@
1
1
  import z, { z as z$1 } from "zod";
2
2
  import React, { CSSProperties, ComponentType, ReactNode } from "react";
3
3
 
4
+ //#region .cache/declarations/api/src/common/billingPlanChange.d.ts
5
+ /** Why a plan change was refused: team access to remove first, or a preview too old to charge from. */
6
+ declare const billingPlanChangeFailureSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7
+ kind: z$1.ZodLiteral<"access_blocked">;
8
+ sites: z$1.ZodArray<z$1.ZodObject<{
9
+ siteId: z$1.ZodString;
10
+ siteName: z$1.ZodString;
11
+ reasons: z$1.ZodArray<z$1.ZodEnum<{
12
+ multiple_active_staff: "multiple_active_staff";
13
+ operational_access_not_supported: "operational_access_not_supported";
14
+ website_collaboration_exceeds_target: "website_collaboration_exceeds_target";
15
+ }>>;
16
+ }, z$1.core.$strip>>;
17
+ }, z$1.core.$strip>, z$1.ZodObject<{
18
+ kind: z$1.ZodLiteral<"preview_expired">;
19
+ }, z$1.core.$strip>], "kind">;
20
+ type BillingPlanChangeFailure = z$1.infer<typeof billingPlanChangeFailureSchema>;
21
+ /**
22
+ * The figures a plan change was confirmed from: the preview's proration date
23
+ * and the monthly price it showed. The server refuses the change as
24
+ * `preview_expired` when the date is too old or the price it works out now is
25
+ * different, so an owner is never charged from figures they didn't see.
26
+ */
27
+ declare const planChangeQuoteSchema: z$1.ZodObject<{
28
+ prorationDate: z$1.ZodNumber;
29
+ monthlyPricePence: z$1.ZodNumber;
30
+ }, z$1.core.$strip>;
31
+ type PlanChangeQuote = z$1.infer<typeof planChangeQuoteSchema>;
32
+ //#endregion
4
33
  //#region .cache/declarations/api/src/domainConnection.d.ts
5
34
  type DomainVerificationRecord = Readonly<{
6
35
  type: string;
@@ -723,10 +752,10 @@ type Database = {
723
752
  };
724
753
  Relationships: [{
725
754
  foreignKeyName: "appointment_calendar_connections_resource_id_fkey";
726
- columns: ["resource_id"];
755
+ columns: ["resource_id", "site_id"];
727
756
  isOneToOne: false;
728
757
  referencedRelation: "staff_members";
729
- referencedColumns: ["id"];
758
+ referencedColumns: ["id", "site_id"];
730
759
  }, {
731
760
  foreignKeyName: "appointment_calendar_connections_site_id_fkey";
732
761
  columns: ["site_id"];
@@ -1120,6 +1149,7 @@ type Database = {
1120
1149
  price_amount: number | null;
1121
1150
  price_currency: string;
1122
1151
  price_display: string | null;
1152
+ requires_approval: boolean;
1123
1153
  settings_json: Json;
1124
1154
  site_id: string;
1125
1155
  site_terms_mode: string;
@@ -1149,6 +1179,7 @@ type Database = {
1149
1179
  price_amount?: number | null;
1150
1180
  price_currency?: string;
1151
1181
  price_display?: string | null;
1182
+ requires_approval?: boolean;
1152
1183
  settings_json?: Json;
1153
1184
  site_id: string;
1154
1185
  site_terms_mode?: string;
@@ -1178,6 +1209,7 @@ type Database = {
1178
1209
  price_amount?: number | null;
1179
1210
  price_currency?: string;
1180
1211
  price_display?: string | null;
1212
+ requires_approval?: boolean;
1181
1213
  settings_json?: Json;
1182
1214
  site_id?: string;
1183
1215
  site_terms_mode?: string;
@@ -1380,16 +1412,10 @@ type Database = {
1380
1412
  referencedColumns: ["id", "site_id"];
1381
1413
  }, {
1382
1414
  foreignKeyName: "appointments_customer_id_fkey";
1383
- columns: ["customer_id"];
1415
+ columns: ["customer_id", "site_id"];
1384
1416
  isOneToOne: false;
1385
1417
  referencedRelation: "booking_customers";
1386
- referencedColumns: ["id"];
1387
- }, {
1388
- foreignKeyName: "appointments_customer_id_fkey";
1389
- columns: ["customer_id"];
1390
- isOneToOne: false;
1391
- referencedRelation: "event_booking_restore_activity_v1";
1392
- referencedColumns: ["customer_id"];
1418
+ referencedColumns: ["id", "site_id"];
1393
1419
  }, {
1394
1420
  foreignKeyName: "appointments_form_id_fkey";
1395
1421
  columns: ["form_id"];
@@ -1398,16 +1424,16 @@ type Database = {
1398
1424
  referencedColumns: ["id"];
1399
1425
  }, {
1400
1426
  foreignKeyName: "appointments_resource_id_fkey";
1401
- columns: ["resource_id"];
1427
+ columns: ["resource_id", "site_id"];
1402
1428
  isOneToOne: false;
1403
1429
  referencedRelation: "staff_members";
1404
- referencedColumns: ["id"];
1430
+ referencedColumns: ["id", "site_id"];
1405
1431
  }, {
1406
1432
  foreignKeyName: "appointments_service_id_fkey";
1407
- columns: ["service_id"];
1433
+ columns: ["service_id", "site_id"];
1408
1434
  isOneToOne: false;
1409
1435
  referencedRelation: "appointment_services";
1410
- referencedColumns: ["id"];
1436
+ referencedColumns: ["id", "site_id"];
1411
1437
  }, {
1412
1438
  foreignKeyName: "appointments_site_id_fkey";
1413
1439
  columns: ["site_id"];
@@ -1872,6 +1898,7 @@ type Database = {
1872
1898
  cancel_at_period_end: boolean;
1873
1899
  created_at: string;
1874
1900
  current_period_end: string | null;
1901
+ observed_at: string | null;
1875
1902
  plan_id: string;
1876
1903
  raw: Json | null;
1877
1904
  status: string;
@@ -1887,6 +1914,7 @@ type Database = {
1887
1914
  cancel_at_period_end?: boolean;
1888
1915
  created_at?: string;
1889
1916
  current_period_end?: string | null;
1917
+ observed_at?: string | null;
1890
1918
  plan_id: string;
1891
1919
  raw?: Json | null;
1892
1920
  status: string;
@@ -1902,6 +1930,7 @@ type Database = {
1902
1930
  cancel_at_period_end?: boolean;
1903
1931
  created_at?: string;
1904
1932
  current_period_end?: string | null;
1933
+ observed_at?: string | null;
1905
1934
  plan_id?: string;
1906
1935
  raw?: Json | null;
1907
1936
  status?: string;
@@ -15579,6 +15608,75 @@ type Database = {
15579
15608
  referencedColumns: ["id"];
15580
15609
  }];
15581
15610
  };
15611
+ site_domain_registration_claims: {
15612
+ Row: {
15613
+ completed_at: string | null;
15614
+ created_at: string;
15615
+ domain: string;
15616
+ id: string;
15617
+ last_error: string | null;
15618
+ reconciliation_checked_at: string | null;
15619
+ registrar_order_id: string | null;
15620
+ registrar_requested_at: string | null;
15621
+ replaces_site_domain_id: string | null;
15622
+ site_domain_id: string | null;
15623
+ site_id: string | null;
15624
+ status: string;
15625
+ updated_at: string;
15626
+ user_id: string;
15627
+ };
15628
+ Insert: {
15629
+ completed_at?: string | null;
15630
+ created_at?: string;
15631
+ domain: string;
15632
+ id?: string;
15633
+ last_error?: string | null;
15634
+ reconciliation_checked_at?: string | null;
15635
+ registrar_order_id?: string | null;
15636
+ registrar_requested_at?: string | null;
15637
+ replaces_site_domain_id?: string | null;
15638
+ site_domain_id?: string | null;
15639
+ site_id?: string | null;
15640
+ status?: string;
15641
+ updated_at?: string;
15642
+ user_id: string;
15643
+ };
15644
+ Update: {
15645
+ completed_at?: string | null;
15646
+ created_at?: string;
15647
+ domain?: string;
15648
+ id?: string;
15649
+ last_error?: string | null;
15650
+ reconciliation_checked_at?: string | null;
15651
+ registrar_order_id?: string | null;
15652
+ registrar_requested_at?: string | null;
15653
+ replaces_site_domain_id?: string | null;
15654
+ site_domain_id?: string | null;
15655
+ site_id?: string | null;
15656
+ status?: string;
15657
+ updated_at?: string;
15658
+ user_id?: string;
15659
+ };
15660
+ Relationships: [{
15661
+ foreignKeyName: "site_domain_registration_claims_replaces_site_domain_id_fkey";
15662
+ columns: ["replaces_site_domain_id"];
15663
+ isOneToOne: false;
15664
+ referencedRelation: "site_domains";
15665
+ referencedColumns: ["id"];
15666
+ }, {
15667
+ foreignKeyName: "site_domain_registration_claims_site_domain_id_fkey";
15668
+ columns: ["site_domain_id"];
15669
+ isOneToOne: false;
15670
+ referencedRelation: "site_domains";
15671
+ referencedColumns: ["id"];
15672
+ }, {
15673
+ foreignKeyName: "site_domain_registration_claims_site_id_fkey";
15674
+ columns: ["site_id"];
15675
+ isOneToOne: false;
15676
+ referencedRelation: "sites";
15677
+ referencedColumns: ["id"];
15678
+ }];
15679
+ };
15582
15680
  site_domains: {
15583
15681
  Row: {
15584
15682
  config_error: string | null;
@@ -18416,16 +18514,10 @@ type Database = {
18416
18514
  referencedColumns: ["id", "site_id"];
18417
18515
  }, {
18418
18516
  foreignKeyName: "appointments_customer_id_fkey";
18419
- columns: ["customer_id"];
18517
+ columns: ["customer_id", "site_id"];
18420
18518
  isOneToOne: false;
18421
18519
  referencedRelation: "booking_customers";
18422
- referencedColumns: ["id"];
18423
- }, {
18424
- foreignKeyName: "appointments_customer_id_fkey";
18425
- columns: ["customer_id"];
18426
- isOneToOne: false;
18427
- referencedRelation: "event_booking_restore_activity_v1";
18428
- referencedColumns: ["customer_id"];
18520
+ referencedColumns: ["id", "site_id"];
18429
18521
  }, {
18430
18522
  foreignKeyName: "appointments_form_id_fkey";
18431
18523
  columns: ["form_id"];
@@ -18434,16 +18526,16 @@ type Database = {
18434
18526
  referencedColumns: ["id"];
18435
18527
  }, {
18436
18528
  foreignKeyName: "appointments_resource_id_fkey";
18437
- columns: ["resource_id"];
18529
+ columns: ["resource_id", "site_id"];
18438
18530
  isOneToOne: false;
18439
18531
  referencedRelation: "staff_members";
18440
- referencedColumns: ["id"];
18532
+ referencedColumns: ["id", "site_id"];
18441
18533
  }, {
18442
18534
  foreignKeyName: "appointments_service_id_fkey";
18443
- columns: ["service_id"];
18535
+ columns: ["service_id", "site_id"];
18444
18536
  isOneToOne: false;
18445
18537
  referencedRelation: "appointment_services";
18446
- referencedColumns: ["id"];
18538
+ referencedColumns: ["id", "site_id"];
18447
18539
  }, {
18448
18540
  foreignKeyName: "appointments_site_id_fkey";
18449
18541
  columns: ["site_id"];
@@ -18468,16 +18560,10 @@ type Database = {
18468
18560
  };
18469
18561
  Relationships: [{
18470
18562
  foreignKeyName: "appointments_customer_id_fkey";
18471
- columns: ["customer_id"];
18563
+ columns: ["customer_id", "site_id"];
18472
18564
  isOneToOne: false;
18473
18565
  referencedRelation: "booking_customers";
18474
- referencedColumns: ["id"];
18475
- }, {
18476
- foreignKeyName: "appointments_customer_id_fkey";
18477
- columns: ["customer_id"];
18478
- isOneToOne: false;
18479
- referencedRelation: "event_booking_restore_activity_v1";
18480
- referencedColumns: ["customer_id"];
18566
+ referencedColumns: ["id", "site_id"];
18481
18567
  }, {
18482
18568
  foreignKeyName: "appointments_site_id_fkey";
18483
18569
  columns: ["site_id"];
@@ -19593,6 +19679,19 @@ type Database = {
19593
19679
  isSetofReturn: false;
19594
19680
  };
19595
19681
  };
19682
+ accept_course_run_business_cancellation_v1: {
19683
+ Args: {
19684
+ p_archive_after?: boolean;
19685
+ p_initiator_user_id: string;
19686
+ p_operation_id: string;
19687
+ p_origin?: Json;
19688
+ p_registration_ids: string[];
19689
+ p_series_id: string;
19690
+ p_settlement: Json;
19691
+ p_site_id: string;
19692
+ };
19693
+ Returns: string;
19694
+ };
19596
19695
  accept_order_retirement: {
19597
19696
  Args: {
19598
19697
  p_command: string;
@@ -20298,6 +20397,65 @@ type Database = {
20298
20397
  };
20299
20398
  Returns: boolean;
20300
20399
  };
20400
+ attach_claimed_site_domain: {
20401
+ Args: {
20402
+ p_claim_id: string;
20403
+ p_domain: Json;
20404
+ p_placement: string;
20405
+ };
20406
+ Returns: {
20407
+ config_error: string | null;
20408
+ config_status: string | null;
20409
+ config_updated_at: string | null;
20410
+ contact_address_line1: string | null;
20411
+ contact_address_line2: string | null;
20412
+ contact_city: string | null;
20413
+ contact_country: string | null;
20414
+ contact_email: string | null;
20415
+ contact_name: string | null;
20416
+ contact_organization: string | null;
20417
+ contact_phone: string | null;
20418
+ contact_postal_code: string | null;
20419
+ contact_snapshot: Json | null;
20420
+ contact_state: string | null;
20421
+ created_at: string;
20422
+ detached_at: string | null;
20423
+ domain: string;
20424
+ domain_type: string;
20425
+ id: string;
20426
+ lifecycle_operation: string | null;
20427
+ lifecycle_operation_at: string | null;
20428
+ registrar_auto_renew: boolean | null;
20429
+ registrar_email_verification_required: boolean | null;
20430
+ registrar_expires_at: string | null;
20431
+ registrar_last_response_code: number | null;
20432
+ registrar_last_synced_at: string | null;
20433
+ registrar_lifecycle_state: string | null;
20434
+ registrar_metadata: Json;
20435
+ registrar_order_id: string | null;
20436
+ registrar_privacy_enabled: boolean | null;
20437
+ registrar_provider: string | null;
20438
+ registrar_registered_at: string | null;
20439
+ registrar_renewal_checked_at: string | null;
20440
+ replaces_site_domain_id: string | null;
20441
+ resend_domain_id: string | null;
20442
+ resend_verification_checked_at: string | null;
20443
+ resend_verified: boolean;
20444
+ site_id: string;
20445
+ status: string;
20446
+ updated_at: string;
20447
+ use_www: boolean;
20448
+ user_id: string;
20449
+ vercel_config_id: string | null;
20450
+ vercel_verified: boolean | null;
20451
+ }[];
20452
+ SetofOptions: {
20453
+ from: "*";
20454
+ to: "site_domains";
20455
+ isOneToOne: false;
20456
+ isSetofReturn: true;
20457
+ };
20458
+ };
20301
20459
  begin_site_billing_transition_attempt_atomic: {
20302
20460
  Args: {
20303
20461
  p_billing_user_id?: string;
@@ -20625,6 +20783,21 @@ type Database = {
20625
20783
  };
20626
20784
  Returns: Json;
20627
20785
  };
20786
+ cancel_booking_with_pass_credit_restoration_v2: {
20787
+ Args: {
20788
+ p_actor_kind?: string;
20789
+ p_actor_user_id?: string;
20790
+ p_cancelled_at?: string;
20791
+ p_customer_id?: string;
20792
+ p_idempotency_key: string;
20793
+ p_origin?: Json;
20794
+ p_reason?: string;
20795
+ p_redemption_id: string;
20796
+ p_subject_id: string;
20797
+ p_subject_kind: string;
20798
+ };
20799
+ Returns: Json;
20800
+ };
20628
20801
  cancel_event_attendee_with_payment_admission: {
20629
20802
  Args: {
20630
20803
  p_actor_user_id?: string;
@@ -20679,6 +20852,7 @@ type Database = {
20679
20852
  p_reviewed_snapshot: string;
20680
20853
  p_scope_after?: string;
20681
20854
  p_scope_occurrence_ids: string[];
20855
+ p_settlement?: Json;
20682
20856
  p_site_id: string;
20683
20857
  };
20684
20858
  Returns: {
@@ -20739,8 +20913,10 @@ type Database = {
20739
20913
  p_initiator_user_id: string;
20740
20914
  p_occurrence_ids: string[];
20741
20915
  p_operation_id: string;
20916
+ p_origin?: Json;
20742
20917
  p_reviewed_snapshot: string;
20743
20918
  p_series_id: string;
20919
+ p_settlement?: Json;
20744
20920
  p_site_id: string;
20745
20921
  };
20746
20922
  Returns: {
@@ -20761,6 +20937,7 @@ type Database = {
20761
20937
  p_reviewed_snapshot: string;
20762
20938
  p_scope_after?: string;
20763
20939
  p_scope_occurrence_ids: string[];
20940
+ p_settlement?: Json;
20764
20941
  p_site_id: string;
20765
20942
  };
20766
20943
  Returns: {
@@ -20802,19 +20979,6 @@ type Database = {
20802
20979
  claim_kind: string;
20803
20980
  notification_id: string;
20804
20981
  }[];
20805
- } | {
20806
- Args: {
20807
- p_claimed_at: string;
20808
- p_metadata?: Json;
20809
- p_notification_type: string;
20810
- p_recipient: Json;
20811
- p_recipient_email: string;
20812
- p_subscription_id: string;
20813
- };
20814
- Returns: {
20815
- claim_kind: string;
20816
- notification_id: string;
20817
- }[];
20818
20982
  };
20819
20983
  claim_booking_commission_reconciliation: {
20820
20984
  Args: never;
@@ -21033,6 +21197,18 @@ type Database = {
21033
21197
  isSetofReturn: true;
21034
21198
  };
21035
21199
  };
21200
+ claim_site_domain_registration: {
21201
+ Args: {
21202
+ p_domain: string;
21203
+ p_site_id: string;
21204
+ p_user_id: string;
21205
+ };
21206
+ Returns: {
21207
+ claim_id: string;
21208
+ outcome: string;
21209
+ replaces_site_domain_id: string;
21210
+ }[];
21211
+ };
21036
21212
  claim_site_invitation_resend: {
21037
21213
  Args: {
21038
21214
  p_actor_user_id: string;
@@ -23072,6 +23248,12 @@ type Database = {
23072
23248
  };
23073
23249
  Returns: Json;
23074
23250
  };
23251
+ lock_site_domain_hostname: {
23252
+ Args: {
23253
+ p_domain: string;
23254
+ };
23255
+ Returns: undefined;
23256
+ };
23075
23257
  map_drawing_orphan_keys: {
23076
23258
  Args: never;
23077
23259
  Returns: {
@@ -24219,6 +24401,15 @@ type Database = {
24219
24401
  };
24220
24402
  Returns: string;
24221
24403
  };
24404
+ record_course_run_cancellation_note_v1: {
24405
+ Args: {
24406
+ p_operation_id: string;
24407
+ p_registration_id: string;
24408
+ p_series_id: string;
24409
+ p_site_id: string;
24410
+ };
24411
+ Returns: boolean;
24412
+ };
24222
24413
  record_credit_conversion_provider_failure_atomic: {
24223
24414
  Args: {
24224
24415
  p_conversion_id: string;
@@ -24227,6 +24418,15 @@ type Database = {
24227
24418
  };
24228
24419
  Returns: undefined;
24229
24420
  };
24421
+ record_customer_membership_follow_up_v1: {
24422
+ Args: {
24423
+ p_customer_membership_id: string;
24424
+ p_expected: Json;
24425
+ p_follow_up: Json;
24426
+ p_update?: Json;
24427
+ };
24428
+ Returns: Json;
24429
+ };
24230
24430
  record_order_refund_provider_outcome: {
24231
24431
  Args: {
24232
24432
  p_expected_updated_at: string;
@@ -26093,6 +26293,12 @@ type Database = {
26093
26293
  isSetofReturn: true;
26094
26294
  };
26095
26295
  };
26296
+ upsert_observed_billing_subscription: {
26297
+ Args: {
26298
+ p_record: Json;
26299
+ };
26300
+ Returns: undefined;
26301
+ };
26096
26302
  upsert_site_footer_blocks_scoped_v1: {
26097
26303
  Args: {
26098
26304
  p_blocks: Json;
@@ -27450,7 +27656,7 @@ type PageFlowPresetId = Brand$1<string, 'PageFlowPresetId'>;
27450
27656
  type SiteStyleId = Brand$1<string, 'SiteStyleId'>;
27451
27657
  //#endregion
27452
27658
  //#region .cache/declarations/site-contracts/src/identity/presentationVocabulary.d.ts
27453
- type SiteStyleSectionTransitionIntent = 'none' | 'soft-fade-short' | 'soft-fade-long' | 'soft-fade-expansive' | 'wave-edge' | 'wave-edge-balanced' | 'wave-edge-gentle' | 'wave-edge-bold' | 'wave-edge-drift' | 'wave-edge-echo' | 'angle-edge' | 'angle-edge-subtle' | 'angle-edge-steep';
27659
+ type SiteStyleSectionTransitionIntent = 'none' | 'soft-fade-short' | 'soft-fade-long' | 'soft-fade-expansive' | 'wave-edge' | 'wave-edge-balanced' | 'wave-edge-gentle' | 'wave-edge-bold' | 'wave-edge-drift' | 'wave-edge-echo' | 'arc-edge-echo' | 'angle-edge' | 'angle-edge-subtle' | 'angle-edge-steep';
27454
27660
  declare const tileTreatmentValues: readonly ["default", "quiet", "brand-depth"];
27455
27661
  declare const eventListTreatmentValues: readonly ["plain", "lined-panel", "ruled-register", "editorial-register", "dense-index"];
27456
27662
  declare const eyebrowTreatmentValues: readonly ["plain", "accent", "pill", "accent-pill", "pill-bounce", "accent-pill-bounce"];
@@ -27470,7 +27676,7 @@ declare const VARIANT_ROLES: readonly ['primary', 'secondary', 'outline', 'ghost
27470
27676
  type VariantRole = (typeof VARIANT_ROLES)[number];
27471
27677
  type PublicButtonRole = VariantRole;
27472
27678
  type BlockButtonRole = PublicButtonRole;
27473
- declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.list", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.contact-newsletter", "block.appointment-booking", "block.appointment-services", "block.service-details", "block.weekly-slot-availability", "block.event-registration", "block.event-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.recurring-schedule", "block.offerings-preview", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
27679
+ declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.class-prices", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.list", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.contact-newsletter", "block.appointment-booking", "block.appointment-services", "block.service-details", "block.weekly-slot-availability", "block.event-registration", "block.event-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.recurring-schedule", "block.offerings-preview", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
27474
27680
  type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
27475
27681
  //#endregion
27476
27682
  //#region .cache/declarations/site-contracts/src/identity/siteStyleLooks.d.ts
@@ -27877,6 +28083,15 @@ type PublicEventPricing = PublicManagedEventPricing | Readonly<{
27877
28083
  label: string;
27878
28084
  }>;
27879
28085
  //#endregion
28086
+ //#region .cache/declarations/core/src/page-surface-subject.d.ts
28087
+ type ServicePageSurfaceSubjectWire = Readonly<{
28088
+ kind: 'appointmentService';
28089
+ appointmentServiceId: string;
28090
+ serviceDestinationMode?: EventPageSurfaceDestinationMode;
28091
+ noindex?: true;
28092
+ }>;
28093
+ type PageSurfaceSubjectWire = EventPageSurfaceSubjectWire | ServicePageSurfaceSubjectWire;
28094
+ //#endregion
27880
28095
  //#region .cache/declarations/core/src/event-page-surface-subject.d.ts
27881
28096
  type EventPageSurfaceSubjectRefWire = Readonly<{
27882
28097
  kind: 'eventSeries';
@@ -27993,15 +28208,6 @@ type EventPageSurfaceSubjectWire = (EventSeriesPageSurfaceSubjectWire | Readonly
27993
28208
  noindex?: true;
27994
28209
  }>;
27995
28210
  //#endregion
27996
- //#region .cache/declarations/core/src/page-surface-subject.d.ts
27997
- type ServicePageSurfaceSubjectWire = Readonly<{
27998
- kind: 'appointmentService';
27999
- appointmentServiceId: string;
28000
- serviceDestinationMode?: EventPageSurfaceDestinationMode;
28001
- noindex?: true;
28002
- }>;
28003
- type PageSurfaceSubjectWire = EventPageSurfaceSubjectWire | ServicePageSurfaceSubjectWire;
28004
- //#endregion
28005
28211
  //#region .cache/declarations/core/src/event-page-selection.d.ts
28006
28212
  /** Render-time selection beneath a canonical Event page. */
28007
28213
  type EventOccurrenceContextData = Readonly<{
@@ -28100,6 +28306,8 @@ type BookingRefundCommand = Readonly<{
28100
28306
  requestedRefundMethod: BookingRequestedRefundMethod;
28101
28307
  protectedDepositOverride: BookingProtectedDepositOverrideMode;
28102
28308
  }>);
28309
+ /** A course run cancellation's own steps, besides its bookings' follow-up. */
28310
+ type CourseRunCancellationStep = 'take_offline' | 'archive' | 'waiting_list';
28103
28311
  /** The accepted business cancellation and its remaining financial or date work. */
28104
28312
  type BusinessCancellationResult = Readonly<{
28105
28313
  scheduleBookings?: readonly ScheduleBookingOutcome[];
@@ -28114,10 +28322,22 @@ type BusinessCancellationResult = Readonly<{
28114
28322
  refundedBookings: number;
28115
28323
  restoredPassCredits: number;
28116
28324
  restoredPassCreditsOnExpiredPasses?: number;
28325
+ /**
28326
+ * Bookings with follow-up still to do, by booking id (an attendee, or a
28327
+ * registration for a course run). A course run's registrations are cancelled
28328
+ * one by one after acceptance, so `cancellationAttendeeIds` names any not
28329
+ * cancelled yet. `runSteps` names a course run's own steps still to do:
28330
+ * taking the run offline, archiving it, and clearing its waiting list.
28331
+ * `noteAttendeeIds` names cancelled registrations whose history doesn't
28332
+ * have the run's personal note yet.
28333
+ */
28117
28334
  pending: Readonly<{
28118
28335
  refundAttendeeIds: readonly string[];
28119
28336
  creditAttendeeIds: readonly string[];
28120
28337
  emailAttendeeIds: readonly string[];
28338
+ cancellationAttendeeIds?: readonly string[];
28339
+ noteAttendeeIds?: readonly string[];
28340
+ runSteps?: readonly CourseRunCancellationStep[];
28121
28341
  }>; /** Bookings a schedule change moved whose follow-ups (waiting list, pages, email, history) are still being retried. */
28122
28342
  moveFollowUpAttendeeIds?: readonly string[];
28123
28343
  structural: Readonly<{
@@ -29255,6 +29475,10 @@ declare const VERTICAL_DEFINITIONS: readonly [{
29255
29475
  readonly id: 'performing_arts_school';
29256
29476
  readonly label: 'Theatre or performing arts school';
29257
29477
  readonly description: 'Classes, terms, workshops, performances, and lessons.';
29478
+ }, {
29479
+ readonly id: 'arts_crafts';
29480
+ readonly label: 'Arts and crafts';
29481
+ readonly description: 'Pottery, painting, printmaking and making classes, courses and workshops.';
29258
29482
  }, {
29259
29483
  readonly id: 'community_wellbeing';
29260
29484
  readonly label: 'Community or wellbeing centre';
@@ -29941,6 +30165,54 @@ declare const VERTICAL_BOOKING_PRESETS: readonly [Readonly<{
29941
30165
  label: string;
29942
30166
  pluralLabel: string;
29943
30167
  description: string;
30168
+ }> & Readonly<{
30169
+ id: "arts_crafts.classes";
30170
+ }>, Readonly<{
30171
+ id: string;
30172
+ verticalId: VerticalId;
30173
+ canonicalBehaviour: CanonicalBookingBehaviour;
30174
+ eventPresetOverride?: EventPresetOverride;
30175
+ engine: BookingEngine;
30176
+ availability: VerticalPresetAvailability;
30177
+ label: string;
30178
+ pluralLabel: string;
30179
+ description: string;
30180
+ }> & Readonly<{
30181
+ id: "arts_crafts.courses";
30182
+ }>, Readonly<{
30183
+ id: string;
30184
+ verticalId: VerticalId;
30185
+ canonicalBehaviour: CanonicalBookingBehaviour;
30186
+ eventPresetOverride?: EventPresetOverride;
30187
+ engine: BookingEngine;
30188
+ availability: VerticalPresetAvailability;
30189
+ label: string;
30190
+ pluralLabel: string;
30191
+ description: string;
30192
+ }> & Readonly<{
30193
+ id: "arts_crafts.workshops";
30194
+ }>, Readonly<{
30195
+ id: string;
30196
+ verticalId: VerticalId;
30197
+ canonicalBehaviour: CanonicalBookingBehaviour;
30198
+ eventPresetOverride?: EventPresetOverride;
30199
+ engine: BookingEngine;
30200
+ availability: VerticalPresetAvailability;
30201
+ label: string;
30202
+ pluralLabel: string;
30203
+ description: string;
30204
+ }> & Readonly<{
30205
+ id: "arts_crafts.private_sessions";
30206
+ }>, Readonly<{
30207
+ id: string;
30208
+ verticalId: VerticalId;
30209
+ canonicalBehaviour: CanonicalBookingBehaviour;
30210
+ eventPresetOverride?: EventPresetOverride;
30211
+ engine: BookingEngine;
30212
+ availability: VerticalPresetAvailability;
30213
+ label: string;
30214
+ pluralLabel: string;
30215
+ description: string;
29944
30216
  }> & Readonly<{
29945
30217
  id: "community_wellbeing.classes";
29946
30218
  }>, Readonly<{
@@ -30686,6 +30958,34 @@ type BookingEmbedChange = Readonly<{
30686
30958
  address: string;
30687
30959
  }>;
30688
30960
  //#endregion
30961
+ //#region .cache/declarations/core/src/ownerAppointmentTime.d.ts
30962
+ type AppointmentSlotService = Readonly<{
30963
+ durationMinutes: number;
30964
+ prepMinutes: number;
30965
+ cleanupMinutes: number;
30966
+ }>;
30967
+ type BookingNoticePolicy = Readonly<{
30968
+ minLeadMinutes: number;
30969
+ maxBookingNoticeMinutes: number | null;
30970
+ }>;
30971
+ type AppointmentTimeWindow = Readonly<{
30972
+ startAt: string;
30973
+ endAt: string;
30974
+ }>;
30975
+ /** Serializable rules for the selected day. Contains no customer or calendar event details. */
30976
+ type OwnerAppointmentTimeRules = Readonly<{
30977
+ service: AppointmentSlotService;
30978
+ bookingNotice: BookingNoticePolicy;
30979
+ workingWindows: readonly AppointmentTimeWindow[]; /** Present for fixed-start schedules; weekly windows are empty for that policy. */
30980
+ workingStarts?: readonly string[];
30981
+ appointments: readonly AppointmentTimeWindow[];
30982
+ reservations: readonly AppointmentTimeWindow[];
30983
+ occupiedWindows: readonly AppointmentTimeWindow[];
30984
+ closures: readonly AppointmentTimeWindow[];
30985
+ googleCalendarUnavailable?: boolean;
30986
+ googleBusy: readonly AppointmentTimeWindow[];
30987
+ }>;
30988
+ //#endregion
30689
30989
  //#region .cache/declarations/content-model/src/page-sections/types.d.ts
30690
30990
  /**
30691
30991
  * Page sections (#1703): owner-defined, structured sections on a subject's
@@ -31030,7 +31330,8 @@ type OpaqueButtonColourToken = ThemeColorToken & {
31030
31330
  };
31031
31331
  type ButtonColourTreatment = {
31032
31332
  type: 'solid';
31033
- colorToken: OpaqueButtonColourToken;
31333
+ colorToken: OpaqueButtonColourToken; /** Label colour to try before the fill's own on-colour; it still has to pass the contrast check. */
31334
+ foregroundToken?: OpaqueButtonColourToken;
31034
31335
  } | {
31035
31336
  type: 'gradient';
31036
31337
  stops: [OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]];
@@ -31144,6 +31445,7 @@ declare const buttonEffectApplicationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
31144
31445
  options: z$1.ZodOptional<z$1.ZodObject<{
31145
31446
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
31146
31447
  dramatic: "dramatic";
31448
+ gentle: "gentle";
31147
31449
  medium: "medium";
31148
31450
  subtle: "subtle";
31149
31451
  }>>;
@@ -31225,6 +31527,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
31225
31527
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
31226
31528
  type: z$1.ZodLiteral<"solid">;
31227
31529
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
31530
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
31228
31531
  }, z$1.core.$strict>, z$1.ZodObject<{
31229
31532
  type: z$1.ZodLiteral<"gradient">;
31230
31533
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -31431,6 +31734,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
31431
31734
  options: z$1.ZodOptional<z$1.ZodObject<{
31432
31735
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
31433
31736
  dramatic: "dramatic";
31737
+ gentle: "gentle";
31434
31738
  medium: "medium";
31435
31739
  subtle: "subtle";
31436
31740
  }>>;
@@ -31500,6 +31804,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
31500
31804
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
31501
31805
  type: z$1.ZodLiteral<"solid">;
31502
31806
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
31807
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
31503
31808
  }, z$1.core.$strict>, z$1.ZodObject<{
31504
31809
  type: z$1.ZodLiteral<"gradient">;
31505
31810
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -31706,6 +32011,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
31706
32011
  options: z$1.ZodOptional<z$1.ZodObject<{
31707
32012
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
31708
32013
  dramatic: "dramatic";
32014
+ gentle: "gentle";
31709
32015
  medium: "medium";
31710
32016
  subtle: "subtle";
31711
32017
  }>>;
@@ -31775,6 +32081,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
31775
32081
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
31776
32082
  type: z$1.ZodLiteral<"solid">;
31777
32083
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
32084
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
31778
32085
  }, z$1.core.$strict>, z$1.ZodObject<{
31779
32086
  type: z$1.ZodLiteral<"gradient">;
31780
32087
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -31981,6 +32288,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
31981
32288
  options: z$1.ZodOptional<z$1.ZodObject<{
31982
32289
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
31983
32290
  dramatic: "dramatic";
32291
+ gentle: "gentle";
31984
32292
  medium: "medium";
31985
32293
  subtle: "subtle";
31986
32294
  }>>;
@@ -32038,6 +32346,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
32038
32346
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
32039
32347
  type: z$1.ZodLiteral<"solid">;
32040
32348
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
32349
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
32041
32350
  }, z$1.core.$strict>, z$1.ZodObject<{
32042
32351
  type: z$1.ZodLiteral<"gradient">;
32043
32352
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -32244,6 +32553,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
32244
32553
  options: z$1.ZodOptional<z$1.ZodObject<{
32245
32554
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
32246
32555
  dramatic: "dramatic";
32556
+ gentle: "gentle";
32247
32557
  medium: "medium";
32248
32558
  subtle: "subtle";
32249
32559
  }>>;
@@ -32313,6 +32623,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
32313
32623
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
32314
32624
  type: z$1.ZodLiteral<"solid">;
32315
32625
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
32626
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
32316
32627
  }, z$1.core.$strict>, z$1.ZodObject<{
32317
32628
  type: z$1.ZodLiteral<"gradient">;
32318
32629
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -32519,6 +32830,7 @@ declare const buttonVisualStatesSchema: z$1.ZodObject<{
32519
32830
  options: z$1.ZodOptional<z$1.ZodObject<{
32520
32831
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
32521
32832
  dramatic: "dramatic";
32833
+ gentle: "gentle";
32522
32834
  medium: "medium";
32523
32835
  subtle: "subtle";
32524
32836
  }>>;
@@ -32712,6 +33024,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
32712
33024
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
32713
33025
  type: z$1.ZodLiteral<"solid">;
32714
33026
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
33027
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
32715
33028
  }, z$1.core.$strict>, z$1.ZodObject<{
32716
33029
  type: z$1.ZodLiteral<"gradient">;
32717
33030
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -32918,6 +33231,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
32918
33231
  options: z$1.ZodOptional<z$1.ZodObject<{
32919
33232
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
32920
33233
  dramatic: "dramatic";
33234
+ gentle: "gentle";
32921
33235
  medium: "medium";
32922
33236
  subtle: "subtle";
32923
33237
  }>>;
@@ -32987,6 +33301,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
32987
33301
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
32988
33302
  type: z$1.ZodLiteral<"solid">;
32989
33303
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
33304
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
32990
33305
  }, z$1.core.$strict>, z$1.ZodObject<{
32991
33306
  type: z$1.ZodLiteral<"gradient">;
32992
33307
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -33193,6 +33508,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
33193
33508
  options: z$1.ZodOptional<z$1.ZodObject<{
33194
33509
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
33195
33510
  dramatic: "dramatic";
33511
+ gentle: "gentle";
33196
33512
  medium: "medium";
33197
33513
  subtle: "subtle";
33198
33514
  }>>;
@@ -33262,6 +33578,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
33262
33578
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
33263
33579
  type: z$1.ZodLiteral<"solid">;
33264
33580
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
33581
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
33265
33582
  }, z$1.core.$strict>, z$1.ZodObject<{
33266
33583
  type: z$1.ZodLiteral<"gradient">;
33267
33584
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -33468,6 +33785,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
33468
33785
  options: z$1.ZodOptional<z$1.ZodObject<{
33469
33786
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
33470
33787
  dramatic: "dramatic";
33788
+ gentle: "gentle";
33471
33789
  medium: "medium";
33472
33790
  subtle: "subtle";
33473
33791
  }>>;
@@ -33525,6 +33843,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
33525
33843
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
33526
33844
  type: z$1.ZodLiteral<"solid">;
33527
33845
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
33846
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
33528
33847
  }, z$1.core.$strict>, z$1.ZodObject<{
33529
33848
  type: z$1.ZodLiteral<"gradient">;
33530
33849
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -33731,6 +34050,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
33731
34050
  options: z$1.ZodOptional<z$1.ZodObject<{
33732
34051
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
33733
34052
  dramatic: "dramatic";
34053
+ gentle: "gentle";
33734
34054
  medium: "medium";
33735
34055
  subtle: "subtle";
33736
34056
  }>>;
@@ -33800,6 +34120,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
33800
34120
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
33801
34121
  type: z$1.ZodLiteral<"solid">;
33802
34122
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
34123
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
33803
34124
  }, z$1.core.$strict>, z$1.ZodObject<{
33804
34125
  type: z$1.ZodLiteral<"gradient">;
33805
34126
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -34006,6 +34327,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34006
34327
  options: z$1.ZodOptional<z$1.ZodObject<{
34007
34328
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
34008
34329
  dramatic: "dramatic";
34330
+ gentle: "gentle";
34009
34331
  medium: "medium";
34010
34332
  subtle: "subtle";
34011
34333
  }>>;
@@ -34075,6 +34397,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34075
34397
  background: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
34076
34398
  type: z$1.ZodLiteral<"solid">;
34077
34399
  colorToken: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
34400
+ foregroundToken: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
34078
34401
  }, z$1.core.$strict>, z$1.ZodObject<{
34079
34402
  type: z$1.ZodLiteral<"gradient">;
34080
34403
  stops: z$1.ZodPipe<z$1.ZodArray<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>, z$1.ZodTransform<[OpaqueButtonColourToken, OpaqueButtonColourToken, ...OpaqueButtonColourToken[]], OpaqueButtonColourToken[]>>;
@@ -34223,6 +34546,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34223
34546
  options: z$1.ZodOptional<z$1.ZodObject<{
34224
34547
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
34225
34548
  dramatic: "dramatic";
34549
+ gentle: "gentle";
34226
34550
  medium: "medium";
34227
34551
  subtle: "subtle";
34228
34552
  }>>;
@@ -34353,6 +34677,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34353
34677
  options: z$1.ZodOptional<z$1.ZodObject<{
34354
34678
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
34355
34679
  dramatic: "dramatic";
34680
+ gentle: "gentle";
34356
34681
  medium: "medium";
34357
34682
  subtle: "subtle";
34358
34683
  }>>;
@@ -34483,6 +34808,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34483
34808
  options: z$1.ZodOptional<z$1.ZodObject<{
34484
34809
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
34485
34810
  dramatic: "dramatic";
34811
+ gentle: "gentle";
34486
34812
  medium: "medium";
34487
34813
  subtle: "subtle";
34488
34814
  }>>;
@@ -34613,6 +34939,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34613
34939
  options: z$1.ZodOptional<z$1.ZodObject<{
34614
34940
  intensity: z$1.ZodOptional<z$1.ZodEnum<{
34615
34941
  dramatic: "dramatic";
34942
+ gentle: "gentle";
34616
34943
  medium: "medium";
34617
34944
  subtle: "subtle";
34618
34945
  }>>;
@@ -34754,6 +35081,7 @@ declare const buttonSystemSchema: z$1.ZodObject<{
34754
35081
  }, z$1.core.$strict>], "kind">>>, z$1.core.$strict>>;
34755
35082
  surfaceContexts: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
34756
35083
  primary: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>;
35084
+ primaryText: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<OpaqueButtonColourToken, string>>>;
34757
35085
  }, z$1.core.$strict>>>;
34758
35086
  }, z$1.core.$strict>;
34759
35087
  type Priority = 1 | 2 | 3;
@@ -34828,10 +35156,16 @@ interface ButtonVariant$1 {
34828
35156
  /** Optional trailing affordance icon (e.g. a CTA arrow). See ButtonVariantAffordance. */
34829
35157
  affordance?: ButtonVariantAffordance;
34830
35158
  }
35159
+ /**
35160
+ * The main button on one section ground: its fill, and optionally the label
35161
+ * colour to try first. The label still has to pass the contrast check.
35162
+ */
35163
+ type SurfaceButtonRequest = {
35164
+ primary: OpaqueButtonColourToken;
35165
+ primaryText?: OpaqueButtonColourToken;
35166
+ };
34831
35167
  interface ButtonSystem {
34832
- surfaceContexts?: Record<string, {
34833
- primary: OpaqueButtonColourToken;
34834
- }>;
35168
+ surfaceContexts?: Record<string, SurfaceButtonRequest>;
34835
35169
  global: ButtonGlobalSettings;
34836
35170
  variants: ButtonVariant$1[];
34837
35171
  sizes?: ButtonSizes;
@@ -35212,6 +35546,7 @@ type LookListPresentation = Readonly<{
35212
35546
  actionSize?: 'sm' | 'md' | 'lg';
35213
35547
  itemActionStyle?: 'button' | 'link';
35214
35548
  itemRoles?: ItemRoles;
35549
+ eventRows?: 'day-schedule';
35215
35550
  panelHeading?: string;
35216
35551
  lookSlots?: Readonly<Partial<Record<ArrangementSlotName, string>>>;
35217
35552
  surfacePresentation?: LookSurfacePresentation;
@@ -35224,7 +35559,7 @@ type ItemRoles = Readonly<{
35224
35559
  at?: Readonly<Partial<Record<Position, ItemRole>>>;
35225
35560
  }>;
35226
35561
  /** Closed structural hooks shared by block arrangements and bounded skins. */
35227
- declare const arrangementSlotNames: readonly ['contact', 'social', 'base', 'section', 'background', 'schedule-section', 'shop-section', 'stack', 'inline', 'grid', 'head', 'eyebrow', 'heading', 'intro', 'frame', 'copy', 'caption', 'headline', 'lede', 'actions', 'media', 'photo', 'gallery', 'sticker', 'facts', 'fact-label', 'fact-value', 'chips', 'chip', 'figure', 'figure-value', 'figure-label', 'schedule', 'dates', 'date-places', 'availability', 'layout', 'items', 'item', 'lead', 'item-media', 'item-body', 'icon', 'numeral', 'item-title', 'item-text', 'item-actions', 'list', 'row', 'row-continued', 'group', 'group-label', 'group-day', 'group-date', 'group-empty', 'date', 'weekday', 'day', 'month', 'date-label', 'time', 'price', 'price-amount', 'price-unit', 'price-note', 'mark', 'navigation', 'time-start', 'time-length', 'what', 'item-meta', 'places', 'places-low', 'places-full', 'action', 'panel', 'booking-panel', 'panel-heading', 'more', 'quote', 'attribution', 'outcome', 'controls', 'control', 'counter', 'point'];
35562
+ declare const arrangementSlotNames: readonly ['contact', 'social', 'base', 'section', 'background', 'schedule-section', 'shop-section', 'stack', 'inline', 'grid', 'head', 'eyebrow', 'heading', 'subheading', 'intro', 'frame', 'copy', 'caption', 'headline', 'lede', 'actions', 'media', 'photo', 'gallery', 'sticker', 'facts', 'fact-label', 'fact-value', 'chips', 'chip', 'figure', 'figure-value', 'figure-label', 'schedule', 'dates', 'date-places', 'availability', 'layout', 'items', 'item', 'lead', 'item-media', 'item-body', 'icon', 'numeral', 'item-title', 'item-text', 'item-actions', 'list', 'row', 'row-continued', 'group', 'group-label', 'group-day', 'group-date', 'group-empty', 'date', 'weekday', 'day', 'month', 'date-label', 'time', 'price', 'price-amount', 'price-unit', 'price-note', 'mark', 'navigation', 'time-start', 'time-length', 'what', 'item-meta', 'places', 'places-low', 'places-full', 'action', 'panel', 'booking-panel', 'panel-heading', 'more', 'quote', 'attribution', 'outcome', 'controls', 'control', 'counter', 'point'];
35228
35563
  type ArrangementSlotName = typeof arrangementSlotNames[number];
35229
35564
  //#endregion
35230
35565
  //#region .cache/declarations/site-contracts/src/siteData/forms.d.ts
@@ -49737,8 +50072,9 @@ type ReadinessBlock = Readonly<{
49737
50072
  content?: unknown;
49738
50073
  draftContent?: unknown;
49739
50074
  }>;
49740
- type PageReadinessFactsPayload = Omit<ReadinessFactValues, 'forms' | 'products'> & Readonly<{
50075
+ type PageReadinessFactsPayload = Omit<ReadinessFactValues, 'forms' | 'products' | 'events'> & Readonly<{
49741
50076
  stage: ReadinessStage;
50077
+ events: readonly (readonly [string, ReadinessFact<boolean>])[];
49742
50078
  forms: readonly (readonly [string, ReadinessFact<boolean>])[];
49743
50079
  products: readonly (readonly [string, ReadinessFact<boolean>])[];
49744
50080
  }>;
@@ -49762,6 +50098,7 @@ type ReadinessFactValues = Readonly<{
49762
50098
  mailingList: ReadinessFact<MailingListRuntimeContext>;
49763
50099
  testimonials: ReadinessFact<EntryReadinessCount>;
49764
50100
  team: ReadinessFact<number>;
50101
+ events: ReadonlyMap<string, ReadinessFact<boolean>>;
49765
50102
  forms: ReadonlyMap<string, ReadinessFact<boolean>>;
49766
50103
  products: ReadonlyMap<string, ReadinessFact<boolean>>;
49767
50104
  template: ReadinessFact<PageTemplate>;
@@ -49891,7 +50228,7 @@ type PageDesignAction = {
49891
50228
  };
49892
50229
  //#endregion
49893
50230
  //#region .cache/declarations/site-contracts/src/theme/buttonSelection.d.ts
49894
- declare const BUTTON_STYLE_IDS: readonly ['soft-pill', 'earth-pill', 'confident-chip', 'editorial-link', 'pebble', 'ink-stamp', 'flat-ink', 'brushed-wash', 'showtime-pill', 'joy-stamp', 'ornate-ritual', 'quiet-arrow', 'offset-block', 'ringed-pill', 'square-outline', 'fulcrum', 'gilt-slab', 'hairline-tab', 'marquee', 'sewn-label', 'edged-pill'];
50231
+ declare const BUTTON_STYLE_IDS: readonly ['soft-pill', 'earth-pill', 'confident-chip', 'editorial-link', 'pebble', 'ink-stamp', 'flat-ink', 'brushed-wash', 'showtime-pill', 'joy-stamp', 'ornate-ritual', 'quiet-arrow', 'offset-block', 'ringed-pill', 'square-outline', 'fulcrum', 'gilt-slab', 'hairline-tab', 'marquee', 'sewn-label', 'edged-pill', 'orbit-pill'];
49895
50232
  type ButtonStyleId = (typeof BUTTON_STYLE_IDS)[number];
49896
50233
  declare const buttonStyleSelectionSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
49897
50234
  styleId: z$1.ZodLiteral<"soft-pill">;
@@ -49991,6 +50328,9 @@ declare const buttonStyleSelectionSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
49991
50328
  }, z$1.core.$strict>, z$1.ZodObject<{
49992
50329
  styleId: z$1.ZodLiteral<"edged-pill">;
49993
50330
  parameters: z$1.ZodObject<{}, z$1.core.$strict>;
50331
+ }, z$1.core.$strict>, z$1.ZodObject<{
50332
+ styleId: z$1.ZodLiteral<"orbit-pill">;
50333
+ parameters: z$1.ZodObject<{}, z$1.core.$strict>;
49994
50334
  }, z$1.core.$strict>], "styleId">;
49995
50335
  type ButtonStyleSelection = z$1.infer<typeof buttonStyleSelectionSchema>;
49996
50336
  type ButtonStyleSelectionRepair = Readonly<{
@@ -51936,6 +52276,7 @@ declare const headerSchema: z$1.ZodObject<{
51936
52276
  secondary: "secondary";
51937
52277
  }>>;
51938
52278
  ctaVariant: z$1.ZodOptional<z$1.ZodString>;
52279
+ ctaInMobileBar: z$1.ZodOptional<z$1.ZodLiteral<true>>;
51939
52280
  dropdownStyle: z$1.ZodOptional<z$1.ZodObject<{
51940
52281
  background: z$1.ZodDefault<z$1.ZodString>;
51941
52282
  textColor: z$1.ZodDefault<z$1.ZodString>;
@@ -52964,6 +53305,10 @@ type SectionBoundaryTreatment = Readonly<{
52964
53305
  rhythm: WaveRhythm;
52965
53306
  symmetry: WaveSymmetry;
52966
53307
  echo?: true;
53308
+ }> | Readonly<{
53309
+ /** One shallow arc across the full width; `echo` draws two fainter lines following it below. */kind: 'arc-edge';
53310
+ height: BoundaryEdgeHeight;
53311
+ echo?: true;
52967
53312
  }> | Readonly<{
52968
53313
  kind: 'angle-edge';
52969
53314
  height: BoundaryEdgeHeight;
@@ -53278,6 +53623,7 @@ declare const manifestSchema: z$1.ZodObject<{
53278
53623
  description: z$1.ZodOptional<z$1.ZodString>;
53279
53624
  component: z$1.ZodString;
53280
53625
  fields: z$1.ZodDefault<z$1.ZodArray<FieldSchemaUnion>>;
53626
+ contentPresence: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
53281
53627
  slots: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
53282
53628
  id: z$1.ZodString;
53283
53629
  label: z$1.ZodString;
@@ -54845,7 +55191,6 @@ type BookingFormSettings = Readonly<{
54845
55191
  serviceId?: string;
54846
55192
  serviceIds?: readonly string[];
54847
55193
  resourceId?: string;
54848
- requiresApproval?: boolean;
54849
55194
  successMessage?: string;
54850
55195
  }>;
54851
55196
  type BookingFormConfig = Readonly<{
@@ -54888,6 +55233,7 @@ type BookingFormServicePricing = Readonly<{
54888
55233
  slidingSuggestedAmount?: number | null;
54889
55234
  }>;
54890
55235
  type BookingFormService = Readonly<{
55236
+ requiresApproval?: boolean;
54891
55237
  onlinePaymentMode?: 'session_or_package' | 'package_only';
54892
55238
  onlinePaymentChoices?: Readonly<{
54893
55239
  perSession: boolean;
@@ -54991,7 +55337,6 @@ interface FormConfigResponse {
54991
55337
  serviceId?: string;
54992
55338
  serviceIds?: string[];
54993
55339
  resourceId?: string;
54994
- requiresApproval?: boolean;
54995
55340
  successMessage?: string;
54996
55341
  };
54997
55342
  schemaJson?: {
@@ -55183,7 +55528,7 @@ type EventBookingMoveEntitlement = Readonly<{
55183
55528
  }> | Readonly<{
55184
55529
  kind: 'not_covered';
55185
55530
  product: 'pass' | 'membership';
55186
- reason: 'not_accepted' | 'category' | 'expires_before' | 'ends_before';
55531
+ reason: 'not_accepted' | 'category' | 'expires_before' | 'ends_before' | 'starts_after';
55187
55532
  }>;
55188
55533
  /** Keyset position after the last date of a page, in (startsAt, id) order. */
55189
55534
  type EventBookingMoveTargetsCursor = Readonly<{
@@ -55864,6 +56209,27 @@ declare const API_ENDPOINTS: {
55864
56209
  responseKind: "json";
55865
56210
  errors: ("resource:conflict" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
55866
56211
  };
56212
+ readonly resolveTeamMemberProfileEditorOwner: {
56213
+ path: "/sites/{siteId}/bookings/profile-editor/{entryId}/owner";
56214
+ method: "GET";
56215
+ auth: "user";
56216
+ responseKind: "json";
56217
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error")[];
56218
+ };
56219
+ readonly getTeamMemberProfileContent: {
56220
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}";
56221
+ method: "GET";
56222
+ auth: "user";
56223
+ responseKind: "json";
56224
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error")[];
56225
+ };
56226
+ readonly listTeamMemberProfileContentSlots: {
56227
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/slots";
56228
+ method: "GET";
56229
+ auth: "user";
56230
+ responseKind: "json";
56231
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error")[];
56232
+ };
55867
56233
  readonly updateTeamMemberProfilePolicy: {
55868
56234
  path: "/sites/{siteId}/bookings/resources/profile-policy";
55869
56235
  method: "PUT";
@@ -57281,6 +57647,14 @@ declare const API_ENDPOINTS: {
57281
57647
  responseKind: "json";
57282
57648
  errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error")[];
57283
57649
  };
57650
+ readonly previewWholeSeriesRunCancellation: {
57651
+ path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation";
57652
+ method: "GET";
57653
+ tags: ("event-series-{siteId}" | "site-{siteId}")[];
57654
+ auth: "user";
57655
+ responseKind: "json";
57656
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error")[];
57657
+ };
57284
57658
  readonly cancelWholeSeriesRun: {
57285
57659
  path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation";
57286
57660
  method: "POST";
@@ -57590,6 +57964,14 @@ declare const API_ENDPOINTS: {
57590
57964
  responseKind: "json";
57591
57965
  errors: never[];
57592
57966
  };
57967
+ readonly previewPlanChange: {
57968
+ path: "/billing/plan/preview";
57969
+ method: "POST";
57970
+ tags: "billing"[];
57971
+ auth: "user";
57972
+ responseKind: "json";
57973
+ errors: ("auth:unauthenticated" | "external:service_error" | "resource:conflict" | "server:internal_error" | "validation:invalid_input")[];
57974
+ };
57593
57975
  readonly changePlan: {
57594
57976
  path: "/billing/plan/change";
57595
57977
  method: "POST";
@@ -60894,6 +61276,38 @@ declare const API_ENDPOINTS: {
60894
61276
  readonly responseKind: 'json';
60895
61277
  readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
60896
61278
  };
61279
+ readonly endCustomerMembershipNow: {
61280
+ readonly path: '/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/end';
61281
+ readonly method: 'POST';
61282
+ readonly tags: ["site-{siteId}", "bookings", "customer-membership-{customerMembershipId}"];
61283
+ readonly auth: 'user';
61284
+ readonly responseKind: 'json';
61285
+ readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
61286
+ };
61287
+ readonly resumeCustomerMembership: {
61288
+ readonly path: '/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/resume';
61289
+ readonly method: 'POST';
61290
+ readonly tags: ["site-{siteId}", "bookings", "customer-membership-{customerMembershipId}"];
61291
+ readonly auth: 'user';
61292
+ readonly responseKind: 'json';
61293
+ readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
61294
+ };
61295
+ readonly finishCustomerMembershipChange: {
61296
+ readonly path: '/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/finish';
61297
+ readonly method: 'POST';
61298
+ readonly tags: ["site-{siteId}", "bookings", "customer-membership-{customerMembershipId}"];
61299
+ readonly auth: 'user';
61300
+ readonly responseKind: 'json';
61301
+ readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
61302
+ };
61303
+ readonly correctCustomerMembershipDates: {
61304
+ readonly path: '/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}';
61305
+ readonly method: 'PATCH';
61306
+ readonly tags: ["site-{siteId}", "bookings", "customer-membership-{customerMembershipId}"];
61307
+ readonly auth: 'user';
61308
+ readonly responseKind: 'json';
61309
+ readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
61310
+ };
60897
61311
  readonly refundCustomerMembershipPayment: {
60898
61312
  readonly path: '/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/refund';
60899
61313
  readonly method: 'POST';
@@ -62078,6 +62492,13 @@ declare const API_ENDPOINTS: {
62078
62492
  readonly auth: 'public';
62079
62493
  readonly responseKind: 'json';
62080
62494
  };
62495
+ readonly portalResumeMembership: {
62496
+ readonly path: '/portal/memberships/{customerMembershipId}/resume';
62497
+ readonly method: 'POST';
62498
+ readonly auth: 'public';
62499
+ readonly responseKind: 'json';
62500
+ readonly errors: readonly [];
62501
+ };
62081
62502
  readonly portalSendMagicLink: {
62082
62503
  readonly path: '/portal/auth/send-magic-link';
62083
62504
  readonly method: 'POST';
@@ -66571,7 +66992,7 @@ type EventLifecycleTransitionRequest = Readonly<{
66571
66992
  command: Extract<EventAvailabilityCommand, {
66572
66993
  kind: 'cancelUnit';
66573
66994
  }>;
66574
- reviewedCancellation: ReviewedCancellation | 'external' | 'courseRun';
66995
+ reviewedCancellation: ReviewedBusinessCancellation | 'external' | 'courseRun';
66575
66996
  }>;
66576
66997
  type EventLifecycleTransitionResponse = {
66577
66998
  eventCancellation?: Readonly<{
@@ -66603,34 +67024,39 @@ type UpdateEventIdentityResponse = Readonly<{
66603
67024
  eventCategoryId: string | null;
66604
67025
  }>;
66605
67026
  /**
66606
- * A course page's web address belongs to the course, not to any of its runs,
66607
- * so it is written against the event itself.
67027
+ * A reviewed course run cancellation: the bookings the review showed, by
67028
+ * registration id, and the practitioner's choice for each one. If anyone has
67029
+ * booked or cancelled since, the cancellation is refused and reviewed again.
66608
67030
  */
66609
- type WholeSeriesRunCancellationSettlement = Readonly<{
66610
- kind: 'full_refund';
67031
+ type ReviewedWholeSeriesRunCancellation = Readonly<{
66611
67032
  operationId: string;
66612
- requestedRefundMethod?: 'original_payment' | 'site_credit';
66613
- }> | Readonly<{
66614
- kind: 'custom_refund';
66615
- operationId: string;
66616
- requestedRefundMethod?: 'original_payment' | 'site_credit';
66617
- refunds: readonly Readonly<{
66618
- registrationId: string;
66619
- amountCents: number;
66620
- }>[];
66621
- }> | Readonly<{
66622
- kind: 'no_refund';
66623
- operationId: string;
66624
- note?: string | null;
67033
+ registrationIds: readonly string[]; /** Keyed by registration id; must name exactly `registrationIds`. */
67034
+ settlement: ReviewedCancellationSettlement;
66625
67035
  }>;
66626
67036
  type CancelWholeSeriesRunRequest = Readonly<{
66627
- settlement?: WholeSeriesRunCancellationSettlement;
67037
+ review: ReviewedWholeSeriesRunCancellation;
66628
67038
  archiveAfterCancellation?: boolean;
66629
67039
  }>;
66630
67040
  type CancelWholeSeriesRunResponse = Readonly<{
66631
67041
  eventId: EventOfferingId;
66632
67042
  runId: EventSeriesId;
66633
67043
  status: 'cancelled' | 'archived';
67044
+ /**
67045
+ * What happened to the bookings, refunds and emails, read back from the
67046
+ * saved cancellation. Null when it couldn't be read after it was accepted.
67047
+ */
67048
+ cancellation: BusinessCancellationResult | null;
67049
+ }>;
67050
+ /**
67051
+ * What cancelling a course run would do, for its review: everyone still
67052
+ * booked, keyed by registration id (as `attendeeId` in each booking row),
67053
+ * and any earlier cancellation of the run that hasn't finished.
67054
+ */
67055
+ type WholeSeriesRunCancellationPreview = Readonly<{
67056
+ operationId: string;
67057
+ registrationIds: readonly string[];
67058
+ cancellation: CancellationPreviewSummary;
67059
+ unfinished: readonly BusinessCancellationResult[];
66634
67060
  }>;
66635
67061
  /**
66636
67062
  * Every new run uses the course page. A run that needs its own page splits off
@@ -67114,6 +67540,7 @@ type PublicBookingPractitioner = Readonly<{
67114
67540
  * unlisted would only invite that fact into markup.
67115
67541
  */
67116
67542
  type PublicBookingService = {
67543
+ requiresApproval?: boolean;
67117
67544
  onlinePaymentMode?: AppointmentOnlinePaymentMode;
67118
67545
  onlinePaymentChoices?: Readonly<{
67119
67546
  perSession: boolean;
@@ -67191,6 +67618,7 @@ type AppointmentServiceAssignment = Readonly<{
67191
67618
  type AppointmentServiceAssignmentMode = AppointmentServiceAssignment['kind'];
67192
67619
  type AppointmentOnlinePaymentMode = 'session_or_package' | 'package_only';
67193
67620
  type AppointmentService = {
67621
+ requiresApproval: boolean;
67194
67622
  onlinePaymentMode?: AppointmentOnlinePaymentMode;
67195
67623
  hasOnlinePackage?: boolean;
67196
67624
  id: string;
@@ -67236,6 +67664,7 @@ type AppointmentServiceOnlineDetailsInput = {
67236
67664
  notes?: string | null;
67237
67665
  };
67238
67666
  type CreateAppointmentServiceRequest = {
67667
+ requiresApproval?: boolean;
67239
67668
  onlinePaymentMode?: AppointmentOnlinePaymentMode; /** Initial mode fences selected services until their chosen members are saved. */
67240
67669
  assignmentMode?: AppointmentServiceAssignmentMode;
67241
67670
  title: string;
@@ -67702,8 +68131,8 @@ type BookingClosureRecord = {
67702
68131
  deletedAt: string | null;
67703
68132
  };
67704
68133
  type BookingClosureImpactConfirmation = {
67705
- token: string;
67706
- cancellationReview: ReviewedCancellation | null;
68134
+ token: string; /** The dashboard adds `settlement` with the per-booking choices and note it chose. */
68135
+ cancellationReview: ReviewedBusinessCancellation | null;
67707
68136
  };
67708
68137
  type BookingClosureManualReviewReason = "added_after_review" | "cancellation_unfinished" | "spans_closure" | "partial_overlap" | "hybrid_venue_scope" | "existing_appointment" | "appointment_scope_unclear" | "in_progress";
67709
68138
  type BookingClosureAutoCancelReason = "fully_contained_site_closure" | "fully_contained_venue_closure";
@@ -67816,7 +68245,7 @@ type DeleteBookingClosureResponse = {
67816
68245
  };
67817
68246
  //#endregion
67818
68247
  //#region .cache/declarations/api/src/customerMembershipOutcomes.d.ts
67819
- declare const CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS: readonly ['already_cancelled', 'not_stripe_managed', 'stripe_not_connected', 'cancellation_scheduled'];
68248
+ declare const CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS: readonly ['already_ended', 'already_cancelled', 'not_stripe_managed', 'stripe_not_connected', 'cancellation_scheduled'];
67820
68249
  type CustomerMembershipCancellationResultKind = (typeof CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS)[number];
67821
68250
  declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES: readonly ["not_found", "stripe_not_connected", "credit_refunds_disabled", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context"];
67822
68251
  type CustomerMembershipPaymentRefundFailedCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES)[number];
@@ -68024,6 +68453,9 @@ type ListCustomerMembershipPaymentsResponse = {
68024
68453
  };
68025
68454
  type CancelCustomerMembershipAtPeriodEndRequest = Record<string, never>;
68026
68455
  type CancelCustomerMembershipAtPeriodEndResult = {
68456
+ kind: Extract<CustomerMembershipCancellationResultKind, 'already_ended'>;
68457
+ message: string;
68458
+ } | {
68027
68459
  kind: Extract<CustomerMembershipCancellationResultKind, 'already_cancelled'>;
68028
68460
  message: string;
68029
68461
  } | {
@@ -68033,12 +68465,27 @@ type CancelCustomerMembershipAtPeriodEndResult = {
68033
68465
  kind: Extract<CustomerMembershipCancellationResultKind, 'stripe_not_connected'>;
68034
68466
  message: string;
68035
68467
  } | {
68036
- kind: Extract<CustomerMembershipCancellationResultKind, 'cancellation_scheduled'>;
68468
+ kind: Extract<CustomerMembershipCancellationResultKind, 'cancellation_scheduled'>; /** When the membership ends (exclusive); null when the subscription has no period end. */
68469
+ endsAt: string | null; /** Future bookings made with the membership after it ends, now cancelled. */
68470
+ cancelledBookingCount: number;
68037
68471
  message: string;
68038
68472
  };
68039
68473
  type CancelCustomerMembershipAtPeriodEndResponse = {
68040
68474
  result: CancelCustomerMembershipAtPeriodEndResult;
68041
68475
  };
68476
+ /** The answer to ending, resuming or correcting a held membership. */
68477
+ type CustomerMembershipChangeResult = {
68478
+ /** Whether the change went through; when false, `message` says why not. */changed: boolean;
68479
+ message: string;
68480
+ };
68481
+ type CustomerMembershipChangeResponse = {
68482
+ result: CustomerMembershipChangeResult;
68483
+ };
68484
+ /** Corrects a hand-assigned membership's period; the end is exclusive. */
68485
+ type CorrectCustomerMembershipDatesRequest = {
68486
+ currentPeriodStart: string;
68487
+ currentPeriodEnd: string;
68488
+ };
68042
68489
  type CustomerMembershipPaymentRefundBase = {
68043
68490
  refundRecordId: string;
68044
68491
  refundMethod: 'cash' | 'credit' | 'mixed' | null;
@@ -68082,10 +68529,12 @@ type RefundCustomerMembershipPaymentRequest = {
68082
68529
  amountCents?: number;
68083
68530
  refundMethod?: 'cash' | 'credit';
68084
68531
  reason?: string | null;
68085
- idempotencyKey?: string;
68532
+ idempotencyKey?: string; /** End the membership now once the refund succeeds, stopping any subscription. */
68533
+ endMembership?: boolean;
68086
68534
  };
68087
68535
  type RefundCustomerMembershipPaymentResponse = {
68088
- result: CustomerMembershipPaymentRefundResult;
68536
+ result: CustomerMembershipPaymentRefundResult; /** Present when ending was asked for and the refund succeeded. */
68537
+ membershipEnd?: CustomerMembershipChangeResult;
68089
68538
  };
68090
68539
  type ListCustomerMembershipPaymentRefundsResponse = {
68091
68540
  refunds: CustomerMembershipPaymentRefundRecord[];
@@ -68767,6 +69216,7 @@ declare const arrangementTimeOffSchema: z$1.ZodObject<{
68767
69216
  startsAt: z$1.ZodISODateTime;
68768
69217
  endsAt: z$1.ZodISODateTime;
68769
69218
  reason: z$1.ZodNullable<z$1.ZodString>;
69219
+ deferredAppointmentIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
68770
69220
  selections: z$1.ZodArray<z$1.ZodObject<{
68771
69221
  arrangementId: z$1.ZodString;
68772
69222
  appointmentId: z$1.ZodString;
@@ -68817,8 +69267,22 @@ type ArrangementTimeOffClientApi = Readonly<{
68817
69267
  }>)[];
68818
69268
  changes: readonly ArrangementPreviewDateApi[];
68819
69269
  }>;
69270
+ /** A booked appointment handled through the existing cancel and reschedule commands. */
69271
+ type TimeOffAppointmentApi = Readonly<{
69272
+ id: string;
69273
+ customerName: string;
69274
+ customerEmail: string | null;
69275
+ serviceId: string;
69276
+ serviceName: string;
69277
+ startAt: string;
69278
+ endAt: string;
69279
+ timezone: string;
69280
+ updatedAt: string;
69281
+ reschedule: 'available' | 'override_required' | 'unavailable';
69282
+ }>;
68820
69283
  /** `canHandOver` is false for a team member, who can only move sessions within their own calendar. */
68821
69284
  type ArrangementTimeOffPreview = Readonly<{
69285
+ appointments: readonly TimeOffAppointmentApi[];
68822
69286
  confirmation: string;
68823
69287
  canHandOver: boolean;
68824
69288
  clients: readonly ArrangementTimeOffClientApi[];
@@ -69146,6 +69610,7 @@ type AppointmentPaymentChoice = Exclude<HandAddedPaymentChoice, {
69146
69610
  };
69147
69611
  }>;
69148
69612
  type CreateAppointmentRequest = {
69613
+ outsideRules?: 'confirmed';
69149
69614
  operationId?: string;
69150
69615
  payment?: AppointmentPaymentChoice;
69151
69616
  pricingOptionId?: string | null;
@@ -69330,6 +69795,9 @@ type TimeSlot = {
69330
69795
  resourceId: string;
69331
69796
  };
69332
69797
  type GetAvailableSlotsQuery = {
69798
+ ownerRules?: boolean; /** Load only owner rules, without generating suggestions. */
69799
+ rulesOnly?: boolean;
69800
+ excludeAppointmentId?: string;
69333
69801
  serviceId: string;
69334
69802
  resourceId?: string;
69335
69803
  startDate: string;
@@ -69337,6 +69805,7 @@ type GetAvailableSlotsQuery = {
69337
69805
  timezone?: string;
69338
69806
  };
69339
69807
  type GetAvailableSlotsResponse = {
69808
+ ownerRules?: OwnerAppointmentTimeRules;
69340
69809
  slots: TimeSlot[];
69341
69810
  };
69342
69811
  //#endregion
@@ -70636,7 +71105,28 @@ type EventOccurrenceModePlaces = Readonly<{
70636
71105
  booked: number;
70637
71106
  capacity: number | null;
70638
71107
  }>;
71108
+ /** Recorded collections less settled refunds; different currencies never share a scalar.
71109
+ * withoutPaymentRecord counts older money bookings with no order; omitted when zero.
71110
+ */
71111
+ type EventDateTaken = Readonly<{
71112
+ kind: 'hidden';
71113
+ }> | Readonly<{
71114
+ kind: 'none';
71115
+ handAddedWithoutPayment: number;
71116
+ withoutPaymentRecord?: number;
71117
+ }> | Readonly<{
71118
+ kind: 'taken';
71119
+ cents: number;
71120
+ currency: string;
71121
+ handAddedWithoutPayment: number;
71122
+ withoutPaymentRecord?: number;
71123
+ }> | Readonly<{
71124
+ kind: 'mixed_currencies';
71125
+ handAddedWithoutPayment: number;
71126
+ withoutPaymentRecord?: number;
71127
+ }>;
70639
71128
  type EventOccurrenceListRecord = EventOccurrenceRecord & {
71129
+ taken?: EventDateTaken;
70640
71130
  modePlaces?: readonly EventOccurrenceModePlaces[];
70641
71131
  heldPlaces?: number;
70642
71132
  capacity: number | null;
@@ -71012,21 +71502,34 @@ type CustomerMembershipRecord = {
71012
71502
  membershipId: string;
71013
71503
  status: string;
71014
71504
  currentPeriodStart: string | null;
71015
- currentPeriodEnd: string | null;
71505
+ currentPeriodEnd: string | null; /** Set to end when the current period runs out, rather than renew. */
71506
+ cancelAtPeriodEnd: boolean; /** Renews at its period end (a subscription that isn't set to end). */
71507
+ renews: boolean; /** What the team can do with it now; every menu offers exactly these. */
71508
+ teamActions: CustomerMembershipTeamActions;
71016
71509
  membership: {
71017
71510
  name: string;
71018
71511
  description: string | null;
71019
71512
  billingInterval: 'month' | 'year';
71020
71513
  };
71021
71514
  };
71515
+ type CustomerMembershipTeamActions = {
71516
+ /** Stop a renewing membership renewing, so it ends with its current period. */cancelAtPeriodEnd: boolean; /** Undo a scheduled end while the period is still running. */
71517
+ resume: boolean; /** End it now, stopping any subscription straight away. */
71518
+ endNow: boolean; /** Correct a hand-assigned membership's dates. */
71519
+ correctDates: boolean;
71520
+ /**
71521
+ * A change whose bookings or customer email aren't finished yet, so the
71522
+ * team can finish it: an ending, or a date change. Null when nothing's left.
71523
+ */
71524
+ finishChange: 'ending' | 'date_change' | null;
71525
+ };
71022
71526
  declare const CUSTOMER_MEMBERSHIP_STATUS_VALUES: readonly ['active', 'trialing', 'past_due', 'paused', 'canceled'];
71023
71527
  type CustomerMembershipStatus = (typeof CUSTOMER_MEMBERSHIP_STATUS_VALUES)[number];
71024
71528
  type ListCustomerMembershipsResponse = {
71025
71529
  memberships: CustomerMembershipRecord[];
71026
71530
  };
71027
71531
  type SiteCustomerMembershipRecord = CustomerMembershipRecord & {
71028
- customer: SiteHolderRecord;
71029
- cancelAtPeriodEnd: boolean; /** True when this membership is managed by Stripe (has a subscription ID). */
71532
+ customer: SiteHolderRecord; /** True when this membership is managed by Stripe (has a subscription ID). */
71030
71533
  stripeManaged: boolean;
71031
71534
  };
71032
71535
  type ListSiteCustomerMembershipsRequest = {
@@ -71362,6 +71865,9 @@ type BookingAnswerReview = Readonly<Omit<BookingBeforeYouComeReview, 'answers'>
71362
71865
  at: string;
71363
71866
  }>[];
71364
71867
  }>;
71868
+ /** Periods shared by appointment list, export and dashboard URL contracts. */
71869
+ declare const APPOINTMENT_LIST_PERIODS: readonly ['upcoming', 'past', 'all', 'no_shows'];
71870
+ type AppointmentListPeriod = (typeof APPOINTMENT_LIST_PERIODS)[number];
71365
71871
  //#endregion
71366
71872
  //#region .cache/declarations/api/src/bookingSettingsSections.d.ts
71367
71873
  declare const BOOKING_SETTINGS_SECTION_KEYS: {
@@ -71775,8 +72281,8 @@ type UpdateEventSeriesRequest = Partial<Omit<CreateEventRequest, 'creationIntent
71775
72281
  expectedRevision: string;
71776
72282
  }>; /** If true, regenerate future occurrences based on updated schedule */
71777
72283
  regenerateSchedule?: boolean; /** Local date from which recurring dates are reconciled; never changes the recurrence anchor. */
71778
- scheduleFromDate?: string;
71779
- reviewedSchedule?: ReviewedCancellation;
72284
+ scheduleFromDate?: string; /** With `settlement`, the per-booking choices and note for the bookings this change cancels. */
72285
+ reviewedSchedule?: ReviewedBusinessCancellation;
71780
72286
  /**
71781
72287
  * The "let everyone booked know" tick. Only a change of the event's usual
71782
72288
  * venue can notify; the server decides whether there is anything to send.
@@ -72068,13 +72574,52 @@ type ReviewedCancellation = Readonly<{
72068
72574
  snapshot: string;
72069
72575
  operationId: string;
72070
72576
  }>;
72577
+ /** Where a refund goes: back to how they paid, or as credit on their account. */
72578
+ type BusinessCancellationRefundDestination = 'original_payment' | 'site_credit';
72579
+ /**
72580
+ * What happens to one booking's money when the business cancels it. Account
72581
+ * credit is a refund whose destination is site credit, not a kind of its own.
72582
+ */
72583
+ type BookingSettlement = Readonly<{
72584
+ kind: 'full_refund';
72585
+ destination: BusinessCancellationRefundDestination;
72586
+ }> | Readonly<{
72587
+ kind: 'custom_refund';
72588
+ amountCents: number;
72589
+ destination: BusinessCancellationRefundDestination;
72590
+ }> | Readonly<{
72591
+ kind: 'no_refund';
72592
+ }>
72593
+ /**
72594
+ * Account credit for a booking paid offline. There's no online payment to
72595
+ * refund, so this is a site-credit grant of the amount chosen.
72596
+ */
72597
+ | Readonly<{
72598
+ kind: 'credit_grant';
72599
+ amountCents: number;
72600
+ }>;
72601
+ /**
72602
+ * The practitioner's choices for a reviewed business cancellation.
72603
+ * `bookings` names every booking the review cancels, keyed by attendee id
72604
+ * (or by registration id for a course run); a booking missing from it, or
72605
+ * one that isn't being cancelled, means the review is out of date.
72606
+ */
72607
+ type ReviewedCancellationSettlement = Readonly<{
72608
+ bookings: Readonly<Record<string, BookingSettlement>>; /** Sent in the cancellation email as the practitioner's own words. */
72609
+ personalNote: string | null;
72610
+ }>;
72611
+ /** A reviewed business cancellation (dates, an event, a closure or a schedule change). Without `settlement`, online payments are refunded in full. */
72612
+ type ReviewedBusinessCancellation = ReviewedCancellation & Readonly<{
72613
+ settlement?: ReviewedCancellationSettlement;
72614
+ }>;
72071
72615
  type CancellationMoneyTotal = Readonly<{
72072
72616
  currency: string;
72073
72617
  amountCents: number;
72074
72618
  }>;
72075
72619
  type CancellationBookingImpact = Readonly<{
72076
- attendeeId: string;
72077
- customerName: string;
72620
+ /** The booking's id: the attendee for a date, the registration for a course run. */attendeeId: string;
72621
+ customerName: string; /** The event the date belongs to, so a review spanning several events (a closure) can say which. */
72622
+ eventTitle?: string;
72078
72623
  dateStartsAt: string;
72079
72624
  currency: string | null;
72080
72625
  cashRefundCents: number;
@@ -72123,9 +72668,8 @@ type SchedulePreviewResponse = {
72123
72668
  }; /** Preview of first N dates from new schedule */
72124
72669
  previewDates: string[];
72125
72670
  };
72126
- type AttendeeNotificationIntent = Readonly<{
72671
+ type AttendeeNotificationIntent = /** A date on a course run is worded as a session, any other date as an event; the server decides. */Readonly<{
72127
72672
  kind: 'notify_confirmed_attendees';
72128
- presentation: 'event' | 'whole_series_session';
72129
72673
  }> | Readonly<{
72130
72674
  kind: 'suppress';
72131
72675
  }>;
@@ -72149,7 +72693,7 @@ type OccurrenceUpdateNotificationOutcome = Readonly<{
72149
72693
  kind: 'submission_failed';
72150
72694
  }>;
72151
72695
  type UpdateOccurrenceFields = Readonly<{
72152
- reviewedCancellation?: ReviewedCancellation;
72696
+ reviewedCancellation?: ReviewedBusinessCancellation;
72153
72697
  /**
72154
72698
  * The "let everyone booked know" tick, for changes that are not a schedule
72155
72699
  * replacement (dropping the session, moving its venue). A schedule
@@ -73096,6 +73640,7 @@ interface SubscriptionRecord {
73096
73640
  currentPeriodEnd: string;
73097
73641
  cancelAtPeriodEnd: boolean;
73098
73642
  trialEnds_at?: string | null;
73643
+ observedAt?: string | null;
73099
73644
  raw?: Record<string, unknown>;
73100
73645
  }
73101
73646
  //#endregion
@@ -75190,6 +75735,166 @@ type StripeConnectRestrictions = Readonly<{
75190
75735
  currentDeadline: string | null;
75191
75736
  }>;
75192
75737
  //#endregion
75738
+ //#region .cache/declarations/api/src/common/billingReturn.d.ts
75739
+ declare const billingReturnSchema: z$1.ZodObject<{
75740
+ page: z$1.ZodEnum<{
75741
+ launch: "launch";
75742
+ site_domains: "site_domains";
75743
+ site_home: "site_home";
75744
+ site_media: "site_media";
75745
+ site_team: "site_team";
75746
+ }>;
75747
+ siteId: z$1.ZodString;
75748
+ }, z$1.core.$strip>;
75749
+ type BillingReturn = z$1.infer<typeof billingReturnSchema>;
75750
+ //#endregion
75751
+ //#region .cache/declarations/billing/src/membership/index.d.ts
75752
+ interface MembershipSummary {
75753
+ userId: string;
75754
+ /** Canonical effective standing; consumers must not reconstruct it from provider status. */
75755
+ planStanding: 'paid' | 'payment_recovery' | 'free';
75756
+ /** Effective entitlement plan. Provider subscription identity remains in the repository. */
75757
+ planId: BillingPlanId;
75758
+ status: SubscriptionRecord['status'];
75759
+ currentPeriodEnd: string;
75760
+ cancelAtPeriodEnd: boolean;
75761
+ /** Server-derived provider lifecycle signal; do not infer this from status. */
75762
+ hasRecoverableSubscription: boolean;
75763
+ recordedPlanId: BillingPlanId;
75764
+ trialEndsAt?: string | null;
75765
+ }
75766
+ //#endregion
75767
+ //#region .cache/declarations/api/src/billingEndpointTypes.d.ts
75768
+ type ChangePlanRequest = Readonly<{
75769
+ attemptId: string;
75770
+ from?: BillingReturn;
75771
+ quote?: PlanChangeQuote;
75772
+ }> & (Readonly<{
75773
+ intent: 'change_plan';
75774
+ planId: BillingPlanId;
75775
+ }> | Readonly<{
75776
+ intent: 'reverse_cancellation';
75777
+ }>);
75778
+ /**
75779
+ * The server decides how a plan change happens. A live subscription changes in
75780
+ * place (`changed`); a paid plan without one starts Checkout, and the client
75781
+ * follows `checkoutUrl`.
75782
+ */
75783
+ type ChangePlanResponse = Readonly<{
75784
+ kind: 'changed';
75785
+ membership: MembershipSummary | null;
75786
+ }> | Readonly<{
75787
+ kind: 'checkout';
75788
+ checkoutUrl: string;
75789
+ }>;
75790
+ type AdminChangePlanRequest = Readonly<{
75791
+ attemptId?: string;
75792
+ userId: string;
75793
+ planId: BillingPlanId;
75794
+ prorationBehavior?: 'create_prorations' | 'always_invoice' | 'none';
75795
+ reason?: string;
75796
+ bypassProration?: boolean;
75797
+ }>;
75798
+ type AdminChangePlanResponse = Readonly<{
75799
+ membership: MembershipSummary | null;
75800
+ }>;
75801
+ type AdminGrantTrialRequest = Readonly<{
75802
+ userId: string; /** YYYY-MM-DD: the day the free time ends and the first payment is taken. */
75803
+ trialEndsOn: string;
75804
+ reason: string;
75805
+ }>;
75806
+ type AdminGrantTrialResponse = Readonly<{
75807
+ membership: MembershipSummary | null;
75808
+ }>;
75809
+ type BillingAPIEndpoints = Readonly<{
75810
+ adminChangePlan: APIEndpoint<AdminChangePlanRequest, never, AdminChangePlanResponse>;
75811
+ adminGrantTrial: APIEndpoint<AdminGrantTrialRequest, never, AdminGrantTrialResponse>;
75812
+ changePlan: APIEndpoint<ChangePlanRequest, never, ChangePlanResponse>;
75813
+ previewPlanChange: APIEndpoint<{
75814
+ planId: BillingPlanId;
75815
+ }, never, PreviewPlanChangeResponse>;
75816
+ getAccountInvoiceRecovery: APIEndpoint<never, {
75817
+ invoiceId?: string;
75818
+ }, AccountInvoiceRecovery>;
75819
+ getAccountBillingDetails: APIEndpoint<never, never, AccountBillingDetails>;
75820
+ getAccountBillingInvoices: APIEndpoint<never, {
75821
+ cursor?: string;
75822
+ }, AccountBillingInvoices>;
75823
+ startAccountPaymentMethodSetup: APIEndpoint<{
75824
+ attemptId: string;
75825
+ }, never, AccountPaymentMethodSetup>;
75826
+ finishAccountPaymentMethodSetup: APIEndpoint<{
75827
+ setupIntentId: string;
75828
+ }, never, {
75829
+ kind: 'updated';
75830
+ }>;
75831
+ }>;
75832
+ type AccountPaymentMethod = Readonly<{
75833
+ kind: 'none';
75834
+ }> | Readonly<{
75835
+ kind: 'saved';
75836
+ label: string;
75837
+ last4: string | null;
75838
+ expiry: string | null;
75839
+ }>;
75840
+ type AccountBillingDetails = Readonly<{
75841
+ kind: 'unavailable';
75842
+ }> | Readonly<{
75843
+ kind: 'ready';
75844
+ paymentMethod: AccountPaymentMethod;
75845
+ }>;
75846
+ type AccountBillingInvoices = Readonly<{
75847
+ invoices: ReadonlyArray<Readonly<{
75848
+ id: string;
75849
+ number: string | null;
75850
+ created: number;
75851
+ amount: number;
75852
+ currency: string;
75853
+ status: 'draft' | 'open' | 'paid' | 'uncollectible' | 'void' | null;
75854
+ pdfUrl: string | null;
75855
+ }>>;
75856
+ nextCursor: string | null;
75857
+ }>;
75858
+ type AccountPaymentMethodSetup = Readonly<{
75859
+ setupIntentId: string;
75860
+ clientSecret: string;
75861
+ livemode: boolean;
75862
+ }>;
75863
+ type AccountInvoiceRecovery = Readonly<{
75864
+ kind: 'not_applicable';
75865
+ }> | Readonly<{
75866
+ kind: 'checkout';
75867
+ url: string;
75868
+ }> | Readonly<{
75869
+ kind: 'payment_action_required';
75870
+ invoiceId: string;
75871
+ clientSecret: string;
75872
+ reason: 'authenticate' | 'new_card';
75873
+ amountPence: number;
75874
+ currency: string;
75875
+ livemode: boolean;
75876
+ firstPayment: boolean;
75877
+ }> | Readonly<{
75878
+ kind: 'settling';
75879
+ }> | Readonly<{
75880
+ kind: 'complete';
75881
+ planActive: boolean;
75882
+ paymentMethodSaved: boolean;
75883
+ }> | Readonly<{
75884
+ kind: 'unavailable';
75885
+ }>;
75886
+ type PreviewPlanChangeResponse = Readonly<{
75887
+ differencePence: number;
75888
+ nextInvoice: Readonly<{
75889
+ amountPence: number;
75890
+ date: string;
75891
+ }>;
75892
+ monthlyPricePence: number;
75893
+ currency: string;
75894
+ discounted: boolean;
75895
+ prorationDate: number;
75896
+ }>;
75897
+ //#endregion
75193
75898
  //#region .cache/declarations/api/src/billing.d.ts
75194
75899
  type BillingStatusResponse = {
75195
75900
  hasActiveSubscription: boolean;
@@ -75260,8 +75965,9 @@ type BillingSummaryResponse = {
75260
75965
  billing: {
75261
75966
  basePlan: BillingSummaryBasePlanComponent | null;
75262
75967
  sites: BillingSummarySiteComponent[];
75263
- addOns: BillingSummaryAddOnComponent[];
75968
+ addOns: BillingSummaryAddOnComponent[]; /** List price, before Stripe promotion codes, discounts and tax. */
75264
75969
  total: {
75970
+ basis: 'list_price';
75265
75971
  amountCents: number;
75266
75972
  formatted: string;
75267
75973
  };
@@ -79470,138 +80176,6 @@ type SupportStatusOutcome = Readonly<{
79470
80176
  status: SupportTicketStatus;
79471
80177
  }>;
79472
80178
  //#endregion
79473
- //#region .cache/declarations/billing/src/membership/index.d.ts
79474
- interface MembershipSummary {
79475
- userId: string;
79476
- /** Canonical effective standing; consumers must not reconstruct it from provider status. */
79477
- planStanding: 'paid' | 'payment_recovery' | 'free';
79478
- /** Effective entitlement plan. Provider subscription identity remains in the repository. */
79479
- planId: BillingPlanId;
79480
- status: SubscriptionRecord['status'];
79481
- currentPeriodEnd: string;
79482
- cancelAtPeriodEnd: boolean;
79483
- /** Server-derived provider lifecycle signal; do not infer this from status. */
79484
- hasRecoverableSubscription: boolean;
79485
- recordedPlanId: BillingPlanId;
79486
- trialEndsAt?: string | null;
79487
- }
79488
- //#endregion
79489
- //#region .cache/declarations/api/src/billingEndpointTypes.d.ts
79490
- type ChangePlanRequest = Readonly<{
79491
- attemptId: string;
79492
- }> & (Readonly<{
79493
- intent: 'change_plan';
79494
- planId: BillingPlanId;
79495
- prorationBehavior?: 'create_prorations' | 'always_invoice' | 'none';
79496
- }> | Readonly<{
79497
- intent: 'reverse_cancellation';
79498
- }>);
79499
- /**
79500
- * The server decides how a plan change happens. A live subscription changes in
79501
- * place (`changed`); a paid plan without one starts Checkout, and the client
79502
- * follows `checkoutUrl`.
79503
- */
79504
- type ChangePlanResponse = Readonly<{
79505
- kind: 'changed';
79506
- membership: MembershipSummary | null;
79507
- }> | Readonly<{
79508
- kind: 'checkout';
79509
- checkoutUrl: string;
79510
- }>;
79511
- type AdminChangePlanRequest = Readonly<{
79512
- attemptId?: string;
79513
- userId: string;
79514
- planId: BillingPlanId;
79515
- prorationBehavior?: 'create_prorations' | 'always_invoice' | 'none';
79516
- reason?: string;
79517
- bypassProration?: boolean;
79518
- }>;
79519
- type AdminChangePlanResponse = Readonly<{
79520
- membership: MembershipSummary | null;
79521
- }>;
79522
- type AdminGrantTrialRequest = Readonly<{
79523
- userId: string; /** YYYY-MM-DD: the day the free time ends and the first payment is taken. */
79524
- trialEndsOn: string;
79525
- reason: string;
79526
- }>;
79527
- type AdminGrantTrialResponse = Readonly<{
79528
- membership: MembershipSummary | null;
79529
- }>;
79530
- type BillingAPIEndpoints = Readonly<{
79531
- adminChangePlan: APIEndpoint<AdminChangePlanRequest, never, AdminChangePlanResponse>;
79532
- adminGrantTrial: APIEndpoint<AdminGrantTrialRequest, never, AdminGrantTrialResponse>;
79533
- changePlan: APIEndpoint<ChangePlanRequest, never, ChangePlanResponse>;
79534
- getAccountInvoiceRecovery: APIEndpoint<never, {
79535
- invoiceId?: string;
79536
- }, AccountInvoiceRecovery>;
79537
- getAccountBillingDetails: APIEndpoint<never, never, AccountBillingDetails>;
79538
- getAccountBillingInvoices: APIEndpoint<never, {
79539
- cursor?: string;
79540
- }, AccountBillingInvoices>;
79541
- startAccountPaymentMethodSetup: APIEndpoint<{
79542
- attemptId: string;
79543
- }, never, AccountPaymentMethodSetup>;
79544
- finishAccountPaymentMethodSetup: APIEndpoint<{
79545
- setupIntentId: string;
79546
- }, never, {
79547
- kind: 'updated';
79548
- }>;
79549
- }>;
79550
- type AccountPaymentMethod = Readonly<{
79551
- kind: 'none';
79552
- }> | Readonly<{
79553
- kind: 'saved';
79554
- label: string;
79555
- last4: string | null;
79556
- expiry: string | null;
79557
- }>;
79558
- type AccountBillingDetails = Readonly<{
79559
- kind: 'unavailable';
79560
- }> | Readonly<{
79561
- kind: 'ready';
79562
- paymentMethod: AccountPaymentMethod;
79563
- }>;
79564
- type AccountBillingInvoices = Readonly<{
79565
- invoices: ReadonlyArray<Readonly<{
79566
- id: string;
79567
- number: string | null;
79568
- created: number;
79569
- amount: number;
79570
- currency: string;
79571
- status: 'draft' | 'open' | 'paid' | 'uncollectible' | 'void' | null;
79572
- pdfUrl: string | null;
79573
- }>>;
79574
- nextCursor: string | null;
79575
- }>;
79576
- type AccountPaymentMethodSetup = Readonly<{
79577
- setupIntentId: string;
79578
- clientSecret: string;
79579
- livemode: boolean;
79580
- }>;
79581
- type AccountInvoiceRecovery = Readonly<{
79582
- kind: 'not_applicable';
79583
- }> | Readonly<{
79584
- kind: 'checkout';
79585
- url: string;
79586
- }> | Readonly<{
79587
- kind: 'payment_action_required';
79588
- invoiceId: string;
79589
- clientSecret: string;
79590
- reason: 'authenticate' | 'new_card';
79591
- amountPence: number;
79592
- currency: string;
79593
- livemode: boolean;
79594
- firstPayment: boolean;
79595
- }> | Readonly<{
79596
- kind: 'settling';
79597
- }> | Readonly<{
79598
- kind: 'complete';
79599
- planActive: boolean;
79600
- paymentMethodSaved: boolean;
79601
- }> | Readonly<{
79602
- kind: 'unavailable';
79603
- }>;
79604
- //#endregion
79605
80179
  //#region .cache/declarations/api/src/editLeaseEndpoints.d.ts
79606
80180
  type EditAdmissionRead = PageEditAdmission;
79607
80181
  type EditLeaseParams = Readonly<{
@@ -80015,7 +80589,6 @@ type MacadamiaOnboardingTeamMode = 'solo' | 'team';
80015
80589
  type MacadamiaOnboardingOfferingKind = 'classes' | 'courses' | 'workshops' | 'retreats' | 'performances' | 'private_sessions';
80016
80590
  type MacadamiaOnboardingStyleMood = 'calm_grounding' | 'warm_welcoming' | 'modern_polished' | 'natural_earthy' | 'bright_uplifting' | 'luxury_retreat';
80017
80591
  type MacadamiaOnboardingFirstOfferingDeliveryMode = 'in_person' | 'online' | 'both';
80018
- type MacadamiaOnboardingFirstOfferingScheduleMode = 'weekly' | 'one_off';
80019
80592
  type MacadamiaOnboardingEventSession = {
80020
80593
  clientId: string;
80021
80594
  startDate: string;
@@ -80053,10 +80626,7 @@ type MacadamiaOnboardingDraftFirstOffering = {
80053
80626
  description: string | null;
80054
80627
  deliveryMode: MacadamiaOnboardingFirstOfferingDeliveryMode | null;
80055
80628
  location: string | null;
80056
- scheduleMode: MacadamiaOnboardingFirstOfferingScheduleMode;
80057
- startDate: string | null;
80058
- startTime: string | null;
80059
- durationMinutes: number | null;
80629
+ session: MacadamiaOnboardingEventSession;
80060
80630
  priceType: 'free' | 'paid' | null;
80061
80631
  priceAmount: number | null;
80062
80632
  capacity: number | null;
@@ -84297,6 +84867,8 @@ interface BlockApiClient {
84297
84867
  getEventGuests(registrationId: string): Promise<EventGuest[]>;
84298
84868
  updateEventGuests(registrationId: string, data: UpdateEventGuestsRequest): Promise<EventGuest[]>;
84299
84869
  cancelMembershipAtPeriodEnd(customerMembershipId: string): Promise<PortalCancelMembershipAtPeriodEndResult>;
84870
+ /** Undo a scheduled end. `cancelled: false` means it'll carry on renewing. */
84871
+ resumeMembership(customerMembershipId: string): Promise<PortalCancelMembershipAtPeriodEndResult>;
84300
84872
  sendMagicLink(data: Omit<MagicLinkRequest, 'siteId'>): Promise<MagicLinkResponse>;
84301
84873
  logout(): Promise<void>;
84302
84874
  }
@@ -85192,6 +85764,10 @@ type CardListKnobContent = Readonly<{
85192
85764
  showPhotos?: boolean | null;
85193
85765
  cardMarker?: 'icons' | 'numbers' | 'none' | null;
85194
85766
  }>;
85767
+ type CardListSectionActionContent = Readonly<{
85768
+ sectionActionLabel?: string | null;
85769
+ sectionActionLink?: LinkValue | null;
85770
+ }>;
85195
85771
  //#endregion
85196
85772
  //#region .cache/declarations/blocks/src/system/runtime/nodes/mediaContext.d.ts
85197
85773
  type MediaAssetIndexItem = RenderableMediaAsset;
@@ -85310,6 +85886,7 @@ type BlockConfig = {
85310
85886
  */
85311
85887
  includeContainerStyles?: boolean; /** Block description */
85312
85888
  description?: string; /** Field ID(s) to use as block title in lists (e.g., 'headline', or ['navLabel','title']) */
85889
+ contentPresence?: BlockManifest['contentPresence'];
85313
85890
  titleSource?: string | string[]; /** Search/filter tags */
85314
85891
  tags?: readonly string[]; /** Icon name (Lucide icon) */
85315
85892
  icon?: string; /** Style token mappings */
@@ -85673,6 +86250,7 @@ type EventCalendarContent = EventCalendarFilterContent & CardListKnobContent & {
85673
86250
  showVenue?: boolean | null;
85674
86251
  showMap?: boolean | null;
85675
86252
  showCapacity?: boolean | null;
86253
+ emptyBehavior?: 'message' | 'hide' | null;
85676
86254
  emptyMessage?: string | null;
85677
86255
  boardTitle?: string | null;
85678
86256
  footerNote?: string | null;
@@ -85866,6 +86444,127 @@ type NewsletterSignupContent = {
85866
86444
  _sectionStyles?: SectionStylesContent;
85867
86445
  };
85868
86446
  //#endregion
86447
+ //#region .cache/declarations/blocks/src/system/blocks/class-prices.model.d.ts
86448
+ declare const classPricesCopySchema: z$1.ZodObject<{
86449
+ sessionLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86450
+ sessionText: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86451
+ discountLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86452
+ discountText: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86453
+ passesLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86454
+ passesText: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86455
+ sessionLinkLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86456
+ sessionLink: z$1.ZodCatch<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.ZodObject<{
86457
+ kind: z$1.ZodLiteral<"internal">;
86458
+ routeId: z$1.ZodString;
86459
+ entityId: z$1.ZodString;
86460
+ entityType: z$1.ZodEnum<{
86461
+ content: "content";
86462
+ page: "page";
86463
+ pageSurface: "pageSurface";
86464
+ }>;
86465
+ href: z$1.ZodString;
86466
+ title: z$1.ZodString;
86467
+ typeLabel: z$1.ZodString;
86468
+ contentTypeKey: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86469
+ contentTypeName: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86470
+ updatedAt: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86471
+ }, z$1.core.$loose>, z$1.ZodObject<{
86472
+ kind: z$1.ZodLiteral<"internal">;
86473
+ routeId: z$1.ZodString;
86474
+ }, z$1.core.$loose>]>, z$1.ZodObject<{
86475
+ kind: z$1.ZodLiteral<"external">;
86476
+ href: z$1.ZodString;
86477
+ }, z$1.core.$loose>, z$1.ZodObject<{
86478
+ kind: z$1.ZodLiteral<"url">;
86479
+ href: z$1.ZodString;
86480
+ }, z$1.core.$loose>, z$1.ZodObject<{
86481
+ kind: z$1.ZodLiteral<"page">;
86482
+ identifier: z$1.ZodString;
86483
+ }, z$1.core.$loose>, z$1.ZodObject<{
86484
+ kind: z$1.ZodLiteral<"entry">;
86485
+ contentType: z$1.ZodString;
86486
+ identifier: z$1.ZodString;
86487
+ }, z$1.core.$loose>]>>>>;
86488
+ discountLinkLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86489
+ discountLink: z$1.ZodCatch<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.ZodObject<{
86490
+ kind: z$1.ZodLiteral<"internal">;
86491
+ routeId: z$1.ZodString;
86492
+ entityId: z$1.ZodString;
86493
+ entityType: z$1.ZodEnum<{
86494
+ content: "content";
86495
+ page: "page";
86496
+ pageSurface: "pageSurface";
86497
+ }>;
86498
+ href: z$1.ZodString;
86499
+ title: z$1.ZodString;
86500
+ typeLabel: z$1.ZodString;
86501
+ contentTypeKey: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86502
+ contentTypeName: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86503
+ updatedAt: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86504
+ }, z$1.core.$loose>, z$1.ZodObject<{
86505
+ kind: z$1.ZodLiteral<"internal">;
86506
+ routeId: z$1.ZodString;
86507
+ }, z$1.core.$loose>]>, z$1.ZodObject<{
86508
+ kind: z$1.ZodLiteral<"external">;
86509
+ href: z$1.ZodString;
86510
+ }, z$1.core.$loose>, z$1.ZodObject<{
86511
+ kind: z$1.ZodLiteral<"url">;
86512
+ href: z$1.ZodString;
86513
+ }, z$1.core.$loose>, z$1.ZodObject<{
86514
+ kind: z$1.ZodLiteral<"page">;
86515
+ identifier: z$1.ZodString;
86516
+ }, z$1.core.$loose>, z$1.ZodObject<{
86517
+ kind: z$1.ZodLiteral<"entry">;
86518
+ contentType: z$1.ZodString;
86519
+ identifier: z$1.ZodString;
86520
+ }, z$1.core.$loose>]>>>>;
86521
+ passesLinkLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
86522
+ passesLink: z$1.ZodCatch<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.ZodObject<{
86523
+ kind: z$1.ZodLiteral<"internal">;
86524
+ routeId: z$1.ZodString;
86525
+ entityId: z$1.ZodString;
86526
+ entityType: z$1.ZodEnum<{
86527
+ content: "content";
86528
+ page: "page";
86529
+ pageSurface: "pageSurface";
86530
+ }>;
86531
+ href: z$1.ZodString;
86532
+ title: z$1.ZodString;
86533
+ typeLabel: z$1.ZodString;
86534
+ contentTypeKey: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86535
+ contentTypeName: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86536
+ updatedAt: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNull]>>;
86537
+ }, z$1.core.$loose>, z$1.ZodObject<{
86538
+ kind: z$1.ZodLiteral<"internal">;
86539
+ routeId: z$1.ZodString;
86540
+ }, z$1.core.$loose>]>, z$1.ZodObject<{
86541
+ kind: z$1.ZodLiteral<"external">;
86542
+ href: z$1.ZodString;
86543
+ }, z$1.core.$loose>, z$1.ZodObject<{
86544
+ kind: z$1.ZodLiteral<"url">;
86545
+ href: z$1.ZodString;
86546
+ }, z$1.core.$loose>, z$1.ZodObject<{
86547
+ kind: z$1.ZodLiteral<"page">;
86548
+ identifier: z$1.ZodString;
86549
+ }, z$1.core.$loose>, z$1.ZodObject<{
86550
+ kind: z$1.ZodLiteral<"entry">;
86551
+ contentType: z$1.ZodString;
86552
+ identifier: z$1.ZodString;
86553
+ }, z$1.core.$loose>]>>>>;
86554
+ passPriceMode: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
86555
+ "pass-price": "pass-price";
86556
+ "per-class": "per-class";
86557
+ }>>>;
86558
+ }, z$1.core.$strip>;
86559
+ type ClassPricesCopy = z$1.infer<typeof classPricesCopySchema>;
86560
+ //#endregion
86561
+ //#region .cache/declarations/blocks/src/system/blocks/class-prices.d.ts
86562
+ type ClassPricesContent = ClassPricesCopy & CardListSectionActionContent & {
86563
+ seriesId?: string | null;
86564
+ heading?: string | null;
86565
+ _sectionStyles?: SectionStylesContent;
86566
+ };
86567
+ //#endregion
85869
86568
  //#region .cache/declarations/blocks/src/system/data/types.d.ts
85870
86569
  /**
85871
86570
  * Resolved block data keyed by block ID and loader key
@@ -86580,7 +87279,16 @@ type PublicRunSession = Readonly<{
86580
87279
  * which is the sole authority for them in both booking scopes.
86581
87280
  */
86582
87281
  type PublicWholeSeriesRun = Readonly<{
86583
- /** Canonical event-series identity backing this concrete bookable run. */eventSeriesId: string; /** Offering identity owning the public Event page and its available runs. */
87282
+ /** Listing context keeps the stored part name distinct from its standalone display title. */listing?: Readonly<{
87283
+ title: string | null;
87284
+ course: Readonly<{
87285
+ title: string;
87286
+ path: string | null;
87287
+ facts?: PublicEventBase['facts'];
87288
+ presentation?: PublicEventBase['presentation'];
87289
+ }>;
87290
+ }>; /** Canonical event-series identity backing this concrete bookable run. */
87291
+ eventSeriesId: string; /** Offering identity owning the public Event page and its available runs. */
86584
87292
  eventOfferingId: string; /** True while the whole-series registration window remains open. */
86585
87293
  enrollmentOpen: boolean;
86586
87294
  /**
@@ -88045,6 +88753,16 @@ interface CustomerMembership {
88045
88753
  cancelAtPeriodEnd: boolean;
88046
88754
  pausedAt: string | null;
88047
88755
  canceledAt: string | null;
88756
+ /**
88757
+ * It will renew: a subscription that isn't set to end. False for one the
88758
+ * business added by hand (it runs for a set period) and for one set to end.
88759
+ * The dashboard's `renews` means the same.
88760
+ */
88761
+ renews: boolean;
88762
+ /** Whether the customer can cancel it from the portal (only a renewing one not already ending). */
88763
+ canCancel: boolean;
88764
+ /** Whether the customer can undo a scheduled end while the period runs. Absent from older servers. */
88765
+ canResume?: boolean;
88048
88766
  }
88049
88767
  /**
88050
88768
  * Site credit summary data from /api/portal/credit
@@ -90079,6 +90797,7 @@ interface ApiError {
90079
90797
  requestId: string;
90080
90798
  timestamp: string;
90081
90799
  status: number;
90800
+ billingPlanChange?: BillingPlanChangeFailure;
90082
90801
  fieldErrors?: FieldError[];
90083
90802
  /**
90084
90803
  * Optional precise failure tag from the originating `DomainServiceError`
@@ -90575,7 +91294,8 @@ type AppointmentDashboardEndpoints = {
90575
91294
  }>;
90576
91295
  listAppointments: APIEndpoint<never, {
90577
91296
  siteId: string;
90578
- period?: 'upcoming' | 'past' | 'all';
91297
+ showCancelled?: 'true' | 'false';
91298
+ period?: AppointmentListPeriod;
90579
91299
  search?: string;
90580
91300
  status?: string;
90581
91301
  resourceId?: string;
@@ -90590,7 +91310,8 @@ type AppointmentDashboardEndpoints = {
90590
91310
  }>;
90591
91311
  exportBookingAppointmentsCsv: APIEndpoint<never, {
90592
91312
  siteId: string;
90593
- period?: 'upcoming' | 'past' | 'all';
91313
+ showCancelled?: 'true' | 'false';
91314
+ period?: AppointmentListPeriod;
90594
91315
  search?: string;
90595
91316
  status?: string;
90596
91317
  resourceId?: string;
@@ -90625,6 +91346,11 @@ type CancelWholeSeriesRun = APIEndpoint<CancelWholeSeriesRunRequest, {
90625
91346
  eventId: EventOfferingId;
90626
91347
  runId: EventSeriesId;
90627
91348
  }, CancelWholeSeriesRunResponse>;
91349
+ type PreviewWholeSeriesRunCancellation = APIEndpoint<never, {
91350
+ siteId: string;
91351
+ eventId: EventOfferingId;
91352
+ runId: EventSeriesId;
91353
+ }, WholeSeriesRunCancellationPreview>;
90628
91354
  type RunParams = {
90629
91355
  siteId: string;
90630
91356
  eventId: EventOfferingId;
@@ -90664,7 +91390,9 @@ type OccurrenceList = APIEndpoint<never, {
90664
91390
  timeScope?: 'all' | 'current' | 'past';
90665
91391
  limit?: number;
90666
91392
  offset?: number;
90667
- }, EventOccurrenceListRecord[]>;
91393
+ }, (EventOccurrenceListRecord & {
91394
+ taken: EventDateTaken;
91395
+ })[]>;
90668
91396
  /**
90669
91397
  * The whole-series run and course commands, grouped so the booking endpoint map
90670
91398
  * can spread them in one line. Adding the course Booking tab's writer pushed
@@ -90675,6 +91403,7 @@ type WholeSeriesEndpoints = {
90675
91403
  createWholeSeriesRun: CreateWholeSeriesRun;
90676
91404
  updateWholeSeriesRun: UpdateWholeSeriesRun;
90677
91405
  cancelWholeSeriesRun: CancelWholeSeriesRun;
91406
+ previewWholeSeriesRunCancellation: PreviewWholeSeriesRunCancellation;
90678
91407
  updateCourseBookingSettings: UpdateCourseBookingSettings;
90679
91408
  exportEventOfferingRegistrationsCsv: ExportEventOfferingRegistrationsCsv;
90680
91409
  getEventSeriesRegistrationCancellationPreview: GetRegistrationCancellationPreview;
@@ -91500,6 +92229,27 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
91500
92229
  siteId: string;
91501
92230
  resourceId: string;
91502
92231
  }, CreateTeamMemberProfileResponse>;
92232
+ resolveTeamMemberProfileEditorOwner: APIEndpoint<never, {
92233
+ siteId: string;
92234
+ entryId: string;
92235
+ }, {
92236
+ kind: 'generic';
92237
+ } | {
92238
+ kind: 'staff-profile';
92239
+ staffMemberId: string;
92240
+ }>;
92241
+ getTeamMemberProfileContent: APIEndpoint<never, {
92242
+ siteId: string;
92243
+ resourceId: string;
92244
+ entryId: string;
92245
+ }, {
92246
+ entry: ContentEntryEditorDetail;
92247
+ }>;
92248
+ listTeamMemberProfileContentSlots: APIEndpoint<never, {
92249
+ siteId: string;
92250
+ resourceId: string;
92251
+ entryId: string;
92252
+ }, EntryPageContentSlotsResponse>;
91503
92253
  updateTeamMemberProfilePolicy: APIEndpoint<UpdateTeamMemberProfilePolicyRequest, {
91504
92254
  siteId: string;
91505
92255
  }, UpdateTeamMemberProfilePolicyResponse>;
@@ -91698,6 +92448,7 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
91698
92448
  endAt: string;
91699
92449
  resourceId: string;
91700
92450
  overrideCutoff?: boolean;
92451
+ outsideRules?: 'confirmed';
91701
92452
  }, {
91702
92453
  siteId: string;
91703
92454
  appointmentId: string;
@@ -91894,7 +92645,9 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
91894
92645
  siteId: string;
91895
92646
  seriesId: string;
91896
92647
  occurrenceId: string;
91897
- }, EventOccurrenceRecord & Pick<EventOccurrenceListRecord, 'registrations' | 'capacity' | 'modePlaces' | 'heldPlaces' | 'deletionEligibility'>>;
92648
+ }, EventOccurrenceRecord & Pick<EventOccurrenceListRecord, 'registrations' | 'capacity' | 'modePlaces' | 'heldPlaces' | 'deletionEligibility'> & {
92649
+ taken: EventDateTaken;
92650
+ }>;
91898
92651
  updateEventOccurrence: APIEndpoint<UpdateOccurrenceRequest, {
91899
92652
  siteId: string;
91900
92653
  seriesId: string;
@@ -91999,6 +92752,22 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
91999
92752
  siteId: string;
92000
92753
  customerMembershipId: string;
92001
92754
  }, CancelCustomerMembershipAtPeriodEndResponse>;
92755
+ endCustomerMembershipNow: APIEndpoint<Record<string, never>, {
92756
+ siteId: string;
92757
+ customerMembershipId: string;
92758
+ }, CustomerMembershipChangeResponse>;
92759
+ resumeCustomerMembership: APIEndpoint<Record<string, never>, {
92760
+ siteId: string;
92761
+ customerMembershipId: string;
92762
+ }, CustomerMembershipChangeResponse>; /** Finish the bookings and email a membership change left unfinished. */
92763
+ finishCustomerMembershipChange: APIEndpoint<Record<string, never>, {
92764
+ siteId: string;
92765
+ customerMembershipId: string;
92766
+ }, CustomerMembershipChangeResponse>;
92767
+ correctCustomerMembershipDates: APIEndpoint<CorrectCustomerMembershipDatesRequest, {
92768
+ siteId: string;
92769
+ customerMembershipId: string;
92770
+ }, CustomerMembershipChangeResponse>;
92002
92771
  refundCustomerMembershipPayment: APIEndpoint<RefundCustomerMembershipPaymentRequest, {
92003
92772
  siteId: string;
92004
92773
  customerMembershipId: string;
@@ -92517,6 +93286,11 @@ type CommercePortalAPIEndpoints = {
92517
93286
  }, {
92518
93287
  result: PortalCancelMembershipAtPeriodEndResult;
92519
93288
  }>;
93289
+ portalResumeMembership: APIEndpoint<never, {
93290
+ customerMembershipId: string;
93291
+ }, {
93292
+ result: PortalCancelMembershipAtPeriodEndResult;
93293
+ }>;
92520
93294
  portalSendMagicLink: APIEndpoint<MagicLinkRequest, never, MagicLinkResponse>;
92521
93295
  demoClaimReadiness: APIEndpoint<never, {
92522
93296
  claimId: string;
@@ -92758,4 +93532,4 @@ type ApiClient<Allowed extends keyof APIEndpoints = keyof APIEndpoints, M extend
92758
93532
  readonly [apiClientRepresentation]?: M;
92759
93533
  };
92760
93534
  //#endregion
92761
- export { DateRuntimeContext as $, submissionProof as $n, ZoneLabel as $r, NavigationConfigItemInput as $t, PersistableMedia as A, BookingFlowFeedback as An, PageBlockRenderAdmissionError as Ar, OccurrenceContext as At, EntrySubrouteContextData as B, DeriveBookingFlowStepsInput as Bn, OpaqueButtonColourToken as Br, BookingPageKind as Bt, RenderableMediaAsset as C, AppointmentBookingOverrideInput as Cn, PageLinkValue as Cr, RegistrationAttendanceMode as Ct, ExternalMedia as D, BookingAvailabilityQuery as Dn, ContentFrameIntent as Dr, RegistrationSubject as Dt, AssetMedia as E, BookingAppointmentPackagesUnavailableReason as En, HeaderLogoContext as Er, RegistrationStep as Et, runtimeMediaSchema as F, BookingResourceView as Fn, parseMediaIdentifier as Fr, RegistrationAdmission as Ft, ImageGalleryContent as G, BookingValidationErrors as Gn, WeeklyOpeningHours as Gr, DiscountContext as Gt, BlockLoaderSnapshot as H, LoadState as Hn, BookingEmbedSettings as Hr, BlockApiClient as Ht, MediaTypeDiscriminant as I, BookingSlotSelection as In, BookingQuestionsSubmissionFailure as Ir, RegistrationTicketContinuation as It, ContactNewsletterContent as J, BookingQuestionsPaymentSnapshot as Jn, PublishedBlockPlacementRead as Jr, SurfaceId as Jt, EventCalendarContent as K, BookingFieldValue as Kn, EditLeaseScope as Kr, ResolveWaitlistClaimResponse as Kt, mediaIdentifierSchema as L, BookingSlotView as Ln, EventRegistrationPricingOption as Lr, TicketSelectionPurpose as Lt, RuntimeMediaOfType as M, BookingFlowStep as Mn, FieldDefinition as Mr, ContainerStylesContent as Mt, mediaSchema as N, BookingFlowStepId as Nn, MediaIdentifier as Nr, SectionStylesContent as Nt, Media as O, BookingFieldView as On, FooterMode as Or, ThemedButtonProps as Ot, persistableMediaSchema as P, BookingFlowView as Pn, parseCanonicalMediaIdentifier as Pr, RegistrationPresentation as Pt, LinkResolverContext as Q, SubmissionAuthorization as Qn, DisplayContext as Qr, NavigationAuthoringLinkInput as Qt, ThemeResponsiveMode as R, BookingSubmitActionResult as Rn, SiteFooterContent as Rr, BookingOfferingPresetSummary as Rt, resolveManagedMediaReference as S, AppointmentBookingOverrideData as Sn, LinkValue as Sr, PaymentStepState as St, renderableMediaAssetSchema as T, BookingAppointmentPackagesModel as Tn, PageRuntimeJoin as Tr, RegistrationResult as Tt, PrefetchedBlockData as U, createBookingBlockApiConfig as Un, MapDrawing as Ur, BoundBlockApiClient as Ut, BlockLoaderFailures as V, DerivedBookingFlowSteps as Vn, PageSectionsContext as Vr, BlockApiProvider as Vt, NewsletterSignupContent as W, getAppointmentBookingOverrideInput as Wn, MailingListRuntimeContext as Wr, AutoAppliedDiscountPreview as Wt, LocationMapContent as X, ProtectedSubmission as Xn, BusinessLocationPermission as Xr, ResolveEventSubrouteResponse as Xt, FormBlockContent as Y, getBookingServiceSlidingScale as Yn, BusinessAddress as Yr, ResolveEventSubrouteQuery as Yt, BodyTextContent as Z, SpamProtectionPolicy as Zn, PublicLocation as Zr, PublicPassesResponse as Zt, PublicEvent as _, ContentTypeSchema as _i, BookingFormField as _n, BlockManifest as _r, EventTicketSelectionLine as _t, SdkRuntimePageSurfaceSubject as a, PageSurfaceSubjectWire as ai, PublicServiceCategorySummary as an, EventEmbeddedCheckout as ar, BookingPaymentOptionViewModel as at, ManagedMediaResolution as b, BlockButtonRole as bi, BookingPaymentChoice as bn, ExternalLinkValue as br, PaymentSelection as bt, SiteRuntimeSelectionPayload as c, PositiveCents as ci, ThemeJournalState as cn, CalendarTabViews as cr, PortalAuthState as ct, CustomerEventRegistration as d, Brand as di, RoutableContentItem as dn, EventLayout as dr, EligibilityLookupState as dt, BookingTimeZone as ei, SdkEditorRevision as en, BlockApiConfig as er, MediaAssetIndexItem as et, DirectCheckoutCollectionOptionKind as f, BlockInteractionContext as fi, BookingFormConfig as fn, FilterAutoShow as fr, ExistingRegistrationLookupState as ft, PublicVenueMapLocation as g, TipTapNode as gi, BookingFormServiceCategory as gn, RenderablePageOutline as gr, EventRegistrationClientProps as gt, PaymentMethod as h, TipTapMark as hi, BookingSelectedCollectionOptionKind as hn, RenderablePageBlock as hr, EventPaymentState as ht, SdkRuntimePageSurface as i, EventPageSubrouteContext as ii, PublicBookingServicesResponse as in, EventBookingOutcome as ir, EventRegistrationSiteCreditPreview as it, RuntimeMedia as j, BookingFlowStatus as jn, PageTemplate as jr, CardStylesContent as jt, MediaPoster as k, BookingFlowActionResult as kn, Theme as kr, FormData$1 as kt, PortalDigitalProductAccessResponse as l, EventCategoryId as li, ThemeSelectionPreviewProps as ln, ColumnOption as lr, PortalCreditState as lt, EventRegistrationPaymentSubject as m, RichTextDoc as mi, BookingFormService as mn, EditorRenderablePageOutline as mr, EligibilityData as mt, ApiErrorCode as n, AppointmentBookingReview as ni, SdkSiteLayoutConfig as nn, BlockSiteTerms as nr, EventRegistrationDirectPaymentOption as nt, SiteBookingOfferingPresetSummary as o, EventPageSurfaceSubjectRefWire as oi, PreviewPageAdaptationFacts as on, EventRegistrationErrorAction as or, BookingPaymentSelectionViewModel as ot, EventCheckoutReturnRequest as p, BindingTransformName as pi, BookingFormData as pn, WeekStart as pr, SelectableEventTicketType as pt, EventDetailsContent as q, BookingQuestionsAnswerState as qn, EditorBlockVersions as qr, SdkBlockContentAdmission as qt, SdkLocationMapSupport as r, EventOccurrenceContextData as ri, PublicBookingServiceCatalogueItem as rn, EventRegistrationPageSurfaceSubject as rr, EventRegistrationDirectPaymentSelectionState as rt, SiteRuntimeIdentity as s, NonNegativeCents as si, PreviewRenderingOverride as sn, CurrencyCode as sr, BookingQuestionsModel as st, ApiClient as t, UtcIsoDateTimeString as ti, SdkRuntimeEntry as tn, BrowserReadAuthority as tr, BookingFormInteractiveIslandProps as tt, PortalEventTicket as u, VenueId as ui, SiteRuntimeSiteTerms as un, DisplayMode as ur, PortalProfile as ut, CalendarWindowPage as v, DeepReadonly as vi, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as vn, CustomLinkValue as vr, Guest as vt, buildRenderableMediaAssetIndex as w, AppointmentBookingOverrideInputResult as wn, ResolvedInternalLinkEntityType as wr, RegistrationEvent as wt, RenderableMediaAssetIndex as x, SiteStyleId as xi, BookingPurchasablePackagesModel as xn, InternalLinkValue as xr, PaymentStatusRecoveryState as xt, CalendarWindowRequest as y, HexColor as yi, BookingPaymentAvailability as yn, EntryLinkValue as yr, GuestErrors as yt, SdkConfigForBlockPicker as z, BookingSubmitOptions as zn, SolvedInksPolicy as zr, EventSourceRecovery as zt };
93535
+ export { LinkResolverContext as $, SubmissionAuthorization as $n, DisplayContext as $r, NavigationAuthoringLinkInput as $t, PersistableMedia as A, BookingFlowActionResult as An, Theme as Ar, FormData$1 as At, EntrySubrouteContextData as B, BookingSubmitOptions as Bn, SolvedInksPolicy as Br, EventSourceRecovery as Bt, RenderableMediaAsset as C, AppointmentBookingOverrideData as Cn, LinkValue as Cr, PaymentStepState as Ct, ExternalMedia as D, BookingAppointmentPackagesUnavailableReason as Dn, HeaderLogoContext as Dr, RegistrationStep as Dt, AssetMedia as E, BookingAppointmentPackagesModel as En, PageRuntimeJoin as Er, RegistrationResult as Et, runtimeMediaSchema as F, BookingFlowView as Fn, parseCanonicalMediaIdentifier as Fr, RegistrationPresentation as Ft, NewsletterSignupContent as G, getAppointmentBookingOverrideInput as Gn, MailingListRuntimeContext as Gr, AutoAppliedDiscountPreview as Gt, BlockLoaderSnapshot as H, DerivedBookingFlowSteps as Hn, PageSectionsContext as Hr, BlockApiProvider as Ht, MediaTypeDiscriminant as I, BookingResourceView as In, parseMediaIdentifier as Ir, RegistrationAdmission as It, EventDetailsContent as J, BookingQuestionsAnswerState as Jn, EditorBlockVersions as Jr, SdkBlockContentAdmission as Jt, ImageGalleryContent as K, BookingValidationErrors as Kn, WeeklyOpeningHours as Kr, DiscountContext as Kt, mediaIdentifierSchema as L, BookingSlotSelection as Ln, BookingQuestionsSubmissionFailure as Lr, RegistrationTicketContinuation as Lt, RuntimeMediaOfType as M, BookingFlowStatus as Mn, PageTemplate as Mr, CardStylesContent as Mt, mediaSchema as N, BookingFlowStep as Nn, FieldDefinition as Nr, ContainerStylesContent as Nt, Media as O, BookingAvailabilityQuery as On, ContentFrameIntent as Or, RegistrationSubject as Ot, persistableMediaSchema as P, BookingFlowStepId as Pn, MediaIdentifier as Pr, SectionStylesContent as Pt, BodyTextContent as Q, SpamProtectionPolicy as Qn, PublicLocation as Qr, PublicPassesResponse as Qt, ThemeResponsiveMode as R, BookingSlotView as Rn, EventRegistrationPricingOption as Rr, TicketSelectionPurpose as Rt, resolveManagedMediaReference as S, SiteStyleId as Si, BookingPurchasablePackagesModel as Sn, InternalLinkValue as Sr, PaymentStatusRecoveryState as St, renderableMediaAssetSchema as T, AppointmentBookingOverrideInputResult as Tn, ResolvedInternalLinkEntityType as Tr, RegistrationEvent as Tt, PrefetchedBlockData as U, LoadState as Un, BookingEmbedSettings as Ur, BlockApiClient as Ut, BlockLoaderFailures as V, DeriveBookingFlowStepsInput as Vn, OpaqueButtonColourToken as Vr, BookingPageKind as Vt, ClassPricesContent as W, createBookingBlockApiConfig as Wn, MapDrawing as Wr, BoundBlockApiClient as Wt, FormBlockContent as X, getBookingServiceSlidingScale as Xn, BusinessAddress as Xr, ResolveEventSubrouteQuery as Xt, ContactNewsletterContent as Y, BookingQuestionsPaymentSnapshot as Yn, PublishedBlockPlacementRead as Yr, SurfaceId as Yt, LocationMapContent as Z, ProtectedSubmission as Zn, BusinessLocationPermission as Zr, ResolveEventSubrouteResponse as Zt, PublicEvent as _, TipTapNode as _i, BookingFormServiceCategory as _n, RenderablePageOutline as _r, EventRegistrationClientProps as _t, SdkRuntimePageSurfaceSubject as a, EventPageSubrouteContext as ai, PublicBookingServicesResponse as an, EventBookingOutcome as ar, EventRegistrationSiteCreditPreview as at, ManagedMediaResolution as b, HexColor as bi, BookingPaymentAvailability as bn, EntryLinkValue as br, GuestErrors as bt, SiteRuntimeSelectionPayload as c, NonNegativeCents as ci, PreviewRenderingOverride as cn, CurrencyCode as cr, BookingQuestionsModel as ct, CustomerEventRegistration as d, VenueId as di, SiteRuntimeSiteTerms as dn, DisplayMode as dr, PortalProfile as dt, ZoneLabel as ei, NavigationConfigItemInput as en, submissionProof as er, DateRuntimeContext as et, DirectCheckoutCollectionOptionKind as f, Brand as fi, RoutableContentItem as fn, EventLayout as fr, EligibilityLookupState as ft, PublicVenueMapLocation as g, TipTapMark as gi, BookingSelectedCollectionOptionKind as gn, RenderablePageBlock as gr, EventPaymentState as gt, PaymentMethod as h, RichTextDoc as hi, BookingFormService as hn, EditorRenderablePageOutline as hr, EligibilityData as ht, SdkRuntimePageSurface as i, EventOccurrenceContextData as ii, PublicBookingServiceCatalogueItem as in, EventRegistrationPageSurfaceSubject as ir, EventRegistrationDirectPaymentSelectionState as it, RuntimeMedia as j, BookingFlowFeedback as jn, PageBlockRenderAdmissionError as jr, OccurrenceContext as jt, MediaPoster as k, BookingFieldView as kn, FooterMode as kr, ThemedButtonProps as kt, PortalDigitalProductAccessResponse as l, PositiveCents as li, ThemeJournalState as ln, CalendarTabViews as lr, PortalAuthState as lt, EventRegistrationPaymentSubject as m, BindingTransformName as mi, BookingFormData as mn, WeekStart as mr, SelectableEventTicketType as mt, ApiErrorCode as n, UtcIsoDateTimeString as ni, SdkRuntimeEntry as nn, BrowserReadAuthority as nr, BookingFormInteractiveIslandProps as nt, SiteBookingOfferingPresetSummary as o, EventPageSurfaceSubjectRefWire as oi, PublicServiceCategorySummary as on, EventEmbeddedCheckout as or, BookingPaymentOptionViewModel as ot, EventCheckoutReturnRequest as p, BlockInteractionContext as pi, BookingFormConfig as pn, FilterAutoShow as pr, ExistingRegistrationLookupState as pt, EventCalendarContent as q, BookingFieldValue as qn, EditLeaseScope as qr, ResolveWaitlistClaimResponse as qt, SdkLocationMapSupport as r, AppointmentBookingReview as ri, SdkSiteLayoutConfig as rn, BlockSiteTerms as rr, EventRegistrationDirectPaymentOption as rt, SiteRuntimeIdentity as s, PageSurfaceSubjectWire as si, PreviewPageAdaptationFacts as sn, EventRegistrationErrorAction as sr, BookingPaymentSelectionViewModel as st, ApiClient as t, BookingTimeZone as ti, SdkEditorRevision as tn, BlockApiConfig as tr, MediaAssetIndexItem as tt, PortalEventTicket as u, EventCategoryId as ui, ThemeSelectionPreviewProps as un, ColumnOption as ur, PortalCreditState as ut, CalendarWindowPage as v, ContentTypeSchema as vi, BookingFormField as vn, BlockManifest as vr, EventTicketSelectionLine as vt, buildRenderableMediaAssetIndex as w, AppointmentBookingOverrideInput as wn, PageLinkValue as wr, RegistrationAttendanceMode as wt, RenderableMediaAssetIndex as x, BlockButtonRole as xi, BookingPaymentChoice as xn, ExternalLinkValue as xr, PaymentSelection as xt, CalendarWindowRequest as y, DeepReadonly as yi, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as yn, CustomLinkValue as yr, Guest as yt, SdkConfigForBlockPicker as z, BookingSubmitActionResult as zn, SiteFooterContent as zr, BookingOfferingPresetSummary as zt };