@riverbankcms/sdk 0.148.0 → 0.150.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 (250) hide show
  1. package/README.md +1 -1
  2. package/dist/EventEmbeddedCheckoutStep-D00Kc8Zj.mjs +285 -0
  3. package/dist/{PreviewEditorSidebar-DvEPG3Z2.mjs → PreviewEditorSidebar-7ZhmmnBB.mjs} +103 -66
  4. package/dist/{PreviewEditorUI-D6eb6fkx.mjs → PreviewEditorUI-BIJucTRd.mjs} +3 -6
  5. package/dist/{PreviewQueryProvider-5znTyJuz.mjs → PreviewQueryProvider-C0mndwHB.mjs} +3 -3
  6. package/dist/{SdkPreviewModeRuntime-DJ6utQ_R.mjs → SdkPreviewModeRuntime-tj45gmCX.mjs} +96 -67
  7. package/dist/{SiteChromeCustomizeContext-CFJYh6vo.mjs → SiteChromeCustomizeContext-BFOt0ss-.mjs} +4804 -4161
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +660 -0
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +510 -0
  10. package/dist/_dts/api/src/billing.d.ts +2 -2
  11. package/dist/_dts/api/src/bookingConfig.d.ts +33 -48
  12. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -6
  13. package/dist/_dts/api/src/bookingOperations.d.ts +5 -7
  14. package/dist/_dts/api/src/bookingRecords.d.ts +15 -11
  15. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +5 -5
  16. package/dist/_dts/api/src/clientErrorReporting.d.ts +11 -0
  17. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +0 -2
  18. package/dist/_dts/api/src/common/cancellation.d.ts +23 -0
  19. package/dist/_dts/api/src/contentRuntime.d.ts +5 -1
  20. package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +1 -1
  21. package/dist/_dts/api/src/endpoints.d.ts +2 -10
  22. package/dist/_dts/api/src/eventManagementContracts.d.ts +4 -7
  23. package/dist/_dts/api/src/footerCompositionContracts.d.ts +9 -0
  24. package/dist/_dts/api/src/footerSettings.d.ts +3 -3
  25. package/dist/_dts/api/src/index.d.ts +4 -4
  26. package/dist/_dts/api/src/navigation/bookingPortalLink.d.ts +13 -0
  27. package/dist/_dts/api/src/navigation.d.ts +1 -0
  28. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +2 -2
  29. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +2 -29
  30. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +9 -173
  31. package/dist/_dts/api/src/request.d.ts +1 -1
  32. package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -1
  33. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +1 -1
  34. package/dist/_dts/api/src/sdkThemeWire.d.ts +12 -0
  35. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
  36. package/dist/_dts/api/src/siteOperations.d.ts +6 -2
  37. package/dist/_dts/api/src/siteSettings.d.ts +2 -0
  38. package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
  39. package/dist/_dts/blocks/src/client.d.ts +2 -1
  40. package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
  41. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +2 -2
  42. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +38 -10
  43. package/dist/_dts/blocks/src/portal/types.d.ts +9 -6
  44. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
  45. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +24 -24
  46. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
  47. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +84 -160
  48. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
  49. package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +31 -4
  50. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +30 -3
  51. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +10 -1
  52. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  53. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -2
  54. package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +3 -1
  55. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +38 -18
  56. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +48 -6
  57. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -3
  58. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingNowIso.d.ts +8 -0
  59. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +1 -1
  60. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +6 -0
  61. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +2 -1
  62. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
  63. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +14 -2
  64. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventEmbeddedCheckoutStep.d.ts +13 -0
  65. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.d.ts +15 -0
  66. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +0 -1
  67. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/FullyBookedStep.d.ts +6 -0
  68. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentBlockingPanel.d.ts +3 -0
  69. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
  70. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +15 -5
  71. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +4 -2
  72. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +3 -3
  73. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentLocation.d.ts +3 -0
  74. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentResponse.d.ts +72 -0
  75. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationCompletion.d.ts +66 -5
  76. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +1 -4
  77. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +13 -5
  78. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +11 -52
  79. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +19 -2
  80. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +7 -42
  81. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +7 -8
  82. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +94 -24
  83. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useGuestRegistrationRecovery.d.ts +30 -0
  84. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/usePaymentStatusRecovery.d.ts +24 -12
  85. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useRegistrationAdmission.d.ts +18 -0
  86. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/wizardSteps.d.ts +6 -1
  87. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +24 -24
  89. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +41 -6
  90. package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +7 -2
  91. package/dist/_dts/blocks/src/system/runtime/shared/stripe/browserStripe.d.ts +8 -0
  92. package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +8 -0
  93. package/dist/_dts/commerce/src/purchase/bookingPaymentSelection.d.ts +54 -0
  94. package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +58 -13
  95. package/dist/_dts/commerce/src/purchase/checkoutCopy.d.ts +10 -0
  96. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
  97. package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +16 -21
  98. package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +23 -40
  99. package/dist/_dts/commerce/src/purchase/checkoutPresentation.d.ts +49 -0
  100. package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +6 -6
  101. package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +5 -1
  102. package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +5 -4
  103. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +9 -0
  104. package/dist/_dts/commerce/src/purchase/index.d.ts +3 -3
  105. package/dist/_dts/commerce/src/purchase/membershipOrderItemMetadata.d.ts +4 -0
  106. package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +9 -4
  107. package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +13 -1
  108. package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +5 -0
  109. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +4 -1
  110. package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +7 -1
  111. package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +1 -1
  112. package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +2 -2
  113. package/dist/_dts/commerce/src/purchase/stripeCheckoutReturnUrl.d.ts +9 -2
  114. package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +6 -0
  115. package/dist/_dts/commerce/src/purchase/types.d.ts +7 -7
  116. package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +3 -2
  117. package/dist/_dts/content-editor/src/controller/editLeaseHandover.d.ts +30 -0
  118. package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +6 -1
  119. package/dist/_dts/content-editor/src/lib/browserStorage.d.ts +5 -0
  120. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +7 -0
  121. package/dist/_dts/core/src/booking-flexible-balance.d.ts +2 -2
  122. package/dist/_dts/core/src/booking-instalment-deposit.d.ts +20 -0
  123. package/dist/_dts/core/src/booking-live-payment-terms.d.ts +72 -0
  124. package/dist/_dts/core/src/booking-payment-options.d.ts +24 -0
  125. package/dist/_dts/core/src/booking-payment-schemas.d.ts +522 -0
  126. package/dist/_dts/core/src/branded.d.ts +3 -0
  127. package/dist/_dts/core/src/edit-lease.d.ts +5 -0
  128. package/dist/_dts/core/src/index.d.ts +4 -0
  129. package/dist/_dts/core/src/patch/index.d.ts +30 -0
  130. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +326 -36
  131. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +3 -1
  132. package/dist/_dts/media-editor/src/MediaPickerMiniDialog.d.ts +10 -0
  133. package/dist/_dts/media-editor/src/index.d.ts +2 -0
  134. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +0 -1
  135. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -1
  136. package/dist/_dts/preview-next/src/client/previewAuthStore.d.ts +7 -0
  137. package/dist/_dts/preview-next/src/constants.d.ts +4 -0
  138. package/dist/_dts/preview-next/src/keepAlive.d.ts +1 -0
  139. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -1
  140. package/dist/_dts/sdk/src/bookings/types.d.ts +1 -1
  141. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -12
  142. package/dist/_dts/sdk/src/version.d.ts +1 -1
  143. package/dist/_dts/theme-core/src/blocks/index.d.ts +1 -0
  144. package/dist/_dts/theme-core/src/blocks/opaquePanels.d.ts +147 -0
  145. package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +22 -0
  146. package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +22 -0
  147. package/dist/_dts/theme-core/src/cards/roles.d.ts +12 -0
  148. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  149. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +198 -0
  150. package/dist/_dts/theme-core/src/palette/utils/index.d.ts +2 -0
  151. package/dist/_dts/theme-core/src/palette/utils/scrimContrast.d.ts +22 -0
  152. package/dist/_dts/theme-core/src/runtime/bridgeColourTokens.d.ts +10 -0
  153. package/dist/_dts/theme-core/src/schema.d.ts +330 -0
  154. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +0 -51
  155. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +0 -51
  156. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +11 -0
  157. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +7 -1
  158. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +7 -1
  159. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +0 -5
  160. package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +12 -6
  161. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +7 -4
  162. package/dist/_dts/theme-core/src/site-styles/sectionSurfaceBackgrounds.d.ts +65 -0
  163. package/dist/_dts/theme-core/src/site-styles/types.d.ts +17 -0
  164. package/dist/_dts/theme-core/src/surfaces/opaqueSurface.d.ts +43 -0
  165. package/dist/_dts/ui/src/color-picker.d.ts +1 -1
  166. package/dist/_dts/ui/src/palette/useHexDraft.d.ts +7 -0
  167. package/dist/client/{BookingMailingListNote-CzRt2dF_.mjs → BookingMailingListNote-CYHOufsI.mjs} +33 -124
  168. package/dist/client/{CheckboxChoice-B33MqoUo.mjs → CheckboxChoice-M-3HycLw.mjs} +1 -1
  169. package/dist/client/{DemoBookingPortalAccess-mxqwap3f.mjs → DemoBookingPortalAccess-Cvr9O_ca.mjs} +2 -2
  170. package/dist/client/{EventCombined.client-CDb11igO.mjs → EventCombined.client-m5UZIobP.mjs} +7 -7
  171. package/dist/client/EventEmbeddedCheckoutStep-DL6zFAkA.mjs +289 -0
  172. package/dist/client/{EventListing.client-EgYhzKPa.mjs → EventListing.client-DeMfCM04.mjs} +2 -2
  173. package/dist/client/{LeafletStaticMap-gtmtaA2b.mjs → LeafletStaticMap-CvZ3gOdD.mjs} +1 -1
  174. package/dist/client/{checkoutUrls-CXhko2Rv.mjs → RichText-BtfNvQV6.mjs} +2 -29
  175. package/dist/client/{TerminalPanel-DvNUP5ot.mjs → TerminalPanel-CUCNEwlH.mjs} +2 -18
  176. package/dist/client/{ThemedButton-C7CeUJjW.mjs → ThemedButton-C7WhXuRl.mjs} +2 -2
  177. package/dist/client/{accordion-kjvt49rA.mjs → accordion-cQm5mjqs.mjs} +1 -1
  178. package/dist/client/{bookingForm-pbRZordh.mjs → bookingForm-BVPJE5RQ.mjs} +15 -11
  179. package/dist/client/bookings.mjs +2860 -1222
  180. package/dist/client/{carousel-f4Zbmicv.mjs → carousel-3vgnY7LC.mjs} +2 -2
  181. package/dist/client/{carousel.client-A2lG-9od.mjs → carousel.client-CISsdZvg.mjs} +1 -1
  182. package/dist/client/{cart-DO20An50.mjs → cart-BGK4oOjm.mjs} +3 -3
  183. package/dist/client/{checkout-Du5amDR_.mjs → checkout-GsBLUNJD.mjs} +3 -3
  184. package/dist/client/checkoutUrls-ChxwaNtO.mjs +28 -0
  185. package/dist/client/client.mjs +3324 -2053
  186. package/dist/client/{colorStyles-j5U9v5JA.mjs → colorStyles-D-32xHZh.mjs} +2 -30
  187. package/dist/client/{context-eW97E945.mjs → context-D_8s12Fp.mjs} +1 -1
  188. package/dist/client/{dates-jPCirRea.mjs → dates-DeJQbQ9T.mjs} +2 -2
  189. package/dist/client/{eventCalendar-C2M-iE4j.mjs → eventCalendar-cmucD4NR.mjs} +10 -10
  190. package/dist/client/{eventCombined-W6ns3LHg.mjs → eventCombined-ku3E9FTl.mjs} +4 -4
  191. package/dist/client/{eventDetails-CR-GT0f0.mjs → eventDetails-CyKZ61sF.mjs} +5 -5
  192. package/dist/client/{eventListing-BK8AfYZz.mjs → eventListing-B7yxGIhX.mjs} +4 -4
  193. package/dist/client/{eventRegistration-BJSd4KUu.mjs → eventRegistration-BoXfSFgZ.mjs} +1455 -1184
  194. package/dist/client/{form-BvpfbQaT.mjs → form-CNQOWhJo.mjs} +5 -5
  195. package/dist/client/{headerSection-I5sUQ8x-.mjs → headerSection-DahaBJGQ.mjs} +3 -3
  196. package/dist/client/hooks.mjs +283 -193
  197. package/dist/client/{locationMap-BLvwf9_f.mjs → locationMap-BoDjqYlW.mjs} +4 -4
  198. package/dist/client/{media-Cl38iOMI.mjs → media-BFY0y2rb.mjs} +2 -1
  199. package/dist/client/{newsletterForm-DrQ2weE8.mjs → newsletterForm-DtzXDklw.mjs} +4 -4
  200. package/dist/client/{pricing-BES87mrR.mjs → pricing-DXEh2Lhh.mjs} +1 -1
  201. package/dist/client/{productDetail-Url9jcc5.mjs → productDetail-D7cPa-00.mjs} +3 -3
  202. package/dist/client/{productList-DE7ngEZJ.mjs → productList-D1XMap66.mjs} +3 -3
  203. package/dist/client/{propsDecoder-D1OtGXDV.mjs → propsDecoder-DiIeBopB.mjs} +913 -322
  204. package/dist/client/rendering/client.mjs +3913 -2260
  205. package/dist/client/rendering/islands.mjs +19 -19
  206. package/dist/client/rendering.mjs +3302 -2013
  207. package/dist/client/result-DRW7JWXz.mjs +30 -0
  208. package/dist/client/{routeIslandApiConfig-BG9Y-SHg.mjs → routeIslandApiConfig-wzR4lKAY.mjs} +1 -1
  209. package/dist/client/scrollToBlock-C86BYkyV.mjs +17 -0
  210. package/dist/client/{shop-CJkuySJ3.mjs → shop-CYT5P-S5.mjs} +13 -14
  211. package/dist/client/{shop-commerce-store-Bxm75Pg6.mjs → shop-commerce-store-wKhsJQxI.mjs} +1 -1
  212. package/dist/client/{shop-commerce-4rKj5n9h.mjs → shop-commerce-ypBu_dx4.mjs} +9 -9
  213. package/dist/client/{shopShared-DpoQDWfz.mjs → shopShared-DFGhYrf2.mjs} +52 -6
  214. package/dist/client/{useEventFilters-D8HliSqR.mjs → useEventFilters-blSbN5o7.mjs} +8 -8
  215. package/dist/preview-next/before-render.mjs +15 -22
  216. package/dist/preview-next/client/runtime.mjs +4 -4
  217. package/dist/preview-next/constants.mjs +5 -1
  218. package/dist/preview-next/index.mjs +5 -1
  219. package/dist/preview-next/keepAlive.mjs +149 -82
  220. package/dist/preview-next/middleware.mjs +15 -22
  221. package/dist/{previewAuthStore-BXXF3hhW.mjs → previewAuthStore-BBmV7UsW.mjs} +49 -29
  222. package/dist/{sdk-runtime-C2a05WjL.mjs → sdk-runtime-2p8uQk1V.mjs} +2 -2
  223. package/dist/{separator-CuNhBAhS.mjs → separator-Cvvzk0Oo.mjs} +1 -1
  224. package/dist/server/components.mjs +4041 -3704
  225. package/dist/server/config-validation.mjs +345 -255
  226. package/dist/server/config.mjs +345 -255
  227. package/dist/server/data.mjs +283 -193
  228. package/dist/server/index.mjs +20 -27
  229. package/dist/server/next.mjs +788 -469
  230. package/dist/server/page-converter.mjs +245 -121
  231. package/dist/server/prebuild.mjs +1 -1
  232. package/dist/server/rendering/server.mjs +4018 -3690
  233. package/dist/server/rendering.mjs +4044 -3707
  234. package/dist/server/routing.mjs +314 -190
  235. package/dist/server/server.mjs +290 -218
  236. package/dist/server/theme-bridge.mjs +1122 -310
  237. package/dist/server/theme.mjs +126 -116
  238. package/dist/spinner-CDo6AkDz.mjs +658 -0
  239. package/dist/styles/index.css +75 -212
  240. package/package.json +1 -1
  241. package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +0 -123
  242. package/dist/_dts/billing/src/checkout/platform.d.ts +0 -77
  243. package/dist/_dts/billing/src/config/env.d.ts +0 -29
  244. package/dist/_dts/billing/src/stripe/client.d.ts +0 -29
  245. package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +0 -63
  246. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +0 -9
  247. package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +0 -10
  248. package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +0 -55
  249. package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +0 -24
  250. package/dist/client/urlParams-D71VXFGx.mjs +0 -47
@@ -2447,6 +2447,7 @@ export type Database = {
2447
2447
  event_series_registration_id: string | null;
2448
2448
  expires_at: string;
2449
2449
  id: string;
2450
+ order_id: string | null;
2450
2451
  released_at: string | null;
2451
2452
  site_id: string;
2452
2453
  status: string;
@@ -2464,6 +2465,7 @@ export type Database = {
2464
2465
  event_series_registration_id?: string | null;
2465
2466
  expires_at: string;
2466
2467
  id?: string;
2468
+ order_id?: string | null;
2467
2469
  released_at?: string | null;
2468
2470
  site_id: string;
2469
2471
  status?: string;
@@ -2481,6 +2483,7 @@ export type Database = {
2481
2483
  event_series_registration_id?: string | null;
2482
2484
  expires_at?: string;
2483
2485
  id?: string;
2486
+ order_id?: string | null;
2484
2487
  released_at?: string | null;
2485
2488
  site_id?: string;
2486
2489
  status?: string;
@@ -2536,6 +2539,13 @@ export type Database = {
2536
2539
  referencedRelation: "event_series_registrations";
2537
2540
  referencedColumns: ["id"];
2538
2541
  },
2542
+ {
2543
+ foreignKeyName: "booking_customer_credit_reservations_order_id_fkey";
2544
+ columns: ["order_id"];
2545
+ isOneToOne: false;
2546
+ referencedRelation: "orders";
2547
+ referencedColumns: ["id"];
2548
+ },
2539
2549
  {
2540
2550
  foreignKeyName: "booking_customer_credit_reservations_site_id_fkey";
2541
2551
  columns: ["site_id"];
@@ -8818,12 +8828,10 @@ export type Database = {
8818
8828
  dated_offering_metadata: Json;
8819
8829
  default_start_time: string;
8820
8830
  duration_minutes: number;
8821
- event_category_id: string | null;
8822
8831
  exceptions_json: Json;
8823
8832
  first_live_at: string | null;
8824
8833
  form_id: string | null;
8825
8834
  id: string;
8826
- presentation_json: Json | null;
8827
8835
  preset: string;
8828
8836
  price_display: string | null;
8829
8837
  recurrence_rule: string | null;
@@ -8848,12 +8856,10 @@ export type Database = {
8848
8856
  dated_offering_metadata?: Json;
8849
8857
  default_start_time?: string;
8850
8858
  duration_minutes?: number;
8851
- event_category_id?: string | null;
8852
8859
  exceptions_json?: Json;
8853
8860
  first_live_at?: string | null;
8854
8861
  form_id?: string | null;
8855
8862
  id?: string;
8856
- presentation_json?: Json | null;
8857
8863
  preset?: string;
8858
8864
  price_display?: string | null;
8859
8865
  recurrence_rule?: string | null;
@@ -8878,12 +8884,10 @@ export type Database = {
8878
8884
  dated_offering_metadata?: Json;
8879
8885
  default_start_time?: string;
8880
8886
  duration_minutes?: number;
8881
- event_category_id?: string | null;
8882
8887
  exceptions_json?: Json;
8883
8888
  first_live_at?: string | null;
8884
8889
  form_id?: string | null;
8885
8890
  id?: string;
8886
- presentation_json?: Json | null;
8887
8891
  preset?: string;
8888
8892
  price_display?: string | null;
8889
8893
  recurrence_rule?: string | null;
@@ -8900,13 +8904,6 @@ export type Database = {
8900
8904
  waitlist_mode?: string;
8901
8905
  };
8902
8906
  Relationships: [
8903
- {
8904
- foreignKeyName: "event_series_event_category_id_fkey";
8905
- columns: ["event_category_id"];
8906
- isOneToOne: false;
8907
- referencedRelation: "booking_event_categories";
8908
- referencedColumns: ["id"];
8909
- },
8910
8907
  {
8911
8908
  foreignKeyName: "event_series_form_id_fkey";
8912
8909
  columns: ["form_id"];
@@ -8985,7 +8982,6 @@ export type Database = {
8985
8982
  customer_id: string;
8986
8983
  customer_name: string | null;
8987
8984
  enrolled_at: string | null;
8988
- event_description: Json | null;
8989
8985
  event_path: string | null;
8990
8986
  event_series_id: string | null;
8991
8987
  event_title: string;
@@ -9011,7 +9007,6 @@ export type Database = {
9011
9007
  customer_id: string;
9012
9008
  customer_name?: string | null;
9013
9009
  enrolled_at?: string | null;
9014
- event_description?: Json | null;
9015
9010
  event_path?: string | null;
9016
9011
  event_series_id?: string | null;
9017
9012
  event_title: string;
@@ -9037,7 +9032,6 @@ export type Database = {
9037
9032
  customer_id?: string;
9038
9033
  customer_name?: string | null;
9039
9034
  enrolled_at?: string | null;
9040
- event_description?: Json | null;
9041
9035
  event_path?: string | null;
9042
9036
  event_series_id?: string | null;
9043
9037
  event_title?: string;
@@ -11863,7 +11857,6 @@ export type Database = {
11863
11857
  id: string;
11864
11858
  last_paid_at: string | null;
11865
11859
  order_id: string;
11866
- order_item_id: string;
11867
11860
  overdue_admin_notification_scheduled_at: string | null;
11868
11861
  overdue_detected_at: string | null;
11869
11862
  paid_amount_cents: number;
@@ -11897,7 +11890,6 @@ export type Database = {
11897
11890
  id?: string;
11898
11891
  last_paid_at?: string | null;
11899
11892
  order_id: string;
11900
- order_item_id: string;
11901
11893
  overdue_admin_notification_scheduled_at?: string | null;
11902
11894
  overdue_detected_at?: string | null;
11903
11895
  paid_amount_cents: number;
@@ -11931,7 +11923,6 @@ export type Database = {
11931
11923
  id?: string;
11932
11924
  last_paid_at?: string | null;
11933
11925
  order_id?: string;
11934
- order_item_id?: string;
11935
11926
  overdue_admin_notification_scheduled_at?: string | null;
11936
11927
  overdue_detected_at?: string | null;
11937
11928
  paid_amount_cents?: number;
@@ -11969,13 +11960,6 @@ export type Database = {
11969
11960
  referencedRelation: "orders";
11970
11961
  referencedColumns: ["id"];
11971
11962
  },
11972
- {
11973
- foreignKeyName: "order_flexible_balance_contracts_order_item_id_fkey";
11974
- columns: ["order_item_id"];
11975
- isOneToOne: true;
11976
- referencedRelation: "order_items";
11977
- referencedColumns: ["id"];
11978
- },
11979
11963
  {
11980
11964
  foreignKeyName: "order_flexible_balance_contracts_site_id_fkey";
11981
11965
  columns: ["site_id"];
@@ -12088,6 +12072,7 @@ export type Database = {
12088
12072
  fulfillment_claim_token: string | null;
12089
12073
  fulfillment_claimed_at: string | null;
12090
12074
  id: string;
12075
+ inventory_restored_at: string | null;
12091
12076
  kind: string;
12092
12077
  metadata: Json;
12093
12078
  net_total_cents: number | null;
@@ -12121,6 +12106,7 @@ export type Database = {
12121
12106
  fulfillment_claim_token?: string | null;
12122
12107
  fulfillment_claimed_at?: string | null;
12123
12108
  id?: string;
12109
+ inventory_restored_at?: string | null;
12124
12110
  kind: string;
12125
12111
  metadata?: Json;
12126
12112
  net_total_cents?: number | null;
@@ -12154,6 +12140,7 @@ export type Database = {
12154
12140
  fulfillment_claim_token?: string | null;
12155
12141
  fulfillment_claimed_at?: string | null;
12156
12142
  id?: string;
12143
+ inventory_restored_at?: string | null;
12157
12144
  kind?: string;
12158
12145
  metadata?: Json;
12159
12146
  net_total_cents?: number | null;
@@ -12341,6 +12328,10 @@ export type Database = {
12341
12328
  };
12342
12329
  order_payment_plans: {
12343
12330
  Row: {
12331
+ collection_closure_requested_at: string | null;
12332
+ collection_setup_accepted_at: string | null;
12333
+ collection_setup_attempted_at: string | null;
12334
+ collection_setup_command: Json | null;
12344
12335
  commission_reconcile_attempts: number;
12345
12336
  commission_reconcile_available_at: string | null;
12346
12337
  commission_reconcile_requested_at: string | null;
@@ -12351,7 +12342,6 @@ export type Database = {
12351
12342
  initial_payment_cents: number;
12352
12343
  kind: string;
12353
12344
  order_id: string;
12354
- order_item_id: string;
12355
12345
  plan_definition: Json;
12356
12346
  remaining_balance_cents: number;
12357
12347
  site_id: string;
@@ -12366,6 +12356,10 @@ export type Database = {
12366
12356
  updated_at: string;
12367
12357
  };
12368
12358
  Insert: {
12359
+ collection_closure_requested_at?: string | null;
12360
+ collection_setup_accepted_at?: string | null;
12361
+ collection_setup_attempted_at?: string | null;
12362
+ collection_setup_command?: Json | null;
12369
12363
  commission_reconcile_attempts?: number;
12370
12364
  commission_reconcile_available_at?: string | null;
12371
12365
  commission_reconcile_requested_at?: string | null;
@@ -12376,7 +12370,6 @@ export type Database = {
12376
12370
  initial_payment_cents: number;
12377
12371
  kind: string;
12378
12372
  order_id: string;
12379
- order_item_id: string;
12380
12373
  plan_definition: Json;
12381
12374
  remaining_balance_cents: number;
12382
12375
  site_id: string;
@@ -12391,6 +12384,10 @@ export type Database = {
12391
12384
  updated_at?: string;
12392
12385
  };
12393
12386
  Update: {
12387
+ collection_closure_requested_at?: string | null;
12388
+ collection_setup_accepted_at?: string | null;
12389
+ collection_setup_attempted_at?: string | null;
12390
+ collection_setup_command?: Json | null;
12394
12391
  commission_reconcile_attempts?: number;
12395
12392
  commission_reconcile_available_at?: string | null;
12396
12393
  commission_reconcile_requested_at?: string | null;
@@ -12401,7 +12398,6 @@ export type Database = {
12401
12398
  initial_payment_cents?: number;
12402
12399
  kind?: string;
12403
12400
  order_id?: string;
12404
- order_item_id?: string;
12405
12401
  plan_definition?: Json;
12406
12402
  remaining_balance_cents?: number;
12407
12403
  site_id?: string;
@@ -12430,13 +12426,6 @@ export type Database = {
12430
12426
  referencedRelation: "orders";
12431
12427
  referencedColumns: ["id"];
12432
12428
  },
12433
- {
12434
- foreignKeyName: "order_payment_plans_order_item_id_fkey";
12435
- columns: ["order_item_id"];
12436
- isOneToOne: true;
12437
- referencedRelation: "order_items";
12438
- referencedColumns: ["id"];
12439
- },
12440
12429
  {
12441
12430
  foreignKeyName: "order_payment_plans_site_id_fkey";
12442
12431
  columns: ["site_id"];
@@ -12622,6 +12611,7 @@ export type Database = {
12622
12611
  Row: {
12623
12612
  amount_refunded_cents: number;
12624
12613
  amount_requested_cents: number;
12614
+ booking_refund_command: Json | null;
12625
12615
  cash_conversion_reserved_cents: number;
12626
12616
  created_at: string;
12627
12617
  currency: string;
@@ -12654,6 +12644,7 @@ export type Database = {
12654
12644
  Insert: {
12655
12645
  amount_refunded_cents: number;
12656
12646
  amount_requested_cents: number;
12647
+ booking_refund_command?: Json | null;
12657
12648
  cash_conversion_reserved_cents?: number;
12658
12649
  created_at?: string;
12659
12650
  currency: string;
@@ -12686,6 +12677,7 @@ export type Database = {
12686
12677
  Update: {
12687
12678
  amount_refunded_cents?: number;
12688
12679
  amount_requested_cents?: number;
12680
+ booking_refund_command?: Json | null;
12689
12681
  cash_conversion_reserved_cents?: number;
12690
12682
  created_at?: string;
12691
12683
  currency?: string;
@@ -12746,6 +12738,61 @@ export type Database = {
12746
12738
  }
12747
12739
  ];
12748
12740
  };
12741
+ order_retirements: {
12742
+ Row: {
12743
+ completed_at: string | null;
12744
+ created_at: string;
12745
+ effects_ready_at: string | null;
12746
+ id: string;
12747
+ intent: Json;
12748
+ notification: Json | null;
12749
+ order_id: string;
12750
+ site_id: string;
12751
+ };
12752
+ Insert: {
12753
+ completed_at?: string | null;
12754
+ created_at?: string;
12755
+ effects_ready_at?: string | null;
12756
+ id?: string;
12757
+ intent: Json;
12758
+ notification?: Json | null;
12759
+ order_id: string;
12760
+ site_id: string;
12761
+ };
12762
+ Update: {
12763
+ completed_at?: string | null;
12764
+ created_at?: string;
12765
+ effects_ready_at?: string | null;
12766
+ id?: string;
12767
+ intent?: Json;
12768
+ notification?: Json | null;
12769
+ order_id?: string;
12770
+ site_id?: string;
12771
+ };
12772
+ Relationships: [
12773
+ {
12774
+ foreignKeyName: "order_retirements_order_id_fkey";
12775
+ columns: ["order_id"];
12776
+ isOneToOne: false;
12777
+ referencedRelation: "orders";
12778
+ referencedColumns: ["id"];
12779
+ },
12780
+ {
12781
+ foreignKeyName: "order_retirements_order_site_fk";
12782
+ columns: ["order_id", "site_id"];
12783
+ isOneToOne: false;
12784
+ referencedRelation: "orders";
12785
+ referencedColumns: ["id", "site_id"];
12786
+ },
12787
+ {
12788
+ foreignKeyName: "order_retirements_site_id_fkey";
12789
+ columns: ["site_id"];
12790
+ isOneToOne: false;
12791
+ referencedRelation: "sites";
12792
+ referencedColumns: ["id"];
12793
+ }
12794
+ ];
12795
+ };
12749
12796
  order_sequences: {
12750
12797
  Row: {
12751
12798
  last_seq: number;
@@ -18050,6 +18097,16 @@ export type Database = {
18050
18097
  isSetofReturn: false;
18051
18098
  };
18052
18099
  };
18100
+ accept_order_retirement: {
18101
+ Args: {
18102
+ p_command: string;
18103
+ p_order_id: string;
18104
+ };
18105
+ Returns: {
18106
+ operation_id: string;
18107
+ outcome: string;
18108
+ }[];
18109
+ };
18053
18110
  accept_site_invitation: {
18054
18111
  Args: {
18055
18112
  p_invitation_id: string;
@@ -18075,6 +18132,17 @@ export type Database = {
18075
18132
  isSetofReturn: false;
18076
18133
  };
18077
18134
  };
18135
+ accept_staff_order_cancellation: {
18136
+ Args: {
18137
+ p_actor_id: string;
18138
+ p_category?: string;
18139
+ p_internal_note?: string;
18140
+ p_item_ids?: string[];
18141
+ p_order_id: string;
18142
+ p_site_id: string;
18143
+ };
18144
+ Returns: Json;
18145
+ };
18078
18146
  acquire_demo_lifecycle_job_lease: {
18079
18147
  Args: {
18080
18148
  p_job_name: string;
@@ -18117,6 +18185,47 @@ export type Database = {
18117
18185
  };
18118
18186
  Returns: number;
18119
18187
  };
18188
+ admit_order_payment_plan_collection_setup: {
18189
+ Args: {
18190
+ p_command: Json;
18191
+ p_plan_id: string;
18192
+ p_start_attempt?: boolean;
18193
+ };
18194
+ Returns: {
18195
+ collection_closure_requested_at: string | null;
18196
+ collection_setup_accepted_at: string | null;
18197
+ collection_setup_attempted_at: string | null;
18198
+ collection_setup_command: Json | null;
18199
+ commission_reconcile_attempts: number;
18200
+ commission_reconcile_available_at: string | null;
18201
+ commission_reconcile_requested_at: string | null;
18202
+ created_at: string;
18203
+ currency: string;
18204
+ customer_id: string;
18205
+ id: string;
18206
+ initial_payment_cents: number;
18207
+ kind: string;
18208
+ order_id: string;
18209
+ plan_definition: Json;
18210
+ remaining_balance_cents: number;
18211
+ site_id: string;
18212
+ status: string;
18213
+ stripe_account_id: string;
18214
+ stripe_checkout_session_id: string | null;
18215
+ stripe_customer_id: string | null;
18216
+ stripe_default_payment_method_id: string | null;
18217
+ stripe_subscription_id: string | null;
18218
+ stripe_subscription_schedule_id: string | null;
18219
+ total_cents: number;
18220
+ updated_at: string;
18221
+ }[];
18222
+ SetofOptions: {
18223
+ from: "*";
18224
+ to: "order_payment_plans";
18225
+ isOneToOne: false;
18226
+ isSetofReturn: true;
18227
+ };
18228
+ };
18120
18229
  allocate_site_order_number_v1: {
18121
18230
  Args: {
18122
18231
  p_prefix: string;
@@ -18907,6 +19016,17 @@ export type Database = {
18907
19016
  };
18908
19017
  Returns: number;
18909
19018
  };
19019
+ close_order_instalments_atomic: {
19020
+ Args: {
19021
+ p_expected_balance: number;
19022
+ p_expected_status: string;
19023
+ p_instalments: Json;
19024
+ p_next_balance: number;
19025
+ p_next_status: string;
19026
+ p_plan_id: string;
19027
+ };
19028
+ Returns: string;
19029
+ };
18910
19030
  commit_authoritative_page_surface_draft_version: {
18911
19031
  Args: {
18912
19032
  p_data: Json;
@@ -19167,6 +19287,12 @@ export type Database = {
19167
19287
  locked_until: string;
19168
19288
  }[];
19169
19289
  };
19290
+ complete_order_retirement: {
19291
+ Args: {
19292
+ p_operation_id: string;
19293
+ };
19294
+ Returns: boolean;
19295
+ };
19170
19296
  connect_brevo_account_v1: {
19171
19297
  Args: {
19172
19298
  p_account_email: string;
@@ -19208,6 +19334,7 @@ export type Database = {
19208
19334
  consume_booking_customer_credit_reservation: {
19209
19335
  Args: {
19210
19336
  p_booking_payment_id?: string;
19337
+ p_order_id: string;
19211
19338
  p_reference_id?: string;
19212
19339
  p_reference_type?: string;
19213
19340
  p_reservation_id: string;
@@ -19674,6 +19801,7 @@ export type Database = {
19674
19801
  p_expected_site_id: string;
19675
19802
  p_node_id: string;
19676
19803
  p_node_type: Database["public"]["Enums"]["route_node_type"];
19804
+ p_previous_client_id?: string;
19677
19805
  p_ttl_seconds: number;
19678
19806
  };
19679
19807
  Returns: Json;
@@ -20093,6 +20221,16 @@ export type Database = {
20093
20221
  };
20094
20222
  Returns: string;
20095
20223
  };
20224
+ guard_site_stripe_account_change: {
20225
+ Args: {
20226
+ p_account_email?: string;
20227
+ p_action: string;
20228
+ p_expected_account_id?: string;
20229
+ p_new_account_id?: string;
20230
+ p_site_id: string;
20231
+ };
20232
+ Returns: string;
20233
+ };
20096
20234
  has_admin_role: {
20097
20235
  Args: {
20098
20236
  required_role: Database["public"]["Enums"]["admin_role"];
@@ -20178,6 +20316,48 @@ export type Database = {
20178
20316
  waitlist_entry_id: string;
20179
20317
  }[];
20180
20318
  };
20319
+ link_order_payment_plan_collection_schedule: {
20320
+ Args: {
20321
+ p_customer_id: string;
20322
+ p_payment_method_id: string;
20323
+ p_plan_id: string;
20324
+ p_schedule_id: string;
20325
+ };
20326
+ Returns: {
20327
+ collection_closure_requested_at: string | null;
20328
+ collection_setup_accepted_at: string | null;
20329
+ collection_setup_attempted_at: string | null;
20330
+ collection_setup_command: Json | null;
20331
+ commission_reconcile_attempts: number;
20332
+ commission_reconcile_available_at: string | null;
20333
+ commission_reconcile_requested_at: string | null;
20334
+ created_at: string;
20335
+ currency: string;
20336
+ customer_id: string;
20337
+ id: string;
20338
+ initial_payment_cents: number;
20339
+ kind: string;
20340
+ order_id: string;
20341
+ plan_definition: Json;
20342
+ remaining_balance_cents: number;
20343
+ site_id: string;
20344
+ status: string;
20345
+ stripe_account_id: string;
20346
+ stripe_checkout_session_id: string | null;
20347
+ stripe_customer_id: string | null;
20348
+ stripe_default_payment_method_id: string | null;
20349
+ stripe_subscription_id: string | null;
20350
+ stripe_subscription_schedule_id: string | null;
20351
+ total_cents: number;
20352
+ updated_at: string;
20353
+ }[];
20354
+ SetofOptions: {
20355
+ from: "*";
20356
+ to: "order_payment_plans";
20357
+ isOneToOne: false;
20358
+ isSetofReturn: true;
20359
+ };
20360
+ };
20181
20361
  list_booking_people: {
20182
20362
  Args: {
20183
20363
  p_direction: string;
@@ -20317,6 +20497,15 @@ export type Database = {
20317
20497
  included: number;
20318
20498
  }[];
20319
20499
  };
20500
+ membership_checkout_unresolved: {
20501
+ Args: {
20502
+ p_created_at: string;
20503
+ p_item_fulfilled_at: string;
20504
+ p_status: string;
20505
+ p_stripe_checkout_session_id: string;
20506
+ };
20507
+ Returns: boolean;
20508
+ };
20320
20509
  minimize_mailing_list_signup_consent_metadata_v1: {
20321
20510
  Args: {
20322
20511
  p_consent_id: string;
@@ -20520,6 +20709,14 @@ export type Database = {
20520
20709
  };
20521
20710
  Returns: string;
20522
20711
  };
20712
+ open_standalone_membership_order_v1: {
20713
+ Args: {
20714
+ p_customer_id: string;
20715
+ p_membership_id: string;
20716
+ p_site_id: string;
20717
+ };
20718
+ Returns: string;
20719
+ };
20523
20720
  ops_update_event_attendee_checkin: {
20524
20721
  Args: {
20525
20722
  p_attendee_id: string;
@@ -20614,6 +20811,7 @@ export type Database = {
20614
20811
  p_order_number_seq: number;
20615
20812
  p_paid_cents: number;
20616
20813
  p_payment_method: string;
20814
+ p_reservations?: Json;
20617
20815
  p_site_id: string;
20618
20816
  p_status: string;
20619
20817
  p_stripe_account_id: string;
@@ -20897,6 +21095,12 @@ export type Database = {
20897
21095
  };
20898
21096
  Returns: boolean;
20899
21097
  };
21098
+ release_order_checkout_reservations_v1: {
21099
+ Args: {
21100
+ p_order_id: string;
21101
+ };
21102
+ Returns: undefined;
21103
+ };
20900
21104
  release_site_invitation_resend_claim: {
20901
21105
  Args: {
20902
21106
  p_actor_user_id: string;
@@ -20915,6 +21119,46 @@ export type Database = {
20915
21119
  };
20916
21120
  Returns: Json;
20917
21121
  };
21122
+ remember_order_payment_plan_collection_schedule: {
21123
+ Args: {
21124
+ p_plan_id: string;
21125
+ p_schedule_id: string;
21126
+ };
21127
+ Returns: {
21128
+ collection_closure_requested_at: string | null;
21129
+ collection_setup_accepted_at: string | null;
21130
+ collection_setup_attempted_at: string | null;
21131
+ collection_setup_command: Json | null;
21132
+ commission_reconcile_attempts: number;
21133
+ commission_reconcile_available_at: string | null;
21134
+ commission_reconcile_requested_at: string | null;
21135
+ created_at: string;
21136
+ currency: string;
21137
+ customer_id: string;
21138
+ id: string;
21139
+ initial_payment_cents: number;
21140
+ kind: string;
21141
+ order_id: string;
21142
+ plan_definition: Json;
21143
+ remaining_balance_cents: number;
21144
+ site_id: string;
21145
+ status: string;
21146
+ stripe_account_id: string;
21147
+ stripe_checkout_session_id: string | null;
21148
+ stripe_customer_id: string | null;
21149
+ stripe_default_payment_method_id: string | null;
21150
+ stripe_subscription_id: string | null;
21151
+ stripe_subscription_schedule_id: string | null;
21152
+ total_cents: number;
21153
+ updated_at: string;
21154
+ }[];
21155
+ SetofOptions: {
21156
+ from: "*";
21157
+ to: "order_payment_plans";
21158
+ isOneToOne: false;
21159
+ isSetofReturn: true;
21160
+ };
21161
+ };
20918
21162
  remove_category_from_memberships: {
20919
21163
  Args: {
20920
21164
  category_id: string;
@@ -21028,6 +21272,45 @@ export type Database = {
21028
21272
  };
21029
21273
  Returns: undefined;
21030
21274
  };
21275
+ request_order_payment_plan_collection_closure: {
21276
+ Args: {
21277
+ p_plan_id: string;
21278
+ };
21279
+ Returns: {
21280
+ collection_closure_requested_at: string | null;
21281
+ collection_setup_accepted_at: string | null;
21282
+ collection_setup_attempted_at: string | null;
21283
+ collection_setup_command: Json | null;
21284
+ commission_reconcile_attempts: number;
21285
+ commission_reconcile_available_at: string | null;
21286
+ commission_reconcile_requested_at: string | null;
21287
+ created_at: string;
21288
+ currency: string;
21289
+ customer_id: string;
21290
+ id: string;
21291
+ initial_payment_cents: number;
21292
+ kind: string;
21293
+ order_id: string;
21294
+ plan_definition: Json;
21295
+ remaining_balance_cents: number;
21296
+ site_id: string;
21297
+ status: string;
21298
+ stripe_account_id: string;
21299
+ stripe_checkout_session_id: string | null;
21300
+ stripe_customer_id: string | null;
21301
+ stripe_default_payment_method_id: string | null;
21302
+ stripe_subscription_id: string | null;
21303
+ stripe_subscription_schedule_id: string | null;
21304
+ total_cents: number;
21305
+ updated_at: string;
21306
+ }[];
21307
+ SetofOptions: {
21308
+ from: "*";
21309
+ to: "order_payment_plans";
21310
+ isOneToOne: false;
21311
+ isSetofReturn: true;
21312
+ };
21313
+ };
21031
21314
  reschedule_appointment_for_actor: {
21032
21315
  Args: {
21033
21316
  p_appointment_id: string;
@@ -21111,6 +21394,13 @@ export type Database = {
21111
21394
  };
21112
21395
  Returns: boolean;
21113
21396
  };
21397
+ restore_cancelled_order_item_inventory_atomic: {
21398
+ Args: {
21399
+ p_order_item_id: string;
21400
+ p_site_id: string;
21401
+ };
21402
+ Returns: undefined;
21403
+ };
21114
21404
  restore_course_run_session_v1: {
21115
21405
  Args: {
21116
21406
  p_actor_user_id: string;
@@ -6,6 +6,8 @@ export type MediaPickerDialogProps = {
6
6
  onOpenChange: (open: boolean) => void;
7
7
  assets: MediaAssetWithLabels[];
8
8
  loading: boolean;
9
+ error?: Error | null;
10
+ retryLoad?: () => void;
9
11
  hasMore: boolean;
10
12
  selectAsset: (asset: MediaAssetWithLabels) => void;
11
13
  loadMore: () => void;
@@ -33,4 +35,4 @@ export type MediaPickerAssetSelection = Readonly<{
33
35
  tag: 'disabled';
34
36
  reason: string;
35
37
  }>;
36
- export declare const MediaPickerDialog: ({ allowedKinds, open, onOpenChange, assets, loading, hasMore, selectAsset, loadMore, enqueueUploads, uploads, closeOnSelect, disableSelection, statusMessage, statusTone, title, dialogMaxWidth, uploadButtonLabel, uploadAccept, showCameraInput, policy, }: MediaPickerDialogProps) => import("react").JSX.Element;
38
+ export declare const MediaPickerDialog: ({ allowedKinds, open, onOpenChange, assets, loading, error, retryLoad, hasMore, selectAsset, loadMore, enqueueUploads, uploads, closeOnSelect, disableSelection, statusMessage, statusTone, title, dialogMaxWidth, uploadButtonLabel, uploadAccept, showCameraInput, policy, }: MediaPickerDialogProps) => import("react").JSX.Element;