@riverbankcms/sdk 0.161.0 → 0.163.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 (193) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
  3. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-zwnvFBPu.d.ts} +8 -8
  4. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +58 -91
  5. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-Chh3bnXC.d.ts} +11 -3
  6. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
  7. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-GJ1kGBsi.d.ts} +13 -4
  8. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
  10. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-C3mJvn27.d.ts} +4 -4
  11. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-CaL0nKkl.d.ts} +4166 -3355
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-CdSNXLOx.d.ts} +1 -1
  13. package/dist/_dts/{types-BR1Yboa9.d.ts → index-CyQhZuhM.d.ts} +3347 -1692
  14. package/dist/_dts/{index-BVkP8f70.d.ts → index-D2y4Iy-d.d.ts} +13 -2
  15. package/dist/_dts/{index-CSsfq6KG.d.ts → index-DRxgeK8L.d.ts} +11 -6
  16. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-FstkyqQB.d.ts} +2 -2
  17. package/dist/_dts/{index-D_8uz4OP.d.ts → index-G2p-HOrK.d.ts} +3 -3
  18. package/dist/_dts/{index-ylivB7Jj.d.ts → index-rhMSu0oY.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-DiLZoInK.d.ts} +10 -7
  20. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-CWUnipv8.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-BmtrA45p.d.ts} +2 -2
  47. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CalL7aKP.d.ts} +7 -7
  48. package/dist/_dts/{types-CJXTCF_F.d.ts → types-DFOqkClJ.d.ts} +3 -3
  49. package/dist/_dts/{validation-BaV565gb.d.ts → validation-G8MRoIhq.d.ts} +4 -4
  50. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -19
  51. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
  52. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
  53. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
  54. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +26 -10
  55. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
  56. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-ffa6920T.mjs} +16 -17
  57. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
  58. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
  59. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-CND3mfra.mjs} +91 -15
  60. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
  61. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
  62. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-BfnOmxYD.mjs} +14 -70
  63. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
  64. package/dist/client/LocationMapActions-wlyxASdT.mjs +62 -0
  65. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-B9oKSitp.mjs} +2 -70
  66. package/dist/client/{Page-Bf2nPACI.mjs → Page-BEF9HrAy.mjs} +2333 -492
  67. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
  68. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
  69. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-DclwabI7.mjs} +1 -1
  70. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-lzM2nSZB.mjs} +1 -1
  71. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-Bll4QwBi.mjs} +137 -60
  72. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
  73. package/dist/client/bookings.mjs +5 -5
  74. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-CxerQwIx.mjs} +2 -2
  75. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
  76. package/dist/client/{cart-D_h3rAZ2.mjs → cart-X-m0isoI.mjs} +3 -3
  77. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-CJbzWIl0.mjs} +1 -1
  78. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Gd0O_fGH.mjs} +3 -3
  79. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
  80. package/dist/client/client.mjs +34 -69
  81. package/dist/client/{context-9ZfMb6GA.mjs → context-Bg0SFWcM.mjs} +28 -1
  82. package/dist/client/{cta-D-ZqL7-e.mjs → cta-HffyM4MA.mjs} +1 -1
  83. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-CV45BH5M.mjs} +39 -2
  84. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
  85. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
  86. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-SFtS9OkF.mjs} +2 -1
  87. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
  88. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
  89. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
  90. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
  91. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-BS0kBEgI.mjs} +4 -4
  92. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
  93. package/dist/client/{form-QZhtdFHA.mjs → form-DAIUrVXb.mjs} +3 -3
  94. package/dist/client/{form.client-CgvPACwG.mjs → form.client-BoAkhoh_.mjs} +4 -4
  95. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-1VnasOK8.mjs} +3 -3
  96. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-BKil_Psb.mjs} +1 -1
  97. package/dist/client/gifting/client.mjs +3 -3
  98. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
  99. package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
  100. package/dist/client/mediaContext-DIkX2S-X.mjs +136 -0
  101. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
  102. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
  103. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
  104. package/dist/client/{noop-B7H6gCbj.mjs → noop-4XFGzJpT.mjs} +19 -3
  105. package/dist/client/portal/client.mjs +1116 -85
  106. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
  107. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
  108. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-BRqgcotZ.mjs} +3 -3
  109. package/dist/client/{productList-DEo8Bqoe.mjs → productList-EK9Um-oh.mjs} +3 -3
  110. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-VD4arFq1.mjs} +4 -3
  111. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-qYbsatxH.mjs} +272 -68
  112. package/dist/client/rendering/client.mjs +26 -26
  113. package/dist/client/rendering/islands.mjs +1 -1
  114. package/dist/client/rendering.mjs +22 -19
  115. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
  116. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
  117. package/dist/client/{schema-C-m8XHuW.mjs → schema-BFwQDvJL.mjs} +4561 -3948
  118. package/dist/client/{shop-RGWa43H7.mjs → shop-CTUaT57E.mjs} +3 -3
  119. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
  120. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
  121. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-UWgdmJBm.mjs} +12 -12
  122. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-Cf_kASpd.mjs} +76 -51
  123. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-Bi8d584P.mjs} +2 -2
  124. package/dist/{server/effectiveNavLinkStyle-CGvGr3yD.mjs → client/site-styles-dy54AUdz.mjs} +2781 -331
  125. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-Bi8ruFgB.mjs} +10 -9
  126. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-DiLbDqM3.mjs} +8 -11
  127. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
  128. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
  129. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
  130. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
  131. package/dist/client/{view-Dj_FZHmg.mjs → view-OvsxzgxP.mjs} +64 -55
  132. package/dist/client/{view-BUh4LnLS.mjs → view-yUIfWX3S.mjs} +4 -4
  133. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-kbONzKUv.mjs} +59 -53
  134. package/dist/preview-next/before-render.mjs +3 -3
  135. package/dist/preview-next/chrome.css +1 -1
  136. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
  137. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +170 -1046
  138. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-lndKKBtB.mjs} +157 -313
  139. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +351 -1386
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
  141. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-nUnE3iMv.mjs} +1010 -398
  142. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-DHtSQIBE.mjs} +159416 -162308
  143. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
  146. package/dist/preview-next/client/siteStyleAccess-Chq5KKKh.mjs +14162 -0
  147. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-CjxE3uws.mjs} +1 -1
  148. package/dist/preview-next/edit-map.css +37 -0
  149. package/dist/preview-next/keepAlive.mjs +2 -2
  150. package/dist/preview-next/maplibre-gl.css +1 -0
  151. package/dist/preview-next/middleware.mjs +1 -1
  152. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  153. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CxCstfkP.mjs} +403 -200
  154. package/dist/preview-next/upload-structure.css +18 -0
  155. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
  156. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-S-gCHhj5.mjs} +2 -2
  157. package/dist/server/{client-Cv26lZQ4.mjs → client-C2Q56xqV.mjs} +34 -69
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/{client/mediaContext-jPeJ2PmJ.mjs → server/effectiveNavLinkStyle-DLzJPcDL.mjs} +1977 -1210
  161. package/dist/server/index.mjs +3 -3
  162. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-D7ItMsEl.mjs} +7 -4
  163. package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
  164. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-DaPiPYUL.mjs} +2 -2
  165. package/dist/server/next.mjs +9 -9
  166. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
  167. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-W1Cc6srh.mjs} +434 -241
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-BF9yNfCS.mjs} +1 -1
  170. package/dist/server/prebuild.mjs +1 -1
  171. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-Cn9k3DW6.mjs} +36 -11
  172. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-BVcJ6TG7.mjs} +656 -166
  173. package/dist/server/{registry-BVfCqaCq.mjs → registry-4ZF3bUuJ.mjs} +401 -74
  174. package/dist/server/rendering/server.mjs +4 -4
  175. package/dist/server/rendering.mjs +8 -8
  176. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
  177. package/dist/server/routing.mjs +1 -1
  178. package/dist/server/{schema-CD4peO7m.mjs → schema-DgrigZq9.mjs} +7748 -7135
  179. package/dist/server/server.mjs +3 -3
  180. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-CxE9F3hj.mjs} +99 -117
  181. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
  182. package/dist/server/{src-ILxc6pid.mjs → src-C44_fMy5.mjs} +1190 -147
  183. package/dist/server/theme-bridge.mjs +1 -1
  184. package/dist/server/theme.mjs +1 -1
  185. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CVc04B9m.mjs} +36 -29
  186. package/dist/server/{validation-B1ieVemg.mjs → validation-BrbY0nxR.mjs} +2 -2
  187. package/dist/server/{version-BQK44wFg.mjs → version-BBSk8uM6.mjs} +1 -1
  188. package/dist/styles/index.css +1034 -113
  189. package/package.json +1 -1
  190. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  191. package/dist/client/mediaAssets-BvjcAZpS.mjs +0 -16
  192. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  193. 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",
@@ -2819,6 +2937,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2819
2937
  auth: "user",
2820
2938
  responseKind: "json"
2821
2939
  },
2940
+ /** Prepare or reconcile the card page; only the attempt's owner. */
2941
+ prepareOnboardingPlanCheckout: {
2942
+ path: "/onboarding/attempts/{attemptToken}/plan",
2943
+ method: "POST",
2944
+ tags: ["billing"],
2945
+ auth: "user",
2946
+ errors: [],
2947
+ responseKind: "json"
2948
+ },
2822
2949
  /** Continue on Free from the onboarding card page; only the attempt's owner. */
2823
2950
  continueOnboardingOnFree: {
2824
2951
  path: "/onboarding/attempts/{attemptToken}/plan/free",
@@ -2828,12 +2955,72 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2828
2955
  errors: [],
2829
2956
  responseKind: "json"
2830
2957
  },
2831
- createBillingPortalSession: {
2832
- path: "/billing/portal/session",
2958
+ getAccountInvoiceRecovery: {
2959
+ path: "/billing/recovery",
2960
+ method: "GET",
2961
+ tags: ["billing"],
2962
+ auth: "user",
2963
+ responseKind: "json",
2964
+ errors: [
2965
+ "validation:invalid_input",
2966
+ "auth:unauthenticated",
2967
+ "external:service_error",
2968
+ "server:internal_error"
2969
+ ]
2970
+ },
2971
+ getAccountBillingDetails: {
2972
+ path: "/billing/details",
2973
+ method: "GET",
2974
+ tags: ["billing"],
2975
+ auth: "user",
2976
+ responseKind: "json",
2977
+ errors: [
2978
+ "auth:unauthenticated",
2979
+ "external:service_error",
2980
+ "server:internal_error"
2981
+ ]
2982
+ },
2983
+ getAccountBillingInvoices: {
2984
+ path: "/billing/invoices",
2985
+ method: "GET",
2986
+ tags: ["billing"],
2987
+ auth: "user",
2988
+ responseKind: "json",
2989
+ errors: [
2990
+ "validation:invalid_input",
2991
+ "auth:unauthenticated",
2992
+ "resource:conflict",
2993
+ "external:service_error",
2994
+ "server:internal_error"
2995
+ ]
2996
+ },
2997
+ startAccountPaymentMethodSetup: {
2998
+ path: "/billing/payment-method/setup",
2833
2999
  method: "POST",
2834
3000
  tags: ["billing"],
2835
3001
  auth: "user",
2836
- responseKind: "json"
3002
+ responseKind: "json",
3003
+ errors: [
3004
+ "validation:invalid_input",
3005
+ "auth:unauthenticated",
3006
+ "resource:conflict",
3007
+ "external:service_error",
3008
+ "server:internal_error"
3009
+ ]
3010
+ },
3011
+ finishAccountPaymentMethodSetup: {
3012
+ path: "/billing/payment-method/finish",
3013
+ method: "POST",
3014
+ tags: ["billing"],
3015
+ auth: "user",
3016
+ responseKind: "json",
3017
+ errors: [
3018
+ "validation:invalid_input",
3019
+ "auth:unauthenticated",
3020
+ "resource:conflict",
3021
+ "external:service_error",
3022
+ "server:internal_error"
3023
+ ]
2837
3024
  },
2838
3025
  stripeConnectSetupStart: {
2839
3026
  path: "/sites/{siteId}/billing/connect/setup",
@@ -2989,7 +3176,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
2989
3176
  acquireEditLease: {
2990
3177
  path,
2991
3178
  method: "POST",
2992
- editLease: "lifecycle",
3179
+ editLease: "unleased-editor",
2993
3180
  errors: lifecycleErrors,
2994
3181
  auth: "user",
2995
3182
  responseKind: "json"
@@ -2997,7 +3184,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
2997
3184
  takeOverEditLease: {
2998
3185
  path,
2999
3186
  method: "PUT",
3000
- editLease: "lifecycle",
3187
+ editLease: "unleased-editor",
3001
3188
  errors: lifecycleErrors,
3002
3189
  auth: "user",
3003
3190
  responseKind: "json"
@@ -3005,7 +3192,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
3005
3192
  heartbeatEditLease: {
3006
3193
  path,
3007
3194
  method: "PATCH",
3008
- editLease: "lifecycle",
3195
+ editLease: "unleased-editor",
3009
3196
  errors: [...lifecycleErrors, "auth:lease_lost"],
3010
3197
  auth: "user",
3011
3198
  responseKind: "json"
@@ -3021,7 +3208,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
3021
3208
  };
3022
3209
  //#endregion
3023
3210
  //#region ../api/src/pageSurfaceEditorEndpoints.ts
3024
- const surfaceTags = [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById];
3211
+ const surfaceTags = [TAG_TEMPLATES.site, TAG_TEMPLATES.pageSurfaceById];
3025
3212
  const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3026
3213
  getPageSurfaceEditorDocument: {
3027
3214
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
@@ -3076,7 +3263,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3076
3263
  "server:internal_error"
3077
3264
  ],
3078
3265
  tags: [
3079
- TAG_TEMPLATES.siteCollection,
3266
+ TAG_TEMPLATES.site,
3080
3267
  TAG_TEMPLATES.siteRoutableContent,
3081
3268
  TAG_TEMPLATES.pageSurfaceById
3082
3269
  ],
@@ -3095,7 +3282,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3095
3282
  "server:internal_error"
3096
3283
  ],
3097
3284
  tags: [
3098
- TAG_TEMPLATES.siteCollection,
3285
+ TAG_TEMPLATES.site,
3099
3286
  TAG_TEMPLATES.siteRoutableContent,
3100
3287
  TAG_TEMPLATES.pageSurfaceById
3101
3288
  ],
@@ -3114,7 +3301,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3114
3301
  "server:internal_error"
3115
3302
  ],
3116
3303
  tags: [
3117
- TAG_TEMPLATES.siteCollection,
3304
+ TAG_TEMPLATES.site,
3118
3305
  TAG_TEMPLATES.siteRoutableContent,
3119
3306
  TAG_TEMPLATES.pageSurfaceById
3120
3307
  ],
@@ -3240,6 +3427,7 @@ const API_ENDPOINTS = {
3240
3427
  ...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
3241
3428
  ...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
3242
3429
  applySeoChanges: {
3430
+ editLease: "unleased-editor",
3243
3431
  path: "/seo/apply",
3244
3432
  method: "POST",
3245
3433
  auth: "user",
@@ -3357,6 +3545,14 @@ const API_ENDPOINTS = {
3357
3545
  errors: [],
3358
3546
  responseKind: "json"
3359
3547
  },
3548
+ markBookingHomeSeen: {
3549
+ path: "/sites/{siteId}/home/seen",
3550
+ method: "POST",
3551
+ auth: "user",
3552
+ errors: [],
3553
+ responseKind: "json",
3554
+ demoMutation: DEMO_MUTATION_ALLOWED
3555
+ },
3360
3556
  resendOnboardingPreviewConfirmation: {
3361
3557
  path: "/public/sites/{siteId}/onboarding/resend-confirmation",
3362
3558
  method: "POST",
@@ -3400,15 +3596,6 @@ const API_ENDPOINTS = {
3400
3596
  errors: [],
3401
3597
  responseKind: "text"
3402
3598
  },
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
3599
  listRedirectRules: {
3413
3600
  path: "/sites/{siteId}/redirects",
3414
3601
  method: "GET",
@@ -3651,6 +3838,19 @@ const API_ENDPOINTS = {
3651
3838
  auth: "user",
3652
3839
  responseKind: "json"
3653
3840
  },
3841
+ updateEmailSendSetting: {
3842
+ path: "/sites/{siteId}/settings/emails/{emailKey}/send-setting",
3843
+ method: "PUT",
3844
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
3845
+ auth: "user",
3846
+ responseKind: "json",
3847
+ errors: [
3848
+ "validation:invalid_input",
3849
+ "auth:forbidden",
3850
+ "resource:conflict",
3851
+ "server:internal_error"
3852
+ ]
3853
+ },
3654
3854
  sendTestEmail: {
3655
3855
  path: "/sites/{siteId}/settings/emails/test",
3656
3856
  method: "POST",
@@ -3669,37 +3869,12 @@ const API_ENDPOINTS = {
3669
3869
  ...NEWSLETTER_ENDPOINT_DEFINITIONS,
3670
3870
  ...APPOINTMENT_ENDPOINT_DEFINITIONS,
3671
3871
  ...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
- },
3872
+ getSiteIdOnly: PUBLIC_READ_ENDPOINT_DEFINITIONS.getSite,
3698
3873
  getSiteBySlug: {
3699
3874
  path: "/sites/by-slug/{slug}",
3700
3875
  method: "GET",
3701
3876
  revalidate: 900,
3702
- tags: ["site", "site-{slug}"],
3877
+ tags: [TAG_TEMPLATES.siteBySlug],
3703
3878
  auth: "user",
3704
3879
  responseKind: "json"
3705
3880
  },
@@ -3707,7 +3882,7 @@ const API_ENDPOINTS = {
3707
3882
  path: "/sites/by-domain/{domain}",
3708
3883
  method: "GET",
3709
3884
  revalidate: 900,
3710
- tags: ["site", "site-domain-{domain}"],
3885
+ tags: [TAG_TEMPLATES.siteByDomain],
3711
3886
  auth: "user",
3712
3887
  responseKind: "json"
3713
3888
  },
@@ -3915,6 +4090,7 @@ const API_ENDPOINTS = {
3915
4090
  responseKind: "json"
3916
4091
  },
3917
4092
  updateContentTemplateBlock: {
4093
+ editLease: "unleased-editor",
3918
4094
  path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
3919
4095
  method: "PATCH",
3920
4096
  tags: [
@@ -3926,6 +4102,7 @@ const API_ENDPOINTS = {
3926
4102
  responseKind: "json"
3927
4103
  },
3928
4104
  applyContentTemplateAddon: {
4105
+ editLease: "unleased-editor",
3929
4106
  path: "/sites/{siteId}/content/types/{type}/template/addons",
3930
4107
  method: "POST",
3931
4108
  tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
@@ -3933,6 +4110,7 @@ const API_ENDPOINTS = {
3933
4110
  responseKind: "json"
3934
4111
  },
3935
4112
  updateContentTemplateBlockBindings: {
4113
+ editLease: "unleased-editor",
3936
4114
  path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}/bindings",
3937
4115
  method: "PATCH",
3938
4116
  tags: [
@@ -3944,6 +4122,7 @@ const API_ENDPOINTS = {
3944
4122
  responseKind: "json"
3945
4123
  },
3946
4124
  createTemplateBlock: {
4125
+ editLease: "unleased-editor",
3947
4126
  path: "/sites/{siteId}/content/types/{type}/template/blocks",
3948
4127
  method: "POST",
3949
4128
  tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
@@ -3951,6 +4130,7 @@ const API_ENDPOINTS = {
3951
4130
  responseKind: "json"
3952
4131
  },
3953
4132
  deleteTemplateBlock: {
4133
+ editLease: "unleased-editor",
3954
4134
  path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
3955
4135
  method: "DELETE",
3956
4136
  tags: [
@@ -3962,6 +4142,7 @@ const API_ENDPOINTS = {
3962
4142
  responseKind: "json"
3963
4143
  },
3964
4144
  reorderTemplateBlocks: {
4145
+ editLease: "unleased-editor",
3965
4146
  path: "/sites/{siteId}/content/types/{type}/template/blocks/reorder",
3966
4147
  method: "POST",
3967
4148
  tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
@@ -4114,7 +4295,7 @@ const API_ENDPOINTS = {
4114
4295
  path: "/sites/{siteId}/routes/{routeId}/metadata",
4115
4296
  method: "PATCH",
4116
4297
  tags: [
4117
- TAG_TEMPLATES.siteCollection,
4298
+ TAG_TEMPLATES.site,
4118
4299
  TAG_TEMPLATES.siteRoutableContent,
4119
4300
  TAG_TEMPLATES.routeById
4120
4301
  ],
@@ -4265,6 +4446,7 @@ const API_ENDPOINTS = {
4265
4446
  path: "/sites/{siteId}/content/{type}/bulk-publish",
4266
4447
  method: "POST",
4267
4448
  tags: ["site-{siteId}", "content-{siteId}-{type}"],
4449
+ editLease: "unleased-editor",
4268
4450
  auth: "user",
4269
4451
  responseKind: "json"
4270
4452
  },
@@ -4272,6 +4454,7 @@ const API_ENDPOINTS = {
4272
4454
  path: "/sites/{siteId}/content/{type}/bulk-unpublish",
4273
4455
  method: "POST",
4274
4456
  tags: ["site-{siteId}", "content-{siteId}-{type}"],
4457
+ editLease: "unleased-editor",
4275
4458
  auth: "user",
4276
4459
  responseKind: "json"
4277
4460
  },
@@ -4279,6 +4462,7 @@ const API_ENDPOINTS = {
4279
4462
  path: "/sites/{siteId}/content/{type}/bulk-delete",
4280
4463
  method: "POST",
4281
4464
  tags: ["site-{siteId}", "content-{siteId}-{type}"],
4465
+ editLease: "unleased-editor",
4282
4466
  auth: "user",
4283
4467
  responseKind: "json",
4284
4468
  errors: [
@@ -4299,11 +4483,7 @@ const API_ENDPOINTS = {
4299
4483
  getSiteFooterBlocks: {
4300
4484
  path: "/sites/{siteId}/content/footer-blocks",
4301
4485
  method: "GET",
4302
- tags: [
4303
- TAG_TEMPLATES.siteCollection,
4304
- TAG_TEMPLATES.site,
4305
- TAG_TEMPLATES.siteSettings
4306
- ],
4486
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
4307
4487
  auth: "user",
4308
4488
  responseKind: "json",
4309
4489
  errors: [
@@ -4313,13 +4493,10 @@ const API_ENDPOINTS = {
4313
4493
  ]
4314
4494
  },
4315
4495
  updateSiteFooterBlocks: {
4496
+ editLease: "unleased-editor",
4316
4497
  path: "/sites/{siteId}/content/footer-blocks",
4317
4498
  method: "PUT",
4318
- tags: [
4319
- TAG_TEMPLATES.siteCollection,
4320
- TAG_TEMPLATES.site,
4321
- TAG_TEMPLATES.siteSettings
4322
- ],
4499
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
4323
4500
  auth: "user",
4324
4501
  responseKind: "json",
4325
4502
  errors: [
@@ -4332,7 +4509,7 @@ const API_ENDPOINTS = {
4332
4509
  updateSiteDeploymentMode: {
4333
4510
  path: "/sites/{siteId}/settings/deployment-mode",
4334
4511
  method: "POST",
4335
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site],
4512
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.site],
4336
4513
  auth: "user",
4337
4514
  responseKind: "json"
4338
4515
  },
@@ -4497,6 +4674,7 @@ const API_ENDPOINTS = {
4497
4674
  responseKind: "json"
4498
4675
  },
4499
4676
  updateFooterComposition: {
4677
+ editLease: "unleased-editor",
4500
4678
  path: "/sites/{siteId}/settings/footer-composition",
4501
4679
  method: "POST",
4502
4680
  tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
@@ -4519,6 +4697,7 @@ const API_ENDPOINTS = {
4519
4697
  responseKind: "json"
4520
4698
  },
4521
4699
  updatePublicProfile: {
4700
+ editLease: "unleased-editor",
4522
4701
  path: "/sites/{siteId}/settings/public-profile",
4523
4702
  method: "POST",
4524
4703
  tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
@@ -4555,6 +4734,7 @@ const API_ENDPOINTS = {
4555
4734
  responseKind: "json"
4556
4735
  },
4557
4736
  setHomepage: {
4737
+ editLease: "unleased-editor",
4558
4738
  path: "/sites/{siteId}/settings/homepage",
4559
4739
  method: "POST",
4560
4740
  tags: ["site-{siteId}", "site-homepage"],
@@ -5047,7 +5227,7 @@ const API_ENDPOINTS = {
5047
5227
  getNavigationMenus: {
5048
5228
  path: "/sites/{siteId}/navigation/menus",
5049
5229
  method: "GET",
5050
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation],
5230
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNavigation],
5051
5231
  auth: "user",
5052
5232
  responseKind: "json"
5053
5233
  },
@@ -5055,7 +5235,7 @@ const API_ENDPOINTS = {
5055
5235
  path: "/sites/{siteId}/navigation/menus/{menuId}",
5056
5236
  method: "GET",
5057
5237
  tags: [
5058
- TAG_TEMPLATES.siteCollection,
5238
+ TAG_TEMPLATES.site,
5059
5239
  TAG_TEMPLATES.siteNavigation,
5060
5240
  TAG_TEMPLATES.navigationMenuById
5061
5241
  ],
@@ -5066,7 +5246,7 @@ const API_ENDPOINTS = {
5066
5246
  path: "/sites/{siteId}/navigation/menus/{menuId}/items",
5067
5247
  method: "POST",
5068
5248
  tags: [
5069
- TAG_TEMPLATES.siteCollection,
5249
+ TAG_TEMPLATES.site,
5070
5250
  TAG_TEMPLATES.siteNavigation,
5071
5251
  TAG_TEMPLATES.navigationMenuById
5072
5252
  ],
@@ -5077,7 +5257,7 @@ const API_ENDPOINTS = {
5077
5257
  path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
5078
5258
  method: "PATCH",
5079
5259
  tags: [
5080
- TAG_TEMPLATES.siteCollection,
5260
+ TAG_TEMPLATES.site,
5081
5261
  TAG_TEMPLATES.siteNavigation,
5082
5262
  TAG_TEMPLATES.navigationMenuById,
5083
5263
  TAG_TEMPLATES.navigationItemById
@@ -5089,7 +5269,7 @@ const API_ENDPOINTS = {
5089
5269
  path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
5090
5270
  method: "DELETE",
5091
5271
  tags: [
5092
- TAG_TEMPLATES.siteCollection,
5272
+ TAG_TEMPLATES.site,
5093
5273
  TAG_TEMPLATES.siteNavigation,
5094
5274
  TAG_TEMPLATES.navigationMenuById,
5095
5275
  TAG_TEMPLATES.navigationItemById
@@ -5101,42 +5281,13 @@ const API_ENDPOINTS = {
5101
5281
  path: "/sites/{siteId}/navigation/menus/{menuId}/items/reorder",
5102
5282
  method: "POST",
5103
5283
  tags: [
5104
- TAG_TEMPLATES.siteCollection,
5284
+ TAG_TEMPLATES.site,
5105
5285
  TAG_TEMPLATES.siteNavigation,
5106
5286
  TAG_TEMPLATES.navigationMenuById
5107
5287
  ],
5108
5288
  auth: "user",
5109
5289
  responseKind: "json"
5110
5290
  },
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
5291
  getPublishedPostPreview: {
5141
5292
  path: "/public/posts/{siteId}/{slug}/preview",
5142
5293
  method: "GET",
@@ -5153,16 +5304,30 @@ const API_ENDPOINTS = {
5153
5304
  responseKind: "json"
5154
5305
  },
5155
5306
  saveSiteTheme: {
5307
+ editLease: "unleased-editor",
5156
5308
  path: "/sites/{siteId}/theme/save",
5157
5309
  method: "POST",
5158
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
5310
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
5159
5311
  auth: "user",
5160
5312
  responseKind: "json"
5161
5313
  },
5314
+ previewSiteStyleSelection: {
5315
+ path: "/public/sites/{siteId}/theme/style-selection/preview",
5316
+ method: "POST",
5317
+ auth: "public",
5318
+ errors: [
5319
+ "validation:invalid_input",
5320
+ "auth:forbidden",
5321
+ "resource:not_found",
5322
+ "server:internal_error"
5323
+ ],
5324
+ responseKind: "json"
5325
+ },
5162
5326
  applySiteStyleSelection: {
5327
+ editLease: "unleased-editor",
5163
5328
  path: "/sites/{siteId}/theme/style-selection/apply",
5164
5329
  method: "POST",
5165
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
5330
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
5166
5331
  auth: "user",
5167
5332
  errors: [
5168
5333
  "validation:invalid_input",
@@ -5174,9 +5339,10 @@ const API_ENDPOINTS = {
5174
5339
  responseKind: "json"
5175
5340
  },
5176
5341
  saveSiteChromeSelection: {
5342
+ editLease: "unleased-editor",
5177
5343
  path: "/sites/{siteId}/theme/site-chrome-selection",
5178
5344
  method: "POST",
5179
- tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
5345
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
5180
5346
  auth: "user",
5181
5347
  errors: [],
5182
5348
  responseKind: "json"
@@ -5546,7 +5712,7 @@ const API_ENDPOINTS = {
5546
5712
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots",
5547
5713
  method: "GET",
5548
5714
  tags: [
5549
- TAG_TEMPLATES.siteCollection,
5715
+ TAG_TEMPLATES.site,
5550
5716
  TAG_TEMPLATES.pageSurfaceById,
5551
5717
  "surface-slots",
5552
5718
  "blocks"
@@ -5564,7 +5730,7 @@ const API_ENDPOINTS = {
5564
5730
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
5565
5731
  method: "POST",
5566
5732
  tags: [
5567
- TAG_TEMPLATES.siteCollection,
5733
+ TAG_TEMPLATES.site,
5568
5734
  TAG_TEMPLATES.pageSurfaceById,
5569
5735
  "surface-slot-{slotKey}",
5570
5736
  "blocks"
@@ -5583,7 +5749,7 @@ const API_ENDPOINTS = {
5583
5749
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
5584
5750
  method: "POST",
5585
5751
  tags: [
5586
- TAG_TEMPLATES.siteCollection,
5752
+ TAG_TEMPLATES.site,
5587
5753
  TAG_TEMPLATES.pageSurfaceById,
5588
5754
  "surface-slot-{slotKey}",
5589
5755
  "blocks"
@@ -5602,7 +5768,7 @@ const API_ENDPOINTS = {
5602
5768
  path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
5603
5769
  method: "DELETE",
5604
5770
  tags: [
5605
- TAG_TEMPLATES.siteCollection,
5771
+ TAG_TEMPLATES.site,
5606
5772
  TAG_TEMPLATES.pageSurfaceById,
5607
5773
  "surface-slot-{slotKey}",
5608
5774
  "blocks"
@@ -6334,20 +6500,6 @@ const API_ENDPOINTS = {
6334
6500
  errors: [],
6335
6501
  responseKind: "json"
6336
6502
  },
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
6503
  createBackupUploadUrl: {
6352
6504
  path: "/backup/upload-url",
6353
6505
  method: "POST",
@@ -6679,32 +6831,59 @@ const API_ENDPOINTS = {
6679
6831
  responseKind: "json",
6680
6832
  errors: []
6681
6833
  },
6682
- transferEventAttendee: {
6683
- path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
6834
+ listEventBookingMoveClasses: {
6835
+ errors: [],
6836
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-classes",
6837
+ method: "GET",
6838
+ auth: "user",
6839
+ responseKind: "json"
6840
+ },
6841
+ listEventBookingMoveTargets: {
6842
+ errors: [],
6843
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-targets",
6844
+ method: "GET",
6845
+ auth: "user",
6846
+ responseKind: "json"
6847
+ },
6848
+ moveEventBooking: {
6849
+ errors: [],
6850
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move",
6684
6851
  method: "POST",
6852
+ auth: "user",
6853
+ responseKind: "json",
6685
6854
  tags: [
6686
6855
  "site-{siteId}",
6687
6856
  "event-attendee-{attendeeId}",
6688
6857
  "bookings"
6689
- ],
6858
+ ]
6859
+ },
6860
+ restoreEventBooking: {
6861
+ errors: [],
6862
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
6863
+ method: "POST",
6690
6864
  auth: "user",
6691
6865
  responseKind: "json",
6692
- errors: [
6693
- "validation:invalid_input",
6694
- "resource:not_found",
6695
- "server:internal_error"
6866
+ tags: [
6867
+ "site-{siteId}",
6868
+ "event-attendee-{attendeeId}",
6869
+ "bookings"
6696
6870
  ]
6697
6871
  },
6698
- listEventAttendeeTransfers: {
6699
- path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfers",
6700
- method: "GET",
6872
+ transferEventAttendee: {
6873
+ path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
6874
+ method: "POST",
6701
6875
  tags: [
6702
6876
  "site-{siteId}",
6703
6877
  "event-attendee-{attendeeId}",
6704
6878
  "bookings"
6705
6879
  ],
6706
6880
  auth: "user",
6707
- responseKind: "json"
6881
+ responseKind: "json",
6882
+ errors: [
6883
+ "validation:invalid_input",
6884
+ "resource:not_found",
6885
+ "server:internal_error"
6886
+ ]
6708
6887
  },
6709
6888
  listEventSeriesOccurrences: {
6710
6889
  path: "/sites/{siteId}/bookings/event-series/{seriesId}/occurrences",
@@ -6857,12 +7036,18 @@ const API_ENDPOINTS = {
6857
7036
  responseKind: "json"
6858
7037
  },
6859
7038
  geocodeLocation: {
6860
- errors: ["resource:not_found"],
6861
7039
  path: "/sites/{siteId}/location/geocode",
6862
7040
  method: "POST",
6863
7041
  tags: ["site-{siteId}"],
6864
7042
  auth: "user",
6865
- responseKind: "json"
7043
+ responseKind: "json",
7044
+ errors: [
7045
+ "validation:invalid_input",
7046
+ "resource:not_found",
7047
+ "rate_limit:exceeded",
7048
+ "external:service_error",
7049
+ "server:internal_error"
7050
+ ]
6866
7051
  },
6867
7052
  listBookingPasses: {
6868
7053
  path: "/sites/{siteId}/bookings/passes",
@@ -7438,11 +7623,20 @@ const API_ENDPOINTS = {
7438
7623
  auth: "user",
7439
7624
  responseKind: "json"
7440
7625
  },
7441
- listSiteEmailEventLogs: {
7442
- path: "/sites/{siteId}/logs/emails/{emailId}/events",
7626
+ getSentEmail: {
7627
+ path: "/sites/{siteId}/logs/emails/{emailId}",
7443
7628
  method: "GET",
7444
7629
  auth: "user",
7445
- responseKind: "json"
7630
+ responseKind: "json",
7631
+ errors: []
7632
+ },
7633
+ resendSentEmail: {
7634
+ path: "/sites/{siteId}/logs/emails/{emailId}/resend",
7635
+ method: "POST",
7636
+ auth: "user",
7637
+ responseKind: "json",
7638
+ errors: [],
7639
+ demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
7446
7640
  },
7447
7641
  listSitePublicErrorLogs: {
7448
7642
  path: "/sites/{siteId}/logs/errors",
@@ -7451,6 +7645,7 @@ const API_ENDPOINTS = {
7451
7645
  responseKind: "json"
7452
7646
  },
7453
7647
  aiPlaygroundApply: {
7648
+ editLease: "unleased-editor",
7454
7649
  path: "/sites/{siteId}/ai/playground/apply",
7455
7650
  method: "POST",
7456
7651
  tags: ["site-{siteId}"],
@@ -7705,12 +7900,6 @@ const API_ENDPOINTS = {
7705
7900
  responseKind: "json"
7706
7901
  },
7707
7902
  ...SDK_MEDIA_ENDPOINT_DEFINITIONS,
7708
- sdkIdentifiersBackfill: {
7709
- path: "/sdk/{siteId}/identifiers/backfill",
7710
- method: "POST",
7711
- auth: "service",
7712
- responseKind: "json"
7713
- },
7714
7903
  sdkUpdateWorkflowRunStatus: {
7715
7904
  path: "/sdk/{siteId}/workflows/runs/{runId}/status",
7716
7905
  method: "POST",
@@ -8283,6 +8472,20 @@ const API_ENDPOINTS = {
8283
8472
  auth: "public",
8284
8473
  responseKind: "json"
8285
8474
  },
8475
+ portalListEventRescheduleDates: {
8476
+ errors: [],
8477
+ path: "/portal/events/{registrationId}/reschedule-dates",
8478
+ method: "GET",
8479
+ auth: "public",
8480
+ responseKind: "json"
8481
+ },
8482
+ portalRescheduleEventRegistration: {
8483
+ errors: [],
8484
+ path: "/portal/events/{registrationId}/reschedule",
8485
+ method: "POST",
8486
+ auth: "public",
8487
+ responseKind: "json"
8488
+ },
8286
8489
  portalTransferEventRegistration: {
8287
8490
  path: "/portal/events/{registrationId}/transfer",
8288
8491
  method: "POST",