@riverbankcms/sdk 0.109.0 → 0.118.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 (294) hide show
  1. package/dist/{PreviewEditorSidebar-DWqwfy3_.mjs → PreviewEditorSidebar-BBcK1DjD.mjs} +178 -117
  2. package/dist/{PreviewEditorUI-B7OL4sfR.mjs → PreviewEditorUI-CuBFoYes.mjs} +3 -4
  3. package/dist/{PreviewQueryProvider-D0y2l8JN.mjs → PreviewQueryProvider-nKUT4TL-.mjs} +1 -1
  4. package/dist/{SdkPreviewModeRuntime-D8Gt9Gbe.mjs → SdkPreviewModeRuntime-BWIO_Dsi.mjs} +2789 -34525
  5. package/dist/{SiteChromeCustomizeContext-DUpalEdL.mjs → SiteChromeCustomizeContext-CciG60M5.mjs} +88526 -57212
  6. package/dist/_dts/ai/src/contracts/proposals.d.ts +6939 -727
  7. package/dist/_dts/ai/src/designer/themePatch.d.ts +1 -1
  8. package/dist/_dts/api/src/bookingAdjustments.d.ts +30 -36
  9. package/dist/_dts/api/src/bookingRecords.d.ts +6 -74
  10. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +3 -3
  11. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
  12. package/dist/_dts/api/src/contentRuntime.d.ts +9 -2
  13. package/dist/_dts/api/src/courses.d.ts +30 -15
  14. package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +4 -4
  15. package/dist/_dts/api/src/endpoints.d.ts +49 -4
  16. package/dist/_dts/api/src/event-presentation.d.ts +4 -0
  17. package/dist/_dts/api/src/index.d.ts +3 -3
  18. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +2 -2
  19. package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
  20. package/dist/_dts/api/src/sdkContracts.d.ts +108 -18
  21. package/dist/_dts/api/src/siteBanner.d.ts +8 -8
  22. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
  23. package/dist/_dts/api/src/siteOperations.d.ts +12 -20
  24. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +32 -4
  25. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -6
  26. package/dist/_dts/api/src/webhooks.d.ts +98 -1
  27. package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
  28. package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldDefaults.d.ts +3 -12
  29. package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +1 -5
  30. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -10
  31. package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
  32. package/dist/_dts/blocks/src/client.d.ts +4 -1
  33. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -4
  34. package/dist/_dts/blocks/src/index.d.ts +6 -7
  35. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +2 -2
  36. package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -2
  37. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -1
  38. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
  39. package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +2 -4
  40. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -1
  41. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
  42. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
  43. package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +5 -4
  44. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +2 -8
  45. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
  46. package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +2 -2
  47. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +3 -3
  48. package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -1
  49. package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -15
  50. package/dist/_dts/blocks/src/system/blocks/intro.d.ts +2 -2
  51. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +66 -66
  52. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -17
  53. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
  54. package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
  55. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +0 -3
  56. package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
  57. package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
  58. package/dist/_dts/blocks/src/system/fields/ctas.d.ts +2 -1
  59. package/dist/_dts/blocks/src/system/fragments/index.d.ts +0 -1
  60. package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
  61. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +19 -2
  62. package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +8 -70
  63. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +1 -0
  64. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +6 -0
  65. package/dist/_dts/blocks/src/system/node/schema.d.ts +4 -4
  66. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -18
  67. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -9
  68. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
  69. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -10
  70. package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +5 -21
  71. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
  72. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
  73. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
  74. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
  75. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
  76. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
  77. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
  78. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
  79. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
  80. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
  81. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
  82. package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
  83. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
  84. package/dist/_dts/blocks/src/system/runtime/nodes/richText-coerce.d.ts +14 -2
  85. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -3
  86. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
  87. package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
  88. package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
  89. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
  90. package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
  91. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
  92. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +17 -1
  93. package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +1 -1
  94. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +1 -1
  95. package/dist/_dts/content-editor/src/index.d.ts +12 -12
  96. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +3 -2
  97. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +19 -4
  98. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -1
  99. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  100. package/dist/_dts/content-model/src/content-types/builtins.d.ts +3 -15
  101. package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +2 -0
  102. package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
  103. package/dist/_dts/content-model/src/templates/defaults.d.ts +1 -21
  104. package/dist/_dts/core/src/editor-state.d.ts +14 -1
  105. package/dist/_dts/core/src/footer-composition.d.ts +2 -1
  106. package/dist/_dts/core/src/index.d.ts +1 -0
  107. package/dist/_dts/core/src/rich-text.d.ts +16 -0
  108. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +367 -69
  109. package/dist/_dts/editor/src/index.d.ts +1 -1
  110. package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +3 -5
  111. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -1
  112. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -1
  113. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -1
  114. package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +15 -0
  115. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +3 -7
  116. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +12 -0
  117. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
  118. package/dist/_dts/editor-blocks/src/block-editor/utils.d.ts +1 -1
  119. package/dist/_dts/editor-blocks/src/index.d.ts +6 -5
  120. package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
  121. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
  122. package/dist/_dts/media-core/src/contentMediaAudit.d.ts +104 -0
  123. package/dist/_dts/media-core/src/contentMediaAuditFieldAdapter.d.ts +8 -0
  124. package/dist/_dts/media-core/src/contentMediaSnapshotAudit.d.ts +22 -0
  125. package/dist/_dts/media-core/src/index.d.ts +3 -1
  126. package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
  127. package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
  128. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
  129. package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
  130. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
  131. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
  132. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
  133. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
  134. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
  135. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +7 -7
  136. package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
  137. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
  138. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
  139. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
  140. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
  141. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
  142. package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
  143. package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
  144. package/dist/_dts/sdk/src/cli/commands/event.d.ts +18 -1
  145. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +2 -16
  146. package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
  147. package/dist/_dts/sdk/src/cli/content/reader.d.ts +8 -5
  148. package/dist/_dts/sdk/src/client/management/events.d.ts +2 -1
  149. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  150. package/dist/_dts/sdk/src/client/management/types.d.ts +38 -10
  151. package/dist/_dts/sdk/src/config/typed-entries.d.ts +7 -7
  152. package/dist/_dts/sdk/src/config/validation.d.ts +7 -7
  153. package/dist/_dts/sdk/src/contracts/content.d.ts +5 -15
  154. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  155. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -40
  156. package/dist/_dts/sdk/src/contracts/theme.d.ts +2 -18
  157. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
  158. package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +4 -4
  159. package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
  160. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -2
  161. package/dist/_dts/sdk/src/rendering/helpers/index.d.ts +1 -1
  162. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -13
  163. package/dist/_dts/sdk/src/theme/index.d.ts +0 -29
  164. package/dist/_dts/sdk/src/version.d.ts +1 -1
  165. package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
  166. package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
  167. package/dist/_dts/site-commands/src/commands.d.ts +160 -24
  168. package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +2 -2
  169. package/dist/_dts/theme-core/src/buttons/core.d.ts +0 -1
  170. package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +22 -9
  171. package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -2
  172. package/dist/_dts/theme-core/src/buttons/effects/presets/border.d.ts +1 -2
  173. package/dist/_dts/theme-core/src/buttons/effects/presets/overlay.d.ts +3 -1
  174. package/dist/_dts/theme-core/src/buttons/effects/presets/shadow.d.ts +2 -2
  175. package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +8 -18
  176. package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +2 -2
  177. package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -5
  178. package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -5
  179. package/dist/_dts/theme-core/src/buttons/parseThemeForPersistence.d.ts +36 -0
  180. package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
  181. package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
  182. package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
  183. package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
  184. package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
  185. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
  186. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
  187. package/dist/_dts/theme-core/src/buttons/types.d.ts +1638 -93
  188. package/dist/_dts/theme-core/src/cards/types.d.ts +13 -13
  189. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +969 -69
  190. package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
  191. package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +0 -1
  192. package/dist/_dts/theme-core/src/schema.d.ts +1100 -116
  193. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  194. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
  195. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +14 -14
  196. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
  197. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
  198. package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
  199. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
  200. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
  201. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +4 -4
  202. package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
  203. package/dist/cli/index.mjs +7368 -6668
  204. package/dist/cli/init-docs/content/cli-reference.md +40 -1
  205. package/dist/cli/init-docs/content/content-management.md +6 -0
  206. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
  207. package/dist/client/{DiscountCodeDisclosure-DU1ygxU2.mjs → DiscountCodeDisclosure-DIWj-P9v.mjs} +1 -1
  208. package/dist/client/{EventCombined.client-DB5zagCo.mjs → EventCombined.client-De8YWBSr.mjs} +2 -3
  209. package/dist/client/{EventListing.client-CTX9JHBL.mjs → EventListing.client-seHTjimY.mjs} +2 -2
  210. package/dist/client/{LeafletStaticMap-BYImhgiB.mjs → LeafletStaticMap-BmQxFcJW.mjs} +1 -1
  211. package/dist/client/{MagicLinkForm-CRkw_M3l.mjs → MagicLinkForm-OoJAIUIj.mjs} +1 -2
  212. package/dist/client/{StepIndicator-BnmVBJJh.mjs → StepIndicator-CiZ8kdPk.mjs} +2 -2
  213. package/dist/client/{accordion-CeGreumd.mjs → accordion-6lnN__XJ.mjs} +1 -1
  214. package/dist/client/{bookingForm-CSzFNrpN.mjs → bookingForm-5uyqhONU.mjs} +6 -7
  215. package/dist/client/bookings.mjs +9179 -5865
  216. package/dist/client/{carousel-B2jDtogf.mjs → carousel-Dtnifil_.mjs} +1 -1
  217. package/dist/client/{cart-D-jZ-vaY.mjs → cart-5Tc5S7NV.mjs} +3 -3
  218. package/dist/client/{checkout-Dza-LA7N.mjs → checkout-CYKKN5Hr.mjs} +3 -3
  219. package/dist/client/client.mjs +3252 -3361
  220. package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorStyles-BWpj_h4C.mjs} +118 -1
  221. package/dist/client/{courseRegistration-TYkNychb.mjs → courseRegistration-CxCBybB4.mjs} +100 -37
  222. package/dist/client/{eventCalendar-BI_90SsT.mjs → eventCalendar-Xj2jZS9X.mjs} +4 -5
  223. package/dist/client/{eventCombined-mNrpryE9.mjs → eventCombined-CgcMoOgM.mjs} +2 -2
  224. package/dist/client/{eventDetails-D4GVlCIY.mjs → eventDetails-CEAH8Edc.mjs} +3 -3
  225. package/dist/client/{eventListing-YhKN018y.mjs → eventListing-qyPVQ0wP.mjs} +2 -2
  226. package/dist/client/{eventRegistration-CdHGtilr.mjs → eventRegistration-DDu79CtL.mjs} +6 -7
  227. package/dist/client/{form-AcAL45rA.mjs → form-Bc7JKI7I.mjs} +1 -2
  228. package/dist/client/{headerSection-uEC52ueD.mjs → headerSection-vTku_LEl.mjs} +2 -3
  229. package/dist/client/hooks.mjs +1774 -2273
  230. package/dist/client/{locationMap-_wJDSUYe.mjs → locationMap-Bg7X4Jna.mjs} +8 -5
  231. package/dist/client/{media-BK0O3b-U.mjs → media-CNE1Z-wb.mjs} +1 -2
  232. package/dist/client/{newsletterForm-DrArsb2B.mjs → newsletterForm-lpylVdp5.mjs} +1 -2
  233. package/dist/client/{pricing-BSYVghwo.mjs → pricing-DE8fjJiT.mjs} +1 -1
  234. package/dist/client/{productDetail-Dyk90sMs.mjs → productDetail-D7Bo2RMH.mjs} +3 -3
  235. package/dist/client/{productList-BCKThwAI.mjs → productList-VjnZqiqN.mjs} +3 -3
  236. package/dist/client/{propsDecoder-CkXxkdSR.mjs → propsDecoder-DreFXjNP.mjs} +4256 -443
  237. package/dist/client/rendering/client.mjs +21776 -21970
  238. package/dist/client/rendering/islands.mjs +20 -20
  239. package/dist/client/rendering.mjs +3092 -3322
  240. package/dist/client/{shop-DeltVH10.mjs → shop-IRsHHbf7.mjs} +5 -6
  241. package/dist/client/{shop-commerce-BD9Jsm2Z.mjs → shop-commerce-gnI8PieZ.mjs} +27 -11
  242. package/dist/client/{shop-commerce-store-CmXD6FDS.mjs → shop-commerce-store-BTbrhObn.mjs} +1 -1
  243. package/dist/client/{shopShared-B8v-lH_F.mjs → shopShared-D6KS2_qk.mjs} +3 -3
  244. package/dist/client/{useDiscountCodeUi-DbWJN8ld.mjs → useDiscountCodeUi-DCccGCxV.mjs} +1 -1
  245. package/dist/client/{useEventFilters-EJIMUnqT.mjs → useEventFilters-eGs3rPZQ.mjs} +24 -126
  246. package/dist/client/{usePolling-Cmh14fc7.mjs → usePolling-CvSU2sur.mjs} +2 -2
  247. package/dist/preview-next/before-render.mjs +94 -6
  248. package/dist/preview-next/client/runtime.mjs +4 -4
  249. package/dist/preview-next/middleware.mjs +94 -6
  250. package/dist/{previewAuthStore-CTO7CRPk.mjs → previewAuthStore-DN7vcRsv.mjs} +94 -6
  251. package/dist/{sdk-runtime-Dou0GAav.mjs → sdk-runtime-vW8QbyPN.mjs} +2 -2
  252. package/dist/{separator-CI5wZNXT.mjs → separator-DJ4bkeY3.mjs} +1 -1
  253. package/dist/server/components.mjs +5194 -5568
  254. package/dist/server/config-template-validation.mjs +4 -23
  255. package/dist/server/config-validation.mjs +1774 -2273
  256. package/dist/server/config.mjs +2043 -2508
  257. package/dist/server/data.mjs +1774 -2273
  258. package/dist/server/index.mjs +95 -7
  259. package/dist/server/next/revalidate.mjs +53 -1
  260. package/dist/server/next.mjs +5337 -5632
  261. package/dist/server/page-converter.mjs +1833 -2307
  262. package/dist/server/prebuild.mjs +1 -1
  263. package/dist/server/rendering/server.mjs +6713 -4874
  264. package/dist/server/rendering.mjs +5203 -5586
  265. package/dist/server/routing.mjs +2199 -2698
  266. package/dist/server/server.mjs +1885 -2355
  267. package/dist/server/theme-bridge.mjs +1986 -2222
  268. package/dist/server/theme.mjs +2367 -1581
  269. package/dist/server/webhooks.mjs +54 -2
  270. package/package.json +1 -1
  271. package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +0 -40
  272. package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -19
  273. package/dist/_dts/media-core/src/legacyMediaValue.d.ts +0 -11
  274. package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
  275. package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
  276. package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
  277. package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
  278. package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
  279. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
  280. package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
  281. package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
  282. package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
  283. package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
  284. package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
  285. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
  286. package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
  287. package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
  288. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -285
  289. package/dist/_dts/theme-core/src/styles/buttons.d.ts +0 -27
  290. package/dist/_dts/theme-core/src/styles/buttonsLibrary.d.ts +0 -2
  291. package/dist/_dts/theme-core/src/styles/glow.d.ts +0 -3
  292. package/dist/client/buttons-DoFV7KDL.mjs +0 -2115
  293. package/dist/client/colorStyles-CrgzoXsm.mjs +0 -99
  294. package/dist/client/foregroundContract-xICPq59x.mjs +0 -31
@@ -3,7 +3,7 @@ import { type Theme } from '../../../theme-core/src/index';
3
3
  import { type ParsedRfc6902JsonPointerPath } from './rfc6902';
4
4
  export declare const DEFAULT_THEME_PATCH_MAX_OPS = 25;
5
5
  export declare const DEFAULT_THEME_PATCH_MAX_SERIALIZED_BYTES = 20000;
6
- export declare const DEFAULT_THEME_PATCH_FORBIDDEN_PATH_PREFIXES: readonly ["/axes"];
6
+ export declare const DEFAULT_THEME_PATCH_FORBIDDEN_PATH_PREFIXES: readonly ["/axes", "/palette"];
7
7
  export declare const SUPPORTED_THEME_PATCH_OPS: readonly ["add", "replace", "remove"];
8
8
  type JsonPrimitive = string | number | boolean | null;
9
9
  type JsonValue = JsonPrimitive | JsonValue[] | {
@@ -1,5 +1,5 @@
1
- import type { CustomerMembershipCancellationResultKind, CustomerMembershipPaymentRefundFailedCode, CustomerMembershipPaymentRefundSkippedCode } from "./customerMembershipOutcomes";
2
- import type { CustomerPassRefundFailedCode, CustomerPassRefundSkippedCode } from "./bookingRefundOutcomes";
1
+ import type { CustomerMembershipCancellationResultKind, CustomerMembershipPaymentRefundFailedCode, CustomerMembershipPaymentRefundSkippedCode } from './customerMembershipOutcomes';
2
+ import type { CustomerPassRefundFailedCode, CustomerPassRefundSkippedCode } from './bookingRefundOutcomes';
3
3
  /**
4
4
  * Booking Adjustment Contracts
5
5
  *
@@ -12,10 +12,10 @@ import type { CustomerPassRefundFailedCode, CustomerPassRefundSkippedCode } from
12
12
  */
13
13
  export type ConvertCreditRefundToCashRequest = {
14
14
  source: {
15
- kind: "pass_order_refund";
15
+ kind: 'pass_order_refund';
16
16
  refundId: string;
17
17
  } | {
18
- kind: "membership_order_refund";
18
+ kind: 'membership_order_refund';
19
19
  refundId: string;
20
20
  };
21
21
  amountCents?: number;
@@ -60,7 +60,7 @@ export type AdjustCustomerPassDetailsResponse = {
60
60
  passId: string;
61
61
  creditsRemaining: number;
62
62
  creditsTotal: number;
63
- status: "active" | "exhausted" | "expired" | "refunded";
63
+ status: 'active' | 'exhausted' | 'expired' | 'refunded';
64
64
  purchasedAt: string;
65
65
  expiresAt: string | null;
66
66
  };
@@ -81,7 +81,7 @@ export type AssignCustomerMembershipResponse = {
81
81
  };
82
82
  type CustomerPassRefundBase = {
83
83
  refundRecordId: string;
84
- refundMethod: "cash" | "credit" | "mixed" | null;
84
+ refundMethod: 'cash' | 'credit' | 'mixed' | null;
85
85
  amountCents: number | null;
86
86
  currency: string | null;
87
87
  paymentLast4: string | null;
@@ -91,23 +91,23 @@ type CustomerPassRefundBase = {
91
91
  remainingRefundableCents?: number | null;
92
92
  };
93
93
  export type CustomerPassRefundResult = (CustomerPassRefundBase & {
94
- status: "succeeded";
94
+ status: 'succeeded';
95
95
  }) | (CustomerPassRefundBase & {
96
- status: "failed";
96
+ status: 'failed';
97
97
  errorCode: CustomerPassRefundFailedCode;
98
98
  errorMessage: string;
99
99
  }) | (CustomerPassRefundBase & {
100
- status: "skipped";
100
+ status: 'skipped';
101
101
  errorCode: CustomerPassRefundSkippedCode;
102
102
  errorMessage: string;
103
103
  });
104
104
  export type CustomerPassRefundRecord = {
105
105
  id: string;
106
106
  customerPassId: string;
107
- refundMethod: "cash" | "credit" | "mixed";
107
+ refundMethod: 'cash' | 'credit' | 'mixed';
108
108
  amountCents: number;
109
109
  currency: string;
110
- status: "pending" | "succeeded" | "failed";
110
+ status: 'pending' | 'succeeded' | 'failed';
111
111
  failureCode: string | null;
112
112
  failureMessage: string | null;
113
113
  stripeRefundId: string | null;
@@ -121,7 +121,7 @@ export type CustomerPassRefundRecord = {
121
121
  export type RefundCustomerPassRequest = {
122
122
  paymentReceiptId?: string;
123
123
  amountCents?: number;
124
- refundMethod?: "cash" | "credit";
124
+ refundMethod?: 'cash' | 'credit';
125
125
  reason?: string | null;
126
126
  revokePass?: boolean;
127
127
  idempotencyKey?: string;
@@ -133,10 +133,7 @@ export type ListCustomerPassRefundsResponse = {
133
133
  refunds: CustomerPassRefundRecord[];
134
134
  };
135
135
  export type MembershipPaymentForRefund = {
136
- paymentReceiptId: string | null;
137
- stripeInvoiceId: string;
138
- stripePaymentIntentId: string | null;
139
- status: string | null;
136
+ paymentReceiptId: string;
140
137
  amountPaidCents: number;
141
138
  amountRefundedCents: number;
142
139
  remainingRefundableCents: number;
@@ -150,16 +147,16 @@ export type ListCustomerMembershipPaymentsResponse = {
150
147
  };
151
148
  export type CancelCustomerMembershipAtPeriodEndRequest = Record<string, never>;
152
149
  export type CancelCustomerMembershipAtPeriodEndResult = {
153
- kind: Extract<CustomerMembershipCancellationResultKind, "already_cancelled">;
150
+ kind: Extract<CustomerMembershipCancellationResultKind, 'already_cancelled'>;
154
151
  message: string;
155
152
  } | {
156
- kind: Extract<CustomerMembershipCancellationResultKind, "not_stripe_managed">;
153
+ kind: Extract<CustomerMembershipCancellationResultKind, 'not_stripe_managed'>;
157
154
  message: string;
158
155
  } | {
159
- kind: Extract<CustomerMembershipCancellationResultKind, "stripe_not_connected">;
156
+ kind: Extract<CustomerMembershipCancellationResultKind, 'stripe_not_connected'>;
160
157
  message: string;
161
158
  } | {
162
- kind: Extract<CustomerMembershipCancellationResultKind, "cancellation_scheduled">;
159
+ kind: Extract<CustomerMembershipCancellationResultKind, 'cancellation_scheduled'>;
163
160
  message: string;
164
161
  };
165
162
  export type CancelCustomerMembershipAtPeriodEndResponse = {
@@ -167,35 +164,33 @@ export type CancelCustomerMembershipAtPeriodEndResponse = {
167
164
  };
168
165
  type CustomerMembershipPaymentRefundBase = {
169
166
  refundRecordId: string;
170
- refundMethod: "cash" | "credit" | "mixed" | null;
167
+ refundMethod: 'cash' | 'credit' | 'mixed' | null;
171
168
  amountCents: number | null;
172
169
  currency: string | null;
173
170
  paymentLast4: string | null;
174
171
  stripeRefundId: string | null;
175
- stripeInvoiceId: string;
176
172
  totalRefundedCents?: number;
177
173
  remainingRefundableCents?: number | null;
178
174
  };
179
175
  export type CustomerMembershipPaymentRefundResult = (CustomerMembershipPaymentRefundBase & {
180
- status: "succeeded";
176
+ status: 'succeeded';
181
177
  }) | (CustomerMembershipPaymentRefundBase & {
182
- status: "failed";
178
+ status: 'failed';
183
179
  errorCode: CustomerMembershipPaymentRefundFailedCode;
184
180
  errorMessage: string;
185
181
  }) | (CustomerMembershipPaymentRefundBase & {
186
- status: "skipped";
182
+ status: 'skipped';
187
183
  errorCode: CustomerMembershipPaymentRefundSkippedCode;
188
184
  errorMessage: string;
189
185
  });
190
186
  export type CustomerMembershipPaymentRefundRecord = {
191
187
  id: string;
192
188
  customerMembershipId: string;
193
- stripeInvoiceId: string;
194
189
  stripePaymentIntentId: string | null;
195
- refundMethod: "cash" | "credit" | "mixed";
190
+ refundMethod: 'cash' | 'credit' | 'mixed';
196
191
  amountCents: number;
197
192
  currency: string;
198
- status: "pending" | "succeeded" | "failed";
193
+ status: 'pending' | 'succeeded' | 'failed';
199
194
  failureCode: string | null;
200
195
  failureMessage: string | null;
201
196
  stripeRefundId: string | null;
@@ -205,10 +200,9 @@ export type CustomerMembershipPaymentRefundRecord = {
205
200
  createdAt: string;
206
201
  };
207
202
  export type RefundCustomerMembershipPaymentRequest = {
208
- stripeInvoiceId: string;
209
- paymentReceiptId?: string;
203
+ paymentReceiptId: string;
210
204
  amountCents?: number;
211
- refundMethod?: "cash" | "credit";
205
+ refundMethod?: 'cash' | 'credit';
212
206
  reason?: string | null;
213
207
  idempotencyKey?: string;
214
208
  };
@@ -230,9 +224,9 @@ export type OrderRefundLineAllocation = {
230
224
  export type OrderRefundRecord = {
231
225
  id: string;
232
226
  orderId: string;
233
- status: "pending" | "succeeded" | "failed" | "reconciliation_needed";
234
- refundMode: "refund_only" | "refund_and_revoke";
235
- entitlementActionStatus: "not_requested" | "pending" | "succeeded" | "reconciliation_needed";
227
+ status: 'pending' | 'succeeded' | 'failed' | 'reconciliation_needed';
228
+ refundMode: 'refund_only' | 'refund_and_revoke';
229
+ entitlementActionStatus: 'not_requested' | 'pending' | 'succeeded' | 'reconciliation_needed';
236
230
  amountRequestedCents: number;
237
231
  amountRefundedCents: number;
238
232
  currency: string;
@@ -242,10 +236,10 @@ export type OrderRefundRecord = {
242
236
  stripePaymentIntentId: string | null;
243
237
  paymentLast4: string | null;
244
238
  reason: string | null;
245
- initiatedBy: "admin" | "customer" | "system";
239
+ initiatedBy: 'admin' | 'customer' | 'system';
246
240
  initiatorCustomerId: string | null;
247
241
  initiatorUserId: string | null;
248
- refundRail: "cash" | "credit" | "mixed";
242
+ refundRail: 'cash' | 'credit' | 'mixed';
249
243
  lineAllocations: OrderRefundLineAllocation[];
250
244
  createdAt: string;
251
245
  updatedAt: string;
@@ -1,4 +1,5 @@
1
1
  import type { PersonRecordNoteKind } from '../../core/src/index';
2
+ import type { RichTextDoc } from '../../blocks/src/index';
2
3
  import type { EventTicketBreakdownLine } from './bookingOperations';
3
4
  /**
4
5
  * Booking Record Contracts
@@ -114,7 +115,7 @@ export type CreatePersonRecordEntryRequest = {
114
115
  subject: PersonRecordEntrySubject;
115
116
  entryKind: PersonRecordNoteKind;
116
117
  supersedesEntryId?: string | null;
117
- body: Record<string, unknown>;
118
+ body: RichTextDoc;
118
119
  };
119
120
  export type CreatePersonRecordEntryResponse = {
120
121
  success: true;
@@ -443,7 +444,7 @@ export type BookingCustomerWithCounts = {
443
444
  export type CustomerLifecycleSegmentCode = 'new' | 'active' | 'at_risk' | 'lapsed' | 'unclassified';
444
445
  export type CustomerLifecycleFlagCode = 'high_value';
445
446
  export type CustomerAggregateCoverage = 'available' | 'unavailable' | 'deferred';
446
- export type CustomerFinancialCoverage = 'available' | 'no_completed_payments' | 'mixed_currency' | 'unavailable';
447
+ export type CustomerFinancialCoverage = 'available' | 'no_completed_payments' | 'mixed_currency';
447
448
  export type CustomerWaitlistStatus = 'none' | 'waiting' | 'hold_active' | 'multiple';
448
449
  export type CustomerBookingActivitySummary = {
449
450
  firstBookingAt: string | null;
@@ -657,16 +658,6 @@ export type SiteCustomerMembershipRecord = CustomerMembershipRecord & {
657
658
  cancelAtPeriodEnd: boolean;
658
659
  /** True when this membership is managed by Stripe (has a subscription ID). */
659
660
  stripeManaged: boolean;
660
- /**
661
- * Latest membership invoice payment summary (when available).
662
- * Used to preselect an invoice and show refund/history actions consistently with Payments.
663
- */
664
- latestPaymentSummary: {
665
- stripeInvoiceId: string | null;
666
- amountPaidCents: number;
667
- amountRefundedCents: number;
668
- currency: string;
669
- } | null;
670
661
  };
671
662
  export type ListSiteCustomerMembershipsRequest = {
672
663
  /**
@@ -688,51 +679,6 @@ export type ListSiteCustomerMembershipsResponse = {
688
679
  customerMemberships: SiteCustomerMembershipRecord[];
689
680
  count: number;
690
681
  };
691
- export type BookingPaymentKind = 'event' | 'pass_purchase' | 'membership_invoice' | 'course';
692
- export type BookingPaymentStatus = 'paid' | 'partially_refunded' | 'refunded' | 'failed' | 'pending';
693
- export type BookingPaymentsView = 'successful' | 'refunds' | 'failed' | 'pending' | 'all';
694
- export type BookingPaymentListItem = {
695
- id: string;
696
- kind: BookingPaymentKind;
697
- status: BookingPaymentStatus;
698
- provider?: 'stripe' | 'internal';
699
- amountPaidCents: number;
700
- amountSubtotalCents?: number;
701
- amountRefundedCents: number;
702
- amountDiscountCents?: number;
703
- currency: string;
704
- createdAt: string;
705
- stripeCheckoutSessionId: string | null;
706
- stripePaymentIntentId: string | null;
707
- stripeInvoiceId: string | null;
708
- eventAttendeeId: string | null;
709
- customerPassId: string | null;
710
- customerMembershipId: string | null;
711
- courseEnrollmentId?: string | null;
712
- discountCode?: string | null;
713
- discountPublicLabel?: string | null;
714
- customer: SiteCustomerRecord;
715
- sourceLabel: string;
716
- };
717
- export type ListBookingPaymentsRequest = {
718
- search?: string;
719
- kind?: BookingPaymentKind;
720
- view?: BookingPaymentsView;
721
- customerId?: string;
722
- stripeCheckoutSessionId?: string;
723
- from?: string;
724
- to?: string;
725
- limit?: number;
726
- offset?: number;
727
- };
728
- export type ListBookingPaymentsResponse = {
729
- payments: BookingPaymentListItem[];
730
- pagination: {
731
- limit: number;
732
- offset: number;
733
- hasMore: boolean;
734
- };
735
- };
736
682
  export type EventCategoryRecord = {
737
683
  id: string;
738
684
  siteId: string;
@@ -783,22 +729,8 @@ export type BookingActivityListItem = {
783
729
  relatedCustomer: SiteCustomerRecord | null;
784
730
  amountCents: number | null;
785
731
  currency: string | null;
786
- payment: {
787
- id: string | null;
788
- provider: BookingPaymentListItem['provider'] | null;
789
- status: string | null;
790
- method: string | null;
791
- stripeCheckoutSessionId: string | null;
792
- stripePaymentIntentId: string | null;
793
- stripeInvoiceId: string | null;
794
- amountPaidCents: number | null;
795
- amountSubtotalCents: number | null;
796
- amountDiscountCents: number | null;
797
- amountRefundedCents: number | null;
798
- discountCode: string | null;
799
- discountPublicLabel: string | null;
800
- } | null;
801
732
  refs: {
733
+ orderId: string | null;
802
734
  appointmentId: string | null;
803
735
  eventAttendeeId: string | null;
804
736
  eventSeriesId: string | null;
@@ -1037,13 +969,13 @@ export type MoneyPaymentListItem = {
1037
969
  kind: 'available';
1038
970
  } | {
1039
971
  kind: 'unavailable';
1040
- reason: 'manual_receipt' | 'provider_target_mismatch' | 'fully_refunded' | 'refund_attribution_pending';
972
+ reason: 'manual_receipt' | 'provider_target_mismatch' | 'fully_refunded' | 'payment_reconciliation_pending';
1041
973
  };
1042
974
  } | {
1043
975
  kind: 'unavailable';
1044
976
  reason: 'multiple_allocations' | 'unresolved_allocation' | 'product';
1045
977
  };
1046
- status: 'paid' | 'partially_refunded' | 'refunded' | 'refund_attribution_pending';
978
+ status: 'paid' | 'partially_refunded' | 'refunded' | 'payment_reconciliation_pending';
1047
979
  purpose: 'initial_checkout' | 'flexible_balance_paydown' | 'instalment' | 'instalment_payoff' | 'subscription_renewal';
1048
980
  rail: 'stripe_checkout' | 'stripe_invoice' | 'manual';
1049
981
  provenance: 'live' | 'backfilled_exact';
@@ -5,14 +5,14 @@ export declare const EVENT_ATTENDEE_REFUND_INVALID_CODES: readonly ["manual_book
5
5
  export type EventAttendeeRefundInvalidCode = (typeof EVENT_ATTENDEE_REFUND_INVALID_CODES)[number];
6
6
  export declare const CUSTOMER_PASS_REFUND_INVALID_CODES: readonly ["credit_refunds_disabled", "not_refundable", "invalid_amount", "amount_exceeds_remaining", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "pass_revoke_requires_full_refund"];
7
7
  export type CustomerPassRefundInvalidCode = (typeof CUSTOMER_PASS_REFUND_INVALID_CODES)[number];
8
- export declare const CUSTOMER_PASS_REFUND_FAILED_CODES: readonly ["not_found", "credit_refunds_disabled", "payment_intent_lookup_failed", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
8
+ export declare const CUSTOMER_PASS_REFUND_FAILED_CODES: readonly ["not_found", "credit_refunds_disabled", "payment_intent_lookup_failed", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
9
9
  export type CustomerPassRefundFailedCode = (typeof CUSTOMER_PASS_REFUND_FAILED_CODES)[number];
10
10
  export declare const CUSTOMER_PASS_REFUND_SKIPPED_CODES: readonly ["not_refundable"];
11
11
  export type CustomerPassRefundSkippedCode = (typeof CUSTOMER_PASS_REFUND_SKIPPED_CODES)[number];
12
12
  export type CustomerPassRefundErrorCode = CustomerPassRefundFailedCode | CustomerPassRefundSkippedCode;
13
- export declare const EVENT_ATTENDEE_REFUND_FAILED_CODES: readonly ["not_found", "refund_not_allowed", "manual_booking_not_refundable", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
13
+ export declare const EVENT_ATTENDEE_REFUND_FAILED_CODES: readonly ["not_found", "refund_not_allowed", "manual_booking_not_refundable", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
14
14
  export type EventAttendeeRefundFailedCode = (typeof EVENT_ATTENDEE_REFUND_FAILED_CODES)[number];
15
- export declare const COURSE_ENROLLMENT_REFUND_FAILED_CODES: readonly ["not_found", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
15
+ export declare const COURSE_ENROLLMENT_REFUND_FAILED_CODES: readonly ["not_found", "missing_amount", "invalid_amount", "amount_exceeds_remaining", "credit_refunds_disabled", "missing_credit_customer", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "unified_order_link_required", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
16
16
  export type CourseEnrollmentRefundFailedCode = (typeof COURSE_ENROLLMENT_REFUND_FAILED_CODES)[number];
17
17
  export declare function isCustomerPassRefundFailedCode(code: string): code is CustomerPassRefundFailedCode;
18
18
  export declare function isEventAttendeeRefundFailedCode(code: string): code is EventAttendeeRefundFailedCode;
@@ -4,7 +4,7 @@ import type { DeleteAccountRequest, DeleteAccountResponse } from "./accessAdmin"
4
4
  import type { AiPlaygroundApplyRequest, AiPlaygroundApplyResponse } from "./aiPlayground";
5
5
  import type { BillingCheckoutRequest, BillingCheckoutResponse, BillingStatusResponse, BillingSummaryResponse, SiteBillingCheckoutResponse, SiteBillingCostResponse } from "./billing";
6
6
  import type { CreateSiteFontUploadUrlRequest, CreateSiteFontUploadUrlResponse, DeleteSiteFontFileRequest, DeleteSiteFontFileResponse, ExportBackupRequest, FontRecord, GetSiteFontResponse, ListPublicSiteFontsResponse, ListSiteFontsResponse, UpdateSiteFontRequest, UpdateSiteFontResponse, UploadSiteFontRequest, UploadSiteFontResponse } from "./siteAssets";
7
- import type { AdminSiteCostResponse, AdminResolveSiteBillingManualReviewRequest, AdminResolveSiteBillingManualReviewResponse, AdminScheduleBillingComponentEndRequest, AdminScheduleBillingComponentEndResponse, AdminUpdateSiteCostRequest, AdminUpdateSiteCostResponse, CancelFlexibleBalanceBookingDueToNonPaymentRequest, CancelShopOrderItemRequest, CancelShopOrderItemResponse, CancelShopOrderRequest, CancelShopOrderResponse, CreateShopOrderPaymentLinkResponse, CreateOrderShipmentRequest, CreateOrderShipmentResponse, EditShopOrderAddressRequest, FlexibleBalanceAdminActionResponse, PortalAppointmentWithDetails, RefundShopOrderResponse, ReopenFlexibleBalanceBookingAfterNonPaymentCancellationRequest, SendShopOrderPaymentReminderResponse, SettleShopOrderPaymentRequest, SettleShopOrderPaymentResponse, ShopOrderDigitalFulfillmentRequest } from "./siteOperations";
7
+ import type { AdminSiteBillingArrangementResponse, AdminResolveSiteBillingManualReviewRequest, AdminResolveSiteBillingManualReviewResponse, AdminScheduleBillingComponentEndRequest, AdminScheduleBillingComponentEndResponse, AdminUpdateSiteBillingArrangementRequest, AdminUpdateSiteBillingArrangementResponse, CancelFlexibleBalanceBookingDueToNonPaymentRequest, CancelShopOrderItemRequest, CancelShopOrderItemResponse, CancelShopOrderRequest, CancelShopOrderResponse, CreateShopOrderPaymentLinkResponse, CreateOrderShipmentRequest, CreateOrderShipmentResponse, EditShopOrderAddressRequest, FlexibleBalanceAdminActionResponse, PortalAppointmentWithDetails, RefundShopOrderResponse, ReopenFlexibleBalanceBookingAfterNonPaymentCancellationRequest, SendShopOrderPaymentReminderResponse, SettleShopOrderPaymentRequest, SettleShopOrderPaymentResponse, ShopOrderDigitalFulfillmentRequest } from "./siteOperations";
8
8
  export type DemoClaimBlueprintSlug = 'lotus-studio' | 'healing-hands' | 'isobel-studio' | 'clayfield';
9
9
  /**
10
10
  * Commerce and portal endpoints cover billing/account actions, portal customer flows,
@@ -58,12 +58,12 @@ export type CommercePortalAPIEndpoints = {
58
58
  exportSiteBackup: APIEndpoint<ExportBackupRequest, {
59
59
  siteId: string;
60
60
  }, Blob>;
61
- adminSiteCost: APIEndpoint<never, {
61
+ adminSiteBillingArrangement: APIEndpoint<never, {
62
62
  siteId: string;
63
- }, AdminSiteCostResponse>;
64
- adminUpdateSiteCost: APIEndpoint<AdminUpdateSiteCostRequest, {
63
+ }, AdminSiteBillingArrangementResponse>;
64
+ adminUpdateSiteBillingArrangement: APIEndpoint<AdminUpdateSiteBillingArrangementRequest, {
65
65
  siteId: string;
66
- }, AdminUpdateSiteCostResponse>;
66
+ }, AdminUpdateSiteBillingArrangementResponse>;
67
67
  adminScheduleBillingComponentEnd: APIEndpoint<AdminScheduleBillingComponentEndRequest, {
68
68
  siteId: string;
69
69
  componentId: string;
@@ -125,6 +125,9 @@ export type PageSurfaceEditorDocument<TContent = Record<string, unknown>> = {
125
125
  publishedContent: TContent | null;
126
126
  optimisticHash: string;
127
127
  };
128
+ export type PublishEventOfferingPageSurfaceResponse = {
129
+ publication: 'published' | 'noChange';
130
+ };
128
131
  export type ContentEntryDetailResponse<TContent = Record<string, unknown>> = {
129
132
  entry: ContentEntryDetail<TContent>;
130
133
  optimisticHash?: string | null;
@@ -369,7 +372,7 @@ export type SiteBySlugResponse = {
369
372
  * site_theme_selections rows (pre-migration) still satisfy the response
370
373
  * type — consumers fall back to the site style's defaults when null.
371
374
  */
372
- selectionButtonPersonalityId?: string | null;
375
+ selectionButtonStyleSelection?: import('../../theme-core/src/buttons/index').ButtonStyleSelection | null;
373
376
  runtimePaletteState?: AuthoritativeRuntimePaletteState | null;
374
377
  selectionHeaderLayoutId?: string | null;
375
378
  selectionHeaderStyleId?: string | null;
@@ -432,6 +435,9 @@ export type BlockListItem = {
432
435
  publishedContent?: Record<string, unknown> | null;
433
436
  optimisticHash?: string | null;
434
437
  };
438
+ export type RevisionedBlockListItem = Omit<BlockListItem, 'optimisticHash'> & {
439
+ optimisticHash: string;
440
+ };
435
441
  export type EntryPageContentSlotAllowedBlocks = Readonly<{
436
442
  kind: 'default';
437
443
  blockKinds: readonly string[];
@@ -448,8 +454,9 @@ export type EntryPageContentSlot = Readonly<{
448
454
  allowedBlocks: EntryPageContentSlotAllowedBlocks;
449
455
  blocks: readonly BlockListItem[];
450
456
  }>;
451
- export type PageSurfaceContentSlot = EntryPageContentSlot & Readonly<{
457
+ export type PageSurfaceContentSlot = Omit<EntryPageContentSlot, 'blocks'> & Readonly<{
452
458
  compositionHash: string;
459
+ blocks: readonly RevisionedBlockListItem[];
453
460
  }>;
454
461
  export type EntryPageContentSlotWarning = Readonly<{
455
462
  kind: 'orphaned-slot-hidden';
@@ -21,7 +21,14 @@ export type CourseSessionInput = {
21
21
  startsAt: string;
22
22
  endsAt: string;
23
23
  };
24
- export type CreateCourseRequest = {
24
+ export type DatedOfferingContentIntent = Readonly<{
25
+ kind: 'sharedOfferingContent';
26
+ eventOfferingId: string;
27
+ }> | Readonly<{
28
+ kind: 'seriesSpecificContent';
29
+ eventOfferingId: string;
30
+ }>;
31
+ type CreateCourseRequestFields = {
25
32
  enrollmentCapacity?: number | null;
26
33
  acceptsMemberships?: boolean;
27
34
  waitlistMode?: WaitlistOverride;
@@ -40,11 +47,18 @@ export type CreateCourseRequest = {
40
47
  staffMemberIds?: string[];
41
48
  mainHostStaffMemberId?: string | null;
42
49
  sessions: CourseSessionInput[];
43
- programId?: string | null;
44
- contentEntryId?: string | null;
45
50
  defaultStartTime?: string;
46
51
  durationMinutes?: number;
47
52
  };
53
+ export type CreateCourseRequest = CreateCourseRequestFields & (Readonly<{
54
+ offeringContent?: never;
55
+ programId?: string | null;
56
+ contentEntryId?: string | null;
57
+ }> | Readonly<{
58
+ offeringContent: DatedOfferingContentIntent;
59
+ programId?: never;
60
+ contentEntryId?: never;
61
+ }>);
48
62
  export type CourseSeriesRecord = {
49
63
  id: string;
50
64
  title: string;
@@ -176,39 +190,39 @@ export type DuplicateCourseRequest = {
176
190
  export type DuplicateCourseResponse = {
177
191
  course: CourseRecord;
178
192
  };
179
- export type CourseContentOwnershipBlocker = "invalidScope" | "notSharedOfferingContent" | "notSeriesSpecificContent" | "invalidSlug" | "routePathConflict" | "missingOfferingSurface" | "missingProgramRoute" | "missingSourceContent" | "existingSeriesSurface" | "invalidSourceSlotComposition" | "missingSourceBlockContent" | "seriesSurfaceNotDraft" | "seriesContentChanged" | "stalePreview";
193
+ export type CourseContentOwnershipBlocker = 'invalidScope' | 'notSharedOfferingContent' | 'notSeriesSpecificContent' | 'invalidSlug' | 'routePathConflict' | 'missingOfferingSurface' | 'missingProgramRoute' | 'missingSourceContent' | 'existingSeriesSurface' | 'invalidSourceSlotComposition' | 'missingSourceBlockContent' | 'seriesSurfaceNotDraft' | 'seriesContentChanged' | 'stalePreview';
180
194
  export type CourseContentOwnershipRequest = {
181
- action: "preview-separate" | "apply-separate";
195
+ action: 'preview-separate' | 'apply-separate';
182
196
  eventSeriesId: string;
183
197
  proposedSlug: string;
184
198
  } | {
185
- action: "preview-shared" | "apply-shared";
199
+ action: 'preview-shared' | 'apply-shared';
186
200
  eventSeriesId: string;
187
201
  };
188
202
  export type CourseContentOwnershipResponse = {
189
- kind: "blocked";
203
+ kind: 'blocked';
190
204
  blockers: readonly CourseContentOwnershipBlocker[];
191
205
  } | {
192
- kind: "separate-preview";
206
+ kind: 'separate-preview';
193
207
  proposedSlug: string;
194
208
  proposedPath: string;
195
209
  copiedSlotCount: number;
196
210
  summary: readonly [
197
- "Create a draft page for this run",
198
- "Copy the shared content and editable sections",
199
- "Give the run its own draft URL"
211
+ 'Create a draft page for this run',
212
+ 'Copy the shared content and editable sections',
213
+ 'Give the run its own draft URL'
200
214
  ];
201
215
  } | {
202
- kind: "shared-preview";
216
+ kind: 'shared-preview';
203
217
  summary: readonly [
204
218
  "Remove this run's separate draft page",
205
- "Use the shared course content again"
219
+ 'Use the shared course content again'
206
220
  ];
207
221
  } | {
208
- kind: "separate-applied";
222
+ kind: 'separate-applied';
209
223
  pageSurfaceId: string;
210
224
  } | {
211
- kind: "shared-applied";
225
+ kind: 'shared-applied';
212
226
  };
213
227
  export type CourseEnrollmentStatus = 'pending_payment' | 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
214
228
  export type CourseEnrollmentPaymentMethod = 'free' | 'membership' | 'stripe' | null;
@@ -298,3 +312,4 @@ export type UpdateCourseEnrollmentRequest = {
298
312
  export type UpdateCourseEnrollmentResponse = {
299
313
  enrollment: CourseEnrollmentRecord;
300
314
  };
315
+ export {};
@@ -1,15 +1,15 @@
1
1
  export declare const CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS: readonly ["already_cancelled", "not_stripe_managed", "stripe_not_connected", "cancellation_scheduled"];
2
2
  export type CustomerMembershipCancellationResultKind = (typeof CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS)[number];
3
- export declare const CANONICAL_REFUND_CONFLICT_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress"];
3
+ export declare const CANONICAL_REFUND_CONFLICT_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress"];
4
4
  export type CanonicalRefundConflictCode = (typeof CANONICAL_REFUND_CONFLICT_CODES)[number];
5
- export declare const CANONICAL_REFUND_PLANNER_ERROR_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed"];
5
+ export declare const CANONICAL_REFUND_PLANNER_ERROR_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed"];
6
6
  export type CanonicalRefundPlannerErrorCode = (typeof CANONICAL_REFUND_PLANNER_ERROR_CODES)[number];
7
- export declare const CANONICAL_ADMIN_REFUND_FAILURE_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
7
+ export declare const CANONICAL_ADMIN_REFUND_FAILURE_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining", "deposit_refund_override_required", "refund_revoke_requires_full_line_refund", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
8
8
  export type CanonicalAdminRefundFailureCode = (typeof CANONICAL_ADMIN_REFUND_FAILURE_CODES)[number];
9
9
  export type CustomerMembershipPaymentRefundConflictCode = CanonicalRefundConflictCode;
10
10
  export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_INVALID_CODES: readonly ["stripe_not_connected", "credit_refunds_disabled", "not_refundable", "invalid_amount", "amount_exceeds_remaining", "payment_receipt_not_found", "payment_receipt_not_refundable", "payment_receipt_attribution_required"];
11
11
  export type CustomerMembershipPaymentRefundInvalidCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_INVALID_CODES)[number];
12
- export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES: readonly ["not_found", "stripe_not_connected", "credit_refunds_disabled", "invoice_not_found", "invoice_lookup_failed", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context"];
12
+ export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES: readonly ["not_found", "stripe_not_connected", "credit_refunds_disabled", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context"];
13
13
  export type CustomerMembershipPaymentRefundFailedCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES)[number];
14
14
  export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_SKIPPED_CODES: readonly ["not_refundable"];
15
15
  export type CustomerMembershipPaymentRefundSkippedCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_SKIPPED_CODES)[number];
@@ -1735,6 +1735,14 @@ export declare const API_ENDPOINTS: {
1735
1735
  readonly auth: "user";
1736
1736
  readonly responseKind: "json";
1737
1737
  };
1738
+ readonly publishEventOfferingPageSurface: {
1739
+ readonly path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication";
1740
+ readonly method: "POST";
1741
+ readonly errors: readonly ["auth:forbidden", "validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
1742
+ readonly tags: ["riverbank:site", "riverbank:site:{siteId}:routable-content", "riverbank:page-surface:{pageSurfaceId}"];
1743
+ readonly auth: "user";
1744
+ readonly responseKind: "json";
1745
+ };
1738
1746
  readonly runSdkWorkflow: {
1739
1747
  readonly path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run";
1740
1748
  readonly method: "POST";
@@ -4839,19 +4847,21 @@ export declare const API_ENDPOINTS: {
4839
4847
  readonly auth: "user";
4840
4848
  readonly responseKind: "blob";
4841
4849
  };
4842
- readonly adminSiteCost: {
4843
- readonly path: "/admin/sites/{siteId}/cost";
4850
+ readonly adminSiteBillingArrangement: {
4851
+ readonly path: "/admin/sites/{siteId}/billing/arrangement";
4844
4852
  readonly method: "GET";
4845
4853
  readonly tags: ["admin", "site-{siteId}", "billing"];
4846
4854
  readonly auth: "admin";
4847
4855
  readonly responseKind: "json";
4856
+ readonly errors: readonly ["validation:invalid_input", "auth:forbidden", "resource:not_found", "server:internal_error"];
4848
4857
  };
4849
- readonly adminUpdateSiteCost: {
4850
- readonly path: "/admin/sites/{siteId}/cost";
4858
+ readonly adminUpdateSiteBillingArrangement: {
4859
+ readonly path: "/admin/sites/{siteId}/billing/arrangement";
4851
4860
  readonly method: "POST";
4852
4861
  readonly tags: ["admin", "site-{siteId}", "billing"];
4853
4862
  readonly auth: "admin";
4854
4863
  readonly responseKind: "json";
4864
+ readonly errors: readonly ["validation:invalid_input", "auth:forbidden", "resource:not_found", "resource:conflict", "server:internal_error"];
4855
4865
  };
4856
4866
  readonly adminScheduleBillingComponentEnd: {
4857
4867
  readonly path: "/admin/sites/{siteId}/billing/components/{componentId}/end";
@@ -5312,6 +5322,41 @@ export declare const API_ENDPOINTS: {
5312
5322
  readonly auth: "service";
5313
5323
  readonly responseKind: "json";
5314
5324
  };
5325
+ readonly sdkListEventOccurrences: {
5326
+ readonly path: "/sdk/{siteId}/events/{identifier}/occurrences";
5327
+ readonly method: "GET";
5328
+ readonly auth: "service";
5329
+ readonly responseKind: "json";
5330
+ readonly errors: readonly ["resource:not_found", "validation:invalid_input", "server:internal_error"];
5331
+ };
5332
+ readonly sdkAddEventOccurrence: {
5333
+ readonly path: "/sdk/{siteId}/events/{identifier}/occurrences";
5334
+ readonly method: "POST";
5335
+ readonly auth: "service";
5336
+ readonly responseKind: "json";
5337
+ readonly errors: readonly ["resource:not_found", "validation:invalid_input", "resource:conflict", "server:internal_error"];
5338
+ };
5339
+ readonly sdkUpdateEventOccurrence: {
5340
+ readonly path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}";
5341
+ readonly method: "PATCH";
5342
+ readonly auth: "service";
5343
+ readonly responseKind: "json";
5344
+ readonly errors: readonly ["resource:not_found", "validation:invalid_input", "resource:conflict", "server:internal_error"];
5345
+ };
5346
+ readonly sdkCancelEventOccurrence: {
5347
+ readonly path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}/cancel";
5348
+ readonly method: "POST";
5349
+ readonly auth: "service";
5350
+ readonly responseKind: "json";
5351
+ readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
5352
+ };
5353
+ readonly sdkDeleteEventOccurrence: {
5354
+ readonly path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}";
5355
+ readonly method: "DELETE";
5356
+ readonly auth: "service";
5357
+ readonly responseKind: "json";
5358
+ readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
5359
+ };
5315
5360
  readonly sdkListCourses: {
5316
5361
  readonly path: "/sdk/{siteId}/courses";
5317
5362
  readonly method: "GET";