@riverbankcms/sdk 0.67.0 → 0.70.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 (450) hide show
  1. package/README.md +21 -11
  2. package/dist/_dts/api/src/accessAdmin.d.ts +3 -3
  3. package/dist/_dts/api/src/admin/types.d.ts +1 -1
  4. package/dist/_dts/api/src/aiPlayground.d.ts +13 -39
  5. package/dist/_dts/api/src/appointmentSetup.d.ts +4 -0
  6. package/dist/_dts/api/src/billing.d.ts +7 -40
  7. package/dist/_dts/api/src/bookingConfig.d.ts +2 -2
  8. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -1
  9. package/dist/_dts/api/src/bookingOperations.d.ts +32 -1
  10. package/dist/_dts/api/src/bookingRecords.d.ts +1 -1
  11. package/dist/_dts/api/src/bookings.d.ts +1 -1
  12. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
  13. package/dist/_dts/api/src/communications.d.ts +1 -1
  14. package/dist/_dts/api/src/contentRuntime.d.ts +2 -2
  15. package/dist/_dts/api/src/contentTypes.d.ts +1 -1
  16. package/dist/_dts/api/src/endpoints.d.ts +7 -0
  17. package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
  18. package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
  19. package/dist/_dts/api/src/navigation/types.d.ts +1 -1
  20. package/dist/_dts/api/src/public/index.d.ts +2 -2
  21. package/dist/_dts/api/src/public/types.d.ts +3 -3
  22. package/dist/_dts/api/src/sdkConfig/contracts.d.ts +1 -2
  23. package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
  24. package/dist/_dts/api/src/siteBanner.d.ts +9 -9
  25. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
  26. package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
  27. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -1
  28. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -5
  29. package/dist/_dts/api/src/siteSettings.d.ts +3 -3
  30. package/dist/_dts/api/src/teamMembers.d.ts +1 -1
  31. package/dist/_dts/api/src/types.d.ts +1 -1
  32. package/dist/_dts/api/src/url.d.ts +1 -1
  33. package/dist/_dts/billing/src/components/index.d.ts +484 -0
  34. package/dist/_dts/block-form/src/backend/store-backend.d.ts +1 -1
  35. package/dist/_dts/block-form/src/backend/types.d.ts +2 -2
  36. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +2 -2
  37. package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -1
  38. package/dist/_dts/block-form/src/fields/types.d.ts +1 -1
  39. package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
  40. package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +1 -1
  41. package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +1 -1
  42. package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +1 -1
  43. package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
  44. package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -1
  45. package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
  46. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
  47. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +1 -1
  48. package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +1 -1
  49. package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +1 -1
  50. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +1 -1
  51. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +1 -1
  52. package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +1 -1
  53. package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +4 -4
  54. package/dist/_dts/block-form/src/widgets/constants.d.ts +1 -1
  55. package/dist/_dts/blocks/src/PageRenderer.d.ts +5 -1
  56. package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
  57. package/dist/_dts/blocks/src/client.d.ts +11 -3
  58. package/dist/_dts/blocks/src/index.d.ts +28 -27
  59. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  60. package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +1 -1
  61. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
  62. package/dist/_dts/blocks/src/server.d.ts +1 -1
  63. package/dist/_dts/blocks/src/structure/schema.d.ts +1 -1
  64. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1665 -1665
  65. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +1666 -1666
  66. package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1665 -1665
  68. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1665 -1665
  69. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +1666 -1666
  70. package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
  71. package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +3 -2
  72. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +42 -42
  73. package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1761 -1761
  74. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -2
  75. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +1764 -1764
  76. package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
  77. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +44 -44
  78. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
  79. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1665 -1665
  80. package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
  81. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1665 -1665
  82. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
  83. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -1
  84. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +9 -9
  85. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +139 -139
  86. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1665 -1665
  87. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1665 -1665
  88. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +19 -19
  89. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1665 -1665
  90. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
  91. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +1 -1
  92. package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +1 -1
  93. package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -1
  94. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  95. package/dist/_dts/blocks/src/system/customize/facets.d.ts +5 -5
  96. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -1
  97. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +1 -1
  98. package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +1761 -1761
  99. package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1761 -1761
  100. package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1761 -1761
  101. package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1761 -1761
  102. package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1761 -1761
  103. package/dist/_dts/blocks/src/system/frame/frameStyles.d.ts +3 -3
  104. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -2
  105. package/dist/_dts/blocks/src/system/manifest/augmentManifest.d.ts +1 -1
  106. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
  107. package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +1 -1
  108. package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +1 -1
  109. package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +1 -1
  110. package/dist/_dts/blocks/src/system/node/fragments/typography.d.ts +1 -1
  111. package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
  112. package/dist/_dts/blocks/src/system/registry.d.ts +2 -2
  113. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
  114. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
  115. package/dist/_dts/blocks/src/system/runtime/header/shared.d.ts +1 -1
  116. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -0
  117. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +3 -1
  118. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +140 -0
  119. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -0
  120. package/dist/_dts/blocks/src/system/runtime/hooks/useVisibleTabPolling.d.ts +10 -0
  121. package/dist/_dts/blocks/src/system/runtime/nodes/accordion.d.ts +1 -1
  122. package/dist/_dts/blocks/src/system/runtime/nodes/accordion.server.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -1
  124. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.default-ui.d.ts +8 -0
  125. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +500 -0
  126. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +27 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +15 -8
  128. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -1
  129. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +3 -3
  130. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +1 -1
  131. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -1
  132. package/dist/_dts/blocks/src/system/runtime/nodes/shared/LeafletStaticMap.d.ts +1 -1
  133. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -6
  134. package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptionCopy.d.ts +1 -1
  135. package/dist/_dts/blocks/src/system/theme/index.d.ts +1 -1
  136. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -1
  137. package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
  138. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
  139. package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
  140. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +3 -3
  141. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -3
  142. package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +2 -2
  143. package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +2 -2
  144. package/dist/_dts/content-editor/src/controller/deriveRecoveryConflict.d.ts +1 -1
  145. package/dist/_dts/content-editor/src/controller/invalidBlockRecovery.d.ts +1 -1
  146. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
  147. package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
  148. package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +3 -3
  149. package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
  150. package/dist/_dts/content-editor/src/hooks/blockedPublishPlan.d.ts +1 -1
  151. package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
  152. package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +2 -2
  153. package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +1 -1
  154. package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +1 -1
  155. package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
  156. package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +1 -1
  157. package/dist/_dts/content-editor/src/registry.d.ts +1 -1
  158. package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +2 -2
  159. package/dist/_dts/content-editor/src/types.d.ts +2 -2
  160. package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +3 -3
  161. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +1 -1
  162. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  163. package/dist/_dts/content-editor/src/ui/stores/utils.d.ts +1 -1
  164. package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
  165. package/dist/_dts/core/src/branded.d.ts +2 -0
  166. package/dist/_dts/core/src/index.d.ts +2 -0
  167. package/dist/_dts/core/src/planner.d.ts +64 -0
  168. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +17 -18
  169. package/dist/_dts/db/src/schemas/forms.d.ts +62 -62
  170. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +5 -5
  171. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +5 -5
  172. package/dist/_dts/editor-blocks/src/FormProvider.d.ts +2 -2
  173. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +6 -6
  174. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +3 -3
  175. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -2
  176. package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +2 -2
  177. package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
  178. package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +2 -2
  179. package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
  180. package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +1 -1
  181. package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
  182. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +3 -3
  183. package/dist/_dts/editor-blocks/src/block-editor/blockDiscovery.d.ts +1 -1
  184. package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +1 -1
  185. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +1 -1
  186. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -3
  187. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -2
  188. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -2
  189. package/dist/_dts/editor-blocks/src/block-editor/hooks/useDraftContent.d.ts +1 -1
  190. package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +2 -2
  191. package/dist/_dts/editor-blocks/src/block-editor/sdkBlockMerger.d.ts +3 -3
  192. package/dist/_dts/editor-blocks/src/block-editor/settingsIntent.d.ts +1 -1
  193. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -1
  194. package/dist/_dts/editor-blocks/src/block-form/debug.d.ts +1 -1
  195. package/dist/_dts/editor-blocks/src/blockPayload.d.ts +2 -2
  196. package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
  197. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +6 -6
  198. package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
  199. package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
  200. package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
  201. package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
  202. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
  203. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
  204. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
  205. package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
  206. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -2
  207. package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -2
  208. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  209. package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
  210. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -3
  211. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  212. package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
  213. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -3
  214. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -2
  215. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +3 -3
  216. package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +2 -2
  217. package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +2 -2
  218. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
  219. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
  220. package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +1 -1
  221. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -3
  222. package/dist/_dts/editor-blocks/src/widgets/reference/types.d.ts +3 -3
  223. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
  224. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
  225. package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +1 -1
  226. package/dist/_dts/editor-blocks/src/widgets/rich-text/richTextImageHydration.d.ts +1 -1
  227. package/dist/_dts/editor-blocks/src/widgets/shared/Combobox.d.ts +1 -1
  228. package/dist/_dts/media-core/src/fileAssetCompatibility.d.ts +1 -1
  229. package/dist/_dts/media-core/src/fileAssetDeletion.d.ts +1 -1
  230. package/dist/_dts/media-core/src/fileDomain.d.ts +1 -1
  231. package/dist/_dts/media-core/src/fileDownloadResolution.d.ts +1 -1
  232. package/dist/_dts/media-core/src/filePersistence.d.ts +1 -1
  233. package/dist/_dts/media-core/src/fileStorage.d.ts +1 -1
  234. package/dist/_dts/media-core/src/fileUploadAssetBuilder.d.ts +1 -1
  235. package/dist/_dts/media-core/src/fileUploadCleanup.d.ts +1 -1
  236. package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +1 -1
  237. package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +1 -1
  238. package/dist/_dts/media-core/src/fileUploadFinalization.d.ts +1 -1
  239. package/dist/_dts/media-core/src/fileUploadSessionCreation.d.ts +1 -1
  240. package/dist/_dts/media-core/src/types.d.ts +2 -2
  241. package/dist/_dts/media-core/src/url.d.ts +1 -1
  242. package/dist/_dts/media-core/src/videoPrep.d.ts +1 -1
  243. package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
  244. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
  245. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
  246. package/dist/_dts/media-editor/src/context.d.ts +3 -3
  247. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
  248. package/dist/_dts/media-editor/src/cropEditorSource.d.ts +1 -1
  249. package/dist/_dts/media-editor/src/debug.d.ts +1 -1
  250. package/dist/_dts/media-editor/src/provider.d.ts +3 -3
  251. package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +1 -1
  252. package/dist/_dts/media-editor/src/transformModel.d.ts +1 -1
  253. package/dist/_dts/media-editor/src/types.d.ts +2 -2
  254. package/dist/_dts/media-editor/src/utils.d.ts +1 -1
  255. package/dist/_dts/media-react/src/components/ImageCropper.d.ts +1 -1
  256. package/dist/_dts/media-react/src/components/cropDraftModel.d.ts +1 -1
  257. package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -1
  258. package/dist/_dts/media-react/src/components/cropSessionState.d.ts +1 -1
  259. package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -1
  260. package/dist/_dts/media-react/src/ffmpegLoader.d.ts +1 -1
  261. package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
  262. package/dist/_dts/media-react/src/hooks/mediaAssetResponseMapper.d.ts +1 -1
  263. package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +4 -4
  264. package/dist/_dts/media-react/src/utils/rotation.d.ts +1 -1
  265. package/dist/_dts/media-react/src/videoFrameExtraction.d.ts +1 -1
  266. package/dist/_dts/media-react/src/videoPrepBrowser.d.ts +2 -2
  267. package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +1 -1
  268. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +1 -1
  269. package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +1 -1
  270. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -2
  271. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
  272. package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +2 -2
  273. package/dist/_dts/preview-next/src/client/blocks/editorRegistry.d.ts +1 -1
  274. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -2
  275. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +2 -2
  276. package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +2 -2
  277. package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +2 -2
  278. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  279. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +3 -3
  280. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +5 -5
  281. package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -2
  282. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
  283. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +1 -1
  284. package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +1 -1
  285. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +9 -9
  286. package/dist/_dts/preview-next/src/client/preview/PreviewEditorUI.d.ts +2 -2
  287. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
  288. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +8 -8
  289. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -8
  290. package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
  291. package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
  292. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +5 -5
  293. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -5
  294. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +4 -4
  295. package/dist/_dts/preview-next/src/client/preview/pageSchema.d.ts +1 -1
  296. package/dist/_dts/preview-next/src/client/preview/previewChromeSurface.d.ts +1 -1
  297. package/dist/_dts/preview-next/src/client/preview/previewChromeSurfacePolicy.d.ts +1 -1
  298. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +3 -3
  299. package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -2
  300. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +1 -1
  301. package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +1 -1
  302. package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
  303. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +2 -2
  304. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +4 -4
  305. package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +1 -1
  306. package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +1 -1
  307. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -2
  308. package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +2 -2
  309. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +3 -3
  310. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -3
  311. package/dist/_dts/sdk/src/bookings/index.d.ts +6 -2
  312. package/dist/_dts/sdk/src/bookings/types.d.ts +16 -8
  313. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +32 -0
  314. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
  315. package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -1
  316. package/dist/_dts/sdk/src/cli/env.d.ts +1 -1
  317. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +1 -1
  318. package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
  319. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +1 -1
  320. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +43 -13
  321. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +21 -0
  322. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +27 -0
  323. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +56 -0
  324. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +5 -3
  325. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +9 -3
  326. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +6 -10
  327. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +1 -0
  328. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +6 -10
  329. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +6 -10
  330. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +14 -68
  331. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +8 -0
  332. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +97 -0
  333. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +15 -0
  334. package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
  335. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +4 -0
  336. package/dist/_dts/sdk/src/config/validation.d.ts +37 -43
  337. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
  338. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
  339. package/dist/_dts/sdk/src/portal/config.d.ts +1 -1
  340. package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
  341. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
  342. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  343. package/dist/_dts/sdk/src/preview-next/constants.d.ts +1 -1
  344. package/dist/_dts/sdk/src/preview-next/cookies.d.ts +1 -1
  345. package/dist/_dts/sdk/src/preview-next/index.d.ts +2 -2
  346. package/dist/_dts/sdk/src/preview-next/middleware.d.ts +1 -1
  347. package/dist/_dts/sdk/src/preview-next/session.d.ts +1 -1
  348. package/dist/_dts/sdk/src/public-api/contracts.d.ts +18 -4
  349. package/dist/_dts/sdk/src/rendering/islands/blocksContracts.d.ts +1 -1
  350. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +3 -3
  351. package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
  352. package/dist/_dts/sdk/src/spam-protection/index.d.ts +3 -3
  353. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +6 -6
  354. package/dist/_dts/sdk/src/theme-bridge/generateCssVars.d.ts +4 -12
  355. package/dist/_dts/sdk/src/theme-bridge/index.d.ts +1 -1
  356. package/dist/_dts/sdk/src/theme-bridge/types.d.ts +17 -9
  357. package/dist/_dts/sdk/src/version.d.ts +1 -1
  358. package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
  359. package/dist/_dts/site-commands/src/commands.d.ts +292 -34
  360. package/dist/_dts/site-commands/src/domain.d.ts +3 -3
  361. package/dist/_dts/site-commands/src/exposure.d.ts +3 -3
  362. package/dist/_dts/site-commands/src/index.d.ts +1 -0
  363. package/dist/_dts/site-commands/src/metadata.d.ts +79 -1
  364. package/dist/_dts/site-commands/src/planner.d.ts +1 -1
  365. package/dist/_dts/site-commands/src/refContributions.d.ts +1 -0
  366. package/dist/_dts/site-commands/src/refs.d.ts +8 -2
  367. package/dist/_dts/{sdk/src/cli/merge-remote → site-commands/src}/stableJson.d.ts +2 -0
  368. package/dist/_dts/theme-core/src/accordions/types.d.ts +9 -9
  369. package/dist/_dts/theme-core/src/blocks/index.d.ts +2 -2
  370. package/dist/_dts/theme-core/src/blocks/types.d.ts +3 -2
  371. package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +5 -5
  372. package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +5 -5
  373. package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +5 -5
  374. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +35 -35
  375. package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +5 -5
  376. package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +5 -5
  377. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +5 -5
  378. package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +5 -5
  379. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
  380. package/dist/_dts/theme-core/src/buttons/types.d.ts +18 -18
  381. package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
  382. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  383. package/dist/_dts/theme-core/src/index.d.ts +1 -1
  384. package/dist/_dts/theme-core/src/inputs/types.d.ts +13 -13
  385. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
  386. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +351 -351
  387. package/dist/_dts/theme-core/src/navigation/types.d.ts +15 -15
  388. package/dist/_dts/theme-core/src/palette/recipes/allRecipes.d.ts +1 -1
  389. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +24 -24
  390. package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +18 -18
  391. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +65 -65
  392. package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +18 -18
  393. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +7 -7
  394. package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +18 -18
  395. package/dist/_dts/theme-core/src/progress/generateProgressCss.d.ts +2 -1
  396. package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +1 -1
  397. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +32 -21
  398. package/dist/_dts/theme-core/src/schema.d.ts +568 -568
  399. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
  400. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
  401. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
  402. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +34 -34
  403. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
  404. package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +1 -1
  405. package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +1 -1
  406. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +14 -14
  407. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  408. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +4 -4
  409. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +2 -1
  410. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +5 -5
  411. package/dist/_dts/ui/src/badge.d.ts +1 -1
  412. package/dist/_dts/ui/src/button.d.ts +2 -2
  413. package/dist/_dts/ui/src/card.d.ts +1 -1
  414. package/dist/_dts/ui/src/color-picker.d.ts +1 -1
  415. package/dist/_dts/ui/src/surface.d.ts +2 -2
  416. package/dist/_dts/ui/src/toggle.d.ts +4 -4
  417. package/dist/cli/index.mjs +5910 -4824
  418. package/dist/client/bookings.mjs +5149 -3320
  419. package/dist/client/client.mjs +11643 -11031
  420. package/dist/client/hooks.mjs +5764 -3868
  421. package/dist/client/rendering/client.mjs +4317 -3724
  422. package/dist/client/rendering/islands.mjs +4087 -3494
  423. package/dist/client/rendering.mjs +4499 -3885
  424. package/dist/preview-next/before-render.mjs +14 -0
  425. package/dist/preview-next/client/runtime.mjs +2927 -2292
  426. package/dist/preview-next/middleware.mjs +14 -0
  427. package/dist/server/components.mjs +536 -368
  428. package/dist/server/config-validation.mjs +6886 -4910
  429. package/dist/server/config.mjs +6876 -4909
  430. package/dist/server/data.mjs +5764 -3868
  431. package/dist/server/index.mjs +174 -1762
  432. package/dist/server/next.mjs +6393 -5024
  433. package/dist/server/prebuild.mjs +1 -1
  434. package/dist/server/rendering/server.mjs +540 -370
  435. package/dist/server/rendering.mjs +540 -370
  436. package/dist/server/routing.mjs +10389 -6835
  437. package/dist/server/server.mjs +5701 -3805
  438. package/dist/server/theme-bridge.mjs +1558 -4902
  439. package/dist/styles/index.css +38 -38
  440. package/package.json +1 -3
  441. package/dist/_dts/blocks/src/system/runtime/components/booking/DateTimeSelectionStep.d.ts +0 -18
  442. package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts +0 -9
  443. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.d.ts +0 -44
  444. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts +0 -23
  445. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceSelectionStep.d.ts +0 -18
  446. package/dist/_dts/blocks/src/system/runtime/components/booking/slotDisplay.d.ts +0 -2
  447. package/dist/_dts/blocks/src/system/runtime/components/multi-step/MultiStepForm.d.ts +0 -21
  448. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.d.ts +0 -15
  449. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.state.d.ts +0 -51
  450. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSteps.d.ts +0 -22
package/README.md CHANGED
@@ -179,6 +179,10 @@ const circuitState = client.getCircuitState();
179
179
 
180
180
  For detailed testing and verification steps, see [`docs/resilience-verification.md`](./docs/resilience-verification.md).
181
181
 
182
+ ### Headless Appointment Booking
183
+
184
+ SDK sites that need bespoke appointment booking UI can use the headless booking runtime from `@riverbankcms/sdk/bookings`. See [`docs/headless-booking.md`](./docs/headless-booking.md) for the real `blockOverrides` pattern with an `'appointment-booking'` override, `HeadlessBookingProvider`, `getAppointmentBookingOverrideInput`, and `useHeadlessBookingFlow`.
185
+
182
186
  ### Server-Side API
183
187
 
184
188
  ```tsx
@@ -1484,9 +1488,10 @@ Style Builder blocks to match your brand using the Theme Bridge. This provides C
1484
1488
 
1485
1489
  ### Quick Start
1486
1490
 
1487
- Wrap your app with `ThemeBridgeProvider` and define your color tokens:
1491
+ Import the SDK base stylesheet, then wrap your app with `ThemeBridgeProvider` and define your color tokens:
1488
1492
 
1489
1493
  ```tsx
1494
+ import '@riverbankcms/sdk/styles.css';
1490
1495
  import { ThemeBridgeProvider } from '@riverbankcms/sdk/theme-bridge';
1491
1496
 
1492
1497
  export default function RootLayout({ children }) {
@@ -1509,7 +1514,7 @@ export default function RootLayout({ children }) {
1509
1514
 
1510
1515
  ### Token System
1511
1516
 
1512
- Define color tokens as key-value pairs. Keys become CSS variables (`--color-{key}`):
1517
+ Define color tokens as key-value pairs. Keys become runtime CSS variables such as `--tb-primary`:
1513
1518
 
1514
1519
  ```tsx
1515
1520
  <ThemeBridgeProvider
@@ -1523,18 +1528,20 @@ Define color tokens as key-value pairs. Keys become CSS variables (`--color-{key
1523
1528
  background: '#ffffff',
1524
1529
  surface: '#f8fafc',
1525
1530
 
1526
- // Text
1527
- text: '#1e293b',
1528
- mutedText: '#64748b',
1531
+ // Text. foreground/mutedForeground are preferred;
1532
+ // text/mutedText remain accepted aliases.
1533
+ foreground: '#1e293b',
1534
+ mutedForeground: '#64748b',
1529
1535
 
1530
1536
  // UI
1531
1537
  border: '#e2e8f0',
1532
- white: '#ffffff',
1538
+ primaryForeground: '#ffffff',
1533
1539
 
1534
1540
  // Status
1535
1541
  success: '#22c55e',
1536
1542
  warning: '#f59e0b',
1537
- danger: '#ef4444',
1543
+ destructive: '#ef4444',
1544
+ info: '#0ea5e9',
1538
1545
  },
1539
1546
  }}
1540
1547
  >
@@ -1545,6 +1552,8 @@ Token values can be:
1545
1552
  - **CSS variable refs**: `'var(--brand-purple)'` (passed through)
1546
1553
  - **RGB values**: `'109 40 217'` (used directly)
1547
1554
 
1555
+ Canonical tokens win when aliases are also present. Accepted aliases are `text -> foreground`, `mutedText -> mutedForeground`, `white -> primaryForeground`, and `danger -> destructive`.
1556
+
1548
1557
  ### Design Presets
1549
1558
 
1550
1559
  Control typography, spacing, corners, and shadows:
@@ -1576,7 +1585,7 @@ Control typography, spacing, corners, and shadows:
1576
1585
 
1577
1586
  ### Component CSS (Opt-in)
1578
1587
 
1579
- By default, only CSS variables are generated. Enable component CSS for buttons, cards, and inputs:
1588
+ By default, the provider emits CSS variables plus structural runtime CSS used by system blocks: status classes, step/progress classes, and block-specific variables such as appointment booking `--ab-*` vars. Generated visual skins for buttons, cards, and inputs remain opt-in:
1580
1589
 
1581
1590
  ```tsx
1582
1591
  <ThemeBridgeProvider
@@ -1584,7 +1593,7 @@ By default, only CSS variables are generated. Enable component CSS for buttons,
1584
1593
  tokens: {
1585
1594
  primary: '#6d28d9',
1586
1595
  secondary: '#4c1d95',
1587
- white: '#ffffff',
1596
+ primaryForeground: '#ffffff',
1588
1597
  surface: '#f8fafc',
1589
1598
  text: '#1e293b',
1590
1599
  border: '#e2e8f0',
@@ -1643,9 +1652,8 @@ Reference existing CSS variables from your design system:
1643
1652
  primary: 'var(--brand-purple)',
1644
1653
  secondary: 'var(--brand-navy)',
1645
1654
  background: 'var(--ds-bg)',
1646
- text: 'var(--ds-text)',
1655
+ foreground: 'var(--ds-text)',
1647
1656
  },
1648
- components: { buttons: true },
1649
1657
  }}
1650
1658
  >
1651
1659
  ```
@@ -1669,6 +1677,8 @@ const { css, cssVars } = generateThemeBridgeCss({
1669
1677
  // cssVars: Object of CSS variable name-value pairs
1670
1678
  ```
1671
1679
 
1680
+ When using `generateThemeBridgeCss` directly, render the affected blocks inside an element with `data-theme-scope="sdk"` so the generated status, progress, component, and block-var selectors apply. `ThemeBridgeProvider` adds that wrapper for you.
1681
+
1672
1682
  ### Available Exports
1673
1683
 
1674
1684
  ```tsx
@@ -1,6 +1,6 @@
1
- import type { MembershipSummary } from "@riverbankcms/billing/membership";
2
- import type { BillingInterval } from "@riverbankcms/billing/plans/types";
3
- import type { CamelizeKeys, DbRow, SupportedAdminRole } from "@riverbankcms/db";
1
+ import type { MembershipSummary } from "../../billing/src/membership/index";
2
+ import type { BillingInterval } from "../../billing/src/plans/types";
3
+ import type { CamelizeKeys, DbRow, SupportedAdminRole } from "../../db/src/index";
4
4
  import { z } from "zod";
5
5
  import type { PageRecord } from "./contentRuntime";
6
6
  import type { SiteDeploymentMode } from "./siteSettings";
@@ -1,4 +1,4 @@
1
- import type { ImpersonationScope, CamelizeKeys, DbRow, SupportedAdminRole } from '@riverbankcms/db';
1
+ import type { ImpersonationScope, CamelizeKeys, DbRow, SupportedAdminRole } from '../../../db/src/index';
2
2
  export type AdminProfileRole = CamelizeKeys<DbRow<'profile_roles'>>;
3
3
  export type StartImpersonationRequest = {
4
4
  targetUserId: string;
@@ -1,7 +1,13 @@
1
1
  import { z } from 'zod';
2
- import type { SdkCustomBlock } from '@riverbankcms/blocks';
3
- import type { CustomCssAtRuleInput, CustomCssRuleInput } from '@riverbankcms/theme-core';
2
+ import type { AddBlockPageCommandBackedSchema, DuplicateBlockPageCommandBackedSchema, MoveBlockPageCommandBackedSchema, ReorderBlocksPageCommandBackedSchema, SwapBlocksPageCommandBackedSchema } from '@riverbankcms/ai/contracts';
3
+ import type { SdkCustomBlock } from '../../blocks/src/index';
4
+ import type { CustomCssAtRuleInput, CustomCssRuleInput } from '../../theme-core/src/index';
4
5
  import type { JsonValue } from './shared-contracts';
6
+ type ReorderBlocksPageCommandBacked = z.infer<typeof ReorderBlocksPageCommandBackedSchema>;
7
+ type MoveBlockPageCommandBacked = z.infer<typeof MoveBlockPageCommandBackedSchema>;
8
+ type SwapBlocksPageCommandBacked = z.infer<typeof SwapBlocksPageCommandBackedSchema>;
9
+ type AddBlockPageCommandBacked = z.infer<typeof AddBlockPageCommandBackedSchema>;
10
+ type DuplicateBlockPageCommandBacked = z.infer<typeof DuplicateBlockPageCommandBackedSchema>;
5
11
  /** Request body for previewing schedule changes */
6
12
  export type SchedulePreviewRequest = {
7
13
  /** New recurrence rule (null for single event) */
@@ -229,53 +235,21 @@ export type ApplyAiDesignerThemePatchResponse = {
229
235
  themeId: string;
230
236
  themeUpdatedAt: string;
231
237
  };
232
- export type AiDesignerCommandBackedPageProposal = {
233
- proposalId: string;
234
- surface: "page";
235
- baseFingerprint: string;
236
- commandBatch: {
237
- recipeVersion: string;
238
- batchRef: string;
239
- target: {
240
- siteRef: string;
241
- };
242
- commands: readonly unknown[];
243
- };
244
- preview: unknown;
245
- dryRunSummary?: string;
246
- };
247
238
  export type ApplyAiDesignerPageOpsRequest = {
248
239
  kind: "reorder_blocks";
249
- pageId: string;
250
- baseBlockIds: string[];
251
- commandBacked: AiDesignerCommandBackedPageProposal;
240
+ commandBacked: ReorderBlocksPageCommandBacked;
252
241
  } | {
253
242
  kind: "move_block";
254
- pageId: string;
255
- baseBlockIds: string[];
256
- commandBacked: AiDesignerCommandBackedPageProposal;
243
+ commandBacked: MoveBlockPageCommandBacked;
257
244
  } | {
258
245
  kind: "swap_blocks";
259
- pageId: string;
260
- baseBlockIds: string[];
261
- commandBacked: AiDesignerCommandBackedPageProposal;
262
- } | {
263
- kind: "delete_block";
264
- pageId: string;
265
- baseBlockIds: string[];
266
- blockId: string;
246
+ commandBacked: SwapBlocksPageCommandBacked;
267
247
  } | {
268
248
  kind: "add_block";
269
- pageId: string;
270
- baseBlockIds: string[];
271
- blockKind: string;
272
- afterBlockId?: string | null;
249
+ commandBacked: AddBlockPageCommandBacked;
273
250
  } | {
274
251
  kind: "duplicate_block";
275
- pageId: string;
276
- baseBlockIds: string[];
277
- blockId: string;
278
- afterBlockId?: string | null;
252
+ commandBacked: DuplicateBlockPageCommandBacked;
279
253
  };
280
254
  export type ApplyAiDesignerPageOpsResponse = {
281
255
  ok: true;
@@ -133,6 +133,8 @@ export declare const appointmentSetupServiceDraftSchema: z.ZodObject<{
133
133
  title: z.ZodString;
134
134
  description: z.ZodNullable<z.ZodString>;
135
135
  durationMinutes: z.ZodNumber;
136
+ prepMinutes: z.ZodDefault<z.ZodNumber>;
137
+ cleanupMinutes: z.ZodDefault<z.ZodNumber>;
136
138
  priceAmount: z.ZodNullable<z.ZodNumber>;
137
139
  isActive: z.ZodBoolean;
138
140
  locationType: z.ZodUnion<readonly [z.ZodLiteral<"virtual">, z.ZodLiteral<"in_person">, z.ZodLiteral<"hybrid">]>;
@@ -245,6 +247,8 @@ export declare const applyAppointmentSetupRequestSchema: z.ZodObject<{
245
247
  title: z.ZodString;
246
248
  description: z.ZodNullable<z.ZodString>;
247
249
  durationMinutes: z.ZodNumber;
250
+ prepMinutes: z.ZodDefault<z.ZodNumber>;
251
+ cleanupMinutes: z.ZodDefault<z.ZodNumber>;
248
252
  priceAmount: z.ZodNullable<z.ZodNumber>;
249
253
  isActive: z.ZodBoolean;
250
254
  locationType: z.ZodUnion<readonly [z.ZodLiteral<"virtual">, z.ZodLiteral<"in_person">, z.ZodLiteral<"hybrid">]>;
@@ -1,5 +1,6 @@
1
1
  import type { ChangePlanRequest, ChangePlanResponse } from './types';
2
2
  import type { ApiClient } from './request';
3
+ import type { BillingComponentSummaryAddOnComponent, BillingComponentSummaryBasePlanComponent, BillingComponentSummaryComponent, BillingComponentSummarySiteComponent } from '../../billing/src/components/index';
3
4
  export type BillingStatusResponse = {
4
5
  hasActiveSubscription: boolean;
5
6
  subscriptionStatus: string | null;
@@ -52,45 +53,12 @@ export type BillingSummaryResponse = {
52
53
  isCustomPrice: boolean;
53
54
  } | null;
54
55
  };
55
- export type BillingSummaryComponentKind = "plan_base" | "custom_site_price" | "extra_site" | "managed_domain_overage";
56
- export type BillingSummaryComponentSource = {
57
- kind: "plan";
58
- planId: string;
59
- } | {
60
- kind: "site";
61
- siteId: string;
62
- } | {
63
- kind: "site_domain";
64
- siteId: string;
65
- siteDomainId: string;
66
- };
67
- type BillingSummaryComponentBase<TKind extends BillingSummaryComponentKind> = {
68
- kind: TKind;
69
- label: string;
70
- amountCents: number;
71
- formatted: string;
72
- interval: "month" | "year";
73
- };
74
- export type BillingSummaryComponent = BillingSummaryBasePlanComponent | BillingSummarySiteComponent | BillingSummaryAddOnComponent;
75
- export type BillingSummaryBasePlanComponent = BillingSummaryComponentBase<"plan_base"> & {
76
- source: Extract<BillingSummaryComponentSource, {
77
- kind: "plan";
78
- }>;
79
- };
80
- export type BillingSummarySiteComponent = BillingSummaryComponentBase<"custom_site_price"> & {
81
- source: Extract<BillingSummaryComponentSource, {
82
- kind: "site";
83
- }>;
84
- };
85
- export type BillingSummaryAddOnComponent = (BillingSummaryComponentBase<"extra_site"> & {
86
- source: Extract<BillingSummaryComponentSource, {
87
- kind: "site";
88
- }>;
89
- }) | (BillingSummaryComponentBase<"managed_domain_overage"> & {
90
- source: Extract<BillingSummaryComponentSource, {
91
- kind: "site_domain";
92
- }>;
93
- });
56
+ export type BillingSummaryComponent = BillingComponentSummaryComponent;
57
+ export type BillingSummaryComponentKind = BillingSummaryComponent["kind"];
58
+ export type BillingSummaryComponentSource = BillingSummaryComponent["source"];
59
+ export type BillingSummaryBasePlanComponent = BillingComponentSummaryBasePlanComponent;
60
+ export type BillingSummarySiteComponent = BillingComponentSummarySiteComponent;
61
+ export type BillingSummaryAddOnComponent = BillingComponentSummaryAddOnComponent;
94
62
  export type SiteBillingCostResponse = {
95
63
  hasCost: boolean;
96
64
  formattedCost: string;
@@ -153,4 +121,3 @@ export declare function changePlan(apiClient: ApiClient, { planId, interval, pro
153
121
  export declare function billingCheckout(apiClient: ApiClient, { planId, interval, options, }: BillingCheckoutRequest & {
154
122
  options?: RequestInit;
155
123
  }): Promise<BillingCheckoutResponse>;
156
- export {};
@@ -1,7 +1,7 @@
1
1
  import type { EventOnlineDetails, EventOnlineDetailsInput } from "./bookingRecords";
2
2
  import type { SiteVerticalBookingConfig } from "./bookingVerticals";
3
- import type { EventPricingMode, StaffMemberId, UserId } from "@riverbankcms/core";
4
- export type { EventPricingMode } from "@riverbankcms/core";
3
+ import type { EventPricingMode, StaffMemberId, UserId } from "../../core/src/index";
4
+ export type { EventPricingMode } from "../../core/src/index";
5
5
  /**
6
6
  * Booking Configuration Contracts
7
7
  *
@@ -5,7 +5,7 @@ import type { BookingRequirementConfigRequest, BookingRequirementConfigResponse,
5
5
  import type { BookingClosureConflictResponse, CreateBookingClosureRequest, CreateBookingClosureResponse, DeleteBookingClosureResponse, GetBookingClosureResponse, ListBookingClosuresResponse, PreviewBookingClosureResponse, BookingClosureRequest } from "./bookingClosures";
6
6
  import type { BookingSettingsResponse, CreateEventSeriesRequest, EventSeriesRecord, UpdateBookingSettingsRequest, UpdateEventSeriesRequest } from "./bookingConfig";
7
7
  import type { AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, AssignCustomerMembershipRequest, AssignCustomerMembershipResponse, AssignCustomerPassRequest, AssignCustomerPassResponse, CancelCustomerMembershipAtPeriodEndRequest, CancelCustomerMembershipAtPeriodEndResponse, ConvertCreditRefundToCashRequest, ConvertCreditRefundToCashResponse, ListCustomerMembershipPaymentRefundsResponse, ListCustomerMembershipPaymentsResponse, ListCustomerPassRefundsResponse, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, RefundCustomerPassRequest, RefundCustomerPassResponse } from "./bookingAdjustments";
8
- import type { AppointmentResourceResponse, AppointmentServiceResponse, BookingAppointmentWithDetails, CreateAppointmentResourceRequest, CreateAppointmentServiceRequest, CreateTeamMemberProfileResponse, DiscardTeamMemberProfileDraftResponse, DeleteServiceResponse, ListAppointmentResourcesResponse, ListAppointmentServicesResponse, ListCourseEnrollmentRefundsResponse, ListEventAttendeeRefundsResponse, ListEventAttendeeTransfersResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResponse, OpsEventAttendeeDetailsResponse, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsRefundEventAttendeeResponse, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, ReferenceOptionsResponse, RemoveAppointmentResourceResponse, RefundCourseEnrollmentRequest, RefundCourseEnrollmentResponse, RefundEventAttendeeRequest, RefundEventAttendeeResponse, TransferEventAttendeeRequest, TransferEventAttendeeResponse, UpdateAppointmentResourceRequest, UpdateAppointmentServiceRequest, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse } from "./bookingOperations";
8
+ import type { AppointmentResourceResponse, AppointmentServiceResponse, BookingAppointmentWithDetails, CreateAppointmentResourceRequest, CreateAppointmentResourceWithAccountAccessRequest, CreateAppointmentResourceWithAccountAccessResponse, CreateAppointmentServiceRequest, CreateTeamMemberProfileResponse, DiscardTeamMemberProfileDraftResponse, DeleteServiceResponse, ListAppointmentResourcesResponse, ListAppointmentServicesResponse, ListCourseEnrollmentRefundsResponse, ListEventAttendeeRefundsResponse, ListEventAttendeeTransfersResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResponse, OpsEventAttendeeDetailsResponse, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsRefundEventAttendeeResponse, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, ReferenceOptionsResponse, RemoveAppointmentResourceResponse, RefundCourseEnrollmentRequest, RefundCourseEnrollmentResponse, RefundEventAttendeeRequest, RefundEventAttendeeResponse, TransferEventAttendeeRequest, TransferEventAttendeeResponse, UpdateAppointmentResourceRequest, UpdateAppointmentServiceRequest, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse } from "./bookingOperations";
9
9
  import type { AddEventOccurrenceAttendeeRequest, AddEventOccurrenceAttendeeResponse, AdjustCustomerCreditRequest, AdjustCustomerCreditResponse, BookingEventSeriesAttendee, BookingMembershipResponse, BookingPassResponse, CheckEventAdminEligibilityRequest, CheckEventAdminEligibilityResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CreateBookingMembershipRequest, CreateBookingPassRequest, CreateDiscountCodeRequest, CreateEventCategoryRequest, CreateOccurrenceRequest, CreateVenueRequest, DeleteDiscountCodeResponse, DeleteVenueResponse, DiscountCodeResponse, EventCategoryResponse, EventOccurrenceListRecord, EventOccurrenceRecord, GeocodeVenueRequest, GeocodeVenueResponse, GetCustomerCreditResponse, GetMoneyReportRequest, GetMoneyReportResponse, ExportBookingQuestionAnswersCsvRequest, ExportBookingLedgerCsvRequest, ListBookingActivityRequest, ListBookingActivityResponse, ListBookingCustomersRequest, ListBookingCustomersResponse, ListBookingMembershipsRequest, ListBookingMembershipsResponse, ListBookingPassesRequest, ListBookingPassesResponse, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, ListCustomerMembershipsResponse, ListCustomerPassesResponse, CreatePersonRecordEntryRequest, CreatePersonRecordEntryResponse, ListDiscountCodesResponse, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, ListEventCategoriesResponse, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, UpdateBookingMembershipRequest, UpdateBookingPassRequest, UpdateDiscountCodeRequest, UpdateEventCategoryRequest, UpdateOccurrenceRequest, UpdateVenueRequest, VenueRecord } from "./bookingRecords";
10
10
  import type { ApplyAppointmentSetupRequest, ApplyAppointmentSetupResponse, AppointmentSetupResponse } from "./appointmentSetup";
11
11
  import type { AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, CourseRecord, CreateCourseRequest, CreateCourseResponse, DashboardWaitlistListResponse, DeleteCourseProgramResponse, DeleteCourseResponse, DuplicateCourseRequest, DuplicateCourseResponse, ListCourseEnrollmentsResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse, UpdateCourseRequest, UpdateCourseResponse, WaitlistDashboardActionResponse } from "./courses";
@@ -224,6 +224,9 @@ export type BookingManagementAPIEndpoints = {
224
224
  createAppointmentResource: APIEndpoint<CreateAppointmentResourceRequest, {
225
225
  siteId: string;
226
226
  }, AppointmentResourceResponse>;
227
+ createAppointmentResourceWithAccountAccess: APIEndpoint<CreateAppointmentResourceWithAccountAccessRequest, {
228
+ siteId: string;
229
+ }, CreateAppointmentResourceWithAccountAccessResponse>;
227
230
  getAppointmentResource: APIEndpoint<never, {
228
231
  siteId: string;
229
232
  resourceId: string;
@@ -1,5 +1,6 @@
1
1
  import type { TimeSlot } from "./availability";
2
2
  import type { BookingPaymentOptionsSource, BookingPaymentTermsConfig, PublicBookingPaymentTermsAvailability, BookingPricing, BookingPricingInput } from "./bookingConfig";
3
+ import type { InviteSiteMemberEmailResult, SiteInvitation, StaffOperationalCapability } from "./accessAdmin";
3
4
  import type { CourseEnrollmentRefundFailedCode, EventAttendeeRefundFailedCode } from "./bookingRefundOutcomes";
4
5
  /**
5
6
  * Booking Operations Contracts
@@ -304,7 +305,37 @@ export type CreateAppointmentResourceRequest = {
304
305
  bio?: string | null;
305
306
  timezone?: string;
306
307
  colorHex?: string | null;
307
- calendarSyncEnabled?: boolean;
308
+ };
309
+ export type TeamMemberAccountAccessInput = {
310
+ kind: "managed_by_site_admins";
311
+ } | {
312
+ kind: "link_current_user";
313
+ } | {
314
+ kind: "invite_by_email";
315
+ email: string;
316
+ staffCapabilities: StaffOperationalCapability[];
317
+ } | {
318
+ kind: "link_existing_member";
319
+ memberId: string;
320
+ };
321
+ export type TeamMemberPractitionerLinkState = {
322
+ kind: "linked_to_current_user";
323
+ } | {
324
+ kind: "linked_to_another_user";
325
+ } | {
326
+ kind: "pending_invite";
327
+ } | {
328
+ kind: "unlinked";
329
+ };
330
+ export type CreateAppointmentResourceWithAccountAccessRequest = CreateAppointmentResourceRequest & {
331
+ accountAccess: TeamMemberAccountAccessInput;
332
+ };
333
+ export type CreateAppointmentResourceWithAccountAccessResponse = {
334
+ resource: DashboardAppointmentResource;
335
+ linkState: TeamMemberPractitionerLinkState;
336
+ invitation?: SiteInvitation;
337
+ email?: InviteSiteMemberEmailResult;
338
+ accountAccessWarning?: string;
308
339
  };
309
340
  export type UpdateAppointmentResourceRequest = Partial<CreateAppointmentResourceRequest>;
310
341
  export type AppointmentResourceResponse = {
@@ -1,4 +1,4 @@
1
- import type { PersonRecordNoteKind } from "@riverbankcms/core";
1
+ import type { PersonRecordNoteKind } from "../../core/src/index";
2
2
  /**
3
3
  * Booking Record Contracts
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import type { ApiClient } from './request';
2
- import type { SensitiveCollectionConfirmationVersion, SensitiveCollectionMode } from '@riverbankcms/core';
2
+ import type { SensitiveCollectionConfirmationVersion, SensitiveCollectionMode } from '../../core/src/index';
3
3
  import type { BookingSettingsResponse, UpdateBookingSettingsRequest, CreateCourseRequest, CreateCourseResponse, UpdateCourseRequest, UpdateCourseResponse, DeleteCourseResponse, DeleteCourseProgramResponse, DuplicateCourseRequest, DuplicateCourseResponse, AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, AddEventOccurrenceAttendeeRequest, AddEventOccurrenceAttendeeResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse } from './types';
4
4
  export { CUSTOMER_MEMBERSHIP_STATUS_VALUES, CUSTOMER_PASS_STATUS_VALUES, } from './bookingRecords';
5
5
  export type { CustomerMembershipStatus, CustomerPassStatus, } from './bookingRecords';
@@ -1,4 +1,4 @@
1
- import type { AppointmentBookingQuestionsTaskDetail, CustomerCourseEnrollment, CustomerEventRegistration, CustomerMembership, CustomerOrder, CustomerPass, EventGuest, MagicLinkRequest, PortalCancelCourseEnrollmentRequest, PortalCancelCourseEnrollmentResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalCancelEventRegistrationResult, PortalCancelMembershipAtPeriodEndResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCreditResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalDigitalProductsResponse, PortalEventTicket, PortalCourseBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalMeResponse, PortalMeUpdateRequest, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalUpdateCourseBookingQuestionsRequest, PortalUpdateCourseBookingQuestionsResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, UpdateEventGuestsRequest } from "@riverbankcms/blocks/api";
1
+ import type { AppointmentBookingQuestionsTaskDetail, CustomerCourseEnrollment, CustomerEventRegistration, CustomerMembership, CustomerOrder, CustomerPass, EventGuest, MagicLinkRequest, PortalCancelCourseEnrollmentRequest, PortalCancelCourseEnrollmentResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalCancelEventRegistrationResult, PortalCancelMembershipAtPeriodEndResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCreditResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalDigitalProductsResponse, PortalEventTicket, PortalCourseBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalMeResponse, PortalMeUpdateRequest, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalUpdateCourseBookingQuestionsRequest, PortalUpdateCourseBookingQuestionsResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, UpdateEventGuestsRequest } from "../../blocks/src/api";
2
2
  import type { APIEndpoint } from "./apiEndpointTypes";
3
3
  import type { DeleteAccountRequest, DeleteAccountResponse } from "./accessAdmin";
4
4
  import type { AiPlaygroundApplyRequest, AiPlaygroundApplyResponse } from "./aiPlayground";
@@ -1,4 +1,4 @@
1
- import type { CamelizeKeys, DbRow } from "@riverbankcms/db";
1
+ import type { CamelizeKeys, DbRow } from "../../db/src/index";
2
2
  /**
3
3
  * Communications Contracts
4
4
  *
@@ -1,5 +1,5 @@
1
- import type { Block, SdkCustomBlock, SdkCustomBlockInput, SiteFont, Theme } from "@riverbankcms/blocks";
2
- import type { CamelizeKeys, DbRow } from "@riverbankcms/db";
1
+ import type { Block, SdkCustomBlock, SdkCustomBlockInput, SiteFont, Theme } from "../../blocks/src/index";
2
+ import type { CamelizeKeys, DbRow } from "../../db/src/index";
3
3
  import type { ContentTypeRoutingInfo, PublicContentTypeMeta } from "./contentTypes";
4
4
  import type { SiteRuntimePrivacyPolicy } from "./privacyPolicy";
5
5
  import type { SitePagePayload } from "./sitePages";
@@ -1,4 +1,4 @@
1
- import type { DbJson } from '@riverbankcms/db';
1
+ import type { DbJson } from '../../db/src/index';
2
2
  import type { ApiClient } from './request';
3
3
  export type PublicContentTypeFieldMeta = {
4
4
  id: string;
@@ -800,6 +800,13 @@ export declare const API_ENDPOINTS: {
800
800
  readonly responseKind: "json";
801
801
  readonly errors: readonly ["validation:invalid_input", "billing:plan_limit_exceeded", "server:internal_error"];
802
802
  };
803
+ readonly createAppointmentResourceWithAccountAccess: {
804
+ readonly path: "/sites/{siteId}/bookings/resources/account-access";
805
+ readonly method: "POST";
806
+ readonly auth: "user";
807
+ readonly responseKind: "json";
808
+ readonly errors: readonly ["validation:invalid_input", "auth:forbidden", "billing:plan_limit_exceeded", "resource:conflict", "resource:not_found", "server:internal_error"];
809
+ };
803
810
  readonly getAppointmentResource: {
804
811
  readonly path: "/sites/{siteId}/bookings/resources/{resourceId}";
805
812
  readonly method: "GET";
@@ -24,8 +24,8 @@ export declare const cartLinkLabelConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
24
24
  export declare const cartLinkPayloadSchema: z.ZodObject<{
25
25
  kind: z.ZodLiteral<"cart">;
26
26
  badge: z.ZodEnum<{
27
- "show-count": "show-count";
28
27
  hidden: "hidden";
28
+ "show-count": "show-count";
29
29
  }>;
30
30
  label: z.ZodDiscriminatedUnion<[z.ZodObject<{
31
31
  kind: z.ZodLiteral<"icon-only">;
@@ -39,8 +39,8 @@ export declare const internalLinkPayloadSchema: z.ZodObject<{
39
39
  routeId: z.ZodString;
40
40
  entityId: z.ZodString;
41
41
  entityType: z.ZodEnum<{
42
- content: "content";
43
42
  page: "page";
43
+ content: "content";
44
44
  }>;
45
45
  href: z.ZodString;
46
46
  title: z.ZodString;
@@ -71,8 +71,8 @@ export declare const linkPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
71
71
  routeId: z.ZodString;
72
72
  entityId: z.ZodString;
73
73
  entityType: z.ZodEnum<{
74
- content: "content";
75
74
  page: "page";
75
+ content: "content";
76
76
  }>;
77
77
  href: z.ZodString;
78
78
  title: z.ZodString;
@@ -103,8 +103,8 @@ export declare const linkPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
103
103
  }, z.core.$strip>, z.ZodObject<{
104
104
  kind: z.ZodLiteral<"cart">;
105
105
  badge: z.ZodEnum<{
106
- "show-count": "show-count";
107
106
  hidden: "hidden";
107
+ "show-count": "show-count";
108
108
  }>;
109
109
  label: z.ZodDiscriminatedUnion<[z.ZodObject<{
110
110
  kind: z.ZodLiteral<"icon-only">;
@@ -136,8 +136,8 @@ export declare const navigationLinkInputSchemaOptions: readonly [z.ZodObject<{
136
136
  }, z.core.$strip>, z.ZodObject<{
137
137
  kind: z.ZodLiteral<"cart">;
138
138
  badge: z.ZodEnum<{
139
- "show-count": "show-count";
140
139
  hidden: "hidden";
140
+ "show-count": "show-count";
141
141
  }>;
142
142
  label: z.ZodDiscriminatedUnion<[z.ZodObject<{
143
143
  kind: z.ZodLiteral<"icon-only">;
@@ -169,8 +169,8 @@ export declare const navigationLinkInputSchema: z.ZodDiscriminatedUnion<readonly
169
169
  }, z.core.$strip>, z.ZodObject<{
170
170
  kind: z.ZodLiteral<"cart">;
171
171
  badge: z.ZodEnum<{
172
- "show-count": "show-count";
173
172
  hidden: "hidden";
173
+ "show-count": "show-count";
174
174
  }>;
175
175
  label: z.ZodDiscriminatedUnion<[z.ZodObject<{
176
176
  kind: z.ZodLiteral<"icon-only">;
@@ -184,8 +184,8 @@ export declare const dashboardNavigationLinkSchema: z.ZodDiscriminatedUnion<[z.Z
184
184
  routeId: z.ZodString;
185
185
  entityId: z.ZodString;
186
186
  entityType: z.ZodEnum<{
187
- content: "content";
188
187
  page: "page";
188
+ content: "content";
189
189
  }>;
190
190
  href: z.ZodString;
191
191
  title: z.ZodString;
@@ -216,8 +216,8 @@ export declare const dashboardNavigationLinkSchema: z.ZodDiscriminatedUnion<[z.Z
216
216
  }, z.core.$strip>, z.ZodObject<{
217
217
  kind: z.ZodLiteral<"cart">;
218
218
  badge: z.ZodEnum<{
219
- "show-count": "show-count";
220
219
  hidden: "hidden";
220
+ "show-count": "show-count";
221
221
  }>;
222
222
  label: z.ZodDiscriminatedUnion<[z.ZodObject<{
223
223
  kind: z.ZodLiteral<"icon-only">;
@@ -249,8 +249,8 @@ export declare const sdkNavigationLinkInputSchema: z.ZodDiscriminatedUnion<reado
249
249
  }, z.core.$strip>, z.ZodObject<{
250
250
  kind: z.ZodLiteral<"cart">;
251
251
  badge: z.ZodEnum<{
252
- "show-count": "show-count";
253
252
  hidden: "hidden";
253
+ "show-count": "show-count";
254
254
  }>;
255
255
  label: z.ZodDiscriminatedUnion<[z.ZodObject<{
256
256
  kind: z.ZodLiteral<"icon-only">;
@@ -4,7 +4,7 @@
4
4
  * Bidirectional conversion between block-level LinkValue (used in the editor)
5
5
  * and LinkPayload (used in the database and API layer).
6
6
  */
7
- import { type CustomLinkValue, type EntryLinkValue, type ExternalLinkValue, type InternalResolvedLinkValue, type LinkValue, type PageLinkValue } from '@riverbankcms/blocks';
7
+ import { type CustomLinkValue, type EntryLinkValue, type ExternalLinkValue, type InternalResolvedLinkValue, type LinkValue, type PageLinkValue } from '../../../blocks/src/index';
8
8
  import type { LinkPayload, RoutableContentItem } from './types';
9
9
  export type PersistableNavigationLinkValue = InternalResolvedLinkValue | ExternalLinkValue | CustomLinkValue | PageLinkValue | EntryLinkValue;
10
10
  export type PersistableNavigationLinkError = {
@@ -5,7 +5,7 @@
5
5
  * resolution results. They are consumed by the link resolver, navigation
6
6
  * matcher, and dashboard management layers.
7
7
  */
8
- import type { DbRow } from '@riverbankcms/db';
8
+ import type { DbRow } from '../../../db/src/index';
9
9
  export type InternalLinkRoutablePayload = {
10
10
  kind: 'internal';
11
11
  routeId: string;
@@ -2,11 +2,11 @@
2
2
  * Public API Module
3
3
  *
4
4
  * This module exports only the types and utilities needed by SDK consumers.
5
- * Import from '@riverbankcms/api/public' for SDK development.
5
+ * Import from './index' for SDK development.
6
6
  *
7
7
  * @example
8
8
  * ```ts
9
- * import { createBearerAPIClient, type APIEndpoints } from '@riverbankcms/api/public';
9
+ * import { createBearerAPIClient, type APIEndpoints } from './index';
10
10
  * ```
11
11
  */
12
12
  export * from '../common/types';
@@ -4,10 +4,10 @@
4
4
  * These types are specifically for SDK consumers. They define the contract
5
5
  * between the SDK and the public API endpoints.
6
6
  *
7
- * Import from '@riverbankcms/api/public' instead of '@riverbankcms/api'
7
+ * Import from './index' instead of '../index'
8
8
  * to get only the types relevant to SDK usage.
9
9
  */
10
10
  export type { HTTPMethod, ApiResponseKind, ApiAuthRequirement, APIEndpointBase, ContentEntryStatus, ContentEntryListStage, } from '../common/types';
11
- export type { APIEndpoints } from '../types';
11
+ export type { APICallParams, APIEndpoints } from '../types';
12
12
  export type { SiteBySlugResponse, ContentTypeRoutingInfo, ContentTypeRoutingSubroute, NavigationMenuWithItems, NavigationMenuRecord, NavigationItemRecord, SiteLayoutResolvedPayload, SiteLayoutSettingsPayload, RiverbankSiteConfig, SdkThemeConfig, SdkThemePalette, SdkSiteStyleConfig, SdkSectionBackground, SdkSectionOptionsConfig, SdkContainerOptionsConfig, SdkBlockFieldConfig, SdkBlockFieldOptionsMap, SdkFieldSelectOption, ContentEntryListItem, ListPublishedEntriesResponse, PublishedContentEntryPreview, PublishedContentEntryPreviewResponse, PublishedPostPreview, PublishedPostPreviewResponse, FormRecord, PageRecord, PageRouteRecord, ContentRouteRecord, ContentEntryRecord, } from '../types';
13
- export type { Theme, SdkCustomBlock } from '@riverbankcms/blocks';
13
+ export type { Theme, SdkCustomBlock } from '../../../blocks/src/index';
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type FieldDefinitionInput, type SdkCustomBlockInput } from '../../../blocks/src/system/manifest/schema';
3
- import { type NodeDefinition } from '../../../blocks/src/system/node/schema';
2
+ import { type FieldDefinitionInput, type NodeDefinition, type SdkCustomBlockInput } from '../../../blocks/src/index';
4
3
  import type { RiverbankSiteConfigInput, SdkBlockFieldExtensionInput, SdkBlockFieldExtensionsInputMap } from '../sdkContracts';
5
4
  import type { APIEndpoints } from '../types';
6
5
  export declare const dashboardNavVisibilityBaseSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import type { FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, SiteFooterContent, Theme } from "@riverbankcms/blocks";
1
+ import type { FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, SiteFooterContent, Theme } from "../../blocks/src/index";
2
2
  import type { LinkPayload } from "./navigation/types";
3
3
  /**
4
4
  * SDK Site Configuration Types