@riverbankcms/sdk 0.161.0 → 0.162.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 (187) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
  2. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-CdQS6C7i.d.ts} +8 -8
  3. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +58 -91
  4. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-DGa53rjL.d.ts} +11 -3
  5. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-CyBaPaIq.d.ts} +13 -4
  7. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
  9. package/dist/_dts/{index-ylivB7Jj.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
  10. package/dist/_dts/{index-CSsfq6KG.d.ts → index-BtnsA14K.d.ts} +9 -5
  11. package/dist/_dts/{index-BVkP8f70.d.ts → index-C39F9KaB.d.ts} +13 -2
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-DEu85xBt.d.ts} +1 -1
  13. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-DI2yaSPY.d.ts} +4099 -3343
  14. package/dist/_dts/{types-BR1Yboa9.d.ts → index-Dbd0Sn0G.d.ts} +3300 -1691
  15. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-Du1IRglc.d.ts} +2 -2
  16. package/dist/_dts/{index-D_8uz4OP.d.ts → index-Jlcq6w69.d.ts} +3 -3
  17. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-Wm62sXf2.d.ts} +4 -4
  18. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-BPfAAZDW.d.ts} +10 -7
  19. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-DWbrtKf8.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 +6 -6
  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/index.d.ts +8 -8
  27. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  28. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  29. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  30. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  31. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  32. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  34. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  35. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  38. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  39. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  40. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  42. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  43. package/dist/_dts/sdk/src/server.d.ts +5 -5
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CVv2H4AT.d.ts} +7 -7
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-CfNG5koF.d.ts} +2 -2
  47. package/dist/_dts/{types-CJXTCF_F.d.ts → types-ClZ-BQL_.d.ts} +3 -3
  48. package/dist/_dts/{validation-BaV565gb.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +20 -19
  50. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
  52. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
  53. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
  54. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
  55. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
  56. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
  57. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
  58. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-M5rpaHxi.mjs} +4 -4
  59. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
  60. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
  61. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-k4lhuCn5.mjs} +14 -21
  62. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +10 -10
  63. package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
  64. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-_aIK2ojv.mjs} +2 -70
  65. package/dist/client/{Page-Bf2nPACI.mjs → Page-DJBIQBOw.mjs} +1762 -254
  66. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
  67. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
  68. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-BWsDgjMC.mjs} +1 -1
  69. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-CtO2XF7M.mjs} +1 -1
  70. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
  71. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
  72. package/dist/client/bookings.mjs +5 -5
  73. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-BR-zCD3O.mjs} +2 -2
  74. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
  75. package/dist/client/{cart-D_h3rAZ2.mjs → cart-C6YpKbZZ.mjs} +3 -3
  76. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-dC938WrX.mjs} +1 -1
  77. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Dy9RlREI.mjs} +3 -3
  78. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-CefG0d2F.mjs} +1 -1
  79. package/dist/client/client.mjs +34 -69
  80. package/dist/client/{context-9ZfMb6GA.mjs → context-BFwxgZpB.mjs} +28 -1
  81. package/dist/client/{cta-D-ZqL7-e.mjs → cta-DtA42Xio.mjs} +1 -1
  82. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
  83. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
  84. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
  85. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-BFgsLqTj.mjs} +2 -1
  86. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-BaXZ1-Ky.mjs} +13 -13
  87. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-COLwF80U.mjs} +4 -4
  88. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
  89. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-CBrkimXu.mjs} +2 -2
  90. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-CedKVA1S.mjs} +4 -4
  91. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
  92. package/dist/client/{form-QZhtdFHA.mjs → form-XFy9uXSJ.mjs} +3 -3
  93. package/dist/client/{form.client-CgvPACwG.mjs → form.client-B0iancFK.mjs} +4 -4
  94. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-DMbolu9Y.mjs} +3 -3
  95. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
  96. package/dist/client/gifting/client.mjs +3 -3
  97. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-WjlECjtV.mjs} +2 -2
  98. package/dist/client/{mediaAssets-BvjcAZpS.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
  99. package/dist/client/mediaContext-CNzWmoA4.mjs +136 -0
  100. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
  101. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
  102. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
  103. package/dist/client/{noop-B7H6gCbj.mjs → noop-B3RNPVrt.mjs} +19 -3
  104. package/dist/client/portal/client.mjs +1116 -85
  105. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
  106. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
  107. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-CbBUVWgd.mjs} +3 -3
  108. package/dist/client/{productList-DEo8Bqoe.mjs → productList-vqOKH2mh.mjs} +3 -3
  109. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-CkSUep5a.mjs} +4 -3
  110. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-cZ24QwtW.mjs} +272 -68
  111. package/dist/client/rendering/client.mjs +27 -26
  112. package/dist/client/rendering/islands.mjs +1 -1
  113. package/dist/client/rendering.mjs +10 -7
  114. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
  115. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
  116. package/dist/client/{schema-C-m8XHuW.mjs → schema-DNHLlze-.mjs} +4575 -4311
  117. package/dist/client/{shop-RGWa43H7.mjs → shop-CF0dhnfH.mjs} +3 -3
  118. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
  119. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
  120. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-DqfYoqWH.mjs} +12 -12
  121. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-CreQ0I7i.mjs} +38 -31
  122. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-D-yh-P7g.mjs} +2 -2
  123. package/dist/client/{mediaContext-jPeJ2PmJ.mjs → site-styles-B9HgmY07.mjs} +1329 -511
  124. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-DCdVErTJ.mjs} +10 -9
  125. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
  126. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
  127. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
  128. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
  129. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-CsysCF22.mjs} +6 -6
  130. package/dist/client/{view-Dj_FZHmg.mjs → view-BpBjo9Te.mjs} +64 -55
  131. package/dist/client/{view-BUh4LnLS.mjs → view-DMyTchi7.mjs} +4 -4
  132. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-BO2OmMO9.mjs} +59 -53
  133. package/dist/preview-next/before-render.mjs +3 -3
  134. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +1 -1
  135. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +164 -1042
  136. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-VaHvYtrA.mjs} +9 -190
  137. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
  138. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +220 -130
  139. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-CHKOWXxl.mjs} +608 -333
  140. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-C0VUwEHz.mjs} +158752 -162808
  141. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
  142. package/dist/preview-next/client/runtime.mjs +3 -3
  143. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
  144. package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
  145. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-BeR2S8oG.mjs} +1 -1
  146. package/dist/preview-next/keepAlive.mjs +2 -2
  147. package/dist/preview-next/middleware.mjs +1 -1
  148. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  149. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CkrFDMrl.mjs} +394 -200
  150. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-DxvNGDig.mjs} +4 -4
  151. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-BuhKvYkE.mjs} +2 -2
  152. package/dist/server/{client-Cv26lZQ4.mjs → client-BobW6DOz.mjs} +34 -69
  153. package/dist/server/config-validation.mjs +1 -1
  154. package/dist/server/config.mjs +2 -2
  155. package/dist/server/{effectiveNavLinkStyle-CGvGr3yD.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +1127 -144
  156. package/dist/server/index.mjs +3 -3
  157. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-CCG_3mbY.mjs} +7 -4
  158. package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
  159. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-jntGoMrf.mjs} +2 -2
  160. package/dist/server/next.mjs +9 -9
  161. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
  162. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-DByQwIyW.mjs} +264 -168
  163. package/dist/server/page-converter.mjs +1 -1
  164. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-DrwcTk2t.mjs} +1 -1
  165. package/dist/server/prebuild.mjs +1 -1
  166. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-LfgxSJYE.mjs} +31 -10
  167. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-8A3T5v4M.mjs} +647 -166
  168. package/dist/server/{registry-BVfCqaCq.mjs → registry-Digv02oV.mjs} +308 -36
  169. package/dist/server/rendering/server.mjs +4 -4
  170. package/dist/server/rendering.mjs +8 -8
  171. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
  172. package/dist/server/routing.mjs +1 -1
  173. package/dist/server/{schema-CD4peO7m.mjs → schema-BiqpDRwB.mjs} +2813 -2549
  174. package/dist/server/server.mjs +3 -3
  175. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-DrkprQPL.mjs} +81 -113
  176. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-BmKKkkbh.mjs} +2 -2
  177. package/dist/server/{src-ILxc6pid.mjs → src-08GY1njw.mjs} +902 -44
  178. package/dist/server/theme-bridge.mjs +1 -1
  179. package/dist/server/theme.mjs +1 -1
  180. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CSd_Vusz.mjs} +36 -29
  181. package/dist/server/{validation-B1ieVemg.mjs → validation-DdUTkBOZ.mjs} +2 -2
  182. package/dist/server/{version-BQK44wFg.mjs → version-DdIOqIDe.mjs} +1 -1
  183. package/dist/styles/index.css +872 -41
  184. package/package.json +1 -1
  185. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  186. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  187. package/dist/server/loadPage--DXBwI8V.mjs +0 -2
@@ -37,6 +37,7 @@ const PAGE_JOURNAL_ENDPOINT_DEFINITIONS = {
37
37
  method: "POST",
38
38
  auth: "user",
39
39
  responseKind: "json",
40
+ editLease: "unleased-editor",
40
41
  errors: [
41
42
  "validation:invalid_input",
42
43
  "auth:forbidden",
@@ -264,6 +265,56 @@ const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
264
265
  responseKind: "text"
265
266
  }
266
267
  });
268
+ const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
269
+ function availability(transport) {
270
+ return {
271
+ kind: "live",
272
+ reason: "booking_correctness",
273
+ freshness: "availability",
274
+ transport
275
+ };
276
+ }
277
+ function content(tags, transport = "direct") {
278
+ return {
279
+ kind: "tagged",
280
+ tags,
281
+ freshness: "content",
282
+ transport
283
+ };
284
+ }
285
+ /** The single classification authority for cacheable public reads. */
286
+ const PUBLIC_READ_CACHE_POLICIES = {
287
+ listPublishedEntries: content(["published_content"]),
288
+ getPublishedEntryPreview: content(["published_content"]),
289
+ listPublicEvents: availability("direct"),
290
+ listPublicEventCalendarWindow: availability("direct"),
291
+ listPublicRecurringSchedule: availability("batch_only"),
292
+ getPublicEventDetails: availability("batch_only"),
293
+ resolveEventSubroute: availability("direct"),
294
+ listPublicRouteCandidates: content(["published_content"], "batch_only"),
295
+ listPublicTeamMembers: content(["public_team_members"]),
296
+ listPublicProducts: availability("direct"),
297
+ listPublicPasses: availability("direct"),
298
+ listPublicMemberships: availability("direct"),
299
+ getPublicFormById: content(["site_forms"]),
300
+ getPublicBookingServices: availability("direct"),
301
+ getPublicBookingService: availability("direct"),
302
+ getPublicBookingResourcesReference: availability("direct"),
303
+ getPublicBookingAvailableDates: availability("direct"),
304
+ getPublicBookingAvailableSlots: availability("direct"),
305
+ getPublicWeeklySlotAvailability: availability("direct"),
306
+ listPublicForms: content(["site_forms"]),
307
+ checkRedirect: content([]),
308
+ getPublicRoutableContent: content(["published_content"]),
309
+ getPublicSitemapRoutes: content(["published_content"])
310
+ };
311
+ new Set(Object.keys(PUBLIC_READ_CACHE_POLICIES));
312
+ function getPublicReadCachePolicy(endpoint) {
313
+ return PUBLIC_READ_CACHE_POLICIES[endpoint];
314
+ }
315
+ function publicReadFreshnessSeconds(endpoint) {
316
+ return getPublicReadCachePolicy(endpoint).freshness === "availability" ? 60 : PUBLIC_CONTENT_FRESHNESS_SECONDS;
317
+ }
267
318
  //#endregion
268
319
  //#region ../api/src/cache-tags.ts
269
320
  /**
@@ -354,18 +405,6 @@ const GUARDED_CONTENT_REPLAY_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
354
405
  "resource:conflict"
355
406
  ]
356
407
  },
357
- restoreLiveTemplate: {
358
- path: "/sites/{siteId}/content/types/{type}/template/restore",
359
- method: "POST",
360
- tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
361
- auth: "user",
362
- responseKind: "json",
363
- errors: [
364
- "validation:invalid_input",
365
- "resource:not_found",
366
- "resource:conflict"
367
- ]
368
- },
369
408
  restoreEntrySlotStructure: {
370
409
  editLease: "managed",
371
410
  path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/restore",
@@ -738,6 +777,18 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
738
777
  "server:internal_error"
739
778
  ]
740
779
  },
780
+ draftTeamMemberProfileBio: {
781
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/bio-draft",
782
+ method: "POST",
783
+ auth: "user",
784
+ responseKind: "json",
785
+ errors: [
786
+ "auth:forbidden",
787
+ "resource:not_found",
788
+ "server:internal_error"
789
+ ],
790
+ demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
791
+ },
741
792
  scheduleTeamMemberProfile: {
742
793
  path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/schedule",
743
794
  method: "POST",
@@ -776,7 +827,7 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
776
827
  path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/routes/{routeId}/metadata",
777
828
  method: "PATCH",
778
829
  tags: [
779
- TAG_TEMPLATES.siteCollection,
830
+ TAG_TEMPLATES.site,
780
831
  TAG_TEMPLATES.siteRoutableContent,
781
832
  TAG_TEMPLATES.routeById
782
833
  ],
@@ -1169,6 +1220,43 @@ const ACCOUNT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1169
1220
  //#endregion
1170
1221
  //#region ../api/src/eventSeriesRegistrationEndpointDefinitions.ts
1171
1222
  const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1223
+ getBookingDetail: {
1224
+ path: "/sites/{siteId}/bookings/booking/{kind}/{bookingId}",
1225
+ method: "GET",
1226
+ auth: "user",
1227
+ responseKind: "json",
1228
+ errors: [
1229
+ "auth:forbidden",
1230
+ "resource:not_found",
1231
+ "server:internal_error"
1232
+ ]
1233
+ },
1234
+ saveEventAttendeeAnswers: {
1235
+ path: "/sites/{siteId}/bookings/attendees/{attendeeId}/answers",
1236
+ method: "PUT",
1237
+ auth: "user",
1238
+ responseKind: "json",
1239
+ errors: [
1240
+ "validation:invalid_input",
1241
+ "auth:forbidden",
1242
+ "resource:not_found",
1243
+ "resource:conflict",
1244
+ "server:internal_error"
1245
+ ]
1246
+ },
1247
+ correctBookingCheckIn: {
1248
+ path: "/sites/{siteId}/bookings/attendees/{attendeeId}/check-in",
1249
+ method: "PATCH",
1250
+ auth: "user",
1251
+ responseKind: "json",
1252
+ errors: [
1253
+ "validation:invalid_input",
1254
+ "auth:forbidden",
1255
+ "resource:not_found",
1256
+ "resource:conflict",
1257
+ "server:internal_error"
1258
+ ]
1259
+ },
1172
1260
  deleteEventOffering: {
1173
1261
  path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
1174
1262
  method: "DELETE",
@@ -1915,56 +2003,6 @@ const SDK_PAGE_DESIGN_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1915
2003
  ]
1916
2004
  }
1917
2005
  });
1918
- const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
1919
- function availability(transport) {
1920
- return {
1921
- kind: "live",
1922
- reason: "booking_correctness",
1923
- freshness: "availability",
1924
- transport
1925
- };
1926
- }
1927
- function content(tags, transport = "direct") {
1928
- return {
1929
- kind: "tagged",
1930
- tags,
1931
- freshness: "content",
1932
- transport
1933
- };
1934
- }
1935
- /** The single classification authority for cacheable public reads. */
1936
- const PUBLIC_READ_CACHE_POLICIES = {
1937
- listPublishedEntries: content(["published_content"]),
1938
- getPublishedEntryPreview: content(["published_content"]),
1939
- listPublicEvents: availability("direct"),
1940
- listPublicEventCalendarWindow: availability("direct"),
1941
- listPublicRecurringSchedule: availability("batch_only"),
1942
- getPublicEventDetails: availability("batch_only"),
1943
- resolveEventSubroute: availability("direct"),
1944
- listPublicRouteCandidates: content(["published_content"], "batch_only"),
1945
- listPublicTeamMembers: content(["public_team_members"]),
1946
- listPublicProducts: availability("direct"),
1947
- listPublicPasses: availability("direct"),
1948
- listPublicMemberships: availability("direct"),
1949
- getPublicFormById: content(["site_forms"]),
1950
- getPublicBookingServices: availability("direct"),
1951
- getPublicBookingService: availability("direct"),
1952
- getPublicBookingResourcesReference: availability("direct"),
1953
- getPublicBookingAvailableDates: availability("direct"),
1954
- getPublicBookingAvailableSlots: availability("direct"),
1955
- getPublicWeeklySlotAvailability: availability("direct"),
1956
- listPublicForms: content(["site_forms"]),
1957
- checkRedirect: content([]),
1958
- getPublicRoutableContent: content(["published_content"]),
1959
- getPublicSitemapRoutes: content(["published_content"])
1960
- };
1961
- new Set(Object.keys(PUBLIC_READ_CACHE_POLICIES));
1962
- function getPublicReadCachePolicy(endpoint) {
1963
- return PUBLIC_READ_CACHE_POLICIES[endpoint];
1964
- }
1965
- function publicReadFreshnessSeconds(endpoint) {
1966
- return getPublicReadCachePolicy(endpoint).freshness === "availability" ? 60 : PUBLIC_CONTENT_FRESHNESS_SECONDS;
1967
- }
1968
2006
  //#endregion
1969
2007
  //#region ../api/src/publicEventEndpointDefinitions.ts
1970
2008
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
@@ -2301,6 +2339,7 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2301
2339
  * event itself, so its address is written here rather than through a run.
2302
2340
  */
2303
2341
  updateEventAddress: {
2342
+ editLease: "managed",
2304
2343
  path: "/sites/{siteId}/bookings/events/{eventId}/address",
2305
2344
  method: "PATCH",
2306
2345
  tags: [
@@ -2668,6 +2707,64 @@ const SDK_MEDIA_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2668
2707
  * derive freshness reviewable beside its route and tags.
2669
2708
  */
2670
2709
  const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2710
+ checkRedirect: {
2711
+ path: "/public/content/redirect",
2712
+ method: "GET",
2713
+ revalidate: 86400,
2714
+ tags: [
2715
+ TAG_TEMPLATES.siteById,
2716
+ TAG_TEMPLATES.siteBySlug,
2717
+ TAG_TEMPLATES.siteRedirects
2718
+ ],
2719
+ errors: [],
2720
+ auth: "public",
2721
+ responseKind: "json"
2722
+ },
2723
+ getSite: {
2724
+ path: "/sites",
2725
+ method: "GET",
2726
+ errors: [],
2727
+ revalidate: 900,
2728
+ tags: [
2729
+ TAG_TEMPLATES.siteById,
2730
+ TAG_TEMPLATES.siteBySlug,
2731
+ TAG_TEMPLATES.siteByDomain
2732
+ ],
2733
+ auth: "public",
2734
+ responseKind: "json"
2735
+ },
2736
+ getRoutableContent: {
2737
+ path: "/sites/{siteId}/routable-content",
2738
+ method: "GET",
2739
+ revalidate: 60,
2740
+ errors: [],
2741
+ tags: [TAG_TEMPLATES.siteRoutableContent],
2742
+ auth: "user",
2743
+ responseKind: "json"
2744
+ },
2745
+ getPublicRoutableContent: {
2746
+ path: "/public/sites/{siteId}/routable-content",
2747
+ method: "GET",
2748
+ revalidate: 60,
2749
+ errors: [],
2750
+ tags: [TAG_TEMPLATES.siteRoutableContent],
2751
+ auth: "public",
2752
+ responseKind: "json"
2753
+ },
2754
+ getPublicSitemapRoutes: {
2755
+ path: "/public/sites/{siteId}/sitemap",
2756
+ method: "GET",
2757
+ revalidate: 60,
2758
+ errors: [],
2759
+ tags: [
2760
+ TAG_TEMPLATES.siteRoutableContent,
2761
+ TAG_TEMPLATES.siteSettings,
2762
+ TAG_TEMPLATES.publicEvents,
2763
+ TAG_TEMPLATES.publicBookingServices
2764
+ ],
2765
+ auth: "public",
2766
+ responseKind: "json"
2767
+ },
2671
2768
  getPublishedEntryPreview: {
2672
2769
  path: "/public/content/{siteId}/{type}/{slug}/preview",
2673
2770
  method: "GET",
@@ -2745,6 +2842,27 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2745
2842
  * kept together so that stays obvious.
2746
2843
  */
2747
2844
  const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2845
+ mintOnboardingPagePreviewToken: {
2846
+ path: "/public/onboarding/attempts/{attemptToken}/page-preview-token",
2847
+ method: "POST",
2848
+ auth: "public",
2849
+ errors: [],
2850
+ responseKind: "json"
2851
+ },
2852
+ suggestPublicOnboardingLooks: {
2853
+ path: "/public/onboarding/attempts/{attemptToken}/look-suggestion",
2854
+ method: "POST",
2855
+ auth: "public",
2856
+ errors: [],
2857
+ responseKind: "json"
2858
+ },
2859
+ getOnboardingPagePreview: {
2860
+ path: "/public/onboarding/page-preview/{attemptId}",
2861
+ method: "GET",
2862
+ auth: "public",
2863
+ errors: [],
2864
+ responseKind: "json"
2865
+ },
2748
2866
  createPublicOnboardingAttempt: {
2749
2867
  path: "/public/onboarding/attempts",
2750
2868
  method: "POST",
@@ -2828,12 +2946,72 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2828
2946
  errors: [],
2829
2947
  responseKind: "json"
2830
2948
  },
2831
- createBillingPortalSession: {
2832
- path: "/billing/portal/session",
2949
+ getAccountInvoiceRecovery: {
2950
+ path: "/billing/recovery",
2951
+ method: "GET",
2952
+ tags: ["billing"],
2953
+ auth: "user",
2954
+ responseKind: "json",
2955
+ errors: [
2956
+ "validation:invalid_input",
2957
+ "auth:unauthenticated",
2958
+ "external:service_error",
2959
+ "server:internal_error"
2960
+ ]
2961
+ },
2962
+ getAccountBillingDetails: {
2963
+ path: "/billing/details",
2964
+ method: "GET",
2965
+ tags: ["billing"],
2966
+ auth: "user",
2967
+ responseKind: "json",
2968
+ errors: [
2969
+ "auth:unauthenticated",
2970
+ "external:service_error",
2971
+ "server:internal_error"
2972
+ ]
2973
+ },
2974
+ getAccountBillingInvoices: {
2975
+ path: "/billing/invoices",
2976
+ method: "GET",
2977
+ tags: ["billing"],
2978
+ auth: "user",
2979
+ responseKind: "json",
2980
+ errors: [
2981
+ "validation:invalid_input",
2982
+ "auth:unauthenticated",
2983
+ "resource:conflict",
2984
+ "external:service_error",
2985
+ "server:internal_error"
2986
+ ]
2987
+ },
2988
+ startAccountPaymentMethodSetup: {
2989
+ path: "/billing/payment-method/setup",
2833
2990
  method: "POST",
2834
2991
  tags: ["billing"],
2835
2992
  auth: "user",
2836
- responseKind: "json"
2993
+ responseKind: "json",
2994
+ errors: [
2995
+ "validation:invalid_input",
2996
+ "auth:unauthenticated",
2997
+ "resource:conflict",
2998
+ "external:service_error",
2999
+ "server:internal_error"
3000
+ ]
3001
+ },
3002
+ finishAccountPaymentMethodSetup: {
3003
+ path: "/billing/payment-method/finish",
3004
+ method: "POST",
3005
+ tags: ["billing"],
3006
+ auth: "user",
3007
+ responseKind: "json",
3008
+ errors: [
3009
+ "validation:invalid_input",
3010
+ "auth:unauthenticated",
3011
+ "resource:conflict",
3012
+ "external:service_error",
3013
+ "server:internal_error"
3014
+ ]
2837
3015
  },
2838
3016
  stripeConnectSetupStart: {
2839
3017
  path: "/sites/{siteId}/billing/connect/setup",
@@ -2989,7 +3167,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
2989
3167
  acquireEditLease: {
2990
3168
  path,
2991
3169
  method: "POST",
2992
- editLease: "lifecycle",
3170
+ editLease: "unleased-editor",
2993
3171
  errors: lifecycleErrors,
2994
3172
  auth: "user",
2995
3173
  responseKind: "json"
@@ -2997,7 +3175,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
2997
3175
  takeOverEditLease: {
2998
3176
  path,
2999
3177
  method: "PUT",
3000
- editLease: "lifecycle",
3178
+ editLease: "unleased-editor",
3001
3179
  errors: lifecycleErrors,
3002
3180
  auth: "user",
3003
3181
  responseKind: "json"
@@ -3005,7 +3183,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
3005
3183
  heartbeatEditLease: {
3006
3184
  path,
3007
3185
  method: "PATCH",
3008
- editLease: "lifecycle",
3186
+ editLease: "unleased-editor",
3009
3187
  errors: [...lifecycleErrors, "auth:lease_lost"],
3010
3188
  auth: "user",
3011
3189
  responseKind: "json"
@@ -3021,7 +3199,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
3021
3199
  };
3022
3200
  //#endregion
3023
3201
  //#region ../api/src/pageSurfaceEditorEndpoints.ts
3024
- const surfaceTags = [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById];
3202
+ const surfaceTags = [TAG_TEMPLATES.site, TAG_TEMPLATES.pageSurfaceById];
3025
3203
  const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3026
3204
  getPageSurfaceEditorDocument: {
3027
3205
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
@@ -3076,7 +3254,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3076
3254
  "server:internal_error"
3077
3255
  ],
3078
3256
  tags: [
3079
- TAG_TEMPLATES.siteCollection,
3257
+ TAG_TEMPLATES.site,
3080
3258
  TAG_TEMPLATES.siteRoutableContent,
3081
3259
  TAG_TEMPLATES.pageSurfaceById
3082
3260
  ],
@@ -3095,7 +3273,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3095
3273
  "server:internal_error"
3096
3274
  ],
3097
3275
  tags: [
3098
- TAG_TEMPLATES.siteCollection,
3276
+ TAG_TEMPLATES.site,
3099
3277
  TAG_TEMPLATES.siteRoutableContent,
3100
3278
  TAG_TEMPLATES.pageSurfaceById
3101
3279
  ],
@@ -3114,7 +3292,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3114
3292
  "server:internal_error"
3115
3293
  ],
3116
3294
  tags: [
3117
- TAG_TEMPLATES.siteCollection,
3295
+ TAG_TEMPLATES.site,
3118
3296
  TAG_TEMPLATES.siteRoutableContent,
3119
3297
  TAG_TEMPLATES.pageSurfaceById
3120
3298
  ],
@@ -3240,6 +3418,7 @@ const API_ENDPOINTS = {
3240
3418
  ...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
3241
3419
  ...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
3242
3420
  applySeoChanges: {
3421
+ editLease: "unleased-editor",
3243
3422
  path: "/seo/apply",
3244
3423
  method: "POST",
3245
3424
  auth: "user",
@@ -3357,6 +3536,14 @@ const API_ENDPOINTS = {
3357
3536
  errors: [],
3358
3537
  responseKind: "json"
3359
3538
  },
3539
+ markBookingHomeSeen: {
3540
+ path: "/sites/{siteId}/home/seen",
3541
+ method: "POST",
3542
+ auth: "user",
3543
+ errors: [],
3544
+ responseKind: "json",
3545
+ demoMutation: DEMO_MUTATION_ALLOWED
3546
+ },
3360
3547
  resendOnboardingPreviewConfirmation: {
3361
3548
  path: "/public/sites/{siteId}/onboarding/resend-confirmation",
3362
3549
  method: "POST",
@@ -3400,15 +3587,6 @@ const API_ENDPOINTS = {
3400
3587
  errors: [],
3401
3588
  responseKind: "text"
3402
3589
  },
3403
- checkRedirect: {
3404
- path: "/public/content/redirect",
3405
- method: "GET",
3406
- revalidate: 86400,
3407
- tags: ["redirect"],
3408
- errors: [],
3409
- auth: "public",
3410
- responseKind: "json"
3411
- },
3412
3590
  listRedirectRules: {
3413
3591
  path: "/sites/{siteId}/redirects",
3414
3592
  method: "GET",
@@ -3651,6 +3829,19 @@ const API_ENDPOINTS = {
3651
3829
  auth: "user",
3652
3830
  responseKind: "json"
3653
3831
  },
3832
+ updateEmailSendSetting: {
3833
+ path: "/sites/{siteId}/settings/emails/{emailKey}/send-setting",
3834
+ method: "PUT",
3835
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
3836
+ auth: "user",
3837
+ responseKind: "json",
3838
+ errors: [
3839
+ "validation:invalid_input",
3840
+ "auth:forbidden",
3841
+ "resource:conflict",
3842
+ "server:internal_error"
3843
+ ]
3844
+ },
3654
3845
  sendTestEmail: {
3655
3846
  path: "/sites/{siteId}/settings/emails/test",
3656
3847
  method: "POST",
@@ -3669,37 +3860,12 @@ const API_ENDPOINTS = {
3669
3860
  ...NEWSLETTER_ENDPOINT_DEFINITIONS,
3670
3861
  ...APPOINTMENT_ENDPOINT_DEFINITIONS,
3671
3862
  ...EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS,
3672
- getSite: {
3673
- path: "/sites",
3674
- method: "GET",
3675
- revalidate: 900,
3676
- tags: [
3677
- TAG_TEMPLATES.siteCollection,
3678
- TAG_TEMPLATES.siteById,
3679
- TAG_TEMPLATES.siteBySlug,
3680
- TAG_TEMPLATES.siteByDomain
3681
- ],
3682
- auth: "public",
3683
- responseKind: "json"
3684
- },
3685
- getSiteIdOnly: {
3686
- path: "/sites",
3687
- method: "GET",
3688
- revalidate: 900,
3689
- tags: [
3690
- TAG_TEMPLATES.siteCollection,
3691
- TAG_TEMPLATES.siteById,
3692
- TAG_TEMPLATES.siteBySlug,
3693
- TAG_TEMPLATES.siteByDomain
3694
- ],
3695
- auth: "public",
3696
- responseKind: "json"
3697
- },
3863
+ getSiteIdOnly: PUBLIC_READ_ENDPOINT_DEFINITIONS.getSite,
3698
3864
  getSiteBySlug: {
3699
3865
  path: "/sites/by-slug/{slug}",
3700
3866
  method: "GET",
3701
3867
  revalidate: 900,
3702
- tags: ["site", "site-{slug}"],
3868
+ tags: [TAG_TEMPLATES.siteBySlug],
3703
3869
  auth: "user",
3704
3870
  responseKind: "json"
3705
3871
  },
@@ -3707,7 +3873,7 @@ const API_ENDPOINTS = {
3707
3873
  path: "/sites/by-domain/{domain}",
3708
3874
  method: "GET",
3709
3875
  revalidate: 900,
3710
- tags: ["site", "site-domain-{domain}"],
3876
+ tags: [TAG_TEMPLATES.siteByDomain],
3711
3877
  auth: "user",
3712
3878
  responseKind: "json"
3713
3879
  },
@@ -3915,6 +4081,7 @@ const API_ENDPOINTS = {
3915
4081
  responseKind: "json"
3916
4082
  },
3917
4083
  updateContentTemplateBlock: {
4084
+ editLease: "unleased-editor",
3918
4085
  path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
3919
4086
  method: "PATCH",
3920
4087
  tags: [
@@ -3926,6 +4093,7 @@ const API_ENDPOINTS = {
3926
4093
  responseKind: "json"
3927
4094
  },
3928
4095
  applyContentTemplateAddon: {
4096
+ editLease: "unleased-editor",
3929
4097
  path: "/sites/{siteId}/content/types/{type}/template/addons",
3930
4098
  method: "POST",
3931
4099
  tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
@@ -3933,6 +4101,7 @@ const API_ENDPOINTS = {
3933
4101
  responseKind: "json"
3934
4102
  },
3935
4103
  updateContentTemplateBlockBindings: {
4104
+ editLease: "unleased-editor",
3936
4105
  path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}/bindings",
3937
4106
  method: "PATCH",
3938
4107
  tags: [
@@ -3944,6 +4113,7 @@ const API_ENDPOINTS = {
3944
4113
  responseKind: "json"
3945
4114
  },
3946
4115
  createTemplateBlock: {
4116
+ editLease: "unleased-editor",
3947
4117
  path: "/sites/{siteId}/content/types/{type}/template/blocks",
3948
4118
  method: "POST",
3949
4119
  tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
@@ -3951,6 +4121,7 @@ const API_ENDPOINTS = {
3951
4121
  responseKind: "json"
3952
4122
  },
3953
4123
  deleteTemplateBlock: {
4124
+ editLease: "unleased-editor",
3954
4125
  path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
3955
4126
  method: "DELETE",
3956
4127
  tags: [
@@ -3962,6 +4133,7 @@ const API_ENDPOINTS = {
3962
4133
  responseKind: "json"
3963
4134
  },
3964
4135
  reorderTemplateBlocks: {
4136
+ editLease: "unleased-editor",
3965
4137
  path: "/sites/{siteId}/content/types/{type}/template/blocks/reorder",
3966
4138
  method: "POST",
3967
4139
  tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
@@ -4114,7 +4286,7 @@ const API_ENDPOINTS = {
4114
4286
  path: "/sites/{siteId}/routes/{routeId}/metadata",
4115
4287
  method: "PATCH",
4116
4288
  tags: [
4117
- TAG_TEMPLATES.siteCollection,
4289
+ TAG_TEMPLATES.site,
4118
4290
  TAG_TEMPLATES.siteRoutableContent,
4119
4291
  TAG_TEMPLATES.routeById
4120
4292
  ],
@@ -4265,6 +4437,7 @@ const API_ENDPOINTS = {
4265
4437
  path: "/sites/{siteId}/content/{type}/bulk-publish",
4266
4438
  method: "POST",
4267
4439
  tags: ["site-{siteId}", "content-{siteId}-{type}"],
4440
+ editLease: "unleased-editor",
4268
4441
  auth: "user",
4269
4442
  responseKind: "json"
4270
4443
  },
@@ -4272,6 +4445,7 @@ const API_ENDPOINTS = {
4272
4445
  path: "/sites/{siteId}/content/{type}/bulk-unpublish",
4273
4446
  method: "POST",
4274
4447
  tags: ["site-{siteId}", "content-{siteId}-{type}"],
4448
+ editLease: "unleased-editor",
4275
4449
  auth: "user",
4276
4450
  responseKind: "json"
4277
4451
  },
@@ -4279,6 +4453,7 @@ const API_ENDPOINTS = {
4279
4453
  path: "/sites/{siteId}/content/{type}/bulk-delete",
4280
4454
  method: "POST",
4281
4455
  tags: ["site-{siteId}", "content-{siteId}-{type}"],
4456
+ editLease: "unleased-editor",
4282
4457
  auth: "user",
4283
4458
  responseKind: "json",
4284
4459
  errors: [
@@ -4299,11 +4474,7 @@ const API_ENDPOINTS = {
4299
4474
  getSiteFooterBlocks: {
4300
4475
  path: "/sites/{siteId}/content/footer-blocks",
4301
4476
  method: "GET",
4302
- tags: [
4303
- TAG_TEMPLATES.siteCollection,
4304
- TAG_TEMPLATES.site,
4305
- TAG_TEMPLATES.siteSettings
4306
- ],
4477
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
4307
4478
  auth: "user",
4308
4479
  responseKind: "json",
4309
4480
  errors: [
@@ -4313,13 +4484,10 @@ const API_ENDPOINTS = {
4313
4484
  ]
4314
4485
  },
4315
4486
  updateSiteFooterBlocks: {
4487
+ editLease: "unleased-editor",
4316
4488
  path: "/sites/{siteId}/content/footer-blocks",
4317
4489
  method: "PUT",
4318
- tags: [
4319
- TAG_TEMPLATES.siteCollection,
4320
- TAG_TEMPLATES.site,
4321
- TAG_TEMPLATES.siteSettings
4322
- ],
4490
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
4323
4491
  auth: "user",
4324
4492
  responseKind: "json",
4325
4493
  errors: [
@@ -4332,7 +4500,7 @@ const API_ENDPOINTS = {
4332
4500
  updateSiteDeploymentMode: {
4333
4501
  path: "/sites/{siteId}/settings/deployment-mode",
4334
4502
  method: "POST",
4335
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site],
4503
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.site],
4336
4504
  auth: "user",
4337
4505
  responseKind: "json"
4338
4506
  },
@@ -4497,6 +4665,7 @@ const API_ENDPOINTS = {
4497
4665
  responseKind: "json"
4498
4666
  },
4499
4667
  updateFooterComposition: {
4668
+ editLease: "unleased-editor",
4500
4669
  path: "/sites/{siteId}/settings/footer-composition",
4501
4670
  method: "POST",
4502
4671
  tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
@@ -4519,6 +4688,7 @@ const API_ENDPOINTS = {
4519
4688
  responseKind: "json"
4520
4689
  },
4521
4690
  updatePublicProfile: {
4691
+ editLease: "unleased-editor",
4522
4692
  path: "/sites/{siteId}/settings/public-profile",
4523
4693
  method: "POST",
4524
4694
  tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
@@ -4555,6 +4725,7 @@ const API_ENDPOINTS = {
4555
4725
  responseKind: "json"
4556
4726
  },
4557
4727
  setHomepage: {
4728
+ editLease: "unleased-editor",
4558
4729
  path: "/sites/{siteId}/settings/homepage",
4559
4730
  method: "POST",
4560
4731
  tags: ["site-{siteId}", "site-homepage"],
@@ -5047,7 +5218,7 @@ const API_ENDPOINTS = {
5047
5218
  getNavigationMenus: {
5048
5219
  path: "/sites/{siteId}/navigation/menus",
5049
5220
  method: "GET",
5050
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation],
5221
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNavigation],
5051
5222
  auth: "user",
5052
5223
  responseKind: "json"
5053
5224
  },
@@ -5055,7 +5226,7 @@ const API_ENDPOINTS = {
5055
5226
  path: "/sites/{siteId}/navigation/menus/{menuId}",
5056
5227
  method: "GET",
5057
5228
  tags: [
5058
- TAG_TEMPLATES.siteCollection,
5229
+ TAG_TEMPLATES.site,
5059
5230
  TAG_TEMPLATES.siteNavigation,
5060
5231
  TAG_TEMPLATES.navigationMenuById
5061
5232
  ],
@@ -5066,7 +5237,7 @@ const API_ENDPOINTS = {
5066
5237
  path: "/sites/{siteId}/navigation/menus/{menuId}/items",
5067
5238
  method: "POST",
5068
5239
  tags: [
5069
- TAG_TEMPLATES.siteCollection,
5240
+ TAG_TEMPLATES.site,
5070
5241
  TAG_TEMPLATES.siteNavigation,
5071
5242
  TAG_TEMPLATES.navigationMenuById
5072
5243
  ],
@@ -5077,7 +5248,7 @@ const API_ENDPOINTS = {
5077
5248
  path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
5078
5249
  method: "PATCH",
5079
5250
  tags: [
5080
- TAG_TEMPLATES.siteCollection,
5251
+ TAG_TEMPLATES.site,
5081
5252
  TAG_TEMPLATES.siteNavigation,
5082
5253
  TAG_TEMPLATES.navigationMenuById,
5083
5254
  TAG_TEMPLATES.navigationItemById
@@ -5089,7 +5260,7 @@ const API_ENDPOINTS = {
5089
5260
  path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
5090
5261
  method: "DELETE",
5091
5262
  tags: [
5092
- TAG_TEMPLATES.siteCollection,
5263
+ TAG_TEMPLATES.site,
5093
5264
  TAG_TEMPLATES.siteNavigation,
5094
5265
  TAG_TEMPLATES.navigationMenuById,
5095
5266
  TAG_TEMPLATES.navigationItemById
@@ -5101,42 +5272,13 @@ const API_ENDPOINTS = {
5101
5272
  path: "/sites/{siteId}/navigation/menus/{menuId}/items/reorder",
5102
5273
  method: "POST",
5103
5274
  tags: [
5104
- TAG_TEMPLATES.siteCollection,
5275
+ TAG_TEMPLATES.site,
5105
5276
  TAG_TEMPLATES.siteNavigation,
5106
5277
  TAG_TEMPLATES.navigationMenuById
5107
5278
  ],
5108
5279
  auth: "user",
5109
5280
  responseKind: "json"
5110
5281
  },
5111
- getRoutableContent: {
5112
- path: "/sites/{siteId}/routable-content",
5113
- method: "GET",
5114
- revalidate: 60,
5115
- tags: [TAG_TEMPLATES.siteRoutableContent],
5116
- auth: "user",
5117
- responseKind: "json"
5118
- },
5119
- getPublicRoutableContent: {
5120
- path: "/public/sites/{siteId}/routable-content",
5121
- method: "GET",
5122
- revalidate: 60,
5123
- tags: [TAG_TEMPLATES.siteRoutableContent],
5124
- auth: "public",
5125
- responseKind: "json"
5126
- },
5127
- getPublicSitemapRoutes: {
5128
- path: "/public/sites/{siteId}/sitemap",
5129
- method: "GET",
5130
- revalidate: 60,
5131
- tags: [
5132
- TAG_TEMPLATES.siteRoutableContent,
5133
- TAG_TEMPLATES.siteSettings,
5134
- TAG_TEMPLATES.publicEvents,
5135
- TAG_TEMPLATES.publicBookingServices
5136
- ],
5137
- auth: "public",
5138
- responseKind: "json"
5139
- },
5140
5282
  getPublishedPostPreview: {
5141
5283
  path: "/public/posts/{siteId}/{slug}/preview",
5142
5284
  method: "GET",
@@ -5153,16 +5295,30 @@ const API_ENDPOINTS = {
5153
5295
  responseKind: "json"
5154
5296
  },
5155
5297
  saveSiteTheme: {
5298
+ editLease: "unleased-editor",
5156
5299
  path: "/sites/{siteId}/theme/save",
5157
5300
  method: "POST",
5158
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
5301
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
5159
5302
  auth: "user",
5160
5303
  responseKind: "json"
5161
5304
  },
5305
+ previewSiteStyleSelection: {
5306
+ path: "/public/sites/{siteId}/theme/style-selection/preview",
5307
+ method: "POST",
5308
+ auth: "public",
5309
+ errors: [
5310
+ "validation:invalid_input",
5311
+ "auth:forbidden",
5312
+ "resource:not_found",
5313
+ "server:internal_error"
5314
+ ],
5315
+ responseKind: "json"
5316
+ },
5162
5317
  applySiteStyleSelection: {
5318
+ editLease: "unleased-editor",
5163
5319
  path: "/sites/{siteId}/theme/style-selection/apply",
5164
5320
  method: "POST",
5165
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
5321
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
5166
5322
  auth: "user",
5167
5323
  errors: [
5168
5324
  "validation:invalid_input",
@@ -5174,9 +5330,10 @@ const API_ENDPOINTS = {
5174
5330
  responseKind: "json"
5175
5331
  },
5176
5332
  saveSiteChromeSelection: {
5333
+ editLease: "unleased-editor",
5177
5334
  path: "/sites/{siteId}/theme/site-chrome-selection",
5178
5335
  method: "POST",
5179
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
5336
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
5180
5337
  auth: "user",
5181
5338
  errors: [],
5182
5339
  responseKind: "json"
@@ -5546,7 +5703,7 @@ const API_ENDPOINTS = {
5546
5703
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots",
5547
5704
  method: "GET",
5548
5705
  tags: [
5549
- TAG_TEMPLATES.siteCollection,
5706
+ TAG_TEMPLATES.site,
5550
5707
  TAG_TEMPLATES.pageSurfaceById,
5551
5708
  "surface-slots",
5552
5709
  "blocks"
@@ -5564,7 +5721,7 @@ const API_ENDPOINTS = {
5564
5721
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
5565
5722
  method: "POST",
5566
5723
  tags: [
5567
- TAG_TEMPLATES.siteCollection,
5724
+ TAG_TEMPLATES.site,
5568
5725
  TAG_TEMPLATES.pageSurfaceById,
5569
5726
  "surface-slot-{slotKey}",
5570
5727
  "blocks"
@@ -5583,7 +5740,7 @@ const API_ENDPOINTS = {
5583
5740
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
5584
5741
  method: "POST",
5585
5742
  tags: [
5586
- TAG_TEMPLATES.siteCollection,
5743
+ TAG_TEMPLATES.site,
5587
5744
  TAG_TEMPLATES.pageSurfaceById,
5588
5745
  "surface-slot-{slotKey}",
5589
5746
  "blocks"
@@ -5602,7 +5759,7 @@ const API_ENDPOINTS = {
5602
5759
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
5603
5760
  method: "DELETE",
5604
5761
  tags: [
5605
- TAG_TEMPLATES.siteCollection,
5762
+ TAG_TEMPLATES.site,
5606
5763
  TAG_TEMPLATES.pageSurfaceById,
5607
5764
  "surface-slot-{slotKey}",
5608
5765
  "blocks"
@@ -6334,20 +6491,6 @@ const API_ENDPOINTS = {
6334
6491
  errors: [],
6335
6492
  responseKind: "json"
6336
6493
  },
6337
- importSiteBackup: {
6338
- path: "/sites/{siteId}/backup/import",
6339
- method: "POST",
6340
- tags: ["site-{siteId}", "backup"],
6341
- auth: "user",
6342
- responseKind: "json",
6343
- errors: [
6344
- "validation:invalid_input",
6345
- "validation:payload_too_large",
6346
- "auth:forbidden",
6347
- "resource:not_found",
6348
- "server:internal_error"
6349
- ]
6350
- },
6351
6494
  createBackupUploadUrl: {
6352
6495
  path: "/backup/upload-url",
6353
6496
  method: "POST",
@@ -6679,32 +6822,59 @@ const API_ENDPOINTS = {
6679
6822
  responseKind: "json",
6680
6823
  errors: []
6681
6824
  },
6682
- transferEventAttendee: {
6683
- path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
6825
+ listEventBookingMoveClasses: {
6826
+ errors: [],
6827
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-classes",
6828
+ method: "GET",
6829
+ auth: "user",
6830
+ responseKind: "json"
6831
+ },
6832
+ listEventBookingMoveTargets: {
6833
+ errors: [],
6834
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-targets",
6835
+ method: "GET",
6836
+ auth: "user",
6837
+ responseKind: "json"
6838
+ },
6839
+ moveEventBooking: {
6840
+ errors: [],
6841
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move",
6684
6842
  method: "POST",
6843
+ auth: "user",
6844
+ responseKind: "json",
6685
6845
  tags: [
6686
6846
  "site-{siteId}",
6687
6847
  "event-attendee-{attendeeId}",
6688
6848
  "bookings"
6689
- ],
6849
+ ]
6850
+ },
6851
+ restoreEventBooking: {
6852
+ errors: [],
6853
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
6854
+ method: "POST",
6690
6855
  auth: "user",
6691
6856
  responseKind: "json",
6692
- errors: [
6693
- "validation:invalid_input",
6694
- "resource:not_found",
6695
- "server:internal_error"
6857
+ tags: [
6858
+ "site-{siteId}",
6859
+ "event-attendee-{attendeeId}",
6860
+ "bookings"
6696
6861
  ]
6697
6862
  },
6698
- listEventAttendeeTransfers: {
6699
- path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfers",
6700
- method: "GET",
6863
+ transferEventAttendee: {
6864
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
6865
+ method: "POST",
6701
6866
  tags: [
6702
6867
  "site-{siteId}",
6703
6868
  "event-attendee-{attendeeId}",
6704
6869
  "bookings"
6705
6870
  ],
6706
6871
  auth: "user",
6707
- responseKind: "json"
6872
+ responseKind: "json",
6873
+ errors: [
6874
+ "validation:invalid_input",
6875
+ "resource:not_found",
6876
+ "server:internal_error"
6877
+ ]
6708
6878
  },
6709
6879
  listEventSeriesOccurrences: {
6710
6880
  path: "/sites/{siteId}/bookings/event-series/{seriesId}/occurrences",
@@ -6857,12 +7027,18 @@ const API_ENDPOINTS = {
6857
7027
  responseKind: "json"
6858
7028
  },
6859
7029
  geocodeLocation: {
6860
- errors: ["resource:not_found"],
6861
7030
  path: "/sites/{siteId}/location/geocode",
6862
7031
  method: "POST",
6863
7032
  tags: ["site-{siteId}"],
6864
7033
  auth: "user",
6865
- responseKind: "json"
7034
+ responseKind: "json",
7035
+ errors: [
7036
+ "validation:invalid_input",
7037
+ "resource:not_found",
7038
+ "rate_limit:exceeded",
7039
+ "external:service_error",
7040
+ "server:internal_error"
7041
+ ]
6866
7042
  },
6867
7043
  listBookingPasses: {
6868
7044
  path: "/sites/{siteId}/bookings/passes",
@@ -7438,11 +7614,20 @@ const API_ENDPOINTS = {
7438
7614
  auth: "user",
7439
7615
  responseKind: "json"
7440
7616
  },
7441
- listSiteEmailEventLogs: {
7442
- path: "/sites/{siteId}/logs/emails/{emailId}/events",
7617
+ getSentEmail: {
7618
+ path: "/sites/{siteId}/logs/emails/{emailId}",
7443
7619
  method: "GET",
7444
7620
  auth: "user",
7445
- responseKind: "json"
7621
+ responseKind: "json",
7622
+ errors: []
7623
+ },
7624
+ resendSentEmail: {
7625
+ path: "/sites/{siteId}/logs/emails/{emailId}/resend",
7626
+ method: "POST",
7627
+ auth: "user",
7628
+ responseKind: "json",
7629
+ errors: [],
7630
+ demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
7446
7631
  },
7447
7632
  listSitePublicErrorLogs: {
7448
7633
  path: "/sites/{siteId}/logs/errors",
@@ -7451,6 +7636,7 @@ const API_ENDPOINTS = {
7451
7636
  responseKind: "json"
7452
7637
  },
7453
7638
  aiPlaygroundApply: {
7639
+ editLease: "unleased-editor",
7454
7640
  path: "/sites/{siteId}/ai/playground/apply",
7455
7641
  method: "POST",
7456
7642
  tags: ["site-{siteId}"],
@@ -7705,12 +7891,6 @@ const API_ENDPOINTS = {
7705
7891
  responseKind: "json"
7706
7892
  },
7707
7893
  ...SDK_MEDIA_ENDPOINT_DEFINITIONS,
7708
- sdkIdentifiersBackfill: {
7709
- path: "/sdk/{siteId}/identifiers/backfill",
7710
- method: "POST",
7711
- auth: "service",
7712
- responseKind: "json"
7713
- },
7714
7894
  sdkUpdateWorkflowRunStatus: {
7715
7895
  path: "/sdk/{siteId}/workflows/runs/{runId}/status",
7716
7896
  method: "POST",
@@ -8283,6 +8463,20 @@ const API_ENDPOINTS = {
8283
8463
  auth: "public",
8284
8464
  responseKind: "json"
8285
8465
  },
8466
+ portalListEventRescheduleDates: {
8467
+ errors: [],
8468
+ path: "/portal/events/{registrationId}/reschedule-dates",
8469
+ method: "GET",
8470
+ auth: "public",
8471
+ responseKind: "json"
8472
+ },
8473
+ portalRescheduleEventRegistration: {
8474
+ errors: [],
8475
+ path: "/portal/events/{registrationId}/reschedule",
8476
+ method: "POST",
8477
+ auth: "public",
8478
+ responseKind: "json"
8479
+ },
8286
8480
  portalTransferEventRegistration: {
8287
8481
  path: "/portal/events/{registrationId}/transfer",
8288
8482
  method: "POST",