@riverbankcms/sdk 0.168.0 → 0.169.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 (192) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CiD_VVGM.d.ts → BlocksIslandsHydrator-DpROiz12.d.ts} +1 -1
  2. package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-DHBBDRC_.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-CG7Qib7u.d.ts} +2 -2
  4. package/dist/_dts/{client-C8mfUxrJ.d.ts → client-MURxFla9.d.ts} +39 -397
  5. package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-ClBGjxBV.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-CHNvzh0y.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-DQM934Fm.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-ConZaEqB.d.ts} +2 -2
  9. package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BaDqRekr.d.ts} +4 -4
  10. package/dist/_dts/{index-vR3p9Bu-.d.ts → index-CVB5wgbz.d.ts} +2 -2
  11. package/dist/_dts/{index-Cx2BQlHL.d.ts → index-CiR_oPYT.d.ts} +1 -1
  12. package/dist/_dts/{index-Bpr-wT5k.d.ts → index-CovKPftP.d.ts} +2 -2
  13. package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DCw8LO4M.d.ts} +1 -1
  14. package/dist/_dts/{index-Vh8B9FSa.d.ts → index-DDaX-K2D.d.ts} +1 -1
  15. package/dist/_dts/{index-C7_Rz8EY.d.ts → index-rfAssXq0.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-CRLKVVDP.d.ts} +7 -7
  17. package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DeVetKBr.d.ts} +1840 -599
  18. package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-C5KYFeig.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-D8MZWyNO.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 +1 -1
  53. package/dist/_dts/{types-FOsJ-KYb.d.ts → types-B4MBlP_B.d.ts} +2 -2
  54. package/dist/_dts/{types-BVFXYtRg.d.ts → types-Fj31kIi2.d.ts} +7 -7
  55. package/dist/_dts/{types-BB33-Spd.d.ts → types-OwqfS8Gn.d.ts} +3 -3
  56. package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-B1Fa8o_b.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-DcwEaliO.mjs → BlocksIslandsHydrator-qq4Vhs7k.mjs} +16 -16
  58. package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-y3qWjnOo.mjs} +17 -6
  59. package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-DjLjd0vc.mjs} +3 -3
  60. package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-VM7C2fdh.mjs} +7 -7
  61. package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-C2QCj_Ta.mjs} +65 -9
  62. package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-DDjz7tuX.mjs} +9 -9
  63. package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-CeYbNsch.mjs} +7 -7
  64. package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-B5J0IeF4.mjs} +3 -3
  65. package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-eH04D8-V.mjs} +1 -1
  66. package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-slpvrTrM.mjs} +3 -3
  67. package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BYBaElec.mjs} +5 -5
  68. package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-Do7Q0wRG.mjs} +121 -59
  69. package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
  70. package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
  71. package/dist/client/{Page-D_M2Vxz3.mjs → Page-Dv9eIOGr.mjs} +20 -15
  72. package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-BZNUd0-v.mjs} +2 -2
  73. package/dist/client/{accordion-DE7OG--d.mjs → accordion-BCtVxnDZ.mjs} +1 -1
  74. package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-Cr5G-HHO.mjs} +504 -216
  75. package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-B1Fc62Sl.mjs} +8 -5
  76. package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
  77. package/dist/client/bookings.mjs +16 -13
  78. package/dist/client/{carousel-DZyUdnFh.mjs → carousel-DW-HgjvT.mjs} +1 -1
  79. package/dist/client/{cart-D7HkkNwe.mjs → cart-D1zWe4R7.mjs} +3 -3
  80. package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-CIfbTLHS.mjs} +1 -1
  81. package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-fDCNZ3IT.mjs} +3 -3
  82. package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-C4l2KjtV.mjs} +1 -1
  83. package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-cWL6I-Vz.mjs} +3 -2
  84. package/dist/client/client.mjs +50 -3
  85. package/dist/client/{context-DXmIbXCK.mjs → context-DQnTyApV.mjs} +24 -2
  86. package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
  87. package/dist/client/{cta-DP_IBnq3.mjs → cta-Bj5WHgcv.mjs} +2 -2
  88. package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
  89. package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-3uVu3WgG.mjs} +1 -1
  90. package/dist/client/{wizardSteps-CFulHWnT.mjs → display-CT8KMSpH.mjs} +893 -68
  91. package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-B27KFGDv.mjs} +3 -2
  92. package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-CL4Lqz2c.mjs} +1 -1
  93. package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-Dj3Kyp5X.mjs} +56 -16
  94. package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-DGsdSF8J.mjs} +4 -4
  95. package/dist/client/{eventCombined-DoSi8p_l.mjs → eventCombined-DFSVDJ3D.mjs} +4 -4
  96. package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DzMskXYA.mjs} +2 -2
  97. package/dist/client/{eventListing-CkiMjl0g.mjs → eventListing-CpFFcAUr.mjs} +4 -4
  98. package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-BipMUOCw.mjs} +8 -5
  99. package/dist/client/{form-DgQqm7T2.mjs → form-57k2JQnm.mjs} +3 -3
  100. package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-CCl6CpRJ.mjs} +4 -4
  101. package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-BOJ1yDDf.mjs} +1 -1
  102. package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
  103. package/dist/client/gifting/client.mjs +2 -2
  104. package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-q_bEzfhW.mjs} +2 -2
  105. package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-CiqKAmPs.mjs} +5 -5
  106. package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-x1RzAMNO.mjs} +1 -1
  107. package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-Cn7h4zFe.mjs} +3 -3
  108. package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
  109. package/dist/client/portal/client.mjs +20 -12
  110. package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-rWUvpVvZ.mjs} +1 -1
  111. package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-J0wDOmKv.mjs} +1 -1
  112. package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-LtCkMrJ0.mjs} +3 -3
  113. package/dist/client/{productList-B8o5AOMX.mjs → productList-C0MLeh-v.mjs} +3 -3
  114. package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-CAmEkJ6Y.mjs} +3 -3
  115. package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-Bf2YX_4v.mjs} +22 -19
  116. package/dist/client/rendering/client.mjs +25 -25
  117. package/dist/client/rendering/islands.mjs +1 -1
  118. package/dist/client/rendering.mjs +4 -4
  119. package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
  120. package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-UdAlnZGQ.mjs} +1 -1
  121. package/dist/client/{shop-rRXplPGZ.mjs → shop-Dkn6EasY.mjs} +3 -3
  122. package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-bo0Z6kwf.mjs} +11 -11
  123. package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-Ckxa4_jI.mjs} +1 -1
  124. package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-B_GqU6_U.mjs} +109 -30
  125. package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-C6L_Ig5F.mjs} +7 -523
  126. package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-CO1Y8lFd.mjs} +2 -2
  127. package/dist/client/src-BozhJ43Z.mjs +3 -0
  128. package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
  129. package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-D62jfOxZ.mjs} +10 -10
  130. package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-CStfVmyY.mjs} +3 -3
  131. package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Ca2pHUDu.mjs} +5 -3
  132. package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-AEifktGO.mjs} +1 -1
  133. package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-uxnUWI2v.mjs} +6 -6
  134. package/dist/client/{view-448wvvEY.mjs → view-B6KSxQMO.mjs} +7 -7
  135. package/dist/client/{view-L_mkgtnk.mjs → view-SVnWic7i.mjs} +2 -3
  136. package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-kbdqYkWM.mjs} +3 -3
  137. package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-DI_LhsMQ.mjs} +89 -39
  138. package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-yyD-ZREP.mjs} +5 -5
  139. package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-YauP65Gi.mjs} +5 -5
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Bl7jQMI1.mjs} +8 -7
  141. package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-CQFRP9aM.mjs} +1057 -316
  142. package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DSR0IdAw.mjs} +417 -56
  143. package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-uSnVzeNs.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-6Q0RVJTQ.mjs} +2 -2
  146. package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
  147. package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
  148. package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-Cdx3kAGm.mjs} +1 -1
  149. package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-ZrWdhcB6.mjs} +1 -1
  150. package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-CK-GWb9k.mjs} +1 -1
  151. package/dist/preview-next/keepAlive.mjs +1 -1
  152. package/dist/preview-next/middleware.mjs +1 -1
  153. package/dist/preview-next/{route-contract-C0sCvCYL.mjs → route-contract-BU1m9SV3.mjs} +47 -0
  154. package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-4vx7wzxj.mjs} +4 -4
  155. package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-C3HLgqBF.mjs} +6 -3
  156. package/dist/server/{bindings-DLoZYUxG.mjs → bindings-TAQbo2P5.mjs} +1 -1
  157. package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
  158. package/dist/server/{client-Bc8jI8zN.mjs → client-DzCxEl3L.mjs} +48 -1
  159. package/dist/server/config-validation.mjs +1 -1
  160. package/dist/server/config.mjs +1 -1
  161. package/dist/server/data/resolveBlockData.mjs +1 -1
  162. package/dist/server/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
  163. package/dist/server/index.mjs +2 -2
  164. package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-BO1M9Hdf.mjs} +4 -4
  165. package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-BvWzmZcD.mjs} +2 -2
  166. package/dist/server/next.mjs +6 -6
  167. package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-fxuB1zZg.mjs} +1 -1
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DzduDSqY.mjs} +2 -2
  170. package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-BU8pwTNx.mjs} +2 -2
  171. package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-CSOJ8p8E.mjs} +24 -16
  172. package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
  173. package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C5ZYo7wA.mjs} +1 -1
  174. package/dist/server/prebuild.mjs +1 -1
  175. package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-BvbxqeKn.mjs} +2 -2
  176. package/dist/server/{registry-Bh0Y25zH.mjs → registry-Fv-7D8o2.mjs} +264 -48
  177. package/dist/server/rendering/components/pageShared.mjs +1 -1
  178. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  179. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  180. package/dist/server/rendering/server.mjs +3 -3
  181. package/dist/server/rendering.mjs +7 -7
  182. package/dist/server/{resolveBlockData-CnHHst9r.mjs → resolveBlockData-xPgkvoWS.mjs} +1 -1
  183. package/dist/server/server.mjs +3 -3
  184. package/dist/server/theme-bridge.mjs +1 -1
  185. package/dist/server/theme.mjs +1 -1
  186. package/dist/server/{validation-D2bHWSxJ.mjs → validation-DddhgNdb.mjs} +4 -4
  187. package/dist/server/{version-DkM1eAxG.mjs → version-D_W2mt8w.mjs} +1 -1
  188. package/dist/styles/index.css +6 -3
  189. package/package.json +1 -1
  190. package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
  191. package/dist/client/src-CdRISvQp.mjs +0 -3
  192. package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
@@ -56,6 +56,10 @@ type ProductId = Brand$1<string, 'ProductId'>;
56
56
  type MediaAssetId = Brand$1<string, 'MediaAssetId'>;
57
57
  type SiteScopedStoragePath = Brand$1<string, 'SiteScopedStoragePath'>;
58
58
  //#endregion
59
+ //#region .cache/declarations/core/src/branded/entitlements.d.ts
60
+ type PassId = Brand$1<string, 'PassId'>;
61
+ type CustomerPassId = Brand$1<string, 'CustomerPassId'>;
62
+ //#endregion
59
63
  //#region .cache/declarations/core/src/branded/communications.d.ts
60
64
  type FormId = Brand$1<string, 'FormId'>;
61
65
  //#endregion
@@ -2914,6 +2918,31 @@ type HandAddedPaymentChoice = Readonly<{
2914
2918
  kind: 'payment_link';
2915
2919
  }>;
2916
2920
  //#endregion
2921
+ //#region .cache/declarations/core/src/embedHosts.d.ts
2922
+ /** Canonical website policy shared by settings writers and embed consumers. */
2923
+ declare const embedHostBrand: unique symbol;
2924
+ declare const websiteUrlBrand: unique symbol;
2925
+ type NormalisedEmbedHost = string & {
2926
+ readonly [embedHostBrand]: true;
2927
+ };
2928
+ type NormalisedWebsiteUrl = string & {
2929
+ readonly [websiteUrlBrand]: true;
2930
+ };
2931
+ type BookingEmbedSettings = Readonly<{
2932
+ externalWebsiteUrl: NormalisedWebsiteUrl | null;
2933
+ allowedHosts: readonly NormalisedEmbedHost[];
2934
+ }>;
2935
+ type BookingEmbedChange = Readonly<{
2936
+ kind: 'set_website';
2937
+ address: string;
2938
+ }> | Readonly<{
2939
+ kind: 'add_host';
2940
+ address: string;
2941
+ }> | Readonly<{
2942
+ kind: 'remove_host';
2943
+ address: string;
2944
+ }>;
2945
+ //#endregion
2917
2946
  //#region .cache/declarations/site-contracts/src/pageDocument/metadata.d.ts
2918
2947
  type PageAuthoredMetadata = Readonly<{
2919
2948
  title: string | null;
@@ -2962,7 +2991,7 @@ type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
2962
2991
  //#endregion
2963
2992
  //#region .cache/declarations/site-contracts/src/identity/siteStyleLooks.d.ts
2964
2993
  /** Deterministic fallback order; Fulcrum is the default. */
2965
- declare const bookingPageLookIdValues: readonly ['site-style:fulcrum', 'site-style:folio', 'site-style:measure', 'site-style:lantern', 'site-style:poster', 'site-style:loom', 'site-style:brook'];
2994
+ declare const bookingPageLookIdValues: readonly ['site-style:fulcrum', 'site-style:folio', 'site-style:measure', 'site-style:lantern', 'site-style:poster', 'site-style:loom', 'site-style:brook', 'site-style:poise'];
2966
2995
  type BookingPageLookId = SiteStyleId & (typeof bookingPageLookIdValues)[number];
2967
2996
  declare const footerLookIdValues: readonly ['footer-links-row', 'footer-centred-name'];
2968
2997
  type FooterLookIdValue = (typeof footerLookIdValues)[number];
@@ -8210,7 +8239,21 @@ interface BeforeYouComeTaskSummary {
8210
8239
  type PortalBeforeYouComeTask = BeforeYouComeTaskSummary | Readonly<{
8211
8240
  kind: 'unavailable';
8212
8241
  }>;
8242
+ /** Read-only captured answers, separate from the live fields used for new answers. */
8243
+ type CapturedBookingQuestionAnswer = Readonly<{
8244
+ fieldId: string;
8245
+ label: string;
8246
+ }> & (Readonly<{
8247
+ kind: 'scalar';
8248
+ valueSummary: string;
8249
+ }> | Readonly<{
8250
+ kind: 'document';
8251
+ fileName: string;
8252
+ bytes: number;
8253
+ }>);
8213
8254
  interface BookingQuestionsTaskDetail {
8255
+ /** Completed evidence, projected with its captured question and choice labels. */
8256
+ completedAnswers?: readonly CapturedBookingQuestionAnswer[];
8214
8257
  timeZone: string;
8215
8258
  isOnline: boolean | null;
8216
8259
  requirementId: string;
@@ -9157,6 +9200,10 @@ declare const publicPassProductSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<
9157
9200
  validDays: z$1.ZodNullable<z$1.ZodNumber>;
9158
9201
  eligibleCategoryIds: z$1.ZodArray<z$1.ZodString>;
9159
9202
  eligibleCategoryNames: z$1.ZodArray<z$1.ZodString>;
9203
+ heldWithTeamMember: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
9204
+ id: z$1.ZodString;
9205
+ name: z$1.ZodString;
9206
+ }, z$1.core.$strip>>>;
9160
9207
  teamMemberSelection: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9161
9208
  kind: z$1.ZodLiteral<"any">;
9162
9209
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -9188,6 +9235,10 @@ declare const publicPassProductSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<
9188
9235
  validDays: z$1.ZodNullable<z$1.ZodNumber>;
9189
9236
  eligibleCategoryIds: z$1.ZodArray<z$1.ZodString>;
9190
9237
  eligibleCategoryNames: z$1.ZodArray<z$1.ZodString>;
9238
+ heldWithTeamMember: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
9239
+ id: z$1.ZodString;
9240
+ name: z$1.ZodString;
9241
+ }, z$1.core.$strip>>>;
9191
9242
  teamMemberSelection: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9192
9243
  kind: z$1.ZodLiteral<"any">;
9193
9244
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -10632,9 +10683,9 @@ interface CustomerOrder {
10632
10683
  }
10633
10684
  //#endregion
10634
10685
  //#region .cache/declarations/site-contracts/src/siteData/portalDigitalProducts.d.ts
10635
- type JsonPrimitive$1 = string | number | boolean | null;
10636
- type JsonValue$1 = JsonPrimitive$1 | JsonValue$1[] | {
10637
- [key: string]: JsonValue$1 | undefined;
10686
+ type JsonPrimitive$2 = string | number | boolean | null;
10687
+ type JsonValue$2 = JsonPrimitive$2 | JsonValue$2[] | {
10688
+ [key: string]: JsonValue$2 | undefined;
10638
10689
  };
10639
10690
  interface PortalDigitalProductFile {
10640
10691
  assetId: string;
@@ -10647,7 +10698,7 @@ interface PortalDigitalProductBase {
10647
10698
  entitlementId: string;
10648
10699
  productId: string;
10649
10700
  productTitle: string;
10650
- productDescription: JsonValue$1 | null;
10701
+ productDescription: JsonValue$2 | null;
10651
10702
  accessState: 'active' | 'revoked';
10652
10703
  revokedReason: string | null;
10653
10704
  lastEmailSentAt: string | null;
@@ -28659,6 +28710,15 @@ type PortalWaitlistCancellationResult = Readonly<{
28659
28710
  outcome: 'cancelled' | 'alreadyClosed' | 'notFound';
28660
28711
  }>;
28661
28712
  //#endregion
28713
+ //#region .cache/declarations/blocks/src/system/runtime/shared/navigation/pageNavigation.d.ts
28714
+ declare const pageNavigationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
28715
+ kind: z$1.ZodLiteral<"page">;
28716
+ }, z$1.core.$strip>, z$1.ZodObject<{
28717
+ kind: z$1.ZodLiteral<"embed">;
28718
+ canonicalOrigin: z$1.ZodString;
28719
+ }, z$1.core.$strip>], "kind">;
28720
+ type PageNavigation = z$1.infer<typeof pageNavigationSchema>;
28721
+ //#endregion
28662
28722
  //#region .cache/declarations/blocks/src/system/runtime/api/types/core.d.ts
28663
28723
  /** API key auth for SDK sites (bld_live_sk_*) */
28664
28724
  type ApiKeyAuth = {
@@ -28685,6 +28745,7 @@ type BrowserReadAuthority = Readonly<{
28685
28745
  }>;
28686
28746
  /** Configuration for creating a Block API Client */
28687
28747
  interface BlockApiConfig {
28748
+ pageNavigation?: PageNavigation;
28688
28749
  /** Dashboard API URL (e.g., https://dashboard.example.com/api) */
28689
28750
  baseUrl: string;
28690
28751
  /** Auth strategy */
@@ -28729,63 +28790,14 @@ type SpamProtectionPolicy = Readonly<{
28729
28790
  /** A retained ready authorization is checked again immediately before transport. */
28730
28791
  declare function submissionProof(authorization: SubmissionAuthorization): string | null;
28731
28792
  //#endregion
28732
- //#region .cache/declarations/blocks/src/system/blocks/shared/bookingConsent.d.ts
28733
- type BookingRequirementConsentField = Readonly<{
28734
- id: string;
28735
- label: string;
28736
- type: 'booking_requirement_consent';
28737
- required: true;
28738
- agreement: RichTextDoc;
28739
- checkboxLabel: string;
28740
- placeholder?: never;
28741
- helpText?: never;
28742
- options?: never;
28743
- multiple?: never;
28744
- minLength?: never;
28745
- maxLength?: never;
28746
- pattern?: never;
28747
- min?: never;
28748
- max?: never;
28749
- }>;
28750
- //#endregion
28751
- //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts
28752
- declare const BOOKING_FORM_DATA_RESERVED_KEY_VALUES: readonly ["serviceId", "resourceId", "selectedDate", "selectedSlot", "discountCode", "selectedSlidingAmountInput", "selectedCollectionOptionKind", "selectedAppointmentPackageId", "mailingListOptIn"];
28753
- type BookingFormDataReservedKey = (typeof BOOKING_FORM_DATA_RESERVED_KEY_VALUES)[number];
28754
- //#endregion
28755
- //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.fields.d.ts
28756
- type BookingFormFieldOption = Readonly<{
28757
- value: string;
28758
- label: string;
28759
- }>;
28760
- type StandardBookingFormField = Readonly<{
28761
- id: string;
28762
- label: string;
28763
- type: 'text' | 'email' | 'textarea' | 'select' | 'radio' | 'checkbox' | 'tel' | 'url' | 'number' | 'date' | 'time';
28764
- required?: boolean;
28765
- placeholder?: string;
28766
- helpText?: string;
28767
- options?: readonly BookingFormFieldOption[];
28768
- multiple?: boolean;
28769
- minLength?: number;
28770
- maxLength?: number;
28771
- pattern?: string;
28772
- min?: number;
28773
- max?: number;
28793
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.service-pricing.d.ts
28794
+ type BookingServiceSlidingScale = Readonly<{
28795
+ minAmount: number;
28796
+ maxAmount: number;
28797
+ suggestedAmount: number | null;
28798
+ currency: string;
28774
28799
  }>;
28775
- type BookingFormField = StandardBookingFormField | BookingRequirementConsentField;
28776
- //#endregion
28777
- //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts
28778
- /**
28779
- * The services a booking block was given. Only the catalogue shape
28780
- * `{ services, categories }` carries categories; the other shapes read as a
28781
- * site without categories.
28782
- */
28783
- type BookingFormServicesSource = readonly BookingFormService[] | Readonly<{
28784
- services?: readonly BookingFormService[];
28785
- categories?: readonly BookingFormServiceCategory[];
28786
- }> | Readonly<Record<string, BookingFormService>>;
28787
- /** A category heading in the service step: the shared category summary. */
28788
- type BookingFormServiceCategory = ServiceCategorySummary;
28800
+ declare function getBookingServiceSlidingScale(service: BookingFormService | null | undefined): BookingServiceSlidingScale | null;
28789
28801
  //#endregion
28790
28802
  //#region .cache/declarations/blocks/src/system/runtime/shared/bookingQuestionsAnswers.d.ts
28791
28803
  /**
@@ -28839,183 +28851,14 @@ type BookingQuestionsPaymentSnapshot = Readonly<{
28839
28851
  }>;
28840
28852
  }>;
28841
28853
  //#endregion
28842
- //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.state.d.ts
28843
- type BookingFormSettings = Readonly<{
28844
- type: "booking";
28845
- serviceId?: string;
28846
- serviceIds?: readonly string[];
28847
- resourceId?: string;
28848
- requiresApproval?: boolean;
28849
- successMessage?: string;
28850
- }>;
28851
- type BookingFormConfig = Readonly<{
28852
- id: string;
28853
- name: string;
28854
- slug: string;
28855
- settings?: BookingFormSettings;
28856
- schema?: Readonly<{
28857
- version?: string;
28858
- fields: readonly BookingFormField[];
28859
- }>;
28860
- }>;
28861
- type BookingFormSourceRecord = Readonly<{
28862
- id: string;
28863
- siteId: string;
28864
- userId: string;
28865
- name: string;
28866
- schemaJson?: Readonly<{
28867
- version?: string;
28868
- fields?: readonly BookingFormField[];
28869
- }>;
28870
- settingsJson?: BookingFormSettings;
28871
- createdAt: string;
28872
- updatedAt: string;
28873
- }>;
28874
- type BlockBookingPaymentTermsAvailability = Readonly<{
28875
- kind: "available";
28876
- paymentTerms: BookingPaymentTerms;
28877
- }> | Readonly<{
28878
- kind: "pending_stripe_setup";
28879
- paymentTerms: BookingPaymentTerms;
28880
- reason: "online_payment_configured_before_launch";
28881
- }>;
28882
- type BookingFormServicePricing = Readonly<{
28883
- pricingStrategy: "free" | "single" | "tiered" | "sliding_scale";
28884
- currency: string;
28885
- singlePriceAmount?: number | null;
28886
- slidingMinAmount?: number | null;
28887
- slidingMaxAmount?: number | null;
28888
- slidingSuggestedAmount?: number | null;
28889
- }>;
28890
- type BookingFormService = Readonly<{
28891
- image?: RuntimeMedia | null; /** Already-redacted public service modality; retained from the catalog DTO. */
28892
- location?: Readonly<{
28893
- mode: 'online' | 'in_person' | 'either';
28894
- }>;
28895
- id: string;
28896
- siteId: string;
28897
- title: string;
28898
- description?: string;
28899
- durationMinutes?: number;
28900
- pricing?: BookingFormServicePricing;
28901
- priceAmount?: number | null;
28902
- priceCurrency?: string | null;
28903
- paymentTerms?: BookingPaymentTerms;
28904
- paymentTermsAvailability?: BlockBookingPaymentTermsAvailability;
28905
- asksSiteTerms?: boolean;
28906
- consent?: BookingConsent; /** What the public catalogue says this service asks during booking; absent reads as `none`. */
28907
- bookingQuestions?: BeforeBookingQuestionsPresentation; /** The service's category (issue 1403); null or absent is "Other". */
28908
- categoryId?: string | null;
28909
- }>;
28910
- type BookingSelectedCollectionOptionKind = BookingPaymentCollectionOptionKind;
28911
- type BookingCustomFieldData<TCustomFieldId extends string> = Readonly<{ [K in TCustomFieldId as K extends BookingFormDataReservedKey ? never : K]?: unknown }>;
28912
- type BookingFormData<TCustomFieldId extends string = never> = Readonly<{
28913
- serviceId?: string;
28914
- resourceId?: string;
28915
- selectedDate?: string;
28916
- selectedSlot?: string;
28917
- discountCode?: string;
28918
- selectedSlidingAmountInput?: string;
28919
- selectedCollectionOptionKind?: BookingSelectedCollectionOptionKind;
28920
- selectedAppointmentPackageId?: string;
28921
- mailingListOptIn?: boolean;
28922
- }> & BookingCustomFieldData<TCustomFieldId>;
28923
- type BookingServiceSlidingScale = Readonly<{
28924
- minAmount: number;
28925
- maxAmount: number;
28926
- suggestedAmount: number | null;
28927
- currency: string;
28928
- }>;
28929
- type BookingPaymentStepResolution = Readonly<{
28930
- kind: 'unselected';
28931
- mode: 'hidden';
28932
- service: null;
28933
- }> | Readonly<{
28934
- kind: 'unavailable';
28935
- mode: 'unsupported';
28936
- service: BookingFormService | null;
28937
- errorMessage: string;
28938
- }> | Readonly<{
28939
- kind: 'not_required';
28940
- mode: 'hidden';
28941
- service: BookingFormService;
28942
- }> | Readonly<{
28943
- kind: 'ready';
28944
- mode: 'hidden' | 'disclosure_only' | 'choice_required';
28945
- service: BookingFormService;
28946
- availableOptions: readonly [ResolvedBookingCollectionOption, ...ResolvedBookingCollectionOption[]];
28947
- choice: Readonly<{
28948
- kind: 'required';
28949
- }> | Readonly<{
28950
- kind: 'selected';
28951
- option: ResolvedBookingCollectionOption;
28952
- }>;
28953
- }>;
28954
- declare function getBookingServiceSlidingScale(service: BookingFormService | null | undefined): BookingServiceSlidingScale | null;
28955
- //#endregion
28956
- //#region .cache/declarations/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts
28957
- /**
28958
- * Form field definition (matches packages/db/src/schemas/forms.ts)
28959
- */
28960
- type FormField = BookingFormField;
28961
- //#endregion
28962
- //#region .cache/declarations/blocks/src/system/runtime/api/types/forms.d.ts
28963
- /**
28964
- * Form submission and configuration types
28965
- *
28966
- * Part of the block API client type surface; re-exported from `../types`.
28967
- */
28968
- interface FormSubmitRequest {
28969
- authorization: SubmissionAuthorization;
28970
- formId: string;
28971
- data: Record<string, unknown>;
28972
- meta?: {
28973
- honeypot?: string;
28974
- referer?: string;
28975
- userAgent?: string;
28976
- path?: string;
28977
- };
28978
- }
28979
- interface FormSubmitResponse {
28980
- success: boolean;
28981
- submissionId?: string;
28982
- }
28983
- interface FormConfigResponse {
28984
- form: {
28985
- id: string;
28986
- name: string;
28987
- slug: string;
28988
- settingsJson?: {
28989
- type: "booking";
28990
- serviceId?: string;
28991
- serviceIds?: string[];
28992
- resourceId?: string;
28993
- requiresApproval?: boolean;
28994
- successMessage?: string;
28995
- };
28996
- schemaJson?: {
28997
- version: string;
28998
- fields: FormField[];
28999
- };
29000
- settings?: {
29001
- type: "booking";
29002
- serviceId?: string;
29003
- serviceIds?: string[];
29004
- resourceId?: string;
29005
- requiresApproval?: boolean;
29006
- successMessage?: string;
29007
- };
29008
- schema?: {
29009
- version: string;
29010
- fields: FormField[];
29011
- };
29012
- };
29013
- }
28854
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts
28855
+ type BookingFieldValue = string | number | boolean | readonly string[] | null;
29014
28856
  //#endregion
29015
28857
  //#region .cache/declarations/blocks/src/system/runtime/api/types/appointments.d.ts
29016
28858
  interface BookingSubmitRequest {
29017
28859
  shownTerms: AppointmentBookingTerms;
29018
28860
  formId: string;
28861
+ purchasePassId?: string;
29019
28862
  serviceId: string;
29020
28863
  resourceId?: string | null;
29021
28864
  startAt: string;
@@ -29030,7 +28873,7 @@ interface BookingSubmitRequest {
29030
28873
  successUrl?: string;
29031
28874
  cancelUrl?: string;
29032
28875
  }
29033
- type BookingPackageSubmitRequest = Omit<BookingSubmitRequest, "shownTerms" | "cancelUrl" | "discountCode" | "selectedCollectionOptionKind" | "successUrl"> & {
28876
+ type BookingPackageSubmitRequest = Omit<BookingSubmitRequest, "purchasePassId" | "shownTerms" | "cancelUrl" | "discountCode" | "selectedCollectionOptionKind" | "successUrl"> & {
29034
28877
  customerPassId: string;
29035
28878
  };
29036
28879
  type BookingAppointmentSummary = {
@@ -29049,7 +28892,7 @@ type BookingCustomerSummary = {
29049
28892
  name: string | null;
29050
28893
  phone: string | null;
29051
28894
  };
29052
- type BookingPaymentChoices = Pick<BookingFormService, "id" | "priceAmount" | "priceCurrency" | "pricing" | "paymentTerms" | "paymentTermsAvailability">;
28895
+ type BookingPaymentChoices = Pick<BookingFormService, "onlinePaymentMode" | "onlinePaymentChoices" | "id" | "priceAmount" | "priceCurrency" | "pricing" | "paymentTerms" | "paymentTermsAvailability">;
29053
28896
  type BookingSubmitResponse = {
29054
28897
  type: "review_required";
29055
28898
  review: AppointmentBookingReview;
@@ -29183,6 +29026,655 @@ interface BookingResourcesResponse {
29183
29026
  options: BookingResource[];
29184
29027
  }
29185
29028
  //#endregion
29029
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts
29030
+ /**
29031
+ * The booking flow's validation vocabulary: what a step can complain about, and
29032
+ * when the user has earned the right to be told.
29033
+ *
29034
+ * Split out of `booking-form.headless.state.ts` so the reducer file carries
29035
+ * behaviour rather than this small closed value type and its constructors.
29036
+ */
29037
+ type BookingValidationErrors = Readonly<{
29038
+ formError: string | null;
29039
+ fieldErrors: Readonly<Record<string, string>>;
29040
+ }>;
29041
+ //#endregion
29042
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts
29043
+ type LoadState<T> = Readonly<{
29044
+ tag: "idle";
29045
+ }> | Readonly<{
29046
+ tag: "loading";
29047
+ }> | Readonly<{
29048
+ tag: "loaded";
29049
+ value: T;
29050
+ }> | Readonly<{
29051
+ tag: "error";
29052
+ message: string;
29053
+ }>;
29054
+ type BookingFlowStepId = "service-selection" | "datetime-selection" | "payment-selection" | "custom-fields";
29055
+ type BookingFlowStepState = "complete" | "active" | "available" | "blocked" | "hidden";
29056
+ type BookingFlowStep = Readonly<{
29057
+ id: BookingFlowStepId;
29058
+ label: string;
29059
+ state: BookingFlowStepState;
29060
+ index: number;
29061
+ visibleIndex: number | null;
29062
+ errors: BookingValidationErrors;
29063
+ canEnter: boolean;
29064
+ canLeave: boolean;
29065
+ }>;
29066
+ type BookingFieldId = Brand$1<string, "BookingFieldId">;
29067
+ type BookingSlotView = Readonly<{
29068
+ key: string;
29069
+ startAt: string;
29070
+ endAt: string;
29071
+ resourceId: AppointmentResourceId;
29072
+ resourceName?: string;
29073
+ label?: string;
29074
+ }>;
29075
+ type BookingSlotSelection = Readonly<{
29076
+ startAt: string;
29077
+ endAt: string;
29078
+ resourceId: string;
29079
+ resourceName?: string;
29080
+ label?: string;
29081
+ }>;
29082
+ type BookingResourceView = Readonly<{
29083
+ id: AppointmentResourceId;
29084
+ label: string;
29085
+ }>;
29086
+ /** A request sent for approval rather than a confirmed booking (issue 1494). */
29087
+ type BookingRequestSummary = Readonly<{
29088
+ serviceName: string;
29089
+ startAt: string;
29090
+ timezone: string;
29091
+ }>;
29092
+ type BookingFlowFeedback = Readonly<{
29093
+ kind: "none";
29094
+ }> | Readonly<{
29095
+ kind: "success";
29096
+ message: string;
29097
+ resourceName: string | null;
29098
+ request: BookingRequestSummary | null;
29099
+ appointment: BookingAppointmentSummary | null;
29100
+ }> | Readonly<{
29101
+ kind: "error";
29102
+ scope: "submission" | "verification" | "discount" | "availability" | "payment";
29103
+ message: string;
29104
+ }> | Readonly<{
29105
+ kind: "info";
29106
+ scope: "verification" | "payment";
29107
+ message: string;
29108
+ }>;
29109
+ type BookingFlowStatus = Readonly<{
29110
+ tag: "ready";
29111
+ }> | Readonly<{
29112
+ tag: "submitting";
29113
+ }> | Readonly<{
29114
+ tag: "success";
29115
+ resourceName: string | null;
29116
+ }> | Readonly<{
29117
+ tag: "error";
29118
+ message: string;
29119
+ }>;
29120
+ type BookingFlowView = Readonly<{
29121
+ kind: "missing";
29122
+ message: string;
29123
+ }> | Readonly<{
29124
+ kind: "form";
29125
+ }> | Readonly<{
29126
+ kind: "success";
29127
+ message: string;
29128
+ resourceName: string | null;
29129
+ request: BookingRequestSummary | null;
29130
+ appointment: BookingAppointmentSummary | null;
29131
+ }> | Readonly<{
29132
+ kind: "error";
29133
+ message: string;
29134
+ }>;
29135
+ type BookingFlowActionResult = Readonly<{
29136
+ ok: true;
29137
+ }> | Readonly<{
29138
+ ok: false;
29139
+ reason: "validation-failed";
29140
+ /**
29141
+ * Empty when only the site terms box is unticked: that message lives on
29142
+ * `siteTerms.error`, beside the box.
29143
+ */
29144
+ errors: BookingValidationErrors;
29145
+ }> | Readonly<{
29146
+ ok: false;
29147
+ reason: "blocked";
29148
+ message: string;
29149
+ }> | Readonly<{
29150
+ ok: false;
29151
+ reason: "submission-failed";
29152
+ message: string;
29153
+ questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
29154
+ }>;
29155
+ type BookingSubmitOptions = Readonly<{
29156
+ /**
29157
+ * Checkout return URLs apply only to standard paid bookings. Appointment
29158
+ * package submissions complete directly through the portal booking API and
29159
+ * intentionally ignore these URLs.
29160
+ */
29161
+ successUrl?: string;
29162
+ cancelUrl?: string;
29163
+ }>;
29164
+ type BookingSubmitActionResult = Readonly<{
29165
+ ok: false;
29166
+ reason: "review-required";
29167
+ review: AppointmentBookingReview;
29168
+ }> | Readonly<{
29169
+ ok: false;
29170
+ reason: "payment-choice-required";
29171
+ paymentChoices: BookingPaymentChoices;
29172
+ }> | Readonly<{
29173
+ ok: true;
29174
+ outcome: {
29175
+ kind: "booked";
29176
+ appointmentId: string;
29177
+ resourceName: string | null;
29178
+ customerEmail: string | null;
29179
+ demoBookingPass?: string;
29180
+ mailingListSignupNote?: BookingMailingListNote;
29181
+ };
29182
+ }> | Readonly<{
29183
+ ok: true;
29184
+ outcome: {
29185
+ kind: "requested";
29186
+ appointmentId: string;
29187
+ customerEmail: string | null;
29188
+ demoBookingPass?: string;
29189
+ mailingListSignupNote?: BookingMailingListNote;
29190
+ };
29191
+ }> | Readonly<{
29192
+ ok: true;
29193
+ outcome: {
29194
+ kind: "checkout_redirect";
29195
+ checkoutUrl: string;
29196
+ sessionId: string;
29197
+ customerEmail: string | null;
29198
+ demoBookingPass?: string;
29199
+ mailingListSignupNote?: BookingMailingListNote;
29200
+ };
29201
+ }> | Exclude<BookingFlowActionResult, Readonly<{
29202
+ ok: true;
29203
+ }>>;
29204
+ type BookingFieldView = Readonly<{
29205
+ field: BookingFormField;
29206
+ id: BookingFieldId;
29207
+ label: string;
29208
+ type: BookingFormField["type"];
29209
+ value: BookingFieldValue;
29210
+ required: boolean;
29211
+ error: string | null;
29212
+ helpText: string | null;
29213
+ inputId: string;
29214
+ labelId: string;
29215
+ helpTextId: string | null;
29216
+ errorId: string | null;
29217
+ describedBy: string | undefined;
29218
+ ariaInvalid: boolean;
29219
+ }>;
29220
+ /**
29221
+ * Steps the user has actually tried to advance past. Step validation is derived
29222
+ * continuously (it gates whether a step can be left), but a step's errors are
29223
+ * only ever *shown* once the step has been attempted — so a freshly mounted
29224
+ * form is never scolded for input it has not had the chance to give yet.
29225
+ */
29226
+ type BookingAttemptedStepIds = Readonly<Partial<Record<BookingFlowStepId, boolean>>>;
29227
+ type BookingStepValidationResult = Readonly<{
29228
+ ok: true;
29229
+ }> | Readonly<{
29230
+ ok: false;
29231
+ errors: BookingValidationErrors;
29232
+ }>;
29233
+ type DeriveBookingFlowStepsInput = Readonly<{
29234
+ forcePaymentSelection?: boolean;
29235
+ nowIso: string;
29236
+ form: BookingFormConfig | null;
29237
+ services: readonly BookingFormService[];
29238
+ data: Partial<BookingFormData>;
29239
+ defaultServiceId?: AppointmentServiceId;
29240
+ defaultResourceId?: AppointmentResourceId;
29241
+ currentStepId: BookingFlowStepId;
29242
+ requiresServiceSelection?: boolean;
29243
+ requiresResourceSelection?: boolean;
29244
+ enableAppointmentPackages?: boolean; /** Set when the selected service's questions can't be shown, which stops the booking. */
29245
+ questionsRefusal?: string | null;
29246
+ /**
29247
+ * Steps whose validation messaging has been earned by an advance attempt.
29248
+ * Omitted means "none attempted yet", so callers that only need gating can
29249
+ * keep ignoring it.
29250
+ */
29251
+ attemptedStepIds?: BookingAttemptedStepIds;
29252
+ }>;
29253
+ type DerivedBookingFlowSteps = Readonly<{
29254
+ paymentResolution: BookingPaymentStepResolution;
29255
+ steps: readonly BookingFlowStep[];
29256
+ currentStepIndex: number;
29257
+ currentStep: BookingFlowStep | null;
29258
+ stepIds: readonly BookingFlowStepId[];
29259
+ validations: ReadonlyMap<BookingFlowStepId, BookingStepValidationResult>;
29260
+ }>;
29261
+ type BookingAvailabilityQuery = Readonly<{
29262
+ ok: true;
29263
+ key: string;
29264
+ serviceId: AppointmentServiceId;
29265
+ resourceId?: AppointmentResourceId;
29266
+ selectedDate?: string;
29267
+ timezone: string;
29268
+ }> | Readonly<{
29269
+ ok: false;
29270
+ reason: "missing-service" | "missing-date";
29271
+ key: string;
29272
+ }>;
29273
+ type BookingAppointmentPackagesModel = Readonly<{
29274
+ kind: "disabled";
29275
+ enabled: false;
29276
+ canLoad: false;
29277
+ unavailableReason: "disabled";
29278
+ state: Readonly<{
29279
+ tag: "idle";
29280
+ }>;
29281
+ items: readonly [];
29282
+ selected: null;
29283
+ }> | Readonly<{
29284
+ kind: "unavailable";
29285
+ enabled: true;
29286
+ canLoad: false;
29287
+ unavailableReason: "missing-portal-auth" | "missing-priced-service";
29288
+ state: Readonly<{
29289
+ tag: "idle";
29290
+ }>;
29291
+ items: readonly [];
29292
+ selected: null;
29293
+ }> | Readonly<{
29294
+ kind: "idle";
29295
+ enabled: true;
29296
+ canLoad: true;
29297
+ unavailableReason: null;
29298
+ state: Readonly<{
29299
+ tag: "idle";
29300
+ }>;
29301
+ items: readonly [];
29302
+ selected: null;
29303
+ }> | Readonly<{
29304
+ kind: "loading";
29305
+ enabled: true;
29306
+ canLoad: true;
29307
+ unavailableReason: null;
29308
+ state: Readonly<{
29309
+ tag: "loading";
29310
+ }>;
29311
+ items: readonly [];
29312
+ selected: null;
29313
+ }> | Readonly<{
29314
+ kind: "error";
29315
+ enabled: true;
29316
+ canLoad: true;
29317
+ unavailableReason: null;
29318
+ state: Readonly<{
29319
+ tag: "error";
29320
+ message: string;
29321
+ }>;
29322
+ items: readonly [];
29323
+ selected: null;
29324
+ }> | Readonly<{
29325
+ kind: "ready";
29326
+ enabled: true;
29327
+ canLoad: true;
29328
+ unavailableReason: null;
29329
+ state: Readonly<{
29330
+ tag: "loaded";
29331
+ value: readonly HeadlessEligibleAppointmentPackage[];
29332
+ }>;
29333
+ items: readonly HeadlessEligibleAppointmentPackage[];
29334
+ selected: HeadlessEligibleAppointmentPackage | null; /** Booking with anyone: team members the client has packages with, which only work when booking with them. */
29335
+ heldWithTeamMembers: readonly BookingPackageTeamMember[];
29336
+ }>;
29337
+ type BookingPackageTeamMember = Readonly<{
29338
+ id: string;
29339
+ name: string;
29340
+ }>;
29341
+ type BookingAppointmentPackagesUnavailableReason = "disabled" | "missing-portal-auth" | "missing-priced-service";
29342
+ type AppointmentBookingOverrideData = Readonly<{
29343
+ form?: BookingFormConfig | Record<string, unknown> | null;
29344
+ services?: BookingFormServicesSource | Record<string, unknown> | null;
29345
+ }>;
29346
+ type AppointmentBookingOverrideContent = Readonly<{
29347
+ formId?: string;
29348
+ serviceId?: string;
29349
+ resourceId?: string;
29350
+ requiresServiceSelection?: boolean;
29351
+ requiresResourceSelection?: boolean;
29352
+ shouldAutoSelectSingleResource?: boolean;
29353
+ successMessage?: string;
29354
+ }>;
29355
+ type AppointmentBookingOverridePropsLike = Readonly<{
29356
+ now?: string;
29357
+ dateContext?: Readonly<{
29358
+ locale: string;
29359
+ timeZone: string;
29360
+ }>;
29361
+ bookingTimeZone?: string | null;
29362
+ content?: AppointmentBookingOverrideContent | null;
29363
+ data?: AppointmentBookingOverrideData | Record<string, unknown> | null;
29364
+ siteId?: string;
29365
+ apiBaseUrl?: string;
29366
+ portalToken?: string | null;
29367
+ blockId?: string | null;
29368
+ }>;
29369
+ type AppointmentBookingOverrideInput = Readonly<{
29370
+ now: UtcIsoDateTimeString;
29371
+ dateContext: DisplayContext;
29372
+ siteId: SiteId;
29373
+ apiBaseUrl: string;
29374
+ portalToken: string | null;
29375
+ formId: FormId;
29376
+ form: BookingFormConfig;
29377
+ services: readonly BookingFormService[]; /** Ordered service categories (issue 1403); empty when the site has none. */
29378
+ serviceCategories: readonly BookingFormServiceCategory[];
29379
+ initialServiceId?: AppointmentServiceId;
29380
+ initialResourceId?: AppointmentResourceId;
29381
+ requiresServiceSelection: boolean;
29382
+ requiresResourceSelection: boolean;
29383
+ shouldAutoSelectSingleResource: boolean;
29384
+ successMessage?: string;
29385
+ blockId?: string | null;
29386
+ }>;
29387
+ type HeadlessEligibleAppointmentPackage = Omit<EligibleAppointmentPackage, "customerPassId" | "passId"> & Readonly<{
29388
+ customerPassId: CustomerPassId;
29389
+ passId: PassId;
29390
+ }>;
29391
+ type AppointmentBookingOverrideInputResult = Readonly<{
29392
+ ok: true;
29393
+ value: AppointmentBookingOverrideInput;
29394
+ }> | Readonly<{
29395
+ ok: false;
29396
+ reason: "missing-site-id" | "missing-api-base-url" | "missing-form" | "missing-form-id" | "missing-services";
29397
+ message: string;
29398
+ }>;
29399
+ declare function getAppointmentBookingOverrideInput(props: AppointmentBookingOverridePropsLike): AppointmentBookingOverrideInputResult;
29400
+ declare function createBookingBlockApiConfig(input: Readonly<{
29401
+ siteId: string;
29402
+ apiBaseUrl: string;
29403
+ portalToken?: string | null;
29404
+ }>): BlockApiConfig;
29405
+ //#endregion
29406
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.package-purchase.d.ts
29407
+ type BookingPurchasablePackage = Readonly<Pick<PublicPassProduct, 'id' | 'name' | 'price' | 'currency' | 'creditsTotal' | 'validDays'> & {
29408
+ heldWithTeamMember: Readonly<{
29409
+ id: string;
29410
+ name: string;
29411
+ }> | null;
29412
+ }>;
29413
+ type BookingPackagePurchase = Readonly<{
29414
+ kind: 'none';
29415
+ }> | Readonly<{
29416
+ kind: 'selected';
29417
+ package: BookingPurchasablePackage;
29418
+ }>;
29419
+ type BookingPaymentChoice = Readonly<{
29420
+ kind: 'unselected';
29421
+ }> | Readonly<{
29422
+ kind: 'per_session';
29423
+ option: BookingSelectedCollectionOptionKind;
29424
+ }> | Readonly<{
29425
+ kind: 'held_package';
29426
+ customerPassId: string;
29427
+ }> | Readonly<{
29428
+ kind: 'buy_package';
29429
+ package: BookingPurchasablePackage;
29430
+ }>;
29431
+ type BookingPurchasablePackagesModel = Readonly<{
29432
+ kind: 'disabled';
29433
+ }> | Readonly<{
29434
+ kind: 'loading';
29435
+ }> | Readonly<{
29436
+ kind: 'error';
29437
+ message: string;
29438
+ }> | Readonly<{
29439
+ kind: 'ready';
29440
+ items: readonly BookingPurchasablePackage[];
29441
+ }>;
29442
+ type BookingPaymentAvailability = Readonly<{
29443
+ kind: 'available' | 'loading' | 'no_choices' | 'load_error';
29444
+ }>;
29445
+ //#endregion
29446
+ //#region .cache/declarations/blocks/src/system/blocks/shared/bookingConsent.d.ts
29447
+ type BookingRequirementConsentField = Readonly<{
29448
+ id: string;
29449
+ label: string;
29450
+ type: 'booking_requirement_consent';
29451
+ required: true;
29452
+ agreement: RichTextDoc;
29453
+ checkboxLabel: string;
29454
+ placeholder?: never;
29455
+ helpText?: never;
29456
+ options?: never;
29457
+ multiple?: never;
29458
+ minLength?: never;
29459
+ maxLength?: never;
29460
+ pattern?: never;
29461
+ min?: never;
29462
+ max?: never;
29463
+ }>;
29464
+ //#endregion
29465
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts
29466
+ declare const BOOKING_FORM_DATA_RESERVED_KEY_VALUES: readonly ["serviceId", "resourceId", "selectedDate", "selectedSlot", "discountCode", "selectedSlidingAmountInput", "selectedCollectionOptionKind", "selectedAppointmentPackageId", "packagePurchase", "mailingListOptIn"];
29467
+ type BookingFormDataReservedKey = (typeof BOOKING_FORM_DATA_RESERVED_KEY_VALUES)[number];
29468
+ //#endregion
29469
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.fields.d.ts
29470
+ type BookingFormFieldOption = Readonly<{
29471
+ value: string;
29472
+ label: string;
29473
+ }>;
29474
+ type StandardBookingFormField = Readonly<{
29475
+ id: string;
29476
+ label: string;
29477
+ type: 'text' | 'email' | 'textarea' | 'select' | 'radio' | 'checkbox' | 'tel' | 'url' | 'number' | 'date' | 'time';
29478
+ required?: boolean;
29479
+ placeholder?: string;
29480
+ helpText?: string;
29481
+ options?: readonly BookingFormFieldOption[];
29482
+ multiple?: boolean;
29483
+ minLength?: number;
29484
+ maxLength?: number;
29485
+ pattern?: string;
29486
+ min?: number;
29487
+ max?: number;
29488
+ }>;
29489
+ type BookingFormField = StandardBookingFormField | BookingRequirementConsentField;
29490
+ //#endregion
29491
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts
29492
+ /**
29493
+ * The services a booking block was given. Only the catalogue shape
29494
+ * `{ services, categories }` carries categories; the other shapes read as a
29495
+ * site without categories.
29496
+ */
29497
+ type BookingFormServicesSource = readonly BookingFormService[] | Readonly<{
29498
+ services?: readonly BookingFormService[];
29499
+ categories?: readonly BookingFormServiceCategory[];
29500
+ }> | Readonly<Record<string, BookingFormService>>;
29501
+ /** A category heading in the service step: the shared category summary. */
29502
+ type BookingFormServiceCategory = ServiceCategorySummary;
29503
+ //#endregion
29504
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.state.d.ts
29505
+ type BookingFormSettings = Readonly<{
29506
+ type: "booking";
29507
+ serviceId?: string;
29508
+ serviceIds?: readonly string[];
29509
+ resourceId?: string;
29510
+ requiresApproval?: boolean;
29511
+ successMessage?: string;
29512
+ }>;
29513
+ type BookingFormConfig = Readonly<{
29514
+ id: string;
29515
+ name: string;
29516
+ slug: string;
29517
+ settings?: BookingFormSettings;
29518
+ schema?: Readonly<{
29519
+ version?: string;
29520
+ fields: readonly BookingFormField[];
29521
+ }>;
29522
+ }>;
29523
+ type BookingFormSourceRecord = Readonly<{
29524
+ id: string;
29525
+ siteId: string;
29526
+ userId: string;
29527
+ name: string;
29528
+ schemaJson?: Readonly<{
29529
+ version?: string;
29530
+ fields?: readonly BookingFormField[];
29531
+ }>;
29532
+ settingsJson?: BookingFormSettings;
29533
+ createdAt: string;
29534
+ updatedAt: string;
29535
+ }>;
29536
+ type BlockBookingPaymentTermsAvailability = Readonly<{
29537
+ kind: "available";
29538
+ paymentTerms: BookingPaymentTerms;
29539
+ }> | Readonly<{
29540
+ kind: "pending_stripe_setup";
29541
+ paymentTerms: BookingPaymentTerms;
29542
+ reason: "online_payment_configured_before_launch";
29543
+ }>;
29544
+ type BookingFormServicePricing = Readonly<{
29545
+ pricingStrategy: "free" | "single" | "tiered" | "sliding_scale";
29546
+ currency: string;
29547
+ singlePriceAmount?: number | null;
29548
+ slidingMinAmount?: number | null;
29549
+ slidingMaxAmount?: number | null;
29550
+ slidingSuggestedAmount?: number | null;
29551
+ }>;
29552
+ type BookingFormService = Readonly<{
29553
+ onlinePaymentMode?: 'session_or_package' | 'package_only';
29554
+ onlinePaymentChoices?: Readonly<{
29555
+ perSession: boolean;
29556
+ heldPackage: boolean;
29557
+ buyPackage: boolean;
29558
+ anyAvailable: boolean;
29559
+ }>;
29560
+ image?: RuntimeMedia | null; /** Already-redacted public service modality; retained from the catalog DTO. */
29561
+ location?: Readonly<{
29562
+ mode: 'online' | 'in_person' | 'either';
29563
+ }>;
29564
+ id: string;
29565
+ siteId: string;
29566
+ title: string;
29567
+ description?: string;
29568
+ durationMinutes?: number;
29569
+ pricing?: BookingFormServicePricing;
29570
+ priceAmount?: number | null;
29571
+ priceCurrency?: string | null;
29572
+ paymentTerms?: BookingPaymentTerms;
29573
+ paymentTermsAvailability?: BlockBookingPaymentTermsAvailability;
29574
+ asksSiteTerms?: boolean;
29575
+ consent?: BookingConsent; /** What the public catalogue says this service asks during booking; absent reads as `none`. */
29576
+ bookingQuestions?: BeforeBookingQuestionsPresentation; /** The service's category (issue 1403); null or absent is "Other". */
29577
+ categoryId?: string | null;
29578
+ }>;
29579
+ type BookingSelectedCollectionOptionKind = BookingPaymentCollectionOptionKind;
29580
+ type BookingCustomFieldData<TCustomFieldId extends string> = Readonly<{ [K in TCustomFieldId as K extends BookingFormDataReservedKey ? never : K]?: unknown }>;
29581
+ type BookingFormData<TCustomFieldId extends string = never> = Readonly<{
29582
+ packagePurchase?: BookingPackagePurchase;
29583
+ serviceId?: string;
29584
+ resourceId?: string;
29585
+ selectedDate?: string;
29586
+ selectedSlot?: string;
29587
+ discountCode?: string;
29588
+ selectedSlidingAmountInput?: string;
29589
+ selectedCollectionOptionKind?: BookingSelectedCollectionOptionKind;
29590
+ selectedAppointmentPackageId?: string;
29591
+ mailingListOptIn?: boolean;
29592
+ }> & BookingCustomFieldData<TCustomFieldId>;
29593
+ type BookingPaymentStepResolution = Readonly<{
29594
+ kind: 'unselected';
29595
+ mode: 'hidden';
29596
+ service: null;
29597
+ }> | Readonly<{
29598
+ kind: 'unavailable';
29599
+ mode: 'unsupported';
29600
+ service: BookingFormService | null;
29601
+ errorMessage: string;
29602
+ }> | Readonly<{
29603
+ kind: 'not_required';
29604
+ mode: 'hidden';
29605
+ service: BookingFormService;
29606
+ }> | Readonly<{
29607
+ kind: 'ready';
29608
+ mode: 'hidden' | 'disclosure_only' | 'choice_required';
29609
+ service: BookingFormService;
29610
+ availableOptions: readonly [ResolvedBookingCollectionOption, ...ResolvedBookingCollectionOption[]];
29611
+ choice: Readonly<{
29612
+ kind: 'required';
29613
+ }> | Readonly<{
29614
+ kind: 'selected';
29615
+ option: ResolvedBookingCollectionOption;
29616
+ }>;
29617
+ }>;
29618
+ //#endregion
29619
+ //#region .cache/declarations/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts
29620
+ /**
29621
+ * Form field definition (matches packages/db/src/schemas/forms.ts)
29622
+ */
29623
+ type FormField = BookingFormField;
29624
+ //#endregion
29625
+ //#region .cache/declarations/blocks/src/system/runtime/api/types/forms.d.ts
29626
+ /**
29627
+ * Form submission and configuration types
29628
+ *
29629
+ * Part of the block API client type surface; re-exported from `../types`.
29630
+ */
29631
+ interface FormSubmitRequest {
29632
+ authorization: SubmissionAuthorization;
29633
+ formId: string;
29634
+ data: Record<string, unknown>;
29635
+ meta?: {
29636
+ honeypot?: string;
29637
+ referer?: string;
29638
+ userAgent?: string;
29639
+ path?: string;
29640
+ };
29641
+ }
29642
+ interface FormSubmitResponse {
29643
+ success: boolean;
29644
+ submissionId?: string;
29645
+ }
29646
+ interface FormConfigResponse {
29647
+ form: {
29648
+ id: string;
29649
+ name: string;
29650
+ slug: string;
29651
+ settingsJson?: {
29652
+ type: "booking";
29653
+ serviceId?: string;
29654
+ serviceIds?: string[];
29655
+ resourceId?: string;
29656
+ requiresApproval?: boolean;
29657
+ successMessage?: string;
29658
+ };
29659
+ schemaJson?: {
29660
+ version: string;
29661
+ fields: FormField[];
29662
+ };
29663
+ settings?: {
29664
+ type: "booking";
29665
+ serviceId?: string;
29666
+ serviceIds?: string[];
29667
+ resourceId?: string;
29668
+ requiresApproval?: boolean;
29669
+ successMessage?: string;
29670
+ };
29671
+ schema?: {
29672
+ version: string;
29673
+ fields: FormField[];
29674
+ };
29675
+ };
29676
+ }
29677
+ //#endregion
29186
29678
  //#region .cache/declarations/commerce/src/money.d.ts
29187
29679
  declare const MONEY_PERIOD_PRESETS: readonly ['1d', '7d', '30d', '90d', '365d'];
29188
29680
  type MoneyPeriodPreset = (typeof MONEY_PERIOD_PRESETS)[number];
@@ -31348,6 +31840,20 @@ declare const API_ENDPOINTS: {
31348
31840
  tags: ("api-keys" | "management-keys" | "site-{siteId}")[];
31349
31841
  responseKind: "json";
31350
31842
  };
31843
+ readonly switchDemoView: {
31844
+ path: "/sites/{siteId}/demo/view";
31845
+ method: "POST";
31846
+ auth: "user";
31847
+ responseKind: "json";
31848
+ demoMutation: {
31849
+ classification: "allowed";
31850
+ publicMessage: "";
31851
+ } | {
31852
+ classification: ApiDemoMutationBlockingClassification;
31853
+ publicMessage: string;
31854
+ };
31855
+ errors: never[];
31856
+ };
31351
31857
  readonly createSite: {
31352
31858
  path: "/sites/manage";
31353
31859
  method: "POST";
@@ -33050,6 +33556,15 @@ declare const API_ENDPOINTS: {
33050
33556
  readonly errors: readonly ["resource:not_found", "server:internal_error"];
33051
33557
  readonly responseKind: 'json';
33052
33558
  };
33559
+ readonly updateBookingEmbed: {
33560
+ readonly path: '/sites/{siteId}/settings/embed';
33561
+ readonly method: 'POST';
33562
+ readonly tags: ["riverbank:site:{siteId}", "riverbank:site:{siteId}:settings"];
33563
+ readonly auth: 'user';
33564
+ readonly demoMutation: ApiDemoMutationPolicy;
33565
+ readonly errors: readonly ["auth:forbidden", "validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
33566
+ readonly responseKind: 'json';
33567
+ };
33053
33568
  readonly updateFooterCredit: {
33054
33569
  readonly path: '/sites/{siteId}/settings/footer-credit';
33055
33570
  readonly method: 'POST';
@@ -34895,6 +35410,22 @@ declare const API_ENDPOINTS: {
34895
35410
  readonly auth: 'user';
34896
35411
  readonly responseKind: 'json';
34897
35412
  };
35413
+ readonly archiveVenue: {
35414
+ readonly path: '/sites/{siteId}/bookings/venues/{venueId}/archive';
35415
+ readonly method: 'POST';
35416
+ readonly tags: ["site-{siteId}", "venues-{siteId}", "venue-{venueId}"];
35417
+ readonly auth: 'user';
35418
+ readonly responseKind: 'json';
35419
+ readonly errors: readonly ["resource:not_found"];
35420
+ };
35421
+ readonly restoreVenue: {
35422
+ readonly path: '/sites/{siteId}/bookings/venues/{venueId}/restore';
35423
+ readonly method: 'POST';
35424
+ readonly tags: ["site-{siteId}", "venues-{siteId}", "venue-{venueId}"];
35425
+ readonly auth: 'user';
35426
+ readonly responseKind: 'json';
35427
+ readonly errors: readonly ["resource:not_found"];
35428
+ };
34898
35429
  readonly createVenue: {
34899
35430
  readonly path: '/sites/{siteId}/bookings/venues';
34900
35431
  readonly method: 'POST';
@@ -38962,6 +39493,7 @@ type Database = {
38962
39493
  id: string;
38963
39494
  is_active: boolean;
38964
39495
  location_type: string;
39496
+ online_payment_mode: Database["public"]["Enums"]["appointment_online_payment_mode"];
38965
39497
  prep_minutes: number;
38966
39498
  price_amount: number | null;
38967
39499
  price_currency: string;
@@ -38989,6 +39521,7 @@ type Database = {
38989
39521
  id?: string;
38990
39522
  is_active?: boolean;
38991
39523
  location_type?: string;
39524
+ online_payment_mode?: Database["public"]["Enums"]["appointment_online_payment_mode"];
38992
39525
  prep_minutes?: number;
38993
39526
  price_amount?: number | null;
38994
39527
  price_currency?: string;
@@ -39016,6 +39549,7 @@ type Database = {
39016
39549
  id?: string;
39017
39550
  is_active?: boolean;
39018
39551
  location_type?: string;
39552
+ online_payment_mode?: Database["public"]["Enums"]["appointment_online_payment_mode"];
39019
39553
  prep_minutes?: number;
39020
39554
  price_amount?: number | null;
39021
39555
  price_currency?: string;
@@ -43686,11 +44220,14 @@ type Database = {
43686
44220
  dated_offering_waitlist_capacity_effects: {
43687
44221
  Row: {
43688
44222
  attempt_count: number;
44223
+ attendance_mode: string | null;
44224
+ capacity_before: Json | null;
43689
44225
  claim_token: string | null;
43690
44226
  claimed_at: string | null;
43691
44227
  completed_at: string | null;
43692
44228
  created_at: string;
43693
- enrollment_id: string;
44229
+ enrollment_id: string | null;
44230
+ event_occurrence_id: string | null;
43694
44231
  event_series_id: string | null;
43695
44232
  id: string;
43696
44233
  last_attempt_at: string | null;
@@ -43702,15 +44239,20 @@ type Database = {
43702
44239
  site_id: string;
43703
44240
  source_kind: string;
43704
44241
  state: string;
44242
+ subject_kind: string;
43705
44243
  updated_at: string;
44244
+ write_identity: string | null;
43706
44245
  };
43707
44246
  Insert: {
43708
44247
  attempt_count?: number;
44248
+ attendance_mode?: string | null;
44249
+ capacity_before?: Json | null;
43709
44250
  claim_token?: string | null;
43710
44251
  claimed_at?: string | null;
43711
44252
  completed_at?: string | null;
43712
44253
  created_at?: string;
43713
- enrollment_id: string;
44254
+ enrollment_id?: string | null;
44255
+ event_occurrence_id?: string | null;
43714
44256
  event_series_id?: string | null;
43715
44257
  id?: string;
43716
44258
  last_attempt_at?: string | null;
@@ -43722,15 +44264,20 @@ type Database = {
43722
44264
  site_id: string;
43723
44265
  source_kind: string;
43724
44266
  state?: string;
44267
+ subject_kind?: string;
43725
44268
  updated_at?: string;
44269
+ write_identity?: string | null;
43726
44270
  };
43727
44271
  Update: {
43728
44272
  attempt_count?: number;
44273
+ attendance_mode?: string | null;
44274
+ capacity_before?: Json | null;
43729
44275
  claim_token?: string | null;
43730
44276
  claimed_at?: string | null;
43731
44277
  completed_at?: string | null;
43732
44278
  created_at?: string;
43733
- enrollment_id?: string;
44279
+ enrollment_id?: string | null;
44280
+ event_occurrence_id?: string | null;
43734
44281
  event_series_id?: string | null;
43735
44282
  id?: string;
43736
44283
  last_attempt_at?: string | null;
@@ -43742,9 +44289,23 @@ type Database = {
43742
44289
  site_id?: string;
43743
44290
  source_kind?: string;
43744
44291
  state?: string;
44292
+ subject_kind?: string;
43745
44293
  updated_at?: string;
44294
+ write_identity?: string | null;
43746
44295
  };
43747
44296
  Relationships: [{
44297
+ foreignKeyName: "dated_offering_waitlist_capacity_effec_event_occurrence_id_fkey";
44298
+ columns: ["event_occurrence_id"];
44299
+ isOneToOne: false;
44300
+ referencedRelation: "event_booking_restore_activity_v1";
44301
+ referencedColumns: ["occurrence_id"];
44302
+ }, {
44303
+ foreignKeyName: "dated_offering_waitlist_capacity_effec_event_occurrence_id_fkey";
44304
+ columns: ["event_occurrence_id"];
44305
+ isOneToOne: false;
44306
+ referencedRelation: "event_occurrences";
44307
+ referencedColumns: ["id"];
44308
+ }, {
43748
44309
  foreignKeyName: "dated_offering_waitlist_capacity_effects_enrollment_id_fkey";
43749
44310
  columns: ["enrollment_id"];
43750
44311
  isOneToOne: false;
@@ -53833,6 +54394,8 @@ type Database = {
53833
54394
  business_address: Json | null;
53834
54395
  cover_asset_id: string | null;
53835
54396
  created_at: string;
54397
+ embed_allowed_hosts: string[];
54398
+ external_website_url: string | null;
53836
54399
  favicon_asset_id: string | null;
53837
54400
  footer_composition_json: Json | null;
53838
54401
  footer_composition_revision: number;
@@ -53871,6 +54434,8 @@ type Database = {
53871
54434
  business_address?: Json | null;
53872
54435
  cover_asset_id?: string | null;
53873
54436
  created_at?: string;
54437
+ embed_allowed_hosts?: string[];
54438
+ external_website_url?: string | null;
53874
54439
  favicon_asset_id?: string | null;
53875
54440
  footer_composition_json?: Json | null;
53876
54441
  footer_composition_revision?: number;
@@ -53909,6 +54474,8 @@ type Database = {
53909
54474
  business_address?: Json | null;
53910
54475
  cover_asset_id?: string | null;
53911
54476
  created_at?: string;
54477
+ embed_allowed_hosts?: string[];
54478
+ external_website_url?: string | null;
53912
54479
  favicon_asset_id?: string | null;
53913
54480
  footer_composition_json?: Json | null;
53914
54481
  footer_composition_revision?: number;
@@ -55227,6 +55794,7 @@ type Database = {
55227
55794
  venues: {
55228
55795
  Row: {
55229
55796
  address_visibility: string;
55797
+ archived_at: string | null;
55230
55798
  capacity: number | null;
55231
55799
  created_at: string;
55232
55800
  description: string | null;
@@ -55242,6 +55810,7 @@ type Database = {
55242
55810
  };
55243
55811
  Insert: {
55244
55812
  address_visibility?: string;
55813
+ archived_at?: string | null;
55245
55814
  capacity?: number | null;
55246
55815
  created_at?: string;
55247
55816
  description?: string | null;
@@ -55257,6 +55826,7 @@ type Database = {
55257
55826
  };
55258
55827
  Update: {
55259
55828
  address_visibility?: string;
55829
+ archived_at?: string | null;
55260
55830
  capacity?: number | null;
55261
55831
  created_at?: string;
55262
55832
  description?: string | null;
@@ -57576,6 +58146,20 @@ type Database = {
57576
58146
  };
57577
58147
  Returns: Json;
57578
58148
  };
58149
+ archive_venue: {
58150
+ Args: {
58151
+ p_actor_id: string;
58152
+ p_site_id: string;
58153
+ p_venue_id: string;
58154
+ };
58155
+ Returns: Json;
58156
+ };
58157
+ are_valid_occurrence_original_slots: {
58158
+ Args: {
58159
+ p_slots: Json;
58160
+ };
58161
+ Returns: boolean;
58162
+ };
57579
58163
  assert_canonical_mailing_list_content_v1: {
57580
58164
  Args: {
57581
58165
  p_content: Json;
@@ -58168,6 +58752,26 @@ type Database = {
58168
58752
  site_id: string;
58169
58753
  }[];
58170
58754
  };
58755
+ claim_dated_offering_waitlist_capacity_effects_v4_atomic: {
58756
+ Args: {
58757
+ p_claim_ttl?: string;
58758
+ p_event_series_id?: string;
58759
+ p_limit?: number;
58760
+ p_now: string;
58761
+ p_site_id?: string;
58762
+ };
58763
+ Returns: {
58764
+ attendance_mode: string;
58765
+ claim_token: string;
58766
+ effect_id: string;
58767
+ event_occurrence_id: string;
58768
+ event_series_id: string;
58769
+ reason: string;
58770
+ seats_delta: number;
58771
+ site_id: string;
58772
+ subject_kind: string;
58773
+ }[];
58774
+ };
58171
58775
  claim_due_appointment_payment_requests: {
58172
58776
  Args: {
58173
58777
  p_appointment_id?: string;
@@ -59174,6 +59778,13 @@ type Database = {
59174
59778
  };
59175
59779
  Returns: undefined;
59176
59780
  };
59781
+ delete_customer_pass_atomic: {
59782
+ Args: {
59783
+ p_customer_pass_id: string;
59784
+ p_failed_checkout_item_id?: string;
59785
+ };
59786
+ Returns: Json;
59787
+ };
59177
59788
  delete_event_occurrence_if_unregistered: {
59178
59789
  Args: {
59179
59790
  p_occurrence_id: string;
@@ -59492,6 +60103,27 @@ type Database = {
59492
60103
  outcome: string;
59493
60104
  }[];
59494
60105
  };
60106
+ event_capacity_from_facts_v1: {
60107
+ Args: {
60108
+ p_attendance_mode: string;
60109
+ p_capacity: number;
60110
+ p_capacity_override: number;
60111
+ p_has_series_venue: boolean;
60112
+ p_join_url: string;
60113
+ p_override_venue_capacity: number;
60114
+ p_series_venue_capacity: number;
60115
+ p_settings: Json;
60116
+ };
60117
+ Returns: number;
60118
+ };
60119
+ event_delivery_mode_from_facts_v1: {
60120
+ Args: {
60121
+ p_has_series_venue: boolean;
60122
+ p_join_url: string;
60123
+ p_requested_mode: string;
60124
+ };
60125
+ Returns: string;
60126
+ };
59495
60127
  event_occurrence_cancellation_snapshot: {
59496
60128
  Args: {
59497
60129
  p_after?: string;
@@ -59501,6 +60133,15 @@ type Database = {
59501
60133
  };
59502
60134
  Returns: string;
59503
60135
  };
60136
+ event_occurrence_capacity_at_write_v1: {
60137
+ Args: {
60138
+ p_attendance_mode: string;
60139
+ p_occurrence_id: string;
60140
+ p_relation?: string;
60141
+ p_row?: Json;
60142
+ };
60143
+ Returns: number;
60144
+ };
59504
60145
  event_occurrence_capacity_occupancy_v1: {
59505
60146
  Args: {
59506
60147
  p_attendance_mode: string;
@@ -59731,6 +60372,12 @@ type Database = {
59731
60372
  };
59732
60373
  Returns: boolean;
59733
60374
  };
60375
+ fulfill_appointment_package_bundle_atomic: {
60376
+ Args: {
60377
+ p_order_item_id: string;
60378
+ };
60379
+ Returns: undefined;
60380
+ };
59734
60381
  get_auth_user_id_by_email: {
59735
60382
  Args: {
59736
60383
  p_email: string;
@@ -59908,6 +60555,12 @@ type Database = {
59908
60555
  };
59909
60556
  Returns: boolean;
59910
60557
  };
60558
+ is_valid_occurrence_original_slot: {
60559
+ Args: {
60560
+ p_slot: Json;
60561
+ };
60562
+ Returns: boolean;
60563
+ };
59911
60564
  issue_purchased_gifting_instrument_atomic_v1: {
59912
60565
  Args: {
59913
60566
  p_instrument: Json;
@@ -60030,6 +60683,16 @@ type Database = {
60030
60683
  total: number;
60031
60684
  }[];
60032
60685
  };
60686
+ list_demo_view_coaches: {
60687
+ Args: {
60688
+ p_site_id: string;
60689
+ p_user_id: string;
60690
+ };
60691
+ Returns: {
60692
+ display_name: string;
60693
+ staff_member_id: string;
60694
+ }[];
60695
+ };
60033
60696
  list_effective_occurrence_staff_members: {
60034
60697
  Args: {
60035
60698
  p_occurrence_id: string;
@@ -60842,6 +61505,21 @@ type Database = {
60842
61505
  order_id: string;
60843
61506
  }[];
60844
61507
  };
61508
+ plan_waitlist_offers_v1: {
61509
+ Args: {
61510
+ p_kind: string;
61511
+ p_limit?: number;
61512
+ p_mode: string;
61513
+ p_now?: string;
61514
+ p_occurrence_id: string;
61515
+ p_series_id: string;
61516
+ p_site_id: string;
61517
+ };
61518
+ Returns: {
61519
+ entry_id: string;
61520
+ places: number;
61521
+ }[];
61522
+ };
60845
61523
  prepare_event_series_registration_checkout_v1: {
60846
61524
  Args: {
60847
61525
  p_attendance_mode: string;
@@ -60908,6 +61586,24 @@ type Database = {
60908
61586
  registration_id: string;
60909
61587
  }[];
60910
61588
  };
61589
+ preview_event_occurrence_capacity_change_v1: {
61590
+ Args: {
61591
+ p_capacity_override: number;
61592
+ p_now?: string;
61593
+ p_occurrence_id: string;
61594
+ p_site_id: string;
61595
+ };
61596
+ Returns: {
61597
+ active_hold_seats: number;
61598
+ after_capacity: number;
61599
+ attendance_mode: string;
61600
+ before_capacity: number;
61601
+ capacity_opened: boolean;
61602
+ occupied_seats: number;
61603
+ offered_places: number;
61604
+ offered_requests: number;
61605
+ }[];
61606
+ };
60911
61607
  project_event_reminder_marker_if_current: {
60912
61608
  Args: {
60913
61609
  p_attendee_id: string;
@@ -61900,6 +62596,14 @@ type Database = {
61900
62596
  };
61901
62597
  Returns: Json;
61902
62598
  };
62599
+ restore_venue: {
62600
+ Args: {
62601
+ p_actor_id: string;
62602
+ p_site_id: string;
62603
+ p_venue_id: string;
62604
+ };
62605
+ Returns: Json;
62606
+ };
61903
62607
  retain_order_booking_cancellation_notice: {
61904
62608
  Args: {
61905
62609
  p_booking_key: string;
@@ -62063,6 +62767,8 @@ type Database = {
62063
62767
  business_address: Json | null;
62064
62768
  cover_asset_id: string | null;
62065
62769
  created_at: string;
62770
+ embed_allowed_hosts: string[];
62771
+ external_website_url: string | null;
62066
62772
  favicon_asset_id: string | null;
62067
62773
  footer_composition_json: Json | null;
62068
62774
  footer_composition_revision: number;
@@ -62335,6 +63041,14 @@ type Database = {
62335
63041
  };
62336
63042
  Returns: boolean;
62337
63043
  };
63044
+ switch_demo_membership_view: {
63045
+ Args: {
63046
+ p_site_id: string;
63047
+ p_staff_member_id?: string;
63048
+ p_user_id: string;
63049
+ };
63050
+ Returns: boolean;
63051
+ };
62338
63052
  sync_appointment_profile_projection: {
62339
63053
  Args: {
62340
63054
  p_profile_id: string;
@@ -62711,6 +63425,7 @@ type Database = {
62711
63425
  update_event_occurrence_v1_atomic: {
62712
63426
  Args: {
62713
63427
  p_event_series_id: string;
63428
+ p_expected_revision?: Json;
62714
63429
  p_occurrence_id: string;
62715
63430
  p_patch: Json;
62716
63431
  p_site_id: string;
@@ -62867,6 +63582,8 @@ type Database = {
62867
63582
  business_address: Json | null;
62868
63583
  cover_asset_id: string | null;
62869
63584
  created_at: string;
63585
+ embed_allowed_hosts: string[];
63586
+ external_website_url: string | null;
62870
63587
  favicon_asset_id: string | null;
62871
63588
  footer_composition_json: Json | null;
62872
63589
  footer_composition_revision: number;
@@ -63014,6 +63731,19 @@ type Database = {
63014
63731
  };
63015
63732
  Returns: undefined;
63016
63733
  };
63734
+ venue_archive_blockers: {
63735
+ Args: {
63736
+ p_now: string;
63737
+ p_site_id: string;
63738
+ p_venue_id: string;
63739
+ };
63740
+ Returns: {
63741
+ id: string;
63742
+ kind: string;
63743
+ starts_at: string;
63744
+ title: string;
63745
+ }[];
63746
+ };
63017
63747
  waitlist_allocate_event_occurrence_holds_bookable_v2: {
63018
63748
  Args: {
63019
63749
  p_attendance_mode: string;
@@ -63172,6 +63902,23 @@ type Database = {
63172
63902
  isSetofReturn: true;
63173
63903
  };
63174
63904
  };
63905
+ waitlist_capacity_offer_decision_v1: {
63906
+ Args: {
63907
+ p_after: Json;
63908
+ p_before: Json;
63909
+ };
63910
+ Returns: {
63911
+ entry_id: string;
63912
+ places: number;
63913
+ }[];
63914
+ };
63915
+ waitlist_capacity_opened_v1: {
63916
+ Args: {
63917
+ p_after: number;
63918
+ p_before: number;
63919
+ };
63920
+ Returns: boolean;
63921
+ };
63175
63922
  waitlist_consume_claim: {
63176
63923
  Args: {
63177
63924
  p_now?: string;
@@ -63248,6 +63995,54 @@ type Database = {
63248
63995
  hold_waitlist_entry_id: string;
63249
63996
  }[];
63250
63997
  };
63998
+ waitlist_flexible_ticket_budget_v1: {
63999
+ Args: {
64000
+ p_in_person_holds: number;
64001
+ p_inventory: Json;
64002
+ p_mode: string;
64003
+ p_online_holds: number;
64004
+ };
64005
+ Returns: number;
64006
+ };
64007
+ waitlist_occurrence_is_eligible_v1: {
64008
+ Args: {
64009
+ p_now: string;
64010
+ p_starts_at: string;
64011
+ p_status: string;
64012
+ };
64013
+ Returns: boolean;
64014
+ };
64015
+ waitlist_offer_decision_v1: {
64016
+ Args: {
64017
+ p_facts: Json;
64018
+ };
64019
+ Returns: {
64020
+ entry_id: string;
64021
+ places: number;
64022
+ }[];
64023
+ };
64024
+ waitlist_offer_facts_v1: {
64025
+ Args: {
64026
+ p_kind: string;
64027
+ p_limit: number;
64028
+ p_mode: string;
64029
+ p_now: string;
64030
+ p_occurrence_id: string;
64031
+ p_series_id: string;
64032
+ p_site_id: string;
64033
+ };
64034
+ Returns: Json;
64035
+ };
64036
+ waitlist_ticket_inventory_v1: {
64037
+ Args: {
64038
+ p_now: string;
64039
+ p_relation?: string;
64040
+ p_row?: Json;
64041
+ p_row_id?: string;
64042
+ p_series_id: string;
64043
+ };
64044
+ Returns: Json;
64045
+ };
63251
64046
  waitlist_whole_series_capacity_snapshot_v3: {
63252
64047
  Args: {
63253
64048
  p_event_series_id: string;
@@ -63262,6 +64057,13 @@ type Database = {
63262
64057
  occupied_seats: number;
63263
64058
  }[];
63264
64059
  };
64060
+ waitlist_whole_series_selection_is_sellable_v1: {
64061
+ Args: {
64062
+ p_entry: Database["public"]["Tables"]["waitlist_entries"]["Row"];
64063
+ p_now: string;
64064
+ };
64065
+ Returns: boolean;
64066
+ };
63265
64067
  write_content_type_record: {
63266
64068
  Args: {
63267
64069
  p_authority: Json;
@@ -63384,6 +64186,7 @@ type Database = {
63384
64186
  admin_role: "viewer" | "editor" | "org_admin" | "superadmin";
63385
64187
  api_key_access_mode: "read" | "write";
63386
64188
  api_key_type: "content" | "preview" | "management";
64189
+ appointment_online_payment_mode: "session_or_package" | "package_only";
63387
64190
  billing_component_kind: "extra_site" | "managed_domain_overage";
63388
64191
  billing_component_registrar_attempt_status: "in_flight" | "provider_succeeded" | "provider_failed" | "provider_unknown" | "provider_succeeded_persist_failed";
63389
64192
  billing_component_source_entity_type: "site" | "site_domain";
@@ -65705,7 +66508,7 @@ declare const changeBookingQuestionsInputSchema: z$1.ZodObject<{
65705
66508
  consent: z$1.ZodOptional<z$1.ZodObject<{
65706
66509
  enabled: z$1.ZodBoolean;
65707
66510
  title: z$1.ZodString;
65708
- agreement: z$1.ZodCustom<RichTextDoc, RichTextDoc>;
66511
+ agreement: z$1.ZodType<RichTextDoc, unknown, z$1.core.$ZodTypeInternals<RichTextDoc, unknown>>;
65709
66512
  checkboxLabel: z$1.ZodString;
65710
66513
  validityPolicy: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
65711
66514
  type: z$1.ZodLiteral<"never">;
@@ -66095,9 +66898,9 @@ type MediaUsageCheckItem = {
66095
66898
  type MediaUsageCheckResponse = {
66096
66899
  items: MediaUsageCheckItem[];
66097
66900
  };
66098
- type JsonPrimitive = string | number | boolean | null;
66099
- type JsonValue = JsonPrimitive | JsonValue[] | {
66100
- [key: string]: JsonValue;
66901
+ type JsonPrimitive$1 = string | number | boolean | null;
66902
+ type JsonValue$1 = JsonPrimitive$1 | JsonValue$1[] | {
66903
+ [key: string]: JsonValue$1;
66101
66904
  };
66102
66905
  //#endregion
66103
66906
  //#region .cache/declarations/api/src/documentLifecycle.d.ts
@@ -68878,6 +69681,203 @@ type BookingServicePricingInput = Readonly<{
68878
69681
  options?: readonly BookingServicePricingOptionInput[];
68879
69682
  }>;
68880
69683
  //#endregion
69684
+ //#region .cache/declarations/api/src/appointmentServiceVisibility.d.ts
69685
+ declare const APPOINTMENT_SERVICE_VISIBILITY_VALUES: readonly ['public', 'unlisted'];
69686
+ /**
69687
+ * How discoverable an appointment service is, mirroring event visibility.
69688
+ *
69689
+ * `public` appears in catalogues and sitemaps. `unlisted` is still bookable and
69690
+ * still resolves by id or slug — it is simply left out of discovery.
69691
+ *
69692
+ * Separate from `isActive`, which answers a different question: an inactive
69693
+ * service is not bookable at all. A service can be unlisted and active (a quiet
69694
+ * offering you send people a link to), or listed and inactive (paused, and gone
69695
+ * from everywhere public until it comes back).
69696
+ */
69697
+ type AppointmentServiceVisibility = (typeof APPOINTMENT_SERVICE_VISIBILITY_VALUES)[number];
69698
+ //#endregion
69699
+ //#region .cache/declarations/api/src/appointmentServiceLocation.d.ts
69700
+ declare const APPOINTMENT_SERVICE_LOCATION_TYPE_VALUES: readonly ["virtual", "in_person", "hybrid"];
69701
+ /**
69702
+ * Where a service is delivered, as the operator configures it.
69703
+ *
69704
+ * `location_type` is a `text` column behind a check constraint, so rows arrive
69705
+ * from the database as `string`; this is the closed union they narrow to. The
69706
+ * public projection maps it to something a visitor is told
69707
+ * (`PublicBookingServiceLocation`): `virtual` becomes `online`, `in_person`
69708
+ * stays, and `hybrid` becomes `either`.
69709
+ */
69710
+ type AppointmentServiceLocationType = (typeof APPOINTMENT_SERVICE_LOCATION_TYPE_VALUES)[number];
69711
+ //#endregion
69712
+ //#region .cache/declarations/api/src/appointmentServiceContracts.d.ts
69713
+ type AppointmentServiceAssignment = Readonly<{
69714
+ kind: 'all_practitioners';
69715
+ }> | Readonly<{
69716
+ kind: 'selected_practitioners';
69717
+ resourceIds: readonly string[];
69718
+ }>;
69719
+ type AppointmentServiceAssignmentMode = AppointmentServiceAssignment['kind'];
69720
+ type AppointmentOnlinePaymentMode = 'session_or_package' | 'package_only';
69721
+ type AppointmentService = {
69722
+ onlinePaymentMode?: AppointmentOnlinePaymentMode;
69723
+ hasOnlinePackage?: boolean;
69724
+ id: string;
69725
+ siteId: string;
69726
+ title: string;
69727
+ slug: string;
69728
+ assignmentMode: AppointmentServiceAssignmentMode;
69729
+ visibility: AppointmentServiceVisibility;
69730
+ photo?: MediaOfType<'image'> | null;
69731
+ description: string | null;
69732
+ durationMinutes: number;
69733
+ pricing?: BookingServicePricing;
69734
+ priceAmount: number | null;
69735
+ priceCurrency: string;
69736
+ paymentTerms: BookingPaymentTermsConfig;
69737
+ prepMinutes: number;
69738
+ cleanupMinutes: number;
69739
+ colorHex: string | null;
69740
+ isActive: boolean;
69741
+ locationType: AppointmentServiceLocationType;
69742
+ venueId: string | null;
69743
+ timezone: string | null;
69744
+ onlineDetails: AppointmentServiceOnlineDetails | null; /** Active booking questions, exported separately from the existing generic form reference. */
69745
+ bookingQuestions?: BookingQuestionAttachmentInput | null;
69746
+ cancellationPolicy: {
69747
+ refunds: {
69748
+ mode: 'inherit' | 'never' | 'always' | 'cutoff';
69749
+ cutoffHours?: number;
69750
+ };
69751
+ }; /** The service's category, or null for the trailing "Other" group (issue 1403). */
69752
+ categoryId: string | null;
69753
+ createdAt: string;
69754
+ updatedAt: string;
69755
+ };
69756
+ type AppointmentServiceOnlineDetails = {
69757
+ joinUrl: string;
69758
+ accessCode: string | null;
69759
+ notes: string | null;
69760
+ };
69761
+ type AppointmentServiceOnlineDetailsInput = {
69762
+ joinUrl: string;
69763
+ accessCode?: string | null;
69764
+ notes?: string | null;
69765
+ };
69766
+ type CreateAppointmentServiceRequest = {
69767
+ onlinePaymentMode?: AppointmentOnlinePaymentMode; /** Initial mode fences selected services until their chosen members are saved. */
69768
+ assignmentMode?: AppointmentServiceAssignmentMode;
69769
+ title: string;
69770
+ photo?: MediaOfType<'image'> | null;
69771
+ description?: string | null;
69772
+ durationMinutes: number;
69773
+ pricing?: BookingServicePricingInput;
69774
+ priceAmount?: number | null;
69775
+ priceCurrency?: string;
69776
+ paymentTerms?: BookingPaymentTermsConfig;
69777
+ paymentOptionsSource?: BookingPaymentOptionsSource;
69778
+ prepMinutes?: number;
69779
+ cleanupMinutes?: number;
69780
+ colorHex?: string | null;
69781
+ isActive?: boolean;
69782
+ visibility?: AppointmentServiceVisibility;
69783
+ locationType?: AppointmentServiceLocationType;
69784
+ venueId?: string | null;
69785
+ timezone?: string | null;
69786
+ onlineDetails?: AppointmentServiceOnlineDetailsInput | null;
69787
+ cancellationPolicy?: AppointmentService['cancellationPolicy'];
69788
+ /**
69789
+ * The category to put the service in, or null for "Other". On create the
69790
+ * service goes to the end of that group. On update, omitting it leaves the
69791
+ * category alone, and changing it moves the service to the end of its new
69792
+ * group. A category that is not the site's is rejected with
69793
+ * `CATEGORY_NOT_FOUND`.
69794
+ */
69795
+ categoryId?: string | null;
69796
+ };
69797
+ type UpdateAppointmentServiceRequest = Partial<Omit<CreateAppointmentServiceRequest, 'assignmentMode'>>;
69798
+ type SdkCreateAppointmentServiceRequest = CreateAppointmentServiceRequest & Readonly<{
69799
+ bookingQuestions?: BookingQuestionAttachmentInput | null;
69800
+ }>;
69801
+ type SdkUpdateAppointmentServiceRequest = UpdateAppointmentServiceRequest & Readonly<{
69802
+ bookingQuestions?: BookingQuestionAttachmentInput | null;
69803
+ }>;
69804
+ type AppointmentServiceResponse = {
69805
+ service: AppointmentService;
69806
+ };
69807
+ type ListAppointmentServicesResponse = {
69808
+ services: AppointmentService[];
69809
+ };
69810
+ /**
69811
+ * A category as the dashboard manages it. Order is carried by position in
69812
+ * the list responses, never by a stored number. `identifier` is the internal,
69813
+ * rename-safe key site commands use. It is generated from the name on create
69814
+ * and never shown to a site admin.
69815
+ */
69816
+ type AppointmentServiceCategory = {
69817
+ id: string;
69818
+ siteId: string;
69819
+ name: string;
69820
+ identifier: string;
69821
+ description: string | null;
69822
+ createdAt: string;
69823
+ updatedAt: string;
69824
+ };
69825
+ /** Every category the site has, in its manual order. */
69826
+ type ListAppointmentServiceCategoriesResponse = {
69827
+ categories: AppointmentServiceCategory[];
69828
+ };
69829
+ /** Names are trimmed. The name must be unique on the site, ignoring case. */
69830
+ type CreateAppointmentServiceCategoryRequest = {
69831
+ name: string;
69832
+ description?: string | null;
69833
+ };
69834
+ type UpdateAppointmentServiceCategoryRequest = {
69835
+ name?: string;
69836
+ description?: string | null;
69837
+ };
69838
+ type AppointmentServiceCategoryResponse = {
69839
+ category: AppointmentServiceCategory;
69840
+ };
69841
+ /** Deleting a category moves its services to the end of "Other". */
69842
+ type DeleteAppointmentServiceCategoryResponse = {
69843
+ success: true;
69844
+ };
69845
+ /**
69846
+ * A compare-and-swap reorder. `expectedOrder` is the order the client last
69847
+ * read and `nextOrder` the order it wants. The server answers
69848
+ * `ORDER_CHANGED` when `expectedOrder` is no longer current (the client
69849
+ * should refetch), and `ORDER_INVALID` when `nextOrder` is not an exact
69850
+ * permutation of the current members.
69851
+ */
69852
+ type ReorderAppointmentServiceCategoriesRequest = {
69853
+ expectedOrder: string[];
69854
+ nextOrder: string[];
69855
+ };
69856
+ /**
69857
+ * Reorders the services within one group: a category, or "Other" when
69858
+ * `categoryId` is null. Moving a service between groups is not a reorder.
69859
+ * It goes through the service's `categoryId`.
69860
+ */
69861
+ type ReorderAppointmentServicesRequest = {
69862
+ categoryId: string | null;
69863
+ expectedOrder: string[];
69864
+ nextOrder: string[];
69865
+ };
69866
+ type AppointmentServiceOrderResponse = {
69867
+ success: true;
69868
+ };
69869
+ /**
69870
+ * The Services page read: every category in order and every service (paused
69871
+ * and unlisted included) in display order, so
69872
+ * `layoutServicesByCategory(categories, services, { keepEmptyGroups: true })`
69873
+ * gives the page's groups, and a group's service ids are the `expectedOrder`
69874
+ * for a reorder. `listAppointmentServices` stays alphabetical for pickers.
69875
+ */
69876
+ type ListGroupedAppointmentServicesResponse = {
69877
+ categories: AppointmentServiceCategory[];
69878
+ services: AppointmentService[];
69879
+ };
69880
+ //#endregion
68881
69881
  //#region .cache/declarations/api/src/publicBookingService.d.ts
68882
69882
  /**
68883
69883
  * Where a service happens, as a visitor may see it before booking.
@@ -68972,6 +69972,13 @@ type PublicBookingPractitioner = Readonly<{
68972
69972
  * unlisted would only invite that fact into markup.
68973
69973
  */
68974
69974
  type PublicBookingService = {
69975
+ onlinePaymentMode?: AppointmentOnlinePaymentMode;
69976
+ onlinePaymentChoices?: Readonly<{
69977
+ perSession: boolean;
69978
+ heldPackage: true;
69979
+ buyPackage: boolean;
69980
+ anyAvailable: boolean;
69981
+ }>;
68975
69982
  id: string;
68976
69983
  siteId: string; /** Stable, route-safe identity. The consumer derives any URL from it; this payload carries no storefront href. */
68977
69984
  slug: string;
@@ -69033,9 +70040,10 @@ type PublicBookingServicesResponse = {
69033
70040
  };
69034
70041
  //#endregion
69035
70042
  //#region .cache/declarations/api/src/publicAppointmentBookingContracts.d.ts
69036
- type PublicAppointmentPaymentChoices = Pick<PublicBookingService, 'id' | 'priceAmount' | 'priceCurrency' | 'pricing' | 'paymentTerms' | 'paymentTermsAvailability'>;
70043
+ type PublicAppointmentPaymentChoices = Pick<PublicBookingService, 'onlinePaymentMode' | 'onlinePaymentChoices' | 'id' | 'priceAmount' | 'priceCurrency' | 'pricing' | 'paymentTerms' | 'paymentTermsAvailability'>;
69037
70044
  type PublicCreateBookingAppointmentRequest = {
69038
70045
  formId: string;
70046
+ purchasePassId?: string;
69039
70047
  serviceId: string;
69040
70048
  resourceId?: string | null;
69041
70049
  startAt: string;
@@ -70199,199 +71207,6 @@ type EventAttendeeRefundFailedCode = (typeof EVENT_ATTENDEE_REFUND_FAILED_CODES)
70199
71207
  declare const EVENT_SERIES_REGISTRATION_REFUND_FAILED_CODES: readonly ["not_found", "refund_blocked_by_live_payment_terms", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "refund_blocked_by_live_payment_terms", "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", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
70200
71208
  type EventSeriesRegistrationRefundFailedCode = (typeof EVENT_SERIES_REGISTRATION_REFUND_FAILED_CODES)[number];
70201
71209
  //#endregion
70202
- //#region .cache/declarations/api/src/appointmentServiceVisibility.d.ts
70203
- declare const APPOINTMENT_SERVICE_VISIBILITY_VALUES: readonly ['public', 'unlisted'];
70204
- /**
70205
- * How discoverable an appointment service is, mirroring event visibility.
70206
- *
70207
- * `public` appears in catalogues and sitemaps. `unlisted` is still bookable and
70208
- * still resolves by id or slug — it is simply left out of discovery.
70209
- *
70210
- * Separate from `isActive`, which answers a different question: an inactive
70211
- * service is not bookable at all. A service can be unlisted and active (a quiet
70212
- * offering you send people a link to), or listed and inactive (paused, and gone
70213
- * from everywhere public until it comes back).
70214
- */
70215
- type AppointmentServiceVisibility = (typeof APPOINTMENT_SERVICE_VISIBILITY_VALUES)[number];
70216
- //#endregion
70217
- //#region .cache/declarations/api/src/appointmentServiceLocation.d.ts
70218
- declare const APPOINTMENT_SERVICE_LOCATION_TYPE_VALUES: readonly ["virtual", "in_person", "hybrid"];
70219
- /**
70220
- * Where a service is delivered, as the operator configures it.
70221
- *
70222
- * `location_type` is a `text` column behind a check constraint, so rows arrive
70223
- * from the database as `string`; this is the closed union they narrow to. The
70224
- * public projection maps it to something a visitor is told
70225
- * (`PublicBookingServiceLocation`): `virtual` becomes `online`, `in_person`
70226
- * stays, and `hybrid` becomes `either`.
70227
- */
70228
- type AppointmentServiceLocationType = (typeof APPOINTMENT_SERVICE_LOCATION_TYPE_VALUES)[number];
70229
- //#endregion
70230
- //#region .cache/declarations/api/src/appointmentServiceContracts.d.ts
70231
- type AppointmentServiceAssignment = Readonly<{
70232
- kind: 'all_practitioners';
70233
- }> | Readonly<{
70234
- kind: 'selected_practitioners';
70235
- resourceIds: readonly string[];
70236
- }>;
70237
- type AppointmentServiceAssignmentMode = AppointmentServiceAssignment['kind'];
70238
- type AppointmentService = {
70239
- id: string;
70240
- siteId: string;
70241
- title: string;
70242
- slug: string;
70243
- assignmentMode: AppointmentServiceAssignmentMode;
70244
- visibility: AppointmentServiceVisibility;
70245
- photo?: MediaOfType<'image'> | null;
70246
- description: string | null;
70247
- durationMinutes: number;
70248
- pricing?: BookingServicePricing;
70249
- priceAmount: number | null;
70250
- priceCurrency: string;
70251
- paymentTerms: BookingPaymentTermsConfig;
70252
- prepMinutes: number;
70253
- cleanupMinutes: number;
70254
- colorHex: string | null;
70255
- isActive: boolean;
70256
- locationType: AppointmentServiceLocationType;
70257
- venueId: string | null;
70258
- timezone: string | null;
70259
- onlineDetails: AppointmentServiceOnlineDetails | null; /** Active booking questions, exported separately from the existing generic form reference. */
70260
- bookingQuestions?: BookingQuestionAttachmentInput | null;
70261
- cancellationPolicy: {
70262
- refunds: {
70263
- mode: 'inherit' | 'never' | 'always' | 'cutoff';
70264
- cutoffHours?: number;
70265
- };
70266
- }; /** The service's category, or null for the trailing "Other" group (issue 1403). */
70267
- categoryId: string | null;
70268
- createdAt: string;
70269
- updatedAt: string;
70270
- };
70271
- type AppointmentServiceOnlineDetails = {
70272
- joinUrl: string;
70273
- accessCode: string | null;
70274
- notes: string | null;
70275
- };
70276
- type AppointmentServiceOnlineDetailsInput = {
70277
- joinUrl: string;
70278
- accessCode?: string | null;
70279
- notes?: string | null;
70280
- };
70281
- type CreateAppointmentServiceRequest = {
70282
- /** Initial mode fences selected services until their chosen members are saved. */assignmentMode?: AppointmentServiceAssignmentMode;
70283
- title: string;
70284
- photo?: MediaOfType<'image'> | null;
70285
- description?: string | null;
70286
- durationMinutes: number;
70287
- pricing?: BookingServicePricingInput;
70288
- priceAmount?: number | null;
70289
- priceCurrency?: string;
70290
- paymentTerms?: BookingPaymentTermsConfig;
70291
- paymentOptionsSource?: BookingPaymentOptionsSource;
70292
- prepMinutes?: number;
70293
- cleanupMinutes?: number;
70294
- colorHex?: string | null;
70295
- isActive?: boolean;
70296
- visibility?: AppointmentServiceVisibility;
70297
- locationType?: AppointmentServiceLocationType;
70298
- venueId?: string | null;
70299
- timezone?: string | null;
70300
- onlineDetails?: AppointmentServiceOnlineDetailsInput | null;
70301
- cancellationPolicy?: AppointmentService['cancellationPolicy'];
70302
- /**
70303
- * The category to put the service in, or null for "Other". On create the
70304
- * service goes to the end of that group. On update, omitting it leaves the
70305
- * category alone, and changing it moves the service to the end of its new
70306
- * group. A category that is not the site's is rejected with
70307
- * `CATEGORY_NOT_FOUND`.
70308
- */
70309
- categoryId?: string | null;
70310
- };
70311
- type UpdateAppointmentServiceRequest = Partial<Omit<CreateAppointmentServiceRequest, 'assignmentMode'>>;
70312
- type SdkCreateAppointmentServiceRequest = CreateAppointmentServiceRequest & Readonly<{
70313
- bookingQuestions?: BookingQuestionAttachmentInput | null;
70314
- }>;
70315
- type SdkUpdateAppointmentServiceRequest = UpdateAppointmentServiceRequest & Readonly<{
70316
- bookingQuestions?: BookingQuestionAttachmentInput | null;
70317
- }>;
70318
- type AppointmentServiceResponse = {
70319
- service: AppointmentService;
70320
- };
70321
- type ListAppointmentServicesResponse = {
70322
- services: AppointmentService[];
70323
- };
70324
- /**
70325
- * A category as the dashboard manages it. Order is carried by position in
70326
- * the list responses, never by a stored number. `identifier` is the internal,
70327
- * rename-safe key site commands use. It is generated from the name on create
70328
- * and never shown to a site admin.
70329
- */
70330
- type AppointmentServiceCategory = {
70331
- id: string;
70332
- siteId: string;
70333
- name: string;
70334
- identifier: string;
70335
- description: string | null;
70336
- createdAt: string;
70337
- updatedAt: string;
70338
- };
70339
- /** Every category the site has, in its manual order. */
70340
- type ListAppointmentServiceCategoriesResponse = {
70341
- categories: AppointmentServiceCategory[];
70342
- };
70343
- /** Names are trimmed. The name must be unique on the site, ignoring case. */
70344
- type CreateAppointmentServiceCategoryRequest = {
70345
- name: string;
70346
- description?: string | null;
70347
- };
70348
- type UpdateAppointmentServiceCategoryRequest = {
70349
- name?: string;
70350
- description?: string | null;
70351
- };
70352
- type AppointmentServiceCategoryResponse = {
70353
- category: AppointmentServiceCategory;
70354
- };
70355
- /** Deleting a category moves its services to the end of "Other". */
70356
- type DeleteAppointmentServiceCategoryResponse = {
70357
- success: true;
70358
- };
70359
- /**
70360
- * A compare-and-swap reorder. `expectedOrder` is the order the client last
70361
- * read and `nextOrder` the order it wants. The server answers
70362
- * `ORDER_CHANGED` when `expectedOrder` is no longer current (the client
70363
- * should refetch), and `ORDER_INVALID` when `nextOrder` is not an exact
70364
- * permutation of the current members.
70365
- */
70366
- type ReorderAppointmentServiceCategoriesRequest = {
70367
- expectedOrder: string[];
70368
- nextOrder: string[];
70369
- };
70370
- /**
70371
- * Reorders the services within one group: a category, or "Other" when
70372
- * `categoryId` is null. Moving a service between groups is not a reorder.
70373
- * It goes through the service's `categoryId`.
70374
- */
70375
- type ReorderAppointmentServicesRequest = {
70376
- categoryId: string | null;
70377
- expectedOrder: string[];
70378
- nextOrder: string[];
70379
- };
70380
- type AppointmentServiceOrderResponse = {
70381
- success: true;
70382
- };
70383
- /**
70384
- * The Services page read: every category in order and every service (paused
70385
- * and unlisted included) in display order, so
70386
- * `layoutServicesByCategory(categories, services, { keepEmptyGroups: true })`
70387
- * gives the page's groups, and a group's service ids are the `expectedOrder`
70388
- * for a reorder. `listAppointmentServices` stays alphabetical for pickers.
70389
- */
70390
- type ListGroupedAppointmentServicesResponse = {
70391
- categories: AppointmentServiceCategory[];
70392
- services: AppointmentService[];
70393
- };
70394
- //#endregion
70395
71210
  //#region .cache/declarations/api/src/bookingOperations.d.ts
70396
71211
  /**
70397
71212
  * Booking Operations Contracts
@@ -71089,7 +71904,7 @@ type BookingSessionListAppointmentsResponse = {
71089
71904
  count: number;
71090
71905
  };
71091
71906
  };
71092
- type BookingSessionCreateAppointmentRequest = Omit<PublicCreateBookingAppointmentRequest, 'cancelUrl' | 'discountCode' | 'selectedCollectionOptionKind' | 'successUrl' | 'shownTerms'> & {
71907
+ type BookingSessionCreateAppointmentRequest = Omit<PublicCreateBookingAppointmentRequest, 'purchasePassId' | 'cancelUrl' | 'discountCode' | 'selectedCollectionOptionKind' | 'successUrl' | 'shownTerms'> & {
71093
71908
  customerPassId: string;
71094
71909
  };
71095
71910
  type BookingSessionCreateAppointmentResponse = Extract<PublicCreateBookingAppointmentResponse, {
@@ -71915,6 +72730,242 @@ type CreateOccurrenceRequest = {
71915
72730
  metadata?: Record<string, unknown>;
71916
72731
  };
71917
72732
  //#endregion
72733
+ //#region .cache/declarations/api/src/sdkManagedEventContracts.d.ts
72734
+ type SdkManagementEvent = SdkPullEvent & {
72735
+ id: EventOfferingId;
72736
+ /**
72737
+ * Whether the Event's own page is currently reachable by the public, derived
72738
+ * from its route exactly as the dashboard's lifecycle service derives it
72739
+ * (`EventPageState`): published means `online`, anything else `offline`.
72740
+ *
72741
+ * Read-only, and deliberately absent from the portable pull/upsert shape: a
72742
+ * page goes online or offline through lifecycle operations, never by being
72743
+ * written back in an event file.
72744
+ *
72745
+ * Optional only for the length of one release, for the same reason as
72746
+ * `confirmedPlaces` below. A published CLI can be pointed at a dashboard
72747
+ * that predates this field, and making it required would fail the whole
72748
+ * event response parse rather than one column. Make it required once every
72749
+ * dashboard carrying this change is live. While it is absent, a client
72750
+ * cannot prove the page state and must say so rather than assume.
72751
+ */
72752
+ pageState?: EventPageState;
72753
+ };
72754
+ type SdkManagementEventRun = SdkPullEventRun & {
72755
+ id: EventSeriesId;
72756
+ eventId: EventOfferingId;
72757
+ schedule: SdkEventCanonicalScheduleInput;
72758
+ };
72759
+ interface SdkListEventsResponse {
72760
+ events: SdkManagementEvent[];
72761
+ eventRuns: SdkManagementEventRun[];
72762
+ }
72763
+ type SdkManagementEventGraph = Readonly<{
72764
+ event: SdkManagementEvent;
72765
+ runs: readonly [SdkManagementEventRun, ...SdkManagementEventRun[]];
72766
+ }>;
72767
+ interface SdkGetEventResponse {
72768
+ event: SdkManagementEvent;
72769
+ runs: readonly [SdkManagementEventRun, ...SdkManagementEventRun[]];
72770
+ }
72771
+ interface SdkListEventOccurrencesResponse {
72772
+ occurrences: SdkManagementEventOccurrence[];
72773
+ nextCursor: string | null;
72774
+ }
72775
+ interface SdkEventOccurrenceResponse {
72776
+ occurrence: SdkManagementEventOccurrence;
72777
+ }
72778
+ type SdkEventOccurrenceProvenance = 'manual' | 'recurrence_generated' | 'recurrence_exception' | 'recurrence_moved';
72779
+ type SdkEventOccurrenceDeletionEligibility = {
72780
+ kind: 'allowed';
72781
+ } | {
72782
+ kind: 'blocked_by_registrations';
72783
+ registrations: number;
72784
+ } | {
72785
+ kind: 'blocked_generated_occurrence';
72786
+ } | {
72787
+ kind: 'blocked_completed_occurrence';
72788
+ };
72789
+ /**
72790
+ * One event date as the management API reports it.
72791
+ *
72792
+ * Two different place counts live here on purpose, because two different
72793
+ * questions get asked about the same roster (see `attendanceCounts.ts` in
72794
+ * `@riverbankcms/bookings/events`, which defines both):
72795
+ *
72796
+ * - `confirmedPlaces` is what a room holds and what `capacity` is compared
72797
+ * against. Only a confirmed booking holds a place.
72798
+ * - `registrations` is the wider figure the delete gate needs, because a
72799
+ * waitlisted or pending row is still someone you would strand by deleting
72800
+ * the date underneath them.
72801
+ *
72802
+ * They are usually equal, and they diverge exactly when a date has waitlisted
72803
+ * or pending rows on it.
72804
+ */
72805
+ interface SdkManagementEventOccurrence {
72806
+ id: OccurrenceId;
72807
+ seriesId: EventSeriesId;
72808
+ startsAt: string;
72809
+ endsAt: string;
72810
+ timeZone: string;
72811
+ status: EventOccurrenceStatus;
72812
+ provenance: SdkEventOccurrenceProvenance;
72813
+ originalSlot?: EventOccurrenceOriginalSlot | null;
72814
+ capacityOverride: number | null;
72815
+ capacity: number | null;
72816
+ /**
72817
+ * Places held by confirmed bookings: the sum of the confirmed rows'
72818
+ * ticket-line quantities. The figure to compare against `capacity`, and the
72819
+ * same number the dashboard's date list shows.
72820
+ *
72821
+ * Optional only for the length of one release. A published CLI can be
72822
+ * pointed at a dashboard that predates this field, and a required field
72823
+ * would fail the whole response parse rather than one column, so clients
72824
+ * fall back to `registrations` when it is absent. Make it required — here
72825
+ * and in `sdkOccurrenceResponseSchemas.ts` — once every dashboard carrying
72826
+ * commit e22c7700f5 is live, and drop the fallbacks with it.
72827
+ */
72828
+ confirmedPlaces?: number;
72829
+ /**
72830
+ * Places held by every row that is not cancelled, so waitlisted and pending
72831
+ * rows are counted too. `deletionEligibility` is decided on the records a
72832
+ * delete would lose, which also includes a course run's records of any
72833
+ * status: a dropped course date keeps them so it can be put back, and
72834
+ * cannot be deleted while it does.
72835
+ *
72836
+ * The name is kept for compatibility with published CLI output. For
72837
+ * "how full is this date", read `confirmedPlaces`.
72838
+ */
72839
+ registrations: number;
72840
+ deletionEligibility: SdkEventOccurrenceDeletionEligibility;
72841
+ }
72842
+ interface SdkListEventOccurrencesResponse {
72843
+ occurrences: SdkManagementEventOccurrence[];
72844
+ nextCursor: string | null;
72845
+ }
72846
+ interface SdkEventOccurrenceResponse {
72847
+ cancellationResult?: BusinessCancellationResult;
72848
+ restoration?: EventOccurrenceRestorationSummary;
72849
+ cancellationResults?: readonly BusinessCancellationResult[];
72850
+ occurrence: SdkManagementEventOccurrence;
72851
+ }
72852
+ type SdkUpsertEventResponse = (SdkCommandApplicationResult<SdkManagementEventGraph> & Readonly<{
72853
+ cancellationResult?: BusinessCancellationResult;
72854
+ restoration?: EventOccurrenceRestorationSummary;
72855
+ warnings?: readonly EventRunWriteWarning[];
72856
+ }>) | AcceptedEventRunUpdate<EventSeriesId> | AcceptedEventRunCreation<EventSeriesId>;
72857
+ //#endregion
72858
+ //#region .cache/declarations/api/src/common/emailSendOutcome.d.ts
72859
+ type SendOutcome = Readonly<{
72860
+ kind: 'not_found';
72861
+ }> | Readonly<{
72862
+ kind: 'queued';
72863
+ }> | Readonly<{
72864
+ kind: 'sent';
72865
+ emailId: string;
72866
+ }> | Readonly<{
72867
+ kind: 'sent_record_removed';
72868
+ }> | Readonly<{
72869
+ kind: 'failed';
72870
+ }> /** The mail service never confirmed either way. The record, when there is one, says what's known. */ | Readonly<{
72871
+ kind: 'unknown';
72872
+ emailId: string | null;
72873
+ }> | Readonly<{
72874
+ kind: 'cancelled';
72875
+ }>;
72876
+ type RequestedSendOutcome = Exclude<SendOutcome, {
72877
+ kind: 'not_found';
72878
+ }> | Readonly<{
72879
+ kind: 'not_requested';
72880
+ }>;
72881
+ //#endregion
72882
+ //#region .cache/declarations/api/src/json.d.ts
72883
+ type JsonPrimitive = string | number | boolean | null;
72884
+ type JsonValue = JsonPrimitive | JsonValue[] | {
72885
+ [key: string]: JsonValue;
72886
+ };
72887
+ //#endregion
72888
+ //#region .cache/declarations/api/src/common/bookAppointmentOperation.d.ts
72889
+ type BookAppointmentRequest = Readonly<{
72890
+ operation: 'book_appointment';
72891
+ siteId: string;
72892
+ operationId: string;
72893
+ person: Exclude<StaffBookingPersonInput, {
72894
+ kind: 'exact_email';
72895
+ }>;
72896
+ serviceId: string;
72897
+ practitionerId: string;
72898
+ startsAt: string;
72899
+ customerEmail: boolean;
72900
+ }>;
72901
+ type AssistantAppointmentPayment = Readonly<{
72902
+ kind: 'none';
72903
+ }> | Readonly<{
72904
+ kind: 'owed';
72905
+ amountCents: number;
72906
+ currency: string;
72907
+ }>;
72908
+ type BookAppointmentOutcome = Readonly<{
72909
+ kind: 'appointment_booked';
72910
+ appointmentId: string;
72911
+ startsAt: string;
72912
+ endsAt: string;
72913
+ practitionerId: string;
72914
+ customerEmail: boolean;
72915
+ email: RequestedSendOutcome;
72916
+ payment: AssistantAppointmentPayment;
72917
+ }>;
72918
+ //#endregion
72919
+ //#region .cache/declarations/api/src/common/rescheduleAppointmentOperation.d.ts
72920
+ type RescheduleAppointmentRequest = Readonly<{
72921
+ operation: 'reschedule_appointment';
72922
+ siteId: string;
72923
+ appointmentId: string;
72924
+ operationId: string;
72925
+ startsAt: string;
72926
+ practitionerId?: string;
72927
+ }>;
72928
+ type RescheduleAppointmentOutcome = Readonly<{
72929
+ kind: 'appointment_rescheduled';
72930
+ appointmentId: string;
72931
+ startsAt: string;
72932
+ endsAt: string;
72933
+ practitionerId: string;
72934
+ email: RequestedSendOutcome;
72935
+ }>;
72936
+ //#endregion
72937
+ //#region .cache/declarations/api/src/common/timeOffOperations.d.ts
72938
+ type AddTimeOffRequest = Readonly<{
72939
+ operation: 'add_time_off';
72940
+ siteId: string;
72941
+ operationId: string;
72942
+ practitionerId: string;
72943
+ startsAt: string;
72944
+ endsAt: string;
72945
+ reason?: string;
72946
+ }>;
72947
+ type RemoveTimeOffRequest = Readonly<{
72948
+ operation: 'remove_time_off';
72949
+ siteId: string;
72950
+ operationId: string;
72951
+ practitionerId: string;
72952
+ blackoutId: string;
72953
+ }>;
72954
+ type TimeOffRequest = AddTimeOffRequest | RemoveTimeOffRequest;
72955
+ type TimeOffSubject = Readonly<{
72956
+ practitionerName: string;
72957
+ startsAt: string;
72958
+ endsAt: string;
72959
+ timezone: string;
72960
+ reason: string | null;
72961
+ }>;
72962
+ type TimeOffOutcome = Readonly<{
72963
+ kind: 'time_off_changed';
72964
+ action: 'add' | 'remove';
72965
+ blackoutId: string;
72966
+ practitionerId: string;
72967
+ }>;
72968
+ //#endregion
71918
72969
  //#region .cache/declarations/api/src/common/operationPreview.d.ts
71919
72970
  /** Shared card data. The domain supplies meaning; renderers supply wording. */
71920
72971
  type PreviewValue = Readonly<{
@@ -71942,7 +72993,7 @@ type PreviewValue = Readonly<{
71942
72993
  name: string;
71943
72994
  }>;
71944
72995
  type PreviewChange = Readonly<{
71945
- field: 'date' | 'time' | 'venue' | 'capacity' | 'booking_status';
72996
+ field: 'date' | 'time' | 'venue' | 'capacity' | 'booking_status' | 'practitioner' | 'attendance_mode';
71946
72997
  before: PreviewValue | null;
71947
72998
  after: PreviewValue | null;
71948
72999
  }>;
@@ -71960,13 +73011,24 @@ type PreviewConsequence = Readonly<{
71960
73011
  credits: number;
71961
73012
  }> | Readonly<{
71962
73013
  kind: 'conditional_waitlist_offer';
73014
+ }> | Readonly<{
73015
+ kind: 'direct_contact_required';
73016
+ count: number;
71963
73017
  }> | Readonly<{
71964
73018
  kind: 'course_attendance_added';
71965
73019
  attendanceCount: number;
71966
73020
  }> | Readonly<{
71967
73021
  kind: 'future_payments_stopped';
73022
+ }> | Readonly<{
73023
+ kind: 'existing_appointments_kept';
73024
+ count: number;
71968
73025
  }>;
71969
- type PreviewChoice = Readonly<{
73026
+ /** Whether the customer is emailed, for operations where that's the person's choice. */
73027
+ type CustomerEmailChoice = Readonly<{
73028
+ kind: 'customer_email';
73029
+ value: boolean;
73030
+ }>;
73031
+ type PreviewChoice = CustomerEmailChoice | Readonly<{
71970
73032
  kind: 'refund_selection';
71971
73033
  value: 'follow_policy' | 'force_refund' | 'force_no_refund';
71972
73034
  }> | Readonly<{
@@ -71979,7 +73041,7 @@ type PreviewChoice = Readonly<{
71979
73041
  kind: 'refund_destination';
71980
73042
  value: 'original_payment' | 'site_credit';
71981
73043
  }>;
71982
- declare const PREVIEW_BLOCKED_REASONS: readonly ['not_found', 'access_denied', 'already_cancelled', 'already_started', 'invalid_start_time', 'payment_in_progress', 'policy_disallows', 'no_refundable_payment_link', 'nothing_remaining_to_refund', 'invalid_refund_amount', 'invalid_refund_context', 'site_credit_unavailable', 'generated_schedule_is_managed', 'occurrence_completed', 'occurrence_cancelled', 'occurrence_not_cancelled', 'occurrence_already_started', 'generated_occurrence_cannot_be_deleted', 'registrations_present', 'extra_date_nonrecurring', 'duplicate', 'run_closed', 'past_date', 'invalid_schedule', 'stale', 'invalid_state'];
73044
+ declare const PREVIEW_BLOCKED_REASONS: readonly ['not_found', 'access_denied', 'already_cancelled', 'already_started', 'invalid_start_time', 'payment_in_progress', 'policy_disallows', 'no_refundable_payment_link', 'nothing_remaining_to_refund', 'invalid_refund_amount', 'invalid_refund_context', 'site_credit_unavailable', 'occurrence_completed', 'occurrence_cancelled', 'occurrence_not_cancelled', 'occurrence_already_started', 'generated_occurrence_cannot_be_deleted', 'registrations_present', 'extra_date_nonrecurring', 'duplicate', 'run_closed', 'past_date', 'invalid_schedule', 'stale', 'invalid_state'];
71983
73045
  type PreviewBlocked = Readonly<{
71984
73046
  kind: 'blocked';
71985
73047
  message?: string;
@@ -72000,7 +73062,7 @@ type CancellationTarget = Readonly<{
72000
73062
  }>;
72001
73063
  type OperationPreview = Readonly<{
72002
73064
  kind: 'preview';
72003
- operation: 'add_event_date' | 'cancel_booking' | 'undo_added_event_date';
73065
+ operation: 'book_appointment' | 'reschedule_appointment' | 'add_time_off' | 'remove_time_off' | 'add_event_date' | 'cancel_booking' | 'undo_added_event_date' | 'mark_no_show' | 'cancel_event_date' | 'move_booking' | 'change_event_date';
72004
73066
  confirmation: string;
72005
73067
  changes: readonly PreviewChange[];
72006
73068
  consequences: readonly PreviewConsequence[];
@@ -72038,7 +73100,132 @@ type UndoAddedDateRequest = Readonly<{
72038
73100
  occurrenceId: string;
72039
73101
  handle: string;
72040
73102
  }>;
72041
- type BookingOperationRequest = UndoAddedDateRequest | Readonly<{
73103
+ type MarkNoShowRequest = Readonly<{
73104
+ operation: 'mark_no_show';
73105
+ siteId: string;
73106
+ appointmentId: string;
73107
+ operationId: string;
73108
+ action: 'mark' | 'undo';
73109
+ }>;
73110
+ type AppointmentOperationSubject = Readonly<{
73111
+ name: string;
73112
+ title: string;
73113
+ startsAt: string;
73114
+ endsAt: string;
73115
+ timezone: string;
73116
+ practitionerName: string | null;
73117
+ }>;
73118
+ type MarkNoShowOutcome = Readonly<{
73119
+ kind: 'appointment_no_show_changed';
73120
+ appointmentId: string;
73121
+ action: 'mark';
73122
+ status: 'no_show';
73123
+ }> | Readonly<{
73124
+ kind: 'appointment_no_show_changed';
73125
+ appointmentId: string;
73126
+ action: 'undo';
73127
+ status: 'confirmed';
73128
+ }>;
73129
+ type CancelEventDateRequest = Readonly<{
73130
+ operation: 'cancel_event_date';
73131
+ siteId: string;
73132
+ seriesId: string;
73133
+ occurrenceId: string;
73134
+ operationId: string;
73135
+ }>;
73136
+ type EventDateOperationSubject = Readonly<{
73137
+ provenance?: SdkEventOccurrenceProvenance;
73138
+ originalSlot?: EventOccurrenceOriginalSlot | null;
73139
+ title: string;
73140
+ startsAt: string;
73141
+ endsAt: string;
73142
+ timezone: string;
73143
+ }>;
73144
+ type CancelEventDateOutcome = Readonly<{
73145
+ kind: 'event_date_cancelled';
73146
+ directContactCount: number;
73147
+ occurrenceId: string;
73148
+ result: BusinessCancellationResult;
73149
+ }>;
73150
+ type MoveBookingRequest = Readonly<{
73151
+ operation: 'move_booking';
73152
+ seriesId: string;
73153
+ siteId: string;
73154
+ attendeeId: string;
73155
+ occurrenceId: string;
73156
+ commandId: string;
73157
+ customerEmailRequested: boolean;
73158
+ }>;
73159
+ type MoveBookingOperationSubject = Readonly<{
73160
+ name: string;
73161
+ title: string;
73162
+ from: Omit<EventDateOperationSubject, 'title'>;
73163
+ to: Omit<EventDateOperationSubject, 'title'>;
73164
+ }>;
73165
+ type MoveBookingOutcome = Readonly<{
73166
+ kind: 'booking_moved';
73167
+ email: RequestedSendOutcome;
73168
+ result: Extract<EventBookingMoveResult, {
73169
+ moved: true;
73170
+ }>;
73171
+ }>;
73172
+ type EventDateRevision = Readonly<{
73173
+ startsAt: string;
73174
+ endsAt: string;
73175
+ capacityOverride: number | null;
73176
+ status: string;
73177
+ isException: boolean;
73178
+ staffAssignmentMode: string;
73179
+ metadata: JsonValue;
73180
+ overridesJson: JsonValue;
73181
+ }>;
73182
+ /** Echoed reviewed facts, never a stored command receipt. Confirm re-prepares; recovery only observes state. */
73183
+ type ChangeEventDateReview = Readonly<{
73184
+ before: EventDateRevision & Readonly<{
73185
+ scheduleRevision: number;
73186
+ }>;
73187
+ after: Readonly<{
73188
+ startsAt: string;
73189
+ endsAt: string;
73190
+ capacityOverride: number | null;
73191
+ }>;
73192
+ inheritedCapacity: number | null; /** Current allocator facts; confirmation recomputes this estimate. */
73193
+ waitlistOffers: Readonly<{
73194
+ kind: 'estimate';
73195
+ requests: number;
73196
+ places: number;
73197
+ }>;
73198
+ bookedCount: number;
73199
+ emailAttendeeIds: readonly string[];
73200
+ timezone: string;
73201
+ scheduleChanged: boolean;
73202
+ capacityChanged: boolean;
73203
+ }>;
73204
+ /** Facts needed to recover the original digest and notification identity; targets are derived from the command. */
73205
+ type ChangeEventDateRecoveryEvidence = Omit<ChangeEventDateReview, 'after' | 'scheduleChanged' | 'capacityChanged'>;
73206
+ type ChangeEventDateRequest = Readonly<{
73207
+ operation: 'change_event_date';
73208
+ siteId: string;
73209
+ seriesId: string;
73210
+ occurrenceId: string;
73211
+ operationId: string;
73212
+ change: Readonly<{
73213
+ startsAt?: string;
73214
+ endsAt?: string;
73215
+ capacityOverride?: number | null;
73216
+ }>;
73217
+ customerEmailRequested: boolean;
73218
+ reviewed?: ChangeEventDateRecoveryEvidence;
73219
+ }>;
73220
+ type ChangeEventDateOutcome = Readonly<{
73221
+ kind: 'event_date_changed';
73222
+ occurrenceId: string;
73223
+ state: 'saved' | 'already_set';
73224
+ notification: OccurrenceUpdateNotificationOutcome | Readonly<{
73225
+ kind: 'unavailable';
73226
+ }>;
73227
+ }>;
73228
+ type BookingOperationRequest = ChangeEventDateRequest | MoveBookingRequest | CancelEventDateRequest | BookAppointmentRequest | RescheduleAppointmentRequest | TimeOffRequest | MarkNoShowRequest | UndoAddedDateRequest | Readonly<{
72042
73229
  operation: 'add_event_date';
72043
73230
  siteId: string;
72044
73231
  seriesId: string;
@@ -72049,6 +73236,47 @@ type BookingOperationRequest = UndoAddedDateRequest | Readonly<{
72049
73236
  selection: CancellationSelectionRequest;
72050
73237
  }>;
72051
73238
  type BookingOperationPreviewResponse = (OperationPreview & Readonly<{
73239
+ operation: 'change_event_date';
73240
+ request: ChangeEventDateRequest;
73241
+ subject?: EventDateOperationSubject;
73242
+ bookedCount: number;
73243
+ waitlistOffers: ChangeEventDateReview['waitlistOffers'];
73244
+ }>) | (OperationPreview & Readonly<{
73245
+ operation: 'move_booking';
73246
+ request: MoveBookingRequest;
73247
+ subject?: MoveBookingOperationSubject;
73248
+ places: number;
73249
+ }>) | (OperationPreview & Readonly<{
73250
+ operation: 'cancel_event_date';
73251
+ request: CancelEventDateRequest;
73252
+ subject?: EventDateOperationSubject;
73253
+ bookingsAffected: number;
73254
+ }>) | (OperationPreview & Readonly<{
73255
+ operation: 'book_appointment';
73256
+ request: BookAppointmentRequest;
73257
+ subject: AppointmentOperationSubject;
73258
+ payment: AssistantAppointmentPayment;
73259
+ }>) | (OperationPreview & Readonly<{
73260
+ operation: 'reschedule_appointment';
73261
+ request: RescheduleAppointmentRequest;
73262
+ subject: AppointmentOperationSubject;
73263
+ }>) | (OperationPreview & Readonly<{
73264
+ operation: 'add_time_off';
73265
+ request: Extract<TimeOffRequest, {
73266
+ operation: 'add_time_off';
73267
+ }>;
73268
+ subject: TimeOffSubject;
73269
+ }>) | (OperationPreview & Readonly<{
73270
+ operation: 'remove_time_off';
73271
+ request: Extract<TimeOffRequest, {
73272
+ operation: 'remove_time_off';
73273
+ }>;
73274
+ subject: TimeOffSubject;
73275
+ }>) | (OperationPreview & Readonly<{
73276
+ operation: 'mark_no_show';
73277
+ request: MarkNoShowRequest;
73278
+ subject?: AppointmentOperationSubject;
73279
+ }>) | (OperationPreview & Readonly<{
72052
73280
  operation: 'undo_added_event_date';
72053
73281
  request: UndoAddedDateRequest;
72054
73282
  }>) | (OperationPreview & Readonly<{
@@ -72062,13 +73290,28 @@ type BookingOperationPreviewResponse = (OperationPreview & Readonly<{
72062
73290
  operation: 'cancel_booking';
72063
73291
  }>;
72064
73292
  }>) | PreviewBlocked;
72065
- type BookingOperationOutcome = Readonly<{
72066
- kind: 'deleted_date';
72067
- occurrenceId: string;
72068
- }> | AddedDateReceipt | Readonly<{
72069
- kind: 'cancelled_booking';
72070
- result: AdminBookingCancellationResult;
72071
- }> | PreviewBlocked;
73293
+ /** Correlated wire outcomes; browser contracts and server handlers are checked against this map. */
73294
+ type BookingOperationOutcomes = {
73295
+ change_event_date: ChangeEventDateOutcome;
73296
+ move_booking: MoveBookingOutcome;
73297
+ cancel_event_date: CancelEventDateOutcome;
73298
+ book_appointment: BookAppointmentOutcome;
73299
+ reschedule_appointment: RescheduleAppointmentOutcome;
73300
+ add_time_off: TimeOffOutcome;
73301
+ remove_time_off: TimeOffOutcome;
73302
+ mark_no_show: MarkNoShowOutcome;
73303
+ undo_added_event_date: Readonly<{
73304
+ kind: 'deleted_date';
73305
+ occurrenceId: string;
73306
+ }>;
73307
+ add_event_date: AddedDateReceipt;
73308
+ cancel_booking: Readonly<{
73309
+ kind: 'cancelled_booking';
73310
+ result: AdminBookingCancellationResult;
73311
+ }>;
73312
+ };
73313
+ type BookingOperation = BookingOperationRequest['operation'];
73314
+ type BookingOperationOutcome = BookingOperationOutcomes[BookingOperation] | PreviewBlocked;
72072
73315
  type BookingOperationConfirmResponse = Readonly<{
72073
73316
  kind: 'changed';
72074
73317
  preview: BookingOperationPreviewResponse;
@@ -73281,6 +74524,7 @@ type VenueRecord = {
73281
74524
  capacity: number | null;
73282
74525
  mapEmbed: string | null;
73283
74526
  settingsJson: Record<string, unknown>;
74527
+ archivedAt: string | null;
73284
74528
  createdAt: string;
73285
74529
  updatedAt: string;
73286
74530
  };
@@ -73306,6 +74550,26 @@ type UpdateVenueRequest = {
73306
74550
  map_embed?: string | null;
73307
74551
  settings_json?: Record<string, unknown>;
73308
74552
  };
74553
+ type VenueListIntent = 'active' | 'archived' | 'all';
74554
+ type VenueArchiveBlockerGroup = Readonly<{
74555
+ kind: 'event' | 'service' | 'appointment';
74556
+ total: number;
74557
+ items: readonly Readonly<{
74558
+ id: string;
74559
+ title: string;
74560
+ startsAt: string | null;
74561
+ href: string;
74562
+ }>[];
74563
+ }>;
74564
+ type ArchiveVenueResponse = Readonly<{
74565
+ kind: 'archived' | 'unchanged';
74566
+ }> | Readonly<{
74567
+ kind: 'blocked';
74568
+ groups: readonly VenueArchiveBlockerGroup[];
74569
+ }>;
74570
+ type RestoreVenueResponse = Readonly<{
74571
+ kind: 'restored' | 'unchanged';
74572
+ }>;
73309
74573
  //#endregion
73310
74574
  //#region .cache/declarations/api/src/sdkConfig/layout.d.ts
73311
74575
  /** SDK-owned footer implementation and source-controlled content seed. */
@@ -73556,130 +74820,6 @@ interface SdkPullSettingsResponse {
73556
74820
  };
73557
74821
  }
73558
74822
  //#endregion
73559
- //#region .cache/declarations/api/src/sdkManagedEventContracts.d.ts
73560
- type SdkManagementEvent = SdkPullEvent & {
73561
- id: EventOfferingId;
73562
- /**
73563
- * Whether the Event's own page is currently reachable by the public, derived
73564
- * from its route exactly as the dashboard's lifecycle service derives it
73565
- * (`EventPageState`): published means `online`, anything else `offline`.
73566
- *
73567
- * Read-only, and deliberately absent from the portable pull/upsert shape: a
73568
- * page goes online or offline through lifecycle operations, never by being
73569
- * written back in an event file.
73570
- *
73571
- * Optional only for the length of one release, for the same reason as
73572
- * `confirmedPlaces` below. A published CLI can be pointed at a dashboard
73573
- * that predates this field, and making it required would fail the whole
73574
- * event response parse rather than one column. Make it required once every
73575
- * dashboard carrying this change is live. While it is absent, a client
73576
- * cannot prove the page state and must say so rather than assume.
73577
- */
73578
- pageState?: EventPageState;
73579
- };
73580
- type SdkManagementEventRun = SdkPullEventRun & {
73581
- id: EventSeriesId;
73582
- eventId: EventOfferingId;
73583
- schedule: SdkEventCanonicalScheduleInput;
73584
- };
73585
- interface SdkListEventsResponse {
73586
- events: SdkManagementEvent[];
73587
- eventRuns: SdkManagementEventRun[];
73588
- }
73589
- type SdkManagementEventGraph = Readonly<{
73590
- event: SdkManagementEvent;
73591
- runs: readonly [SdkManagementEventRun, ...SdkManagementEventRun[]];
73592
- }>;
73593
- interface SdkGetEventResponse {
73594
- event: SdkManagementEvent;
73595
- runs: readonly [SdkManagementEventRun, ...SdkManagementEventRun[]];
73596
- }
73597
- interface SdkListEventOccurrencesResponse {
73598
- occurrences: SdkManagementEventOccurrence[];
73599
- nextCursor: string | null;
73600
- }
73601
- interface SdkEventOccurrenceResponse {
73602
- occurrence: SdkManagementEventOccurrence;
73603
- }
73604
- type SdkEventOccurrenceProvenance = 'manual' | 'recurrence_generated' | 'recurrence_exception';
73605
- type SdkEventOccurrenceDeletionEligibility = {
73606
- kind: 'allowed';
73607
- } | {
73608
- kind: 'blocked_by_registrations';
73609
- registrations: number;
73610
- } | {
73611
- kind: 'blocked_generated_occurrence';
73612
- } | {
73613
- kind: 'blocked_completed_occurrence';
73614
- };
73615
- /**
73616
- * One event date as the management API reports it.
73617
- *
73618
- * Two different place counts live here on purpose, because two different
73619
- * questions get asked about the same roster (see `attendanceCounts.ts` in
73620
- * `@riverbankcms/bookings/events`, which defines both):
73621
- *
73622
- * - `confirmedPlaces` is what a room holds and what `capacity` is compared
73623
- * against. Only a confirmed booking holds a place.
73624
- * - `registrations` is the wider figure the delete gate needs, because a
73625
- * waitlisted or pending row is still someone you would strand by deleting
73626
- * the date underneath them.
73627
- *
73628
- * They are usually equal, and they diverge exactly when a date has waitlisted
73629
- * or pending rows on it.
73630
- */
73631
- interface SdkManagementEventOccurrence {
73632
- id: OccurrenceId;
73633
- seriesId: EventSeriesId;
73634
- startsAt: string;
73635
- endsAt: string;
73636
- timeZone: string;
73637
- status: EventOccurrenceStatus;
73638
- provenance: SdkEventOccurrenceProvenance;
73639
- capacityOverride: number | null;
73640
- capacity: number | null;
73641
- /**
73642
- * Places held by confirmed bookings: the sum of the confirmed rows'
73643
- * ticket-line quantities. The figure to compare against `capacity`, and the
73644
- * same number the dashboard's date list shows.
73645
- *
73646
- * Optional only for the length of one release. A published CLI can be
73647
- * pointed at a dashboard that predates this field, and a required field
73648
- * would fail the whole response parse rather than one column, so clients
73649
- * fall back to `registrations` when it is absent. Make it required — here
73650
- * and in `sdkOccurrenceResponseSchemas.ts` — once every dashboard carrying
73651
- * commit e22c7700f5 is live, and drop the fallbacks with it.
73652
- */
73653
- confirmedPlaces?: number;
73654
- /**
73655
- * Places held by every row that is not cancelled, so waitlisted and pending
73656
- * rows are counted too. `deletionEligibility` is decided on the records a
73657
- * delete would lose, which also includes a course run's records of any
73658
- * status: a dropped course date keeps them so it can be put back, and
73659
- * cannot be deleted while it does.
73660
- *
73661
- * The name is kept for compatibility with published CLI output. For
73662
- * "how full is this date", read `confirmedPlaces`.
73663
- */
73664
- registrations: number;
73665
- deletionEligibility: SdkEventOccurrenceDeletionEligibility;
73666
- }
73667
- interface SdkListEventOccurrencesResponse {
73668
- occurrences: SdkManagementEventOccurrence[];
73669
- nextCursor: string | null;
73670
- }
73671
- interface SdkEventOccurrenceResponse {
73672
- cancellationResult?: BusinessCancellationResult;
73673
- restoration?: EventOccurrenceRestorationSummary;
73674
- cancellationResults?: readonly BusinessCancellationResult[];
73675
- occurrence: SdkManagementEventOccurrence;
73676
- }
73677
- type SdkUpsertEventResponse = (SdkCommandApplicationResult<SdkManagementEventGraph> & Readonly<{
73678
- cancellationResult?: BusinessCancellationResult;
73679
- restoration?: EventOccurrenceRestorationSummary;
73680
- warnings?: readonly EventRunWriteWarning[];
73681
- }>) | AcceptedEventRunUpdate<EventSeriesId> | AcceptedEventRunCreation<EventSeriesId>;
73682
- //#endregion
73683
74823
  //#region .cache/declarations/api/src/sdkPushContracts.d.ts
73684
74824
  type PushSdkConfigRequest = {
73685
74825
  config: RiverbankSiteConfigInput;
@@ -74130,7 +75270,7 @@ interface SdkGetPageBlockResponse {
74130
75270
  type SdkPatchPageBlockOperation = Readonly<{
74131
75271
  op: 'set';
74132
75272
  path: string;
74133
- value: JsonValue;
75273
+ value: JsonValue$1;
74134
75274
  }>;
74135
75275
  /**
74136
75276
  * Body for `PATCH pages/{identifier}/blocks/{blockIdentifier}`.
@@ -74534,6 +75674,7 @@ type SdkManagementForm = SdkPullForm & {
74534
75674
  };
74535
75675
  type SdkManagementVenue = SdkPullVenue & {
74536
75676
  id: string;
75677
+ archivedAt: string | null;
74537
75678
  };
74538
75679
  type SdkManagementEventCategory = SdkPullEventCategory & {
74539
75680
  id: string;
@@ -75059,7 +76200,8 @@ type SiteRuntimeSelectionPayload = {
75059
76200
  bookingAttribution?: SiteRuntimeBookingAttribution;
75060
76201
  };
75061
76202
  type SiteBySlugResponse = SiteRuntimeSelectionPayload & {
75062
- /** True when demo booking confirmations are suppressed because no claim is active. */demoEmailSuppressed?: boolean;
76203
+ /** Canonical booking-page embed settings; full websites have no embed policy. */bookingEmbed: BookingEmbedSettings | null; /** True when demo booking confirmations are suppressed because no claim is active. */
76204
+ demoEmailSuppressed?: boolean;
75063
76205
  interactionContext?: BlockInteractionContext;
75064
76206
  site: SiteRuntimeIdentity;
75065
76207
  favicon?: {
@@ -75168,7 +76310,7 @@ type ContentEntryOrPageResponse<TContent = Record<string, unknown>> = ContentEnt
75168
76310
  };
75169
76311
  /** Publish request body. Publishing is immediate; scheduling is the schedule endpoint's (issue 1553). */
75170
76312
  type PublishContentEntryBody = Readonly<{
75171
- content?: Record<string, JsonValue>;
76313
+ content?: Record<string, JsonValue$1>;
75172
76314
  }>;
75173
76315
  type PublishedContentEntryOrPageResponse<TContent = Record<string, unknown>> = (EntryLifecycleResponse<TContent>) | {
75174
76316
  entry: PageRecord;
@@ -76080,7 +77222,13 @@ type EventOccurrenceDeletionEligibility = {
76080
77222
  kind: 'blocked_by_registrations';
76081
77223
  registrations: number;
76082
77224
  };
77225
+ type EventOccurrenceOriginalSlot = Readonly<{
77226
+ startsAt: string;
77227
+ localDate: string;
77228
+ timeZone: string;
77229
+ }>;
76083
77230
  type EventOccurrenceRecord = {
77231
+ originalSlot?: EventOccurrenceOriginalSlot | null;
76084
77232
  id: string;
76085
77233
  siteId: string;
76086
77234
  seriesId: string;
@@ -78015,6 +79163,7 @@ type BookingCustomerRecord = {
78015
79163
  updatedAt: string;
78016
79164
  };
78017
79165
  type CreateAppointmentResponse = {
79166
+ emailSent?: boolean;
78018
79167
  orderId?: string;
78019
79168
  paymentRecording?: 'recorded' | 'failed';
78020
79169
  appointment: AppointmentRecord;
@@ -79687,6 +80836,11 @@ type DsarExecutionOutcomeApi = {
79687
80836
  message: string;
79688
80837
  };
79689
80838
  type SiteManagementAPIEndpoints = BillingAPIEndpoints & EditLeaseAPIEndpoints & SiteLifecycleAPIEndpoints & PageSurfaceAPIEndpoints & {
80839
+ switchDemoView: APIEndpoint<DemoMembershipView, {
80840
+ siteId: string;
80841
+ }, {
80842
+ currentView: DemoMembershipView;
80843
+ }>;
79690
80844
  listContentEntries: APIEndpoint<never, {
79691
80845
  siteId: string;
79692
80846
  type: string;
@@ -80120,6 +81274,9 @@ type SiteManagementAPIEndpoints = BillingAPIEndpoints & EditLeaseAPIEndpoints &
80120
81274
  updateFooterCredit: APIEndpoint<FooterCreditUpdateRequest, {
80121
81275
  siteId: string;
80122
81276
  }, FooterCreditSetting>;
81277
+ updateBookingEmbed: APIEndpoint<BookingEmbedChange, {
81278
+ siteId: string;
81279
+ }, BookingEmbedSettings>;
80123
81280
  updateFooterComposition: APIEndpoint<FooterCompositionUpdateRequest, {
80124
81281
  siteId: string;
80125
81282
  }, FooterCompositionUpdateResponse>;
@@ -80609,6 +81766,13 @@ type SiteManagementAPIEndpoints = BillingAPIEndpoints & EditLeaseAPIEndpoints &
80609
81766
  activeOnly?: string;
80610
81767
  }, BookingSessionListPassesResponse>;
80611
81768
  };
81769
+ /** Demo claimant's own membership view; Owner means administrator access. */
81770
+ type DemoMembershipView = Readonly<{
81771
+ kind: 'owner';
81772
+ }> | Readonly<{
81773
+ kind: 'coach';
81774
+ staffMemberId: string;
81775
+ }>;
80612
81776
  //#endregion
80613
81777
  //#region .cache/declarations/api/src/accountEndpoints.d.ts
80614
81778
  declare const accountSiteDeploymentModeSchema: z$1.ZodEnum<{
@@ -81488,8 +82652,8 @@ type MailingListPageExternalChangeReceipt = Readonly<{
81488
82652
  expectedRevision: number;
81489
82653
  resultingRevision: number;
81490
82654
  committedAt: string;
81491
- appliedDocument: JsonValue;
81492
- baselines: JsonValue;
82655
+ appliedDocument: JsonValue$1;
82656
+ baselines: JsonValue$1;
81493
82657
  externalChange: Readonly<{
81494
82658
  kind: 'provider-reset';
81495
82659
  targetDisposition: 'live' | 'retained-only';
@@ -82191,11 +83355,19 @@ type MoneyComparisonMetric = Readonly<{
82191
83355
  delta: number;
82192
83356
  deltaPercentage: number | null;
82193
83357
  }>;
83358
+ /** A mixed-currency amount has no numeric value that a caller could format. */
83359
+ type MoneyMonetaryComparisonMetric = MoneyComparisonMetric | Readonly<{
83360
+ current: null;
83361
+ previous: null;
83362
+ delta: null;
83363
+ deltaPercentage: null;
83364
+ reason: 'mixed_currency';
83365
+ }>;
82194
83366
  type MoneyReportTaxSummary = Readonly<{
82195
83367
  kind: 'hidden';
82196
83368
  }> | Readonly<{
82197
83369
  kind: 'visible';
82198
- taxCollectedCents: MoneyComparisonMetric;
83370
+ taxCollectedCents: MoneyMonetaryComparisonMetric;
82199
83371
  }>;
82200
83372
  /** Every breakdown the report computes, in the order it computes them. */
82201
83373
  declare const MONEY_BREAKDOWN_DIMENSIONS: readonly ['item_kind', 'event', 'event_category', 'venue', 'pass', 'membership', 'product', 'practitioner', 'discount_code'];
@@ -82203,11 +83375,11 @@ type MoneyBreakdownDimension = (typeof MONEY_BREAKDOWN_DIMENSIONS)[number];
82203
83375
  type MoneyBreakdownRow = Readonly<{
82204
83376
  key: string;
82205
83377
  label: string;
82206
- subtotalCents: number;
82207
- paidCents: number;
82208
- refundedCents: number;
82209
- discountCents: number;
82210
- netRevenueCents: number;
83378
+ subtotalCents: number | null;
83379
+ paidCents: number | null;
83380
+ refundedCents: number | null;
83381
+ discountCents: number | null;
83382
+ netRevenueCents: number | null;
82211
83383
  stripeMoney?: MoneyBreakdownStripeMoney;
82212
83384
  orderCount: number;
82213
83385
  }>;
@@ -82220,11 +83392,11 @@ type MoneyTimeSeriesBucket = Readonly<{
82220
83392
  bucketStart: string;
82221
83393
  bucketEnd: string;
82222
83394
  label: string;
82223
- cashCollectedCents: number;
82224
- refundsCents: number;
82225
- netRevenueCents: number;
82226
- discountCents: number;
82227
- taxCollectedCents: number;
83395
+ cashCollectedCents: number | null;
83396
+ refundsCents: number | null;
83397
+ netRevenueCents: number | null;
83398
+ discountCents: number | null;
83399
+ taxCollectedCents: number | null;
82228
83400
  orderCount: number;
82229
83401
  /**
82230
83402
  * Distinct paying orders from the period start through this bucket. An order
@@ -82248,13 +83420,13 @@ type MoneyReportResponse = Readonly<{
82248
83420
  summary: Readonly<{
82249
83421
  currency: string;
82250
83422
  currencies: readonly string[];
82251
- cashCollectedCents: MoneyComparisonMetric;
82252
- refundsCents: MoneyComparisonMetric;
82253
- netRevenueCents: MoneyComparisonMetric;
82254
- discountCents: MoneyComparisonMetric;
83423
+ cashCollectedCents: MoneyMonetaryComparisonMetric;
83424
+ refundsCents: MoneyMonetaryComparisonMetric;
83425
+ netRevenueCents: MoneyMonetaryComparisonMetric;
83426
+ discountCents: MoneyMonetaryComparisonMetric;
82255
83427
  tax: MoneyReportTaxSummary;
82256
83428
  orderCount: MoneyComparisonMetric;
82257
- averageCollectedPerOrderCents: MoneyComparisonMetric;
83429
+ averageCollectedPerOrderCents: MoneyMonetaryComparisonMetric;
82258
83430
  }>;
82259
83431
  currentSeries: MoneyTimeSeriesBucket[];
82260
83432
  comparisonSeries: MoneyTimeSeriesBucket[];
@@ -82687,6 +83859,10 @@ interface BlockApiClient {
82687
83859
  getForm(formId: string, siteId?: string): Promise<FormConfigResponse>;
82688
83860
  submitBooking(data: BookingSubmitRequest): Promise<BookingSubmitResponse>;
82689
83861
  submitBookingWithPackage(data: BookingPackageSubmitRequest): Promise<BookingSubmitResponse>;
83862
+ listPublicPasses(params: {
83863
+ serviceId: string;
83864
+ teamMemberId?: string;
83865
+ }): Promise<PublicPassProductCollection>;
82690
83866
  getEligibleAppointmentPackages(params: {
82691
83867
  serviceId: string;
82692
83868
  teamMemberId?: string;
@@ -83226,6 +84402,7 @@ type EventRegistrationClientProps = {
83226
84402
  siteMemberships?: PublicMembershipProductCollection | null;
83227
84403
  mailingList?: MailingListRuntimeContext;
83228
84404
  siteTerms?: BlockSiteTerms;
84405
+ pageNavigation?: PageNavigation;
83229
84406
  siteName?: string; /** What the site calls this offering ("class", "course"), resolved on the server. */
83230
84407
  offeringNoun?: Readonly<{
83231
84408
  label: string;
@@ -83298,15 +84475,16 @@ type EligibilityLookupState = {
83298
84475
  settledRequestKey: string;
83299
84476
  error: string;
83300
84477
  };
84478
+ type ExistingBookings = readonly CustomerEventRegistration[];
83301
84479
  type ExistingRegistrationLookupState = {
83302
84480
  tag: 'idle';
83303
- registration: null;
84481
+ registrations: ExistingBookings;
83304
84482
  } | {
83305
84483
  tag: 'loading';
83306
- registration: CustomerEventRegistration | null;
84484
+ registrations: ExistingBookings;
83307
84485
  } | {
83308
84486
  tag: 'resolved';
83309
- registration: CustomerEventRegistration | null;
84487
+ registrations: ExistingBookings;
83310
84488
  };
83311
84489
  //#endregion
83312
84490
  //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts
@@ -83466,6 +84644,7 @@ declare const bookingFormBlockRuntime: Readonly<{
83466
84644
  readAuthority?: BrowserReadAuthority;
83467
84645
  mailingList?: MailingListRuntimeContext;
83468
84646
  siteTerms?: BlockSiteTerms;
84647
+ pageNavigation?: PageNavigation;
83469
84648
  siteName?: string;
83470
84649
  formId?: string;
83471
84650
  serviceId?: string | null;
@@ -83496,6 +84675,7 @@ declare const bookingFormBlockRuntime: Readonly<{
83496
84675
  demoEmailSuppressed?: boolean;
83497
84676
  mailingList?: MailingListRuntimeContext;
83498
84677
  siteTerms?: BlockSiteTerms;
84678
+ pageNavigation?: PageNavigation;
83499
84679
  siteName?: string;
83500
84680
  formId: string | null;
83501
84681
  serviceId: string | null;
@@ -83530,6 +84710,7 @@ declare const bookingFormBlockRuntime: Readonly<{
83530
84710
  readAuthority?: BrowserReadAuthority;
83531
84711
  mailingList?: MailingListRuntimeContext;
83532
84712
  siteTerms?: BlockSiteTerms;
84713
+ pageNavigation?: PageNavigation;
83533
84714
  siteName?: string;
83534
84715
  formId?: string;
83535
84716
  serviceId?: string | null;
@@ -83559,6 +84740,7 @@ declare const bookingFormBlockRuntime: Readonly<{
83559
84740
  readAuthority?: BrowserReadAuthority;
83560
84741
  mailingList?: MailingListRuntimeContext;
83561
84742
  siteTerms?: BlockSiteTerms;
84743
+ pageNavigation?: PageNavigation;
83562
84744
  siteName?: string;
83563
84745
  formId?: string;
83564
84746
  serviceId?: string | null;
@@ -83592,6 +84774,7 @@ declare const bookingFormBlockRuntime: Readonly<{
83592
84774
  demoEmailSuppressed?: boolean;
83593
84775
  mailingList?: MailingListRuntimeContext;
83594
84776
  siteTerms?: BlockSiteTerms;
84777
+ pageNavigation?: PageNavigation;
83595
84778
  siteName?: string;
83596
84779
  formId: string | null;
83597
84780
  serviceId: string | null;
@@ -83626,6 +84809,7 @@ declare const bookingFormBlockRuntime: Readonly<{
83626
84809
  demoEmailSuppressed?: boolean;
83627
84810
  mailingList?: MailingListRuntimeContext;
83628
84811
  siteTerms?: BlockSiteTerms;
84812
+ pageNavigation?: PageNavigation;
83629
84813
  siteName?: string;
83630
84814
  formId: string | null;
83631
84815
  serviceId: string | null;
@@ -84540,6 +85724,52 @@ type RouteAddressAPIEndpoints = {
84540
85724
  changeRouteAddress: APIEndpoint<ChangeRouteAddressBody, RouteAddressParams, ChangeRouteAddressResponse>;
84541
85725
  };
84542
85726
  //#endregion
85727
+ //#region .cache/declarations/api/src/assistant/editorDraftContext.d.ts
85728
+ declare const assistantEditorCurrentSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
85729
+ editor: z$1.ZodEnum<{
85730
+ event_setup: "event_setup";
85731
+ service_setup: "service_setup";
85732
+ }>;
85733
+ siteId: z$1.ZodString;
85734
+ instanceId: z$1.ZodString;
85735
+ generation: z$1.ZodNumber;
85736
+ data: z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>;
85737
+ }, z$1.core.$strict>, z$1.ZodObject<{
85738
+ editor: z$1.ZodLiteral<"participant_message">;
85739
+ siteId: z$1.ZodString;
85740
+ instanceId: z$1.ZodString;
85741
+ generation: z$1.ZodNumber;
85742
+ target: z$1.ZodObject<{
85743
+ kind: z$1.ZodLiteral<"event_series">;
85744
+ id: z$1.ZodString;
85745
+ }, z$1.core.$strict>;
85746
+ audienceLabel: z$1.ZodString;
85747
+ data: z$1.ZodObject<{
85748
+ subject: z$1.ZodString;
85749
+ bodyText: z$1.ZodString;
85750
+ }, z$1.core.$strict>;
85751
+ }, z$1.core.$strict>]>;
85752
+ type AssistantEditorCurrent = z$1.infer<typeof assistantEditorCurrentSchema>;
85753
+ declare const assistantApplicationReceiptSchema: z$1.ZodObject<{
85754
+ id: z$1.ZodString;
85755
+ editor: z$1.ZodEnum<{
85756
+ booking_questions: "booking_questions";
85757
+ event_setup: "event_setup";
85758
+ service_setup: "service_setup";
85759
+ }>;
85760
+ status: z$1.ZodEnum<{
85761
+ applied: "applied";
85762
+ refused: "refused";
85763
+ undone: "undone";
85764
+ }>;
85765
+ reason: z$1.ZodOptional<z$1.ZodString>;
85766
+ filled: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
85767
+ label: z$1.ZodString;
85768
+ step: z$1.ZodString;
85769
+ }, z$1.core.$strict>>>;
85770
+ }, z$1.core.$strict>;
85771
+ type AssistantApplicationReceipt = z$1.infer<typeof assistantApplicationReceiptSchema>;
85772
+ //#endregion
84543
85773
  //#region .cache/declarations/api/src/assistantCapabilities.d.ts
84544
85774
  /** Presence describes host support, never permission to write site data. */
84545
85775
  type AssistantHostAbilities = Readonly<{
@@ -84558,6 +85788,8 @@ type AssistantTurnRequest<Context> = Readonly<{
84558
85788
  message: string;
84559
85789
  context: Context;
84560
85790
  abilities: AssistantHostAbilities;
85791
+ editorCurrent?: AssistantEditorCurrent;
85792
+ applicationReceipts?: readonly AssistantApplicationReceipt[];
84561
85793
  }>;
84562
85794
  /** The person reports a choice; commit facts are recorded by the server. */
84563
85795
  type AssistantOutcomeRequest = Readonly<{
@@ -86225,7 +87457,16 @@ type BookingManagementAPIEndpoints = WholeSeriesEndpoints & BookingPeopleEndpoin
86225
87457
  }, SchedulePreviewResponse>;
86226
87458
  listVenues: APIEndpoint<never, {
86227
87459
  siteId: string;
87460
+ intent?: VenueListIntent;
86228
87461
  }, VenueRecord[]>;
87462
+ archiveVenue: APIEndpoint<never, {
87463
+ siteId: string;
87464
+ venueId: string;
87465
+ }, ArchiveVenueResponse>;
87466
+ restoreVenue: APIEndpoint<never, {
87467
+ siteId: string;
87468
+ venueId: string;
87469
+ }, RestoreVenueResponse>;
86229
87470
  createVenue: APIEndpoint<CreateVenueRequest, {
86230
87471
  siteId: string;
86231
87472
  }, VenueRecord>;
@@ -86532,7 +87773,7 @@ interface NewsletterCampaignCommandAPIEndpoints {
86532
87773
  }
86533
87774
  //#endregion
86534
87775
  //#region .cache/declarations/api/src/commercePortalEndpoints.d.ts
86535
- type DemoClaimBlueprintSlug = 'harbour-pilates' | 'lotus-studio' | 'healing-hands' | 'isobel-studio' | 'clayfield' | 'thornbeck-farm' | 'nightjar' | 'mara-vale' | 'kiln-and-table' | 'rowan-music-room' | 'stillwater';
87776
+ type DemoClaimBlueprintSlug = 'harbour-pilates' | 'lotus-studio' | 'healing-hands' | 'isobel-studio' | 'clayfield' | 'thornbeck-farm' | 'nightjar' | 'mara-vale' | 'kiln-and-table' | 'rowan-music-room' | 'stillwater' | 'foundry';
86536
87777
  /**
86537
87778
  * Commerce and portal endpoints cover billing/account actions, portal customer flows,
86538
87779
  * font/binary assets, and shop-order administration.
@@ -87050,4 +88291,4 @@ type ApiClient<Allowed extends keyof APIEndpoints = keyof APIEndpoints, M extend
87050
88291
  readonly [apiClientRepresentation]?: M;
87051
88292
  };
87052
88293
  //#endregion
87053
- export { SectionStylesContent as $, ExternalMedia as $n, ProtectedSubmission as $t, PortalProfile as A, PageBlockRenderAdmissionError as An, RichTextDoc as Ar, PublicBookingServicesResponse as At, PaymentSelection as B, EventRegistrationErrorAction as Bn, EventPageSurfaceSubjectRefWire as Br, EligibleAppointmentPackage as Bt, EventRegistrationDirectPaymentSelectionState as C, LinkValue as Cn, WeeklyOpeningHours as Cr, SiteRuntimeIdentity as Ct, BookingQuestionsModel as D, ContentFrameIntent as Dn, BusinessAddress as Dr, ContentTypeSchema as Dt, BookingPaymentSelectionViewModel as E, HeaderLogoContext as En, PublishedBlockPlacementRead as Er, BindingTransformName as Et, EventPaymentState as F, CustomerEventRegistration as Fn, BookingTimeZone as Fr, SdkRuntimeEntry as Ft, RegistrationResult as G, CalendarWindowRequest as Gn, AppointmentServiceId as Gr, BookingSelectedCollectionOptionKind as Gt, PaymentStepState as H, PublicVenueMapLocation as Hn, NonNegativeCents as Hr, BookingFormData as Ht, EventRegistrationClientProps as I, DirectCheckoutCollectionOptionKind as In, UtcIsoDateTimeString as Ir, SurfaceId as It, ThemedButtonProps as J, resolveManagedMediaReference as Jn, EventCategoryId as Jr, BookingQuestionsPaymentSnapshot as Jt, RegistrationStep as K, ManagedMediaResolution as Kn, FormId as Kr, getBookingServiceSlidingScale as Kt, EventTicketSelectionLine as L, EventCheckoutReturnRequest as Ln, AppointmentBookingReview as Lr, ApiErrorCode as Lt, ExistingRegistrationLookupState as M, FieldDefinition as Mn, TipTapNode as Mr, ThemeJournalState as Mt, SelectableEventTicketType as N, PortalDigitalProductAccessResponse as Nn, DisplayContext as Nr, ThemeSelectionPreviewProps as Nt, PortalAuthState as O, FooterMode as On, BusinessLocationPermission as Or, SdkSiteLayoutConfig as Ot, EligibilityData as P, PortalEventTicket as Pn, ZoneLabel as Pr, SdkEditorRevision as Pt, ContainerStylesContent as Q, AssetMedia as Qn, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Qt, Guest as R, EventRegistrationPaymentSubject as Rn, EventOccurrenceContextData as Rr, BookingAppointmentSummary as Rt, EventRegistrationDirectPaymentOption as S, InternalLinkValue as Sn, MailingListRuntimeContext as Sr, SiteBookingOfferingPresetSummary as St, BookingPaymentOptionViewModel as T, ResolvedInternalLinkEntityType as Tn, EditorBlockVersions as Tr, SdkBlockContentAdmission as Tt, RegistrationAttendanceMode as U, PublicEvent$1 as Un, PositiveCents as Ur, BookingFormService as Ut, PaymentStatusRecoveryState as V, CurrencyCode as Vn, EventPageSurfaceSubjectWire as Vr, BookingFormConfig as Vt, RegistrationEvent as W, CalendarWindowPage as Wn, AppointmentResourceId as Wr, BookingPaymentStepResolution as Wt, OccurrenceContext as X, buildRenderableMediaAssetIndex as Xn, Brand$1 as Xr, BookingFormServicesSource as Xt, FormData$1 as Y, RenderableMediaAsset as Yn, VenueId as Yr, BookingFormServiceCategory as Yt, CardStylesContent as Z, renderableMediaAssetSchema as Zn, BlockInteractionContext as Zr, BookingFormField as Zt, BodyTextContent as _, RenderablePageOutline as _n, PageRuntimeJoin as _r, SiteRuntimeSiteTerms as _t, SdkConfigForBlockPicker as a, BlockSiteTerms as an, mediaSchema as ar, EventSourceRecovery as at, MediaAssetIndexItem as b, EntryLinkValue as bn, MapDrawing as br, SdkRuntimePageSurface as bt, BlockLoaderSnapshot as c, EventEmbeddedCheckout as cn, MediaTypeDiscriminant as cr, BoundBlockApiClient as ct, ImageGalleryContent as d, DisplayMode as dn, parseCanonicalMediaIdentifier as dr, ResolveWaitlistClaimResponse as dt, SpamProtectionPolicy as en, Media as er, RegistrationPresentation as et, EventCalendarContent as f, EventLayout as fn, parseMediaIdentifier as fr, ResolveEventSubrouteQuery as ft, LocationMapContent as g, RenderablePageBlock as gn, SolvedInksPolicy as gr, NavigationConfigItemInput as gt, FormBlockContent as h, EditorRenderablePageOutline as hn, SiteFooterContent as hr, NavigationAuthoringLinkInput as ht, ThemeResponsiveMode as i, BrowserReadAuthority as in, RuntimeMediaOfType as ir, BookingOfferingPresetSummary as it, EligibilityLookupState as j, PageTemplate as jn, TipTapMark as jr, PublicServiceCategorySummary as jt, PortalCreditState as k, Theme as kn, PublicLocation as kr, PublicBookingServiceCatalogueItem as kt, PrefetchedBlockData as l, CalendarTabViews as ln, mediaIdentifierSchema as lr, AutoAppliedDiscountPreview as lt, ContactNewsletterContent as m, WeekStart as mn, EventRegistrationPricingOption as mr, PublicPassesResponse as mt, PreviewPageAdaptationFacts as n, submissionProof as nn, PersistableMedia as nr, RegistrationTicketContinuation as nt, EntrySubrouteContextData as o, EventRegistrationPageSurfaceSubject as on, persistableMediaSchema as or, BlockApiProvider as ot, EventDetailsContent as p, FilterAutoShow as pn, BookingQuestionsSubmissionFailure as pr, ResolveEventSubrouteResponse as pt, RegistrationSubject as q, RenderableMediaAssetIndex as qn, SiteId as qr, BookingQuestionsAnswerState as qt, PreviewRenderingOverride as r, BlockApiConfig as rn, RuntimeMedia as rr, TicketSelectionPurpose as rt, BlockLoaderFailures as s, EventBookingOutcome as sn, runtimeMediaSchema as sr, BlockApiClient as st, ApiClient as t, SubmissionAuthorization as tn, MediaPoster as tr, RegistrationAdmission as tt, NewsletterSignupContent as u, ColumnOption as un, MediaIdentifier as ur, DiscountContext as ut, LinkResolverContext as v, BlockManifest as vn, DeepReadonly as vr, RoutableContentItem as vt, EventRegistrationSiteCreditPreview as w, PageLinkValue as wn, EditLeaseScope as wr, SiteRuntimeSelectionPayload as wt, BookingFormInteractiveIslandProps as x, ExternalLinkValue as xn, BookingMailingListNote as xr, SdkRuntimePageSurfaceSubject as xt, DateRuntimeContext as y, CustomLinkValue as yn, BlockButtonRole as yr, SdkLocationMapSupport as yt, GuestErrors as z, PaymentMethod as zn, EventPageSubrouteContext as zr, BookingPaymentChoices as zt };
88294
+ export { SectionStylesContent as $, PageBlockRenderAdmissionError as $n, RichTextDoc as $r, BookingAvailabilityQuery as $t, PortalProfile as A, EventBookingOutcome as An, runtimeMediaSchema as Ar, PublicBookingServicesResponse as At, PaymentSelection as B, RenderablePageOutline as Bn, PageRuntimeJoin as Br, BookingFormService as Bt, EventRegistrationDirectPaymentSelectionState as C, SpamProtectionPolicy as Cn, Media as Cr, SiteRuntimeIdentity as Ct, BookingQuestionsModel as D, BrowserReadAuthority as Dn, RuntimeMediaOfType as Dr, ContentTypeSchema as Dt, BookingPaymentSelectionViewModel as E, BlockApiConfig as En, RuntimeMedia as Er, BindingTransformName as Et, EventPaymentState as F, EventLayout as Fn, parseMediaIdentifier as Fr, SdkRuntimeEntry as Ft, RegistrationResult as G, InternalLinkValue as Gn, MailingListRuntimeContext as Gr, BookingPaymentAvailability as Gt, PaymentStepState as H, CustomLinkValue as Hn, BlockButtonRole as Hr, BookingFormServiceCategory as Ht, EventRegistrationClientProps as I, FilterAutoShow as In, BookingQuestionsSubmissionFailure as Ir, SurfaceId as It, ThemedButtonProps as J, ResolvedInternalLinkEntityType as Jn, EditorBlockVersions as Jr, AppointmentBookingOverrideData as Jt, RegistrationStep as K, LinkValue as Kn, WeeklyOpeningHours as Kr, BookingPaymentChoice as Kt, EventTicketSelectionLine as L, WeekStart as Ln, EventRegistrationPricingOption as Lr, ApiErrorCode as Lt, ExistingRegistrationLookupState as M, CalendarTabViews as Mn, mediaIdentifierSchema as Mr, ThemeJournalState as Mt, SelectableEventTicketType as N, ColumnOption as Nn, MediaIdentifier as Nr, ThemeSelectionPreviewProps as Nt, PortalAuthState as O, BlockSiteTerms as On, mediaSchema as Or, SdkSiteLayoutConfig as Ot, EligibilityData as P, DisplayMode as Pn, parseCanonicalMediaIdentifier as Pr, SdkEditorRevision as Pt, ContainerStylesContent as Q, Theme as Qn, PublicLocation as Qr, BookingAppointmentPackagesUnavailableReason as Qt, Guest as R, EditorRenderablePageOutline as Rn, SiteFooterContent as Rr, BookingFormConfig as Rt, EventRegistrationDirectPaymentOption as S, ProtectedSubmission as Sn, ExternalMedia as Sr, SiteBookingOfferingPresetSummary as St, BookingPaymentOptionViewModel as T, submissionProof as Tn, PersistableMedia as Tr, SdkBlockContentAdmission as Tt, RegistrationAttendanceMode as U, EntryLinkValue as Un, BookingEmbedSettings as Ur, BookingFormField as Ut, PaymentStatusRecoveryState as V, BlockManifest as Vn, DeepReadonly as Vr, BookingSelectedCollectionOptionKind as Vt, RegistrationEvent as W, ExternalLinkValue as Wn, MapDrawing as Wr, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Wt, OccurrenceContext as X, ContentFrameIntent as Xn, BusinessAddress as Xr, AppointmentBookingOverrideInputResult as Xt, FormData$1 as Y, HeaderLogoContext as Yn, PublishedBlockPlacementRead as Yr, AppointmentBookingOverrideInput as Yt, CardStylesContent as Z, FooterMode as Zn, BusinessLocationPermission as Zr, BookingAppointmentPackagesModel as Zt, BodyTextContent as _, BookingValidationErrors as _n, resolveManagedMediaReference as _r, SiteRuntimeSiteTerms as _t, SdkConfigForBlockPicker as a, UtcIsoDateTimeString as ai, BookingFlowStepId as an, DirectCheckoutCollectionOptionKind as ar, EventSourceRecovery as at, MediaAssetIndexItem as b, BookingQuestionsPaymentSnapshot as bn, renderableMediaAssetSchema as br, SdkRuntimePageSurface as bt, BlockLoaderSnapshot as c, EventPageSubrouteContext as ci, BookingSlotSelection as cn, PaymentMethod as cr, BoundBlockApiClient as ct, ImageGalleryContent as d, NonNegativeCents as di, BookingSubmitOptions as dn, PublicVenueMapLocation as dr, ResolveWaitlistClaimResponse as dt, TipTapMark as ei, BookingFieldView as en, PageTemplate as er, RegistrationPresentation as et, EventCalendarContent as f, PositiveCents as fi, DeriveBookingFlowStepsInput as fn, PublicEvent$1 as fr, ResolveEventSubrouteQuery as ft, LocationMapContent as g, BlockInteractionContext as gi, getAppointmentBookingOverrideInput as gn, RenderableMediaAssetIndex as gr, NavigationConfigItemInput as gt, FormBlockContent as h, Brand$1 as hi, createBookingBlockApiConfig as hn, ManagedMediaResolution as hr, NavigationAuthoringLinkInput as ht, ThemeResponsiveMode as i, BookingTimeZone as ii, BookingFlowStep as in, CustomerEventRegistration as ir, BookingOfferingPresetSummary as it, EligibilityLookupState as j, EventEmbeddedCheckout as jn, MediaTypeDiscriminant as jr, PublicServiceCategorySummary as jt, PortalCreditState as k, EventRegistrationPageSurfaceSubject as kn, persistableMediaSchema as kr, PublicBookingServiceCatalogueItem as kt, PrefetchedBlockData as l, EventPageSurfaceSubjectRefWire as li, BookingSlotView as ln, EventRegistrationErrorAction as lr, AutoAppliedDiscountPreview as lt, ContactNewsletterContent as m, VenueId as mi, LoadState as mn, CalendarWindowRequest as mr, PublicPassesResponse as mt, PreviewPageAdaptationFacts as n, DisplayContext as ni, BookingFlowFeedback as nn, PortalDigitalProductAccessResponse as nr, RegistrationTicketContinuation as nt, EntrySubrouteContextData as o, AppointmentBookingReview as oi, BookingFlowView as on, EventCheckoutReturnRequest as or, BlockApiProvider as ot, EventDetailsContent as p, EventCategoryId as pi, DerivedBookingFlowSteps as pn, CalendarWindowPage as pr, ResolveEventSubrouteResponse as pt, RegistrationSubject as q, PageLinkValue as qn, EditLeaseScope as qr, BookingPurchasablePackagesModel as qt, PreviewRenderingOverride as r, ZoneLabel as ri, BookingFlowStatus as rn, PortalEventTicket as rr, TicketSelectionPurpose as rt, BlockLoaderFailures as s, EventOccurrenceContextData as si, BookingResourceView as sn, EventRegistrationPaymentSubject as sr, BlockApiClient as st, ApiClient as t, TipTapNode as ti, BookingFlowActionResult as tn, FieldDefinition as tr, RegistrationAdmission as tt, NewsletterSignupContent as u, EventPageSurfaceSubjectWire as ui, BookingSubmitActionResult as un, CurrencyCode as ur, DiscountContext as ut, LinkResolverContext as v, BookingFieldValue as vn, RenderableMediaAsset as vr, RoutableContentItem as vt, EventRegistrationSiteCreditPreview as w, SubmissionAuthorization as wn, MediaPoster as wr, SiteRuntimeSelectionPayload as wt, BookingFormInteractiveIslandProps as x, getBookingServiceSlidingScale as xn, AssetMedia as xr, SdkRuntimePageSurfaceSubject as xt, DateRuntimeContext as y, BookingQuestionsAnswerState as yn, buildRenderableMediaAssetIndex as yr, SdkLocationMapSupport as yt, GuestErrors as z, RenderablePageBlock as zn, SolvedInksPolicy as zr, BookingFormData as zt };