@riverbankcms/sdk 0.147.0 → 0.149.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 (442) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dist/{PreviewEditorSidebar-DtpB3_sS.mjs → PreviewEditorSidebar-DBKln68M.mjs} +301 -205
  4. package/dist/{PreviewEditorUI-DxTLgaHo.mjs → PreviewEditorUI-DpRX4Mum.mjs} +68 -63
  5. package/dist/{PreviewQueryProvider-Dd4dxOiU.mjs → PreviewQueryProvider-C0mndwHB.mjs} +3 -3
  6. package/dist/{SdkPreviewModeRuntime-DMMNCngt.mjs → SdkPreviewModeRuntime-DJPmPY-r.mjs} +1247 -541
  7. package/dist/{SiteChromeCustomizeContext-DQXZXiqS.mjs → SiteChromeCustomizeContext-JYA0cJ_Z.mjs} +209720 -204978
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -33
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +0 -3
  10. package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
  11. package/dist/_dts/api/src/accountApi.d.ts +1 -1
  12. package/dist/_dts/api/src/admin.d.ts +22 -22
  13. package/dist/_dts/api/src/aiPatch.d.ts +2 -2
  14. package/dist/_dts/api/src/aiPlayground.d.ts +1 -0
  15. package/dist/_dts/api/src/analytics.d.ts +2 -2
  16. package/dist/_dts/api/src/apiEndpointTypes.d.ts +2 -0
  17. package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
  18. package/dist/_dts/api/src/auth.d.ts +10 -10
  19. package/dist/_dts/api/src/availability.d.ts +6 -6
  20. package/dist/_dts/api/src/billing.d.ts +42 -15
  21. package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +8 -0
  22. package/dist/_dts/api/src/billingEndpointTypes.d.ts +15 -6
  23. package/dist/_dts/api/src/blocks.d.ts +15 -14
  24. package/dist/_dts/api/src/blocksKeys.d.ts +2 -0
  25. package/dist/_dts/api/src/bookingConfig.d.ts +33 -50
  26. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -6
  27. package/dist/_dts/api/src/bookingOperations.d.ts +9 -11
  28. package/dist/_dts/api/src/bookingRecords.d.ts +16 -11
  29. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +5 -5
  30. package/dist/_dts/api/src/bookings.d.ts +7 -7
  31. package/dist/_dts/api/src/calendar.d.ts +9 -9
  32. package/dist/_dts/api/src/clientErrorReporting.d.ts +11 -0
  33. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -8
  34. package/dist/_dts/api/src/common/cancellation.d.ts +23 -0
  35. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  36. package/dist/_dts/api/src/content-editor.d.ts +2 -2
  37. package/dist/_dts/api/src/contentEntries.d.ts +17 -48
  38. package/dist/_dts/api/src/contentRuntime.d.ts +51 -37
  39. package/dist/_dts/api/src/contentTypes.d.ts +11 -11
  40. package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +6 -6
  41. package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +1 -1
  42. package/dist/_dts/api/src/documentLifecycle.d.ts +67 -0
  43. package/dist/_dts/api/src/domains.d.ts +16 -16
  44. package/dist/_dts/api/src/editLeaseEndpoints.d.ts +72 -0
  45. package/dist/_dts/api/src/emailSettings.d.ts +4 -4
  46. package/dist/_dts/api/src/endpoints.d.ts +135 -51
  47. package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
  48. package/dist/_dts/api/src/eventManagementContracts.d.ts +29 -7
  49. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +0 -8
  50. package/dist/_dts/api/src/eventPageWords.d.ts +7 -12
  51. package/dist/_dts/api/src/footerSettings.d.ts +6 -6
  52. package/dist/_dts/api/src/index.d.ts +8 -7
  53. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
  54. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  55. package/dist/_dts/api/src/navigation.d.ts +5 -5
  56. package/dist/_dts/api/src/pageSurfaceEditorEndpoints.d.ts +55 -0
  57. package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +28 -7
  58. package/dist/_dts/api/src/pages.d.ts +7 -7
  59. package/dist/_dts/api/src/performance.d.ts +1 -1
  60. package/dist/_dts/api/src/public/index.d.ts +1 -1
  61. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +4 -2
  62. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +6 -29
  63. package/dist/_dts/api/src/redirects.d.ts +3 -3
  64. package/dist/_dts/api/src/request.d.ts +11 -2
  65. package/dist/_dts/api/src/resources.d.ts +4 -4
  66. package/dist/_dts/api/src/routes.d.ts +8 -3
  67. package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -2
  68. package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +21 -0
  69. package/dist/_dts/api/src/sdkContracts.d.ts +5 -28
  70. package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +1 -1
  71. package/dist/_dts/api/src/sdkEventOccurrenceRequestContracts.d.ts +43 -0
  72. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +4 -2
  73. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +9 -2
  74. package/dist/_dts/api/src/seo.d.ts +4 -4
  75. package/dist/_dts/api/src/services.d.ts +4 -4
  76. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -8
  77. package/dist/_dts/api/src/siteMembers.d.ts +10 -10
  78. package/dist/_dts/api/src/siteOnboarding.d.ts +14 -0
  79. package/dist/_dts/api/src/siteOperations.d.ts +6 -2
  80. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -3
  81. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -12
  82. package/dist/_dts/api/src/siteRuntimeEntry.d.ts +31 -0
  83. package/dist/_dts/billing/src/checkout/platform.d.ts +77 -0
  84. package/dist/_dts/billing/src/components/index.d.ts +25 -40
  85. package/dist/_dts/billing/src/membership/index.d.ts +1 -3
  86. package/dist/_dts/billing/src/plans/entitlements.d.ts +80 -0
  87. package/dist/_dts/billing/src/plans/registry.d.ts +16 -16
  88. package/dist/_dts/billing/src/plans/standing.d.ts +9 -2
  89. package/dist/_dts/billing/src/plans/types.d.ts +5 -15
  90. package/dist/_dts/billing/src/site-arrangements.d.ts +2 -2
  91. package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +2 -4
  92. package/dist/_dts/billing/src/subscriptions/store.d.ts +17 -11
  93. package/dist/_dts/block-form/src/backend/store-backend.d.ts +6 -7
  94. package/dist/_dts/block-form/src/backend/types.d.ts +7 -0
  95. package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -1
  96. package/dist/_dts/blocks/src/client/events.d.ts +3 -0
  97. package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
  98. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +2 -2
  99. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +54 -14
  100. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +4 -13
  101. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
  102. package/dist/_dts/blocks/src/portal/types.d.ts +9 -8
  103. package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +2 -1
  104. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -1
  105. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +28 -28
  106. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +7 -2
  107. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +84 -160
  108. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
  109. package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +31 -4
  110. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -2
  111. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  112. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +4 -2
  113. package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +3 -1
  114. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +6 -0
  115. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +6 -0
  116. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +4 -0
  117. package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +4 -1
  118. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +72 -12
  119. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +36 -6
  120. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingNowIso.d.ts +8 -0
  121. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +3 -0
  122. package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -1
  123. package/dist/_dts/blocks/src/system/runtime/hooks/usePolling.d.ts +7 -48
  124. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.checkout-return-context.d.ts +7 -0
  125. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +3 -1
  126. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +9 -0
  128. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.payment-confirmation.d.ts +13 -0
  129. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +17 -2
  130. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-actions.d.ts +8 -0
  131. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +1 -0
  132. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +1 -0
  133. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -1
  134. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
  135. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +14 -2
  136. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
  137. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +5 -0
  138. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +2 -0
  139. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +4 -1
  140. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +3 -3
  141. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -0
  142. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +2 -5
  143. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -0
  144. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +9 -5
  145. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +6 -0
  146. package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +37 -3
  147. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.client.d.ts +1 -1
  148. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +16 -1
  149. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardPresentations.d.ts +13 -0
  150. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +29 -29
  151. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -14
  152. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +12 -0
  153. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +54 -6
  154. package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +7 -2
  155. package/dist/_dts/blocks/src/system/runtime/shared/components/DemoBookingPortalAccess.d.ts +22 -0
  156. package/dist/_dts/blocks/src/system/runtime/shared/components/DemoPortalSignInLink.d.ts +4 -0
  157. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
  158. package/dist/_dts/blocks/src/system/runtime/shared/utils/demoBookingPassStorage.d.ts +10 -0
  159. package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +29 -0
  160. package/dist/_dts/commerce/src/purchase/bookingPaymentSelection.d.ts +54 -0
  161. package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +58 -13
  162. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
  163. package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +16 -21
  164. package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +23 -40
  165. package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +2 -2
  166. package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +5 -4
  167. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
  168. package/dist/_dts/commerce/src/purchase/index.d.ts +1 -3
  169. package/dist/_dts/commerce/src/purchase/membershipOrderItemMetadata.d.ts +4 -0
  170. package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +9 -4
  171. package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +13 -1
  172. package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +5 -0
  173. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +3 -1
  174. package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +7 -1
  175. package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +1 -1
  176. package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +2 -2
  177. package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +6 -0
  178. package/dist/_dts/commerce/src/purchase/types.d.ts +2 -1
  179. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -7
  180. package/dist/_dts/content-editor/src/controller/EditLeaseController.d.ts +39 -0
  181. package/dist/_dts/content-editor/src/controller/EditorWriteGate.d.ts +38 -0
  182. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +25 -61
  183. package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseBanner.d.ts +7 -0
  184. package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseControllers.d.ts +14 -0
  185. package/dist/_dts/content-editor/src/controller/deriveEditorUnpublishedState.d.ts +6 -0
  186. package/dist/_dts/content-editor/src/controller/documentValueBaseline.d.ts +25 -0
  187. package/dist/_dts/content-editor/src/controller/editLeaseHandover.d.ts +30 -0
  188. package/dist/_dts/content-editor/src/controller/editLeaseLossSignal.d.ts +6 -0
  189. package/dist/_dts/content-editor/src/controller/editLeaseNotice.d.ts +28 -0
  190. package/dist/_dts/content-editor/src/controller/editorClientId.d.ts +2 -0
  191. package/dist/_dts/content-editor/src/controller/editorEditability.d.ts +38 -0
  192. package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +34 -0
  193. package/dist/_dts/content-editor/src/controller/normalizedMetadataBaseline.d.ts +29 -0
  194. package/dist/_dts/content-editor/src/controller/pageSurfaceDocumentBaselines.d.ts +14 -0
  195. package/dist/_dts/content-editor/src/controller/pageSurfaceLifecycle.d.ts +11 -0
  196. package/dist/_dts/content-editor/src/controller/planDocumentBaselineRefresh.d.ts +19 -0
  197. package/dist/_dts/content-editor/src/controller/readDocumentLeaseBaselines.d.ts +19 -0
  198. package/dist/_dts/content-editor/src/controller/refreshDocumentLeaseBaseline.d.ts +12 -0
  199. package/dist/_dts/content-editor/src/controller/refreshLinkedEntry.d.ts +17 -0
  200. package/dist/_dts/content-editor/src/controller/replayRestoredEditorEffects.d.ts +2 -3
  201. package/dist/_dts/content-editor/src/controller/routeWrites.d.ts +26 -0
  202. package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +16 -17
  203. package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +6 -2
  204. package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +3 -3
  205. package/dist/_dts/content-editor/src/controller/useEntryValueAutosaves.d.ts +21 -0
  206. package/dist/_dts/content-editor/src/controller/useInitialEditorUiStore.d.ts +24 -0
  207. package/dist/_dts/content-editor/src/controller/useServerBaselineReconciliation.d.ts +17 -0
  208. package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +1 -1
  209. package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +5 -1
  210. package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +8 -47
  211. package/dist/_dts/content-editor/src/hooks/editLeaseMachine.d.ts +120 -0
  212. package/dist/_dts/content-editor/src/hooks/publishability.d.ts +6 -10
  213. package/dist/_dts/content-editor/src/hooks/useAutosaveStatus.d.ts +3 -0
  214. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +5 -15
  215. package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +7 -5
  216. package/dist/_dts/content-editor/src/hooks/useEditLease.d.ts +28 -0
  217. package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +25 -39
  218. package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +17 -19
  219. package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +5 -8
  220. package/dist/_dts/content-editor/src/hooks/useValueAutosave.d.ts +64 -0
  221. package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +0 -7
  222. package/dist/_dts/content-editor/src/index.d.ts +26 -7
  223. package/dist/_dts/content-editor/src/lib/browserStorage.d.ts +5 -0
  224. package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +12 -0
  225. package/dist/_dts/content-editor/src/linkedEntries/owner.d.ts +9 -0
  226. package/dist/_dts/content-editor/src/liveDrafts/draftProjection.d.ts +66 -0
  227. package/dist/_dts/content-editor/src/liveDrafts/linkedSaveHandovers.d.ts +37 -0
  228. package/dist/_dts/content-editor/src/liveDrafts/remoteDraftOverlay.d.ts +113 -0
  229. package/dist/_dts/content-editor/src/liveDrafts/useLiveDrafts.d.ts +32 -0
  230. package/dist/_dts/content-editor/src/liveDrafts/useRetentionTicks.d.ts +7 -0
  231. package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +6 -0
  232. package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +1 -0
  233. package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +96 -19
  234. package/dist/_dts/content-editor/src/services/editorApiClient.d.ts +13 -0
  235. package/dist/_dts/content-editor/src/services/index.d.ts +2 -0
  236. package/dist/_dts/content-editor/src/services/pageSurfaceEditorServices.d.ts +23 -0
  237. package/dist/_dts/content-editor/src/sync/flushValues.d.ts +13 -0
  238. package/dist/_dts/content-editor/src/sync/lifecycleFailure.d.ts +51 -0
  239. package/dist/_dts/content-editor/src/sync/runLifecycle.d.ts +64 -0
  240. package/dist/_dts/content-editor/src/sync/schedulerValues.d.ts +27 -0
  241. package/dist/_dts/content-editor/src/sync/sendPlanning.d.ts +104 -0
  242. package/dist/_dts/content-editor/src/sync/valueSync.d.ts +114 -0
  243. package/dist/_dts/content-editor/src/ui/blockCollection.d.ts +8 -0
  244. package/dist/_dts/content-editor/src/ui/documentLifecycle.d.ts +18 -0
  245. package/dist/_dts/content-editor/src/ui/editorLeaseUiState.d.ts +7 -0
  246. package/dist/_dts/content-editor/src/ui/editorRefresh.d.ts +82 -0
  247. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +102 -127
  248. package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +1 -1
  249. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +126 -72
  250. package/dist/_dts/content-editor/src/ui/editorValueSnapshot.d.ts +18 -0
  251. package/dist/_dts/content-editor/src/ui/serverBlockAdmission.d.ts +26 -0
  252. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +16 -27
  253. package/dist/_dts/content-editor/src/ui/stores/blockVersionsStore.d.ts +24 -0
  254. package/dist/_dts/content-editor/src/ui/stores/linkedEntryLeaseStore.d.ts +54 -0
  255. package/dist/_dts/content-editor/src/ui/stores/linkedSaveHandoversStore.d.ts +11 -0
  256. package/dist/_dts/content-editor/src/ui/stores/remoteDraftsStore.d.ts +10 -0
  257. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +63 -3
  258. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +2 -2
  259. package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +1 -1
  260. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -4
  261. package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -4
  262. package/dist/_dts/content-model/src/definitions/shared.d.ts +11 -2
  263. package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
  264. package/dist/_dts/content-model/src/entry-slots/serializeAllowedBlocks.d.ts +2 -0
  265. package/dist/_dts/content-model/src/metadataConfig.d.ts +10 -38
  266. package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
  267. package/dist/_dts/content-model/src/types.d.ts +0 -1
  268. package/dist/_dts/core/src/block-content-identity.d.ts +49 -1
  269. package/dist/_dts/core/src/booking-flexible-balance.d.ts +2 -2
  270. package/dist/_dts/core/src/booking-instalment-deposit.d.ts +20 -0
  271. package/dist/_dts/core/src/booking-live-payment-terms.d.ts +72 -0
  272. package/dist/_dts/core/src/booking-payment-options.d.ts +24 -0
  273. package/dist/_dts/core/src/booking-payment-schemas.d.ts +522 -0
  274. package/dist/_dts/core/src/branded.d.ts +15 -0
  275. package/dist/_dts/core/src/currency-format.d.ts +8 -2
  276. package/dist/_dts/core/src/demo-lifecycle-status.d.ts +2 -2
  277. package/dist/_dts/core/src/demo-warm-pool-target.d.ts +8 -0
  278. package/dist/_dts/core/src/edit-lease.d.ts +60 -0
  279. package/dist/_dts/core/src/editor-state.d.ts +38 -13
  280. package/dist/_dts/core/src/editor-value-sync.d.ts +79 -0
  281. package/dist/_dts/core/src/html-entities.d.ts +6 -0
  282. package/dist/_dts/core/src/index.d.ts +7 -0
  283. package/dist/_dts/core/src/uuid.d.ts +7 -5
  284. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +456 -189
  285. package/dist/_dts/editor/src/EditorProvider.d.ts +5 -0
  286. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +14 -0
  287. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +1 -0
  288. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +0 -1
  289. package/dist/_dts/editor/src/index.d.ts +1 -1
  290. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +10 -9
  291. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +1 -1
  292. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
  293. package/dist/_dts/editor-blocks/src/block-editor/BlockCardFrame.d.ts +1 -1
  294. package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +1 -1
  295. package/dist/_dts/editor-blocks/src/block-editor/applyExtendedFieldDefaults.d.ts +3 -4
  296. package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +4 -8
  297. package/dist/_dts/editor-blocks/src/block-editor/editorBlockItem.d.ts +23 -0
  298. package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +2 -7
  299. package/dist/_dts/editor-blocks/src/block-editor/hooks/applyBlockStructureChange.d.ts +4 -0
  300. package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +14 -5
  301. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +21 -19
  302. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -10
  303. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +8 -16
  304. package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +6 -16
  305. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +37 -9
  306. package/dist/_dts/editor-blocks/src/index.d.ts +2 -1
  307. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +1 -1
  308. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +1 -1
  309. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +1 -1
  310. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +1 -1
  311. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +3 -2
  312. package/dist/_dts/media-core/src/fileStorage.d.ts +4 -0
  313. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +3 -1
  314. package/dist/_dts/media-editor/src/MediaPickerMiniDialog.d.ts +10 -0
  315. package/dist/_dts/media-editor/src/context.d.ts +1 -1
  316. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
  317. package/dist/_dts/media-editor/src/index.d.ts +2 -0
  318. package/dist/_dts/media-editor/src/provider.d.ts +3 -2
  319. package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
  320. package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +3 -1
  321. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +8 -3
  322. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +6 -3
  323. package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +22 -2
  324. package/dist/_dts/preview-next/src/client/blocks/previewProjection/entryFieldRebinding.d.ts +13 -0
  325. package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +2 -1
  326. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +11 -1
  327. package/dist/_dts/preview-next/src/client/blocks/renderPrecedence.d.ts +17 -0
  328. package/dist/_dts/preview-next/src/client/blocks/useLinkedSaveHandoverRetention.d.ts +20 -0
  329. package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
  330. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
  331. package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
  332. package/dist/_dts/preview-next/src/client/preview/PreviewAccessBanners.d.ts +7 -0
  333. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
  334. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +23 -14
  335. package/dist/_dts/preview-next/src/client/preview/PreviewLeaseEditingMode.d.ts +2 -0
  336. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -2
  337. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
  338. package/dist/_dts/preview-next/src/client/preview/previewCustomizeAutosave.d.ts +5 -0
  339. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +3 -4
  340. package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +1 -0
  341. package/dist/_dts/preview-next/src/client/preview/usePreviewCustomizeWorkflowState.d.ts +4 -0
  342. package/dist/_dts/preview-next/src/client/previewAuthStore.d.ts +7 -0
  343. package/dist/_dts/preview-next/src/constants.d.ts +4 -0
  344. package/dist/_dts/preview-next/src/keepAlive.d.ts +1 -0
  345. package/dist/_dts/realtime/src/client.d.ts +3 -0
  346. package/dist/_dts/realtime/src/draftChannel.d.ts +91 -0
  347. package/dist/_dts/realtime/src/drafts.d.ts +210 -0
  348. package/dist/_dts/realtime/src/index.d.ts +3 -0
  349. package/dist/_dts/realtime/src/leaseChangeSubscriptions.d.ts +8 -0
  350. package/dist/_dts/realtime/src/types.d.ts +113 -0
  351. package/dist/_dts/realtime/src/useDraftChannel.d.ts +34 -0
  352. package/dist/_dts/realtime/src/useSiteRealtimeReload.d.ts +27 -0
  353. package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -55
  354. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  355. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -0
  356. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +2 -0
  357. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -12
  358. package/dist/_dts/sdk/src/version.d.ts +1 -1
  359. package/dist/_dts/surfaces/src/index.d.ts +1 -0
  360. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
  361. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +0 -5
  362. package/dist/_dts/ui/src/color-picker.d.ts +1 -1
  363. package/dist/_dts/ui/src/palette/useHexDraft.d.ts +7 -0
  364. package/dist/client/{BookingMailingListNote-1n4Ch_u_.mjs → BookingMailingListNote-Cr3EeTP5.mjs} +504 -163
  365. package/dist/client/DemoBookingPortalAccess-BFGB1Fay.mjs +344 -0
  366. package/dist/client/{EventCombined.client-C0pgma9y.mjs → EventCombined.client-DKYV0_ft.mjs} +6 -6
  367. package/dist/client/{EventListing.client-4fhLOvHP.mjs → EventListing.client-B9UIcEYc.mjs} +2 -2
  368. package/dist/client/{LeafletStaticMap-DScC4F3w.mjs → LeafletStaticMap-CFLPkP0K.mjs} +1 -1
  369. package/dist/client/{TerminalPanel-B5ZUsYhe.mjs → TerminalPanel-JjmgxEsR.mjs} +1 -1
  370. package/dist/client/{ThemedButton-DoVIV1Ao.mjs → ThemedButton-CKV1Jh2m.mjs} +1 -1
  371. package/dist/client/{accordion-CoT5g7zo.mjs → accordion-DXWIfT3T.mjs} +1 -1
  372. package/dist/client/{bookingForm-BWxB46xD.mjs → bookingForm-CjZgHNvv.mjs} +216 -63
  373. package/dist/client/bookings.mjs +1187 -692
  374. package/dist/client/{carousel-DtNYWFd3.mjs → carousel-DSLikmvZ.mjs} +1 -1
  375. package/dist/client/{cart-z4qZih1Y.mjs → cart-HDjWReFt.mjs} +3 -3
  376. package/dist/client/{checkout-DpL7euFH.mjs → checkout-CUvRZA3W.mjs} +3 -3
  377. package/dist/client/{checkoutUrls-BEfR7kVu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
  378. package/dist/client/client.mjs +2711 -1684
  379. package/dist/client/{context-C8TinPJc.mjs → context-DFmaZa-Q.mjs} +4 -3
  380. package/dist/client/{dates-vwwxTeB0.mjs → dates-BBep1JnF.mjs} +56 -11
  381. package/dist/client/{eventCalendar-DIbHfJXO.mjs → eventCalendar-zEobhxo4.mjs} +9 -9
  382. package/dist/client/{eventCombined-DoGMJ6cg.mjs → eventCombined-Dp7bz5k-.mjs} +4 -4
  383. package/dist/client/{eventDetails-BjN9v6a1.mjs → eventDetails-FE-zqTt7.mjs} +4 -4
  384. package/dist/client/{eventListing-DajjWgOv.mjs → eventListing-BMt5snal.mjs} +4 -4
  385. package/dist/client/{eventRegistration-DMq9gMA-.mjs → eventRegistration-O6ZxHfOb.mjs} +422 -570
  386. package/dist/client/{form-Qf6qTbos.mjs → form-DFa1D8vt.mjs} +3 -3
  387. package/dist/client/{headerSection-D7qJrqFX.mjs → headerSection-CmjHLR-N.mjs} +3 -3
  388. package/dist/client/hooks.mjs +414 -182
  389. package/dist/client/{locationMap-CCF9-t_0.mjs → locationMap-BXKP_lGh.mjs} +3 -3
  390. package/dist/client/{media-CwBGetqC.mjs → media-Cl38iOMI.mjs} +10 -3
  391. package/dist/client/{newsletterForm-DzCLSP4S.mjs → newsletterForm-CU-HmxGx.mjs} +3 -3
  392. package/dist/client/{pricing-Cgxv2KLC.mjs → pricing-KEAEsibq.mjs} +1 -1
  393. package/dist/client/{productDetail-ru9w5GHx.mjs → productDetail-Ckp7MGnt.mjs} +3 -3
  394. package/dist/client/{productList-zaapKSl-.mjs → productList-D91V0sYa.mjs} +3 -3
  395. package/dist/client/{propsDecoder-CwvvNOHx.mjs → propsDecoder-DZd6RJeA.mjs} +244 -94
  396. package/dist/client/rendering/client.mjs +2656 -1705
  397. package/dist/client/rendering/islands.mjs +18 -18
  398. package/dist/client/rendering.mjs +3430 -2352
  399. package/dist/client/{routeIslandApiConfig-BwVFo0Y4.mjs → routeIslandApiConfig-E1EkhhYY.mjs} +1 -1
  400. package/dist/client/{shop-mktkXvbV.mjs → shop-4F2jLQPI.mjs} +131 -85
  401. package/dist/client/{shop-commerce-De7gEnkA.mjs → shop-commerce-BbfCJjB3.mjs} +25 -13
  402. package/dist/client/{shop-commerce-store-B3MCxIBW.mjs → shop-commerce-store-vicweP2K.mjs} +1 -1
  403. package/dist/client/{shopShared-TqExh235.mjs → shopShared-DlONJt0T.mjs} +4 -4
  404. package/dist/client/{useEventFilters-n_OjkIjX.mjs → useEventFilters-COYyL3m7.mjs} +32 -17
  405. package/dist/preview-next/before-render.mjs +207 -105
  406. package/dist/preview-next/client/runtime.mjs +4 -4
  407. package/dist/preview-next/constants.mjs +5 -1
  408. package/dist/preview-next/index.mjs +5 -1
  409. package/dist/preview-next/keepAlive.mjs +341 -165
  410. package/dist/preview-next/middleware.mjs +207 -105
  411. package/dist/{previewAuthStore-C_EHQ5XA.mjs → previewAuthStore-BBmV7UsW.mjs} +243 -112
  412. package/dist/{sdk-runtime-BIkJg5y1.mjs → sdk-runtime-CwvFFjB-.mjs} +2 -2
  413. package/dist/{separator-C9qDP95Z.mjs → separator-ByL72zUT.mjs} +1 -1
  414. package/dist/server/components.mjs +1839 -1475
  415. package/dist/server/config-validation.mjs +381 -166
  416. package/dist/server/config.mjs +381 -166
  417. package/dist/server/data.mjs +381 -166
  418. package/dist/server/index.mjs +214 -110
  419. package/dist/server/next.mjs +663 -351
  420. package/dist/server/page-converter.mjs +198 -79
  421. package/dist/server/prebuild.mjs +1 -1
  422. package/dist/server/rendering/server.mjs +1536 -1169
  423. package/dist/server/rendering.mjs +2432 -2068
  424. package/dist/server/routing.mjs +456 -173
  425. package/dist/server/server.mjs +447 -267
  426. package/package.json +1 -1
  427. package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +0 -123
  428. package/dist/_dts/billing/src/plans/display.d.ts +0 -15
  429. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-note.d.ts +0 -3
  430. package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +0 -10
  431. package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +0 -55
  432. package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +0 -24
  433. package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +0 -4
  434. package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +0 -16
  435. package/dist/_dts/content-editor/src/controller/driver.d.ts +0 -14
  436. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +0 -7
  437. package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +0 -29
  438. package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +0 -26
  439. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +0 -64
  440. package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +0 -48
  441. package/dist/_dts/content-editor/src/types.d.ts +0 -44
  442. package/dist/client/DiscountCodeDisclosure-CKJtz0mY.mjs +0 -137
@@ -0,0 +1,72 @@
1
+ import type { BookingFlexibleBalanceContractStatus } from './booking-flexible-balance';
2
+ import type { OrderInstalmentPlanStatus } from './booking-instalments';
3
+ /**
4
+ * Whether an order still has payment terms being collected: an instalment plan
5
+ * or a flexible-balance contract that hasn't been settled, closed or cancelled.
6
+ *
7
+ * Both tables are total over their status unions, so a new status is a compile
8
+ * error here until someone decides whether it counts as live.
9
+ */
10
+ declare const LIVE_PLAN_STATUSES: {
11
+ readonly pending_initial_payment: true;
12
+ readonly active: true;
13
+ readonly payment_failed: true;
14
+ readonly reconciliation_required: true;
15
+ readonly completed: false;
16
+ readonly cancelled: false;
17
+ readonly cancelled_as_paid_early: false;
18
+ readonly refunded: false;
19
+ };
20
+ declare const LIVE_CONTRACT_STATUSES: {
21
+ readonly active: true;
22
+ readonly payment_pending: true;
23
+ readonly overdue: true;
24
+ readonly completed: false;
25
+ readonly waived: false;
26
+ readonly refunded: false;
27
+ readonly cancelled_due_to_non_payment: false;
28
+ readonly closed_order_failed: false;
29
+ };
30
+ type LiveKeys<TTable extends Record<string, boolean>> = {
31
+ [K in keyof TTable]: TTable[K] extends true ? K : never;
32
+ }[keyof TTable];
33
+ /** The plan statuses in which instalments are still being collected. */
34
+ export type LiveOrderInstalmentPlanStatus = LiveKeys<typeof LIVE_PLAN_STATUSES>;
35
+ export declare function isLiveOrderInstalmentPlanStatus(status: OrderInstalmentPlanStatus): status is LiveOrderInstalmentPlanStatus;
36
+ /** The contract statuses in which a balance is still being collected. */
37
+ export type LiveFlexibleBalanceContractStatus = LiveKeys<typeof LIVE_CONTRACT_STATUSES>;
38
+ export declare function isLiveFlexibleBalanceContractStatus(status: BookingFlexibleBalanceContractStatus): status is LiveFlexibleBalanceContractStatus;
39
+ export type LivePaymentTermsInput = Readonly<{
40
+ plan: Readonly<{
41
+ status: OrderInstalmentPlanStatus;
42
+ }> | null;
43
+ contract: Readonly<{
44
+ status: BookingFlexibleBalanceContractStatus;
45
+ }> | null;
46
+ }>;
47
+ export declare function hasLivePaymentTerms(input: LivePaymentTermsInput): boolean;
48
+ /** Partial refunds must also protect a cancelled contract that staff can reopen. */
49
+ export declare function paymentTermsBlockPartialRefund(input: LivePaymentTermsInput): boolean;
50
+ /**
51
+ * Whether an instalment plan's remaining balance can take a payment now, by
52
+ * hand or online: it's live and no collection is in flight.
53
+ */
54
+ export declare function isSettleableOrderInstalmentPlanStatus(status: OrderInstalmentPlanStatus): boolean;
55
+ /**
56
+ * Whether a flexible-balance contract's remaining balance can take a payment
57
+ * now, by hand or online: it's live and no collection is in flight.
58
+ */
59
+ export declare function isSettleableFlexibleBalanceContractStatus(status: BookingFlexibleBalanceContractStatus): boolean;
60
+ /**
61
+ * What happens to a flexible-balance contract when its order fails or is
62
+ * retired before it completes. Only a live contract is closed; one that was
63
+ * already settled, waived, refunded, cancelled or closed keeps its status.
64
+ */
65
+ export type FailedOrderContractClosure = Readonly<{
66
+ kind: 'close';
67
+ from: LiveFlexibleBalanceContractStatus;
68
+ }> | Readonly<{
69
+ kind: 'keep';
70
+ }>;
71
+ export declare function decideContractClosureForFailedOrder(status: BookingFlexibleBalanceContractStatus): FailedOrderContractClosure;
72
+ export {};
@@ -0,0 +1,24 @@
1
+ import type { BookingFlexibleBalanceConfig } from './booking-flexible-balance';
2
+ import type { BookingInstalmentPlanConfig } from './booking-instalments';
3
+ import { type Result } from './result';
4
+ /**
5
+ * One way a customer may pay for a booking. This is the single definition of
6
+ * the option type; `booking-payment-schemas.typetest.ts` keeps it equal to the
7
+ * schema's output in both directions.
8
+ */
9
+ export type BookingPaymentCollectionOption = Readonly<{
10
+ kind: 'upfront';
11
+ }> | Readonly<{
12
+ kind: 'deferred_manual';
13
+ }> | Readonly<{
14
+ kind: 'instalment_plan';
15
+ plan: BookingInstalmentPlanConfig;
16
+ }> | Readonly<{
17
+ kind: 'flexible_balance';
18
+ config: BookingFlexibleBalanceConfig;
19
+ }>;
20
+ /** The ways a customer may pay for a booking: the one kind set. */
21
+ export type BookingPaymentCollectionOptionKind = BookingPaymentCollectionOption['kind'];
22
+ export type BookingPaymentOptionKindsError = 'no_options' | 'duplicate_kind' | 'incompatible_collection_options';
23
+ /** Automatic instalments and a flexible balance cannot share one booking offer. */
24
+ export declare function validateBookingPaymentOptionKinds(kinds: readonly BookingPaymentCollectionOptionKind[]): Result<void, BookingPaymentOptionKindsError>;
@@ -0,0 +1,522 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The one declaration of a booking payment option's shape: the option kinds,
4
+ * instalment plans and flexible-balance configs. Stored terms, API bodies,
5
+ * site commands and block props all parse through it.
6
+ *
7
+ * This module is a subpath (`@riverbankcms/core/booking-payment-schemas`) so
8
+ * core's main entry stays free of zod.
9
+ *
10
+ * `strip` drops unknown keys (readers and API bodies); `strict` rejects them
11
+ * (site commands, which must not accept fields they'd silently ignore).
12
+ */
13
+ export type BookingPaymentSchemaObjectMode = 'strip' | 'strict';
14
+ type ObjectFactory<TConfig extends z.core.$ZodObjectConfig> = <TShape extends z.ZodRawShape>(shape: TShape) => z.ZodObject<TShape, TConfig>;
15
+ declare function buildBookingPaymentOptionSchemas<TConfig extends z.core.$ZodObjectConfig>(object: ObjectFactory<TConfig>): {
16
+ depositRefundPolicy: z.ZodEnum<{
17
+ refundable: "refundable";
18
+ non_refundable: "non_refundable";
19
+ }>;
20
+ instalmentPlan: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
22
+ depositAmountCents: z.ZodNumber;
23
+ depositRefundability: z.ZodEnum<{
24
+ refundable: "refundable";
25
+ non_refundable: "non_refundable";
26
+ }>;
27
+ remainderDueCount: z.ZodNumber;
28
+ intervalUnit: z.ZodEnum<{
29
+ day: "day";
30
+ week: "week";
31
+ month: "month";
32
+ }>;
33
+ }, TConfig>, z.ZodObject<{
34
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
35
+ depositAmountCents: z.ZodNumber;
36
+ depositRefundability: z.ZodEnum<{
37
+ refundable: "refundable";
38
+ non_refundable: "non_refundable";
39
+ }>;
40
+ instalmentCount: z.ZodNumber;
41
+ intervalCount: z.ZodNumber;
42
+ intervalUnit: z.ZodEnum<{
43
+ day: "day";
44
+ week: "week";
45
+ month: "month";
46
+ }>;
47
+ }, TConfig>, z.ZodObject<{
48
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
49
+ instalmentCount: z.ZodNumber;
50
+ intervalCount: z.ZodNumber;
51
+ intervalUnit: z.ZodEnum<{
52
+ day: "day";
53
+ week: "week";
54
+ month: "month";
55
+ }>;
56
+ }, TConfig>], "kind">;
57
+ flexibleBalanceDueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
58
+ kind: z.ZodLiteral<"relative_to_start_date">;
59
+ daysBeforeStart: z.ZodNumber;
60
+ }, TConfig>, z.ZodObject<{
61
+ kind: z.ZodLiteral<"fixed_calendar_date">;
62
+ dueAt: z.ZodString;
63
+ }, TConfig>], "kind">;
64
+ flexibleBalanceConfig: z.ZodObject<{
65
+ upfrontAmountCents: z.ZodNumber;
66
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
+ kind: z.ZodLiteral<"relative_to_start_date">;
68
+ daysBeforeStart: z.ZodNumber;
69
+ }, TConfig>, z.ZodObject<{
70
+ kind: z.ZodLiteral<"fixed_calendar_date">;
71
+ dueAt: z.ZodString;
72
+ }, TConfig>], "kind">;
73
+ depositRefundability: z.ZodEnum<{
74
+ refundable: "refundable";
75
+ non_refundable: "non_refundable";
76
+ }>;
77
+ }, TConfig>;
78
+ paymentCollectionOption: z.ZodDiscriminatedUnion<[z.ZodObject<{
79
+ kind: z.ZodLiteral<"upfront">;
80
+ }, TConfig>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"deferred_manual">;
82
+ }, TConfig>, z.ZodObject<{
83
+ kind: z.ZodLiteral<"instalment_plan">;
84
+ plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
85
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
86
+ depositAmountCents: z.ZodNumber;
87
+ depositRefundability: z.ZodEnum<{
88
+ refundable: "refundable";
89
+ non_refundable: "non_refundable";
90
+ }>;
91
+ remainderDueCount: z.ZodNumber;
92
+ intervalUnit: z.ZodEnum<{
93
+ day: "day";
94
+ week: "week";
95
+ month: "month";
96
+ }>;
97
+ }, TConfig>, z.ZodObject<{
98
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
99
+ depositAmountCents: z.ZodNumber;
100
+ depositRefundability: z.ZodEnum<{
101
+ refundable: "refundable";
102
+ non_refundable: "non_refundable";
103
+ }>;
104
+ instalmentCount: z.ZodNumber;
105
+ intervalCount: z.ZodNumber;
106
+ intervalUnit: z.ZodEnum<{
107
+ day: "day";
108
+ week: "week";
109
+ month: "month";
110
+ }>;
111
+ }, TConfig>, z.ZodObject<{
112
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
113
+ instalmentCount: z.ZodNumber;
114
+ intervalCount: z.ZodNumber;
115
+ intervalUnit: z.ZodEnum<{
116
+ day: "day";
117
+ week: "week";
118
+ month: "month";
119
+ }>;
120
+ }, TConfig>], "kind">;
121
+ }, TConfig>, z.ZodObject<{
122
+ kind: z.ZodLiteral<"flexible_balance">;
123
+ config: z.ZodObject<{
124
+ upfrontAmountCents: z.ZodNumber;
125
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
126
+ kind: z.ZodLiteral<"relative_to_start_date">;
127
+ daysBeforeStart: z.ZodNumber;
128
+ }, TConfig>, z.ZodObject<{
129
+ kind: z.ZodLiteral<"fixed_calendar_date">;
130
+ dueAt: z.ZodString;
131
+ }, TConfig>], "kind">;
132
+ depositRefundability: z.ZodEnum<{
133
+ refundable: "refundable";
134
+ non_refundable: "non_refundable";
135
+ }>;
136
+ }, TConfig>;
137
+ }, TConfig>], "kind">;
138
+ paymentTerms: z.ZodObject<{
139
+ allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
140
+ kind: z.ZodLiteral<"upfront">;
141
+ }, TConfig>, z.ZodObject<{
142
+ kind: z.ZodLiteral<"deferred_manual">;
143
+ }, TConfig>, z.ZodObject<{
144
+ kind: z.ZodLiteral<"instalment_plan">;
145
+ plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
146
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
147
+ depositAmountCents: z.ZodNumber;
148
+ depositRefundability: z.ZodEnum<{
149
+ refundable: "refundable";
150
+ non_refundable: "non_refundable";
151
+ }>;
152
+ remainderDueCount: z.ZodNumber;
153
+ intervalUnit: z.ZodEnum<{
154
+ day: "day";
155
+ week: "week";
156
+ month: "month";
157
+ }>;
158
+ }, TConfig>, z.ZodObject<{
159
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
160
+ depositAmountCents: z.ZodNumber;
161
+ depositRefundability: z.ZodEnum<{
162
+ refundable: "refundable";
163
+ non_refundable: "non_refundable";
164
+ }>;
165
+ instalmentCount: z.ZodNumber;
166
+ intervalCount: z.ZodNumber;
167
+ intervalUnit: z.ZodEnum<{
168
+ day: "day";
169
+ week: "week";
170
+ month: "month";
171
+ }>;
172
+ }, TConfig>, z.ZodObject<{
173
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
174
+ instalmentCount: z.ZodNumber;
175
+ intervalCount: z.ZodNumber;
176
+ intervalUnit: z.ZodEnum<{
177
+ day: "day";
178
+ week: "week";
179
+ month: "month";
180
+ }>;
181
+ }, TConfig>], "kind">;
182
+ }, TConfig>, z.ZodObject<{
183
+ kind: z.ZodLiteral<"flexible_balance">;
184
+ config: z.ZodObject<{
185
+ upfrontAmountCents: z.ZodNumber;
186
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
187
+ kind: z.ZodLiteral<"relative_to_start_date">;
188
+ daysBeforeStart: z.ZodNumber;
189
+ }, TConfig>, z.ZodObject<{
190
+ kind: z.ZodLiteral<"fixed_calendar_date">;
191
+ dueAt: z.ZodString;
192
+ }, TConfig>], "kind">;
193
+ depositRefundability: z.ZodEnum<{
194
+ refundable: "refundable";
195
+ non_refundable: "non_refundable";
196
+ }>;
197
+ }, TConfig>;
198
+ }, TConfig>], "kind">>;
199
+ }, TConfig>;
200
+ paymentOptionsChoice: z.ZodDiscriminatedUnion<[z.ZodObject<{
201
+ source: z.ZodLiteral<"default">;
202
+ }, z.core.$strict>, z.ZodObject<{
203
+ source: z.ZodLiteral<"custom">;
204
+ paymentTerms: z.ZodObject<{
205
+ allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
206
+ kind: z.ZodLiteral<"upfront">;
207
+ }, TConfig>, z.ZodObject<{
208
+ kind: z.ZodLiteral<"deferred_manual">;
209
+ }, TConfig>, z.ZodObject<{
210
+ kind: z.ZodLiteral<"instalment_plan">;
211
+ plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
212
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
213
+ depositAmountCents: z.ZodNumber;
214
+ depositRefundability: z.ZodEnum<{
215
+ refundable: "refundable";
216
+ non_refundable: "non_refundable";
217
+ }>;
218
+ remainderDueCount: z.ZodNumber;
219
+ intervalUnit: z.ZodEnum<{
220
+ day: "day";
221
+ week: "week";
222
+ month: "month";
223
+ }>;
224
+ }, TConfig>, z.ZodObject<{
225
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
226
+ depositAmountCents: z.ZodNumber;
227
+ depositRefundability: z.ZodEnum<{
228
+ refundable: "refundable";
229
+ non_refundable: "non_refundable";
230
+ }>;
231
+ instalmentCount: z.ZodNumber;
232
+ intervalCount: z.ZodNumber;
233
+ intervalUnit: z.ZodEnum<{
234
+ day: "day";
235
+ week: "week";
236
+ month: "month";
237
+ }>;
238
+ }, TConfig>, z.ZodObject<{
239
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
240
+ instalmentCount: z.ZodNumber;
241
+ intervalCount: z.ZodNumber;
242
+ intervalUnit: z.ZodEnum<{
243
+ day: "day";
244
+ week: "week";
245
+ month: "month";
246
+ }>;
247
+ }, TConfig>], "kind">;
248
+ }, TConfig>, z.ZodObject<{
249
+ kind: z.ZodLiteral<"flexible_balance">;
250
+ config: z.ZodObject<{
251
+ upfrontAmountCents: z.ZodNumber;
252
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
253
+ kind: z.ZodLiteral<"relative_to_start_date">;
254
+ daysBeforeStart: z.ZodNumber;
255
+ }, TConfig>, z.ZodObject<{
256
+ kind: z.ZodLiteral<"fixed_calendar_date">;
257
+ dueAt: z.ZodString;
258
+ }, TConfig>], "kind">;
259
+ depositRefundability: z.ZodEnum<{
260
+ refundable: "refundable";
261
+ non_refundable: "non_refundable";
262
+ }>;
263
+ }, TConfig>;
264
+ }, TConfig>], "kind">>;
265
+ }, TConfig>;
266
+ }, z.core.$strict>], "source">;
267
+ };
268
+ export type BookingPaymentOptionSchemas<TConfig extends z.core.$ZodObjectConfig> = ReturnType<typeof buildBookingPaymentOptionSchemas<TConfig>>;
269
+ export declare function createBookingPaymentOptionSchemas(mode: 'strip'): BookingPaymentOptionSchemas<z.core.$strip>;
270
+ export declare function createBookingPaymentOptionSchemas(mode: 'strict'): BookingPaymentOptionSchemas<z.core.$strict>;
271
+ export declare const bookingDepositRefundPolicySchema: z.ZodEnum<{
272
+ refundable: "refundable";
273
+ non_refundable: "non_refundable";
274
+ }>;
275
+ export declare const bookingInstalmentPlanSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
276
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
277
+ depositAmountCents: z.ZodNumber;
278
+ depositRefundability: z.ZodEnum<{
279
+ refundable: "refundable";
280
+ non_refundable: "non_refundable";
281
+ }>;
282
+ remainderDueCount: z.ZodNumber;
283
+ intervalUnit: z.ZodEnum<{
284
+ day: "day";
285
+ week: "week";
286
+ month: "month";
287
+ }>;
288
+ }, z.core.$strip>, z.ZodObject<{
289
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
290
+ depositAmountCents: z.ZodNumber;
291
+ depositRefundability: z.ZodEnum<{
292
+ refundable: "refundable";
293
+ non_refundable: "non_refundable";
294
+ }>;
295
+ instalmentCount: z.ZodNumber;
296
+ intervalCount: z.ZodNumber;
297
+ intervalUnit: z.ZodEnum<{
298
+ day: "day";
299
+ week: "week";
300
+ month: "month";
301
+ }>;
302
+ }, z.core.$strip>, z.ZodObject<{
303
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
304
+ instalmentCount: z.ZodNumber;
305
+ intervalCount: z.ZodNumber;
306
+ intervalUnit: z.ZodEnum<{
307
+ day: "day";
308
+ week: "week";
309
+ month: "month";
310
+ }>;
311
+ }, z.core.$strip>], "kind">;
312
+ export declare const bookingFlexibleBalanceDueDateRuleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
313
+ kind: z.ZodLiteral<"relative_to_start_date">;
314
+ daysBeforeStart: z.ZodNumber;
315
+ }, z.core.$strip>, z.ZodObject<{
316
+ kind: z.ZodLiteral<"fixed_calendar_date">;
317
+ dueAt: z.ZodString;
318
+ }, z.core.$strip>], "kind">;
319
+ export declare const bookingFlexibleBalanceConfigSchema: z.ZodObject<{
320
+ upfrontAmountCents: z.ZodNumber;
321
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
+ kind: z.ZodLiteral<"relative_to_start_date">;
323
+ daysBeforeStart: z.ZodNumber;
324
+ }, z.core.$strip>, z.ZodObject<{
325
+ kind: z.ZodLiteral<"fixed_calendar_date">;
326
+ dueAt: z.ZodString;
327
+ }, z.core.$strip>], "kind">;
328
+ depositRefundability: z.ZodEnum<{
329
+ refundable: "refundable";
330
+ non_refundable: "non_refundable";
331
+ }>;
332
+ }, z.core.$strip>;
333
+ export declare const bookingPaymentCollectionOptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
334
+ kind: z.ZodLiteral<"upfront">;
335
+ }, z.core.$strip>, z.ZodObject<{
336
+ kind: z.ZodLiteral<"deferred_manual">;
337
+ }, z.core.$strip>, z.ZodObject<{
338
+ kind: z.ZodLiteral<"instalment_plan">;
339
+ plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
340
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
341
+ depositAmountCents: z.ZodNumber;
342
+ depositRefundability: z.ZodEnum<{
343
+ refundable: "refundable";
344
+ non_refundable: "non_refundable";
345
+ }>;
346
+ remainderDueCount: z.ZodNumber;
347
+ intervalUnit: z.ZodEnum<{
348
+ day: "day";
349
+ week: "week";
350
+ month: "month";
351
+ }>;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
354
+ depositAmountCents: z.ZodNumber;
355
+ depositRefundability: z.ZodEnum<{
356
+ refundable: "refundable";
357
+ non_refundable: "non_refundable";
358
+ }>;
359
+ instalmentCount: z.ZodNumber;
360
+ intervalCount: z.ZodNumber;
361
+ intervalUnit: z.ZodEnum<{
362
+ day: "day";
363
+ week: "week";
364
+ month: "month";
365
+ }>;
366
+ }, z.core.$strip>, z.ZodObject<{
367
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
368
+ instalmentCount: z.ZodNumber;
369
+ intervalCount: z.ZodNumber;
370
+ intervalUnit: z.ZodEnum<{
371
+ day: "day";
372
+ week: "week";
373
+ month: "month";
374
+ }>;
375
+ }, z.core.$strip>], "kind">;
376
+ }, z.core.$strip>, z.ZodObject<{
377
+ kind: z.ZodLiteral<"flexible_balance">;
378
+ config: z.ZodObject<{
379
+ upfrontAmountCents: z.ZodNumber;
380
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
381
+ kind: z.ZodLiteral<"relative_to_start_date">;
382
+ daysBeforeStart: z.ZodNumber;
383
+ }, z.core.$strip>, z.ZodObject<{
384
+ kind: z.ZodLiteral<"fixed_calendar_date">;
385
+ dueAt: z.ZodString;
386
+ }, z.core.$strip>], "kind">;
387
+ depositRefundability: z.ZodEnum<{
388
+ refundable: "refundable";
389
+ non_refundable: "non_refundable";
390
+ }>;
391
+ }, z.core.$strip>;
392
+ }, z.core.$strip>], "kind">;
393
+ export declare const bookingPaymentTermsSchema: z.ZodObject<{
394
+ allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
395
+ kind: z.ZodLiteral<"upfront">;
396
+ }, z.core.$strip>, z.ZodObject<{
397
+ kind: z.ZodLiteral<"deferred_manual">;
398
+ }, z.core.$strip>, z.ZodObject<{
399
+ kind: z.ZodLiteral<"instalment_plan">;
400
+ plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
401
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
402
+ depositAmountCents: z.ZodNumber;
403
+ depositRefundability: z.ZodEnum<{
404
+ refundable: "refundable";
405
+ non_refundable: "non_refundable";
406
+ }>;
407
+ remainderDueCount: z.ZodNumber;
408
+ intervalUnit: z.ZodEnum<{
409
+ day: "day";
410
+ week: "week";
411
+ month: "month";
412
+ }>;
413
+ }, z.core.$strip>, z.ZodObject<{
414
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
415
+ depositAmountCents: z.ZodNumber;
416
+ depositRefundability: z.ZodEnum<{
417
+ refundable: "refundable";
418
+ non_refundable: "non_refundable";
419
+ }>;
420
+ instalmentCount: z.ZodNumber;
421
+ intervalCount: z.ZodNumber;
422
+ intervalUnit: z.ZodEnum<{
423
+ day: "day";
424
+ week: "week";
425
+ month: "month";
426
+ }>;
427
+ }, z.core.$strip>, z.ZodObject<{
428
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
429
+ instalmentCount: z.ZodNumber;
430
+ intervalCount: z.ZodNumber;
431
+ intervalUnit: z.ZodEnum<{
432
+ day: "day";
433
+ week: "week";
434
+ month: "month";
435
+ }>;
436
+ }, z.core.$strip>], "kind">;
437
+ }, z.core.$strip>, z.ZodObject<{
438
+ kind: z.ZodLiteral<"flexible_balance">;
439
+ config: z.ZodObject<{
440
+ upfrontAmountCents: z.ZodNumber;
441
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
442
+ kind: z.ZodLiteral<"relative_to_start_date">;
443
+ daysBeforeStart: z.ZodNumber;
444
+ }, z.core.$strip>, z.ZodObject<{
445
+ kind: z.ZodLiteral<"fixed_calendar_date">;
446
+ dueAt: z.ZodString;
447
+ }, z.core.$strip>], "kind">;
448
+ depositRefundability: z.ZodEnum<{
449
+ refundable: "refundable";
450
+ non_refundable: "non_refundable";
451
+ }>;
452
+ }, z.core.$strip>;
453
+ }, z.core.$strip>], "kind">>;
454
+ }, z.core.$strip>;
455
+ export declare const bookingPaymentOptionsChoiceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
456
+ source: z.ZodLiteral<"default">;
457
+ }, z.core.$strict>, z.ZodObject<{
458
+ source: z.ZodLiteral<"custom">;
459
+ paymentTerms: z.ZodObject<{
460
+ allowedOptions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
461
+ kind: z.ZodLiteral<"upfront">;
462
+ }, z.core.$strip>, z.ZodObject<{
463
+ kind: z.ZodLiteral<"deferred_manual">;
464
+ }, z.core.$strip>, z.ZodObject<{
465
+ kind: z.ZodLiteral<"instalment_plan">;
466
+ plan: z.ZodDiscriminatedUnion<[z.ZodObject<{
467
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
468
+ depositAmountCents: z.ZodNumber;
469
+ depositRefundability: z.ZodEnum<{
470
+ refundable: "refundable";
471
+ non_refundable: "non_refundable";
472
+ }>;
473
+ remainderDueCount: z.ZodNumber;
474
+ intervalUnit: z.ZodEnum<{
475
+ day: "day";
476
+ week: "week";
477
+ month: "month";
478
+ }>;
479
+ }, z.core.$strip>, z.ZodObject<{
480
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
481
+ depositAmountCents: z.ZodNumber;
482
+ depositRefundability: z.ZodEnum<{
483
+ refundable: "refundable";
484
+ non_refundable: "non_refundable";
485
+ }>;
486
+ instalmentCount: z.ZodNumber;
487
+ intervalCount: z.ZodNumber;
488
+ intervalUnit: z.ZodEnum<{
489
+ day: "day";
490
+ week: "week";
491
+ month: "month";
492
+ }>;
493
+ }, z.core.$strip>, z.ZodObject<{
494
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
495
+ instalmentCount: z.ZodNumber;
496
+ intervalCount: z.ZodNumber;
497
+ intervalUnit: z.ZodEnum<{
498
+ day: "day";
499
+ week: "week";
500
+ month: "month";
501
+ }>;
502
+ }, z.core.$strip>], "kind">;
503
+ }, z.core.$strip>, z.ZodObject<{
504
+ kind: z.ZodLiteral<"flexible_balance">;
505
+ config: z.ZodObject<{
506
+ upfrontAmountCents: z.ZodNumber;
507
+ dueDateRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
508
+ kind: z.ZodLiteral<"relative_to_start_date">;
509
+ daysBeforeStart: z.ZodNumber;
510
+ }, z.core.$strip>, z.ZodObject<{
511
+ kind: z.ZodLiteral<"fixed_calendar_date">;
512
+ dueAt: z.ZodString;
513
+ }, z.core.$strip>], "kind">;
514
+ depositRefundability: z.ZodEnum<{
515
+ refundable: "refundable";
516
+ non_refundable: "non_refundable";
517
+ }>;
518
+ }, z.core.$strip>;
519
+ }, z.core.$strip>], "kind">>;
520
+ }, z.core.$strip>;
521
+ }, z.core.$strict>], "source">;
522
+ export {};