@riverbankcms/sdk 0.172.0 → 0.173.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 (194) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
  5. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
  6. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
  15. package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
  18. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
  59. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
  61. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
  62. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
  63. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
  64. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
  65. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
  66. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  67. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  68. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
  69. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
  70. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  72. package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
  73. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
  74. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
  75. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
  76. package/dist/client/bookability-SargNwlO.mjs +17 -0
  77. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
  78. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  79. package/dist/client/bookings.mjs +5 -5
  80. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  81. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
  82. package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
  83. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  84. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
  85. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  87. package/dist/client/client.mjs +52 -4
  88. package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
  89. package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
  90. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  91. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  92. package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
  93. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
  94. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  95. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
  96. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  97. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  98. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  99. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  100. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  101. package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
  102. package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
  103. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
  104. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  105. package/dist/client/gifting/client.mjs +2 -2
  106. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  107. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
  108. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
  109. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  110. package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
  111. package/dist/client/portal/client.mjs +7 -7
  112. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  113. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  114. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  115. package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
  116. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  117. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
  118. package/dist/client/rendering/client.mjs +25 -25
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +24 -55
  121. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  123. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  124. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  125. package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
  126. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
  127. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  128. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  129. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
  130. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
  131. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  132. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  133. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
  134. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  135. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  136. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  137. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
  138. package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
  139. package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
  140. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
  141. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
  142. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
  145. package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
  146. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
  147. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  148. package/dist/preview-next/client/runtime.mjs +3 -3
  149. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
  150. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
  151. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +1 -1
  152. package/dist/preview-next/keepAlive.mjs +1 -1
  153. package/dist/preview-next/middleware.mjs +1 -1
  154. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
  155. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  156. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
  157. package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/server/data/resolveBlockData.mjs +1 -1
  161. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  162. package/dist/server/index.mjs +3 -3
  163. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
  164. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
  165. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  166. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  167. package/dist/server/navigation.mjs +1 -1
  168. package/dist/server/next.mjs +6 -6
  169. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  170. package/dist/server/page-converter.mjs +1 -1
  171. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
  172. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
  173. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
  174. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
  175. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  178. package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
  179. package/dist/server/rendering/components/pageShared.mjs +1 -1
  180. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  181. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  182. package/dist/server/rendering/server.mjs +3 -3
  183. package/dist/server/rendering.mjs +8 -8
  184. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
  185. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  186. package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
  187. package/dist/server/server.mjs +3 -3
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
  190. package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
  191. package/dist/styles/index.css +174 -0
  192. package/package.json +1 -1
  193. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  194. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -2117,6 +2117,45 @@ type Database = {
2117
2117
  referencedColumns: ["id"];
2118
2118
  }];
2119
2119
  };
2120
+ booking_checkout_attempts: {
2121
+ Row: {
2122
+ command_snapshot: Json | null;
2123
+ customer_id: string;
2124
+ id: string;
2125
+ site_id: string;
2126
+ };
2127
+ Insert: {
2128
+ command_snapshot?: Json | null;
2129
+ customer_id: string;
2130
+ id: string;
2131
+ site_id: string;
2132
+ };
2133
+ Update: {
2134
+ command_snapshot?: Json | null;
2135
+ customer_id?: string;
2136
+ id?: string;
2137
+ site_id?: string;
2138
+ };
2139
+ Relationships: [{
2140
+ foreignKeyName: "booking_checkout_attempts_customer_id_fkey";
2141
+ columns: ["customer_id"];
2142
+ isOneToOne: false;
2143
+ referencedRelation: "booking_customers";
2144
+ referencedColumns: ["id"];
2145
+ }, {
2146
+ foreignKeyName: "booking_checkout_attempts_customer_id_fkey";
2147
+ columns: ["customer_id"];
2148
+ isOneToOne: false;
2149
+ referencedRelation: "event_booking_restore_activity_v1";
2150
+ referencedColumns: ["customer_id"];
2151
+ }, {
2152
+ foreignKeyName: "booking_checkout_attempts_site_id_fkey";
2153
+ columns: ["site_id"];
2154
+ isOneToOne: false;
2155
+ referencedRelation: "sites";
2156
+ referencedColumns: ["id"];
2157
+ }];
2158
+ };
2120
2159
  booking_closure_notification_jobs: {
2121
2160
  Row: {
2122
2161
  attendee_id: string;
@@ -2504,14 +2543,13 @@ type Database = {
2504
2543
  booking_customer_credit_reservations: {
2505
2544
  Row: {
2506
2545
  amount_cents: number;
2546
+ checkout_attempt_id: string | null;
2507
2547
  consumed_at: string | null;
2508
2548
  created_at: string;
2509
2549
  currency: string;
2510
2550
  customer_id: string;
2511
2551
  customer_membership_id: string | null;
2512
2552
  customer_pass_id: string | null;
2513
- event_attendee_id: string | null;
2514
- event_series_registration_id: string | null;
2515
2553
  expires_at: string;
2516
2554
  id: string;
2517
2555
  order_id: string | null;
@@ -2522,14 +2560,13 @@ type Database = {
2522
2560
  };
2523
2561
  Insert: {
2524
2562
  amount_cents: number;
2563
+ checkout_attempt_id?: string | null;
2525
2564
  consumed_at?: string | null;
2526
2565
  created_at?: string;
2527
2566
  currency: string;
2528
2567
  customer_id: string;
2529
2568
  customer_membership_id?: string | null;
2530
2569
  customer_pass_id?: string | null;
2531
- event_attendee_id?: string | null;
2532
- event_series_registration_id?: string | null;
2533
2570
  expires_at: string;
2534
2571
  id?: string;
2535
2572
  order_id?: string | null;
@@ -2540,14 +2577,13 @@ type Database = {
2540
2577
  };
2541
2578
  Update: {
2542
2579
  amount_cents?: number;
2580
+ checkout_attempt_id?: string | null;
2543
2581
  consumed_at?: string | null;
2544
2582
  created_at?: string;
2545
2583
  currency?: string;
2546
2584
  customer_id?: string;
2547
2585
  customer_membership_id?: string | null;
2548
2586
  customer_pass_id?: string | null;
2549
- event_attendee_id?: string | null;
2550
- event_series_registration_id?: string | null;
2551
2587
  expires_at?: string;
2552
2588
  id?: string;
2553
2589
  order_id?: string | null;
@@ -2586,30 +2622,6 @@ type Database = {
2586
2622
  isOneToOne: false;
2587
2623
  referencedRelation: "booking_customer_passes_list_view";
2588
2624
  referencedColumns: ["id"];
2589
- }, {
2590
- foreignKeyName: "booking_customer_credit_reservations_event_attendee_id_fkey";
2591
- columns: ["event_attendee_id"];
2592
- isOneToOne: false;
2593
- referencedRelation: "event_attendees";
2594
- referencedColumns: ["id"];
2595
- }, {
2596
- foreignKeyName: "booking_customer_credit_reservations_event_attendee_id_fkey";
2597
- columns: ["event_attendee_id"];
2598
- isOneToOne: false;
2599
- referencedRelation: "event_booking_restore_activity_v1";
2600
- referencedColumns: ["attendee_id"];
2601
- }, {
2602
- foreignKeyName: "booking_customer_credit_reservations_event_series_registration_";
2603
- columns: ["event_series_registration_id"];
2604
- isOneToOne: false;
2605
- referencedRelation: "event_series_registration_projection_canonical";
2606
- referencedColumns: ["id"];
2607
- }, {
2608
- foreignKeyName: "booking_customer_credit_reservations_event_series_registration_";
2609
- columns: ["event_series_registration_id"];
2610
- isOneToOne: false;
2611
- referencedRelation: "event_series_registrations";
2612
- referencedColumns: ["id"];
2613
2625
  }, {
2614
2626
  foreignKeyName: "booking_customer_credit_reservations_order_id_fkey";
2615
2627
  columns: ["order_id"];
@@ -2622,6 +2634,12 @@ type Database = {
2622
2634
  isOneToOne: false;
2623
2635
  referencedRelation: "sites";
2624
2636
  referencedColumns: ["id"];
2637
+ }, {
2638
+ foreignKeyName: "credit_reservation_attempt_owner";
2639
+ columns: ["checkout_attempt_id", "site_id", "customer_id"];
2640
+ isOneToOne: false;
2641
+ referencedRelation: "booking_checkout_attempts";
2642
+ referencedColumns: ["id", "site_id", "customer_id"];
2625
2643
  }];
2626
2644
  };
2627
2645
  booking_customer_credit_transactions: {
@@ -4985,6 +5003,72 @@ type Database = {
4985
5003
  referencedColumns: ["id"];
4986
5004
  }];
4987
5005
  };
5006
+ checkout_attempt_bookings: {
5007
+ Row: {
5008
+ capacity_hold_id: string | null;
5009
+ checkout_attempt_id: string;
5010
+ event_series_registration_id: string | null;
5011
+ kind: string;
5012
+ occurrence_command_id: string | null;
5013
+ position: number;
5014
+ site_id: string;
5015
+ };
5016
+ Insert: {
5017
+ capacity_hold_id?: string | null;
5018
+ checkout_attempt_id: string;
5019
+ event_series_registration_id?: string | null;
5020
+ kind: string;
5021
+ occurrence_command_id?: string | null;
5022
+ position: number;
5023
+ site_id: string;
5024
+ };
5025
+ Update: {
5026
+ capacity_hold_id?: string | null;
5027
+ checkout_attempt_id?: string;
5028
+ event_series_registration_id?: string | null;
5029
+ kind?: string;
5030
+ occurrence_command_id?: string | null;
5031
+ position?: number;
5032
+ site_id?: string;
5033
+ };
5034
+ Relationships: [{
5035
+ foreignKeyName: "checkout_attempt_bookings_capacity_hold_id_site_id_fkey";
5036
+ columns: ["capacity_hold_id", "site_id"];
5037
+ isOneToOne: false;
5038
+ referencedRelation: "dated_offering_capacity_holds";
5039
+ referencedColumns: ["id", "site_id"];
5040
+ }, {
5041
+ foreignKeyName: "checkout_attempt_bookings_event_series_registration_id_sit_fkey";
5042
+ columns: ["event_series_registration_id", "site_id"];
5043
+ isOneToOne: false;
5044
+ referencedRelation: "event_series_registration_projection_canonical";
5045
+ referencedColumns: ["id", "site_id"];
5046
+ }, {
5047
+ foreignKeyName: "checkout_attempt_bookings_event_series_registration_id_sit_fkey";
5048
+ columns: ["event_series_registration_id", "site_id"];
5049
+ isOneToOne: false;
5050
+ referencedRelation: "event_series_registrations";
5051
+ referencedColumns: ["id", "site_id"];
5052
+ }, {
5053
+ foreignKeyName: "checkout_attempt_bookings_occurrence_command_id_site_id_fkey";
5054
+ columns: ["occurrence_command_id", "site_id"];
5055
+ isOneToOne: false;
5056
+ referencedRelation: "event_occurrence_registration_commands";
5057
+ referencedColumns: ["id", "site_id"];
5058
+ }, {
5059
+ foreignKeyName: "checkout_attempt_bookings_site_id_checkout_attempt_id_fkey";
5060
+ columns: ["site_id", "checkout_attempt_id"];
5061
+ isOneToOne: false;
5062
+ referencedRelation: "booking_checkout_attempts";
5063
+ referencedColumns: ["site_id", "id"];
5064
+ }, {
5065
+ foreignKeyName: "checkout_attempt_bookings_site_id_fkey";
5066
+ columns: ["site_id"];
5067
+ isOneToOne: false;
5068
+ referencedRelation: "sites";
5069
+ referencedColumns: ["id"];
5070
+ }];
5071
+ };
4988
5072
  checkout_attempts: {
4989
5073
  Row: {
4990
5074
  created_at: string;
@@ -6906,12 +6990,14 @@ type Database = {
6906
6990
  Row: {
6907
6991
  allocation_rule_version: string;
6908
6992
  code: string;
6993
+ combination_price_id: string | null;
6909
6994
  created_at: string;
6910
6995
  currency: string;
6911
6996
  discount_code_id: string | null;
6912
6997
  discount_redemption_id: string | null;
6913
6998
  display_label: string;
6914
6999
  id: string;
7000
+ kind: string;
6915
7001
  order_id: string;
6916
7002
  site_id: string;
6917
7003
  source: string;
@@ -6920,12 +7006,14 @@ type Database = {
6920
7006
  Insert: {
6921
7007
  allocation_rule_version: string;
6922
7008
  code: string;
7009
+ combination_price_id?: string | null;
6923
7010
  created_at?: string;
6924
7011
  currency: string;
6925
7012
  discount_code_id?: string | null;
6926
7013
  discount_redemption_id?: string | null;
6927
7014
  display_label: string;
6928
7015
  id?: string;
7016
+ kind?: string;
6929
7017
  order_id: string;
6930
7018
  site_id: string;
6931
7019
  source: string;
@@ -6934,18 +7022,26 @@ type Database = {
6934
7022
  Update: {
6935
7023
  allocation_rule_version?: string;
6936
7024
  code?: string;
7025
+ combination_price_id?: string | null;
6937
7026
  created_at?: string;
6938
7027
  currency?: string;
6939
7028
  discount_code_id?: string | null;
6940
7029
  discount_redemption_id?: string | null;
6941
7030
  display_label?: string;
6942
7031
  id?: string;
7032
+ kind?: string;
6943
7033
  order_id?: string;
6944
7034
  site_id?: string;
6945
7035
  source?: string;
6946
7036
  total_discount_cents?: number;
6947
7037
  };
6948
7038
  Relationships: [{
7039
+ foreignKeyName: "discount_applications_combination_price_id_fkey";
7040
+ columns: ["combination_price_id"];
7041
+ isOneToOne: false;
7042
+ referencedRelation: "event_offering_combination_prices";
7043
+ referencedColumns: ["id"];
7044
+ }, {
6949
7045
  foreignKeyName: "discount_applications_discount_code_id_fkey";
6950
7046
  columns: ["discount_code_id"];
6951
7047
  isOneToOne: false;
@@ -6972,7 +7068,7 @@ type Database = {
6972
7068
  }, {
6973
7069
  foreignKeyName: "discount_applications_order_id_fkey";
6974
7070
  columns: ["order_id"];
6975
- isOneToOne: true;
7071
+ isOneToOne: false;
6976
7072
  referencedRelation: "orders";
6977
7073
  referencedColumns: ["id"];
6978
7074
  }, {
@@ -7079,48 +7175,48 @@ type Database = {
7079
7175
  referencedColumns: ["id"];
7080
7176
  }];
7081
7177
  };
7082
- discount_code_event_series: {
7178
+ discount_code_event_offerings: {
7083
7179
  Row: {
7084
7180
  created_at: string;
7085
7181
  discount_code_id: string;
7086
- event_series_id: string;
7182
+ event_offering_id: string;
7087
7183
  id: string;
7088
7184
  site_id: string;
7089
7185
  };
7090
7186
  Insert: {
7091
7187
  created_at?: string;
7092
7188
  discount_code_id: string;
7093
- event_series_id: string;
7189
+ event_offering_id: string;
7094
7190
  id?: string;
7095
7191
  site_id: string;
7096
7192
  };
7097
7193
  Update: {
7098
7194
  created_at?: string;
7099
7195
  discount_code_id?: string;
7100
- event_series_id?: string;
7196
+ event_offering_id?: string;
7101
7197
  id?: string;
7102
7198
  site_id?: string;
7103
7199
  };
7104
7200
  Relationships: [{
7105
- foreignKeyName: "booking_discount_code_event_series_discount_code_id_fkey";
7106
- columns: ["discount_code_id"];
7201
+ foreignKeyName: "discount_code_event_offerings_code_site_fkey";
7202
+ columns: ["discount_code_id", "site_id"];
7107
7203
  isOneToOne: false;
7108
7204
  referencedRelation: "booking_discount_codes";
7109
- referencedColumns: ["id"];
7205
+ referencedColumns: ["id", "site_id"];
7110
7206
  }, {
7111
- foreignKeyName: "booking_discount_code_event_series_discount_code_id_fkey";
7112
- columns: ["discount_code_id"];
7207
+ foreignKeyName: "discount_code_event_offerings_code_site_fkey";
7208
+ columns: ["discount_code_id", "site_id"];
7113
7209
  isOneToOne: false;
7114
7210
  referencedRelation: "discount_codes";
7115
- referencedColumns: ["id"];
7211
+ referencedColumns: ["id", "site_id"];
7116
7212
  }, {
7117
- foreignKeyName: "booking_discount_code_event_series_event_series_id_fkey";
7118
- columns: ["event_series_id"];
7213
+ foreignKeyName: "discount_code_event_offerings_offering_site_fkey";
7214
+ columns: ["event_offering_id", "site_id"];
7119
7215
  isOneToOne: false;
7120
- referencedRelation: "event_series";
7121
- referencedColumns: ["id"];
7216
+ referencedRelation: "event_offerings";
7217
+ referencedColumns: ["id", "site_id"];
7122
7218
  }, {
7123
- foreignKeyName: "booking_discount_code_event_series_site_id_fkey";
7219
+ foreignKeyName: "discount_code_event_offerings_site_id_fkey";
7124
7220
  columns: ["site_id"];
7125
7221
  isOneToOne: false;
7126
7222
  referencedRelation: "sites";
@@ -7330,6 +7426,7 @@ type Database = {
7330
7426
  auto_apply: boolean;
7331
7427
  code: string;
7332
7428
  code_normalized: string;
7429
+ combines_with_combination_prices: boolean;
7333
7430
  created_at: string;
7334
7431
  description: string | null;
7335
7432
  discount_amount_cents: number | null;
@@ -7363,6 +7460,7 @@ type Database = {
7363
7460
  auto_apply?: boolean;
7364
7461
  code: string;
7365
7462
  code_normalized: string;
7463
+ combines_with_combination_prices?: boolean;
7366
7464
  created_at?: string;
7367
7465
  description?: string | null;
7368
7466
  discount_amount_cents?: number | null;
@@ -7396,6 +7494,7 @@ type Database = {
7396
7494
  auto_apply?: boolean;
7397
7495
  code?: string;
7398
7496
  code_normalized?: string;
7497
+ combines_with_combination_prices?: boolean;
7399
7498
  created_at?: string;
7400
7499
  description?: string | null;
7401
7500
  discount_amount_cents?: number | null;
@@ -7436,6 +7535,7 @@ type Database = {
7436
7535
  discount_redemptions: {
7437
7536
  Row: {
7438
7537
  booking_payment_id: string | null;
7538
+ checkout_attempt_id: string | null;
7439
7539
  created_at: string;
7440
7540
  customer_id: string | null;
7441
7541
  customer_membership_id: string | null;
@@ -7443,8 +7543,6 @@ type Database = {
7443
7543
  discount_code_id: string;
7444
7544
  email_normalized: string;
7445
7545
  enforce_unique: boolean;
7446
- event_attendee_id: string | null;
7447
- event_series_registration_id: string | null;
7448
7546
  id: string;
7449
7547
  order_id: string | null;
7450
7548
  released_at: string | null;
@@ -7456,6 +7554,7 @@ type Database = {
7456
7554
  };
7457
7555
  Insert: {
7458
7556
  booking_payment_id?: string | null;
7557
+ checkout_attempt_id?: string | null;
7459
7558
  created_at?: string;
7460
7559
  customer_id?: string | null;
7461
7560
  customer_membership_id?: string | null;
@@ -7463,8 +7562,6 @@ type Database = {
7463
7562
  discount_code_id: string;
7464
7563
  email_normalized: string;
7465
7564
  enforce_unique?: boolean;
7466
- event_attendee_id?: string | null;
7467
- event_series_registration_id?: string | null;
7468
7565
  id?: string;
7469
7566
  order_id?: string | null;
7470
7567
  released_at?: string | null;
@@ -7476,6 +7573,7 @@ type Database = {
7476
7573
  };
7477
7574
  Update: {
7478
7575
  booking_payment_id?: string | null;
7576
+ checkout_attempt_id?: string | null;
7479
7577
  created_at?: string;
7480
7578
  customer_id?: string | null;
7481
7579
  customer_membership_id?: string | null;
@@ -7483,8 +7581,6 @@ type Database = {
7483
7581
  discount_code_id?: string;
7484
7582
  email_normalized?: string;
7485
7583
  enforce_unique?: boolean;
7486
- event_attendee_id?: string | null;
7487
- event_series_registration_id?: string | null;
7488
7584
  id?: string;
7489
7585
  order_id?: string | null;
7490
7586
  released_at?: string | null;
@@ -7548,30 +7644,6 @@ type Database = {
7548
7644
  isOneToOne: false;
7549
7645
  referencedRelation: "discount_codes";
7550
7646
  referencedColumns: ["id"];
7551
- }, {
7552
- foreignKeyName: "booking_discount_redemptions_event_attendee_id_fkey";
7553
- columns: ["event_attendee_id"];
7554
- isOneToOne: false;
7555
- referencedRelation: "event_attendees";
7556
- referencedColumns: ["id"];
7557
- }, {
7558
- foreignKeyName: "booking_discount_redemptions_event_attendee_id_fkey";
7559
- columns: ["event_attendee_id"];
7560
- isOneToOne: false;
7561
- referencedRelation: "event_booking_restore_activity_v1";
7562
- referencedColumns: ["attendee_id"];
7563
- }, {
7564
- foreignKeyName: "booking_discount_redemptions_event_series_registration_id_fkey";
7565
- columns: ["event_series_registration_id"];
7566
- isOneToOne: false;
7567
- referencedRelation: "event_series_registration_projection_canonical";
7568
- referencedColumns: ["id"];
7569
- }, {
7570
- foreignKeyName: "booking_discount_redemptions_event_series_registration_id_fkey";
7571
- columns: ["event_series_registration_id"];
7572
- isOneToOne: false;
7573
- referencedRelation: "event_series_registrations";
7574
- referencedColumns: ["id"];
7575
7647
  }, {
7576
7648
  foreignKeyName: "booking_discount_redemptions_order_id_fkey";
7577
7649
  columns: ["order_id"];
@@ -7584,6 +7656,12 @@ type Database = {
7584
7656
  isOneToOne: false;
7585
7657
  referencedRelation: "sites";
7586
7658
  referencedColumns: ["id"];
7659
+ }, {
7660
+ foreignKeyName: "discount_redemption_attempt_owner";
7661
+ columns: ["checkout_attempt_id", "site_id", "customer_id"];
7662
+ isOneToOne: false;
7663
+ referencedRelation: "booking_checkout_attempts";
7664
+ referencedColumns: ["id", "site_id", "customer_id"];
7587
7665
  }];
7588
7666
  };
7589
7667
  domain_reconnection_billing_snapshots: {
@@ -9110,6 +9188,108 @@ type Database = {
9110
9188
  referencedColumns: ["id"];
9111
9189
  }];
9112
9190
  };
9191
+ event_offering_combination_price_items: {
9192
+ Row: {
9193
+ combination_price_id: string;
9194
+ event_series_id: string | null;
9195
+ id: string;
9196
+ occurrence_id: string | null;
9197
+ site_id: string;
9198
+ };
9199
+ Insert: {
9200
+ combination_price_id: string;
9201
+ event_series_id?: string | null;
9202
+ id?: string;
9203
+ occurrence_id?: string | null;
9204
+ site_id: string;
9205
+ };
9206
+ Update: {
9207
+ combination_price_id?: string;
9208
+ event_series_id?: string | null;
9209
+ id?: string;
9210
+ occurrence_id?: string | null;
9211
+ site_id?: string;
9212
+ };
9213
+ Relationships: [{
9214
+ foreignKeyName: "combination_price_items_occurrence_site_fkey";
9215
+ columns: ["occurrence_id", "site_id"];
9216
+ isOneToOne: false;
9217
+ referencedRelation: "event_occurrences";
9218
+ referencedColumns: ["id", "site_id"];
9219
+ }, {
9220
+ foreignKeyName: "combination_price_items_price_site_fkey";
9221
+ columns: ["combination_price_id", "site_id"];
9222
+ isOneToOne: false;
9223
+ referencedRelation: "event_offering_combination_prices";
9224
+ referencedColumns: ["id", "site_id"];
9225
+ }, {
9226
+ foreignKeyName: "combination_price_items_series_site_fkey";
9227
+ columns: ["event_series_id", "site_id"];
9228
+ isOneToOne: false;
9229
+ referencedRelation: "event_series";
9230
+ referencedColumns: ["id", "site_id"];
9231
+ }, {
9232
+ foreignKeyName: "event_offering_combination_price_items_site_id_fkey";
9233
+ columns: ["site_id"];
9234
+ isOneToOne: false;
9235
+ referencedRelation: "sites";
9236
+ referencedColumns: ["id"];
9237
+ }];
9238
+ };
9239
+ event_offering_combination_prices: {
9240
+ Row: {
9241
+ created_at: string;
9242
+ currency: string;
9243
+ event_offering_id: string;
9244
+ id: string;
9245
+ item_count: number | null;
9246
+ label: string;
9247
+ price_cents: number;
9248
+ rule: string;
9249
+ site_id: string;
9250
+ sort_order: number;
9251
+ updated_at: string;
9252
+ };
9253
+ Insert: {
9254
+ created_at?: string;
9255
+ currency: string;
9256
+ event_offering_id: string;
9257
+ id?: string;
9258
+ item_count?: number | null;
9259
+ label: string;
9260
+ price_cents: number;
9261
+ rule: string;
9262
+ site_id: string;
9263
+ sort_order?: number;
9264
+ updated_at?: string;
9265
+ };
9266
+ Update: {
9267
+ created_at?: string;
9268
+ currency?: string;
9269
+ event_offering_id?: string;
9270
+ id?: string;
9271
+ item_count?: number | null;
9272
+ label?: string;
9273
+ price_cents?: number;
9274
+ rule?: string;
9275
+ site_id?: string;
9276
+ sort_order?: number;
9277
+ updated_at?: string;
9278
+ };
9279
+ Relationships: [{
9280
+ foreignKeyName: "combination_prices_offering_site_fkey";
9281
+ columns: ["event_offering_id", "site_id"];
9282
+ isOneToOne: false;
9283
+ referencedRelation: "event_offerings";
9284
+ referencedColumns: ["id", "site_id"];
9285
+ }, {
9286
+ foreignKeyName: "event_offering_combination_prices_site_id_fkey";
9287
+ columns: ["site_id"];
9288
+ isOneToOne: false;
9289
+ referencedRelation: "sites";
9290
+ referencedColumns: ["id"];
9291
+ }];
9292
+ };
9113
9293
  event_offering_series: {
9114
9294
  Row: {
9115
9295
  content_ownership: string;
@@ -9181,6 +9361,7 @@ type Database = {
9181
9361
  };
9182
9362
  event_offerings: {
9183
9363
  Row: {
9364
+ allows_multiple_booking: boolean;
9184
9365
  archived_at: string | null;
9185
9366
  availability_version: number;
9186
9367
  created_at: string;
@@ -9197,6 +9378,7 @@ type Database = {
9197
9378
  updated_by: string | null;
9198
9379
  };
9199
9380
  Insert: {
9381
+ allows_multiple_booking?: boolean;
9200
9382
  archived_at?: string | null;
9201
9383
  availability_version?: number;
9202
9384
  created_at?: string;
@@ -9213,6 +9395,7 @@ type Database = {
9213
9395
  updated_by?: string | null;
9214
9396
  };
9215
9397
  Update: {
9398
+ allows_multiple_booking?: boolean;
9216
9399
  archived_at?: string | null;
9217
9400
  availability_version?: number;
9218
9401
  created_at?: string;
@@ -11325,6 +11508,7 @@ type Database = {
11325
11508
  is_thumbnail: boolean | null;
11326
11509
  labels_cached: string[] | null;
11327
11510
  lifecycle_state: string;
11511
+ logo_facts: Json | null;
11328
11512
  mime_type: string;
11329
11513
  mime_type_detected: string | null;
11330
11514
  origin_asset_id: string | null;
@@ -11366,6 +11550,7 @@ type Database = {
11366
11550
  is_thumbnail?: boolean | null;
11367
11551
  labels_cached?: string[] | null;
11368
11552
  lifecycle_state?: string;
11553
+ logo_facts?: Json | null;
11369
11554
  mime_type: string;
11370
11555
  mime_type_detected?: string | null;
11371
11556
  origin_asset_id?: string | null;
@@ -11407,6 +11592,7 @@ type Database = {
11407
11592
  is_thumbnail?: boolean | null;
11408
11593
  labels_cached?: string[] | null;
11409
11594
  lifecycle_state?: string;
11595
+ logo_facts?: Json | null;
11410
11596
  mime_type?: string;
11411
11597
  mime_type_detected?: string | null;
11412
11598
  origin_asset_id?: string | null;
@@ -16502,6 +16688,7 @@ type Database = {
16502
16688
  booking_settings: Json;
16503
16689
  business_address: Json | null;
16504
16690
  cover_asset_id: string | null;
16691
+ cover_transform: Json | null;
16505
16692
  created_at: string;
16506
16693
  embed_allowed_hosts: string[];
16507
16694
  external_website_url: string | null;
@@ -16542,6 +16729,7 @@ type Database = {
16542
16729
  booking_settings?: Json;
16543
16730
  business_address?: Json | null;
16544
16731
  cover_asset_id?: string | null;
16732
+ cover_transform?: Json | null;
16545
16733
  created_at?: string;
16546
16734
  embed_allowed_hosts?: string[];
16547
16735
  external_website_url?: string | null;
@@ -16582,6 +16770,7 @@ type Database = {
16582
16770
  booking_settings?: Json;
16583
16771
  business_address?: Json | null;
16584
16772
  cover_asset_id?: string | null;
16773
+ cover_transform?: Json | null;
16585
16774
  created_at?: string;
16586
16775
  embed_allowed_hosts?: string[];
16587
16776
  external_website_url?: string | null;
@@ -16834,6 +17023,7 @@ type Database = {
16834
17023
  agreed_at: string;
16835
17024
  appointment_id: string | null;
16836
17025
  basis: string;
17026
+ checkout_attempt_id: string | null;
16837
17027
  created_at: string;
16838
17028
  customer_id: string;
16839
17029
  event_attendee_id: string | null;
@@ -16853,6 +17043,7 @@ type Database = {
16853
17043
  agreed_at: string;
16854
17044
  appointment_id?: string | null;
16855
17045
  basis: string;
17046
+ checkout_attempt_id?: string | null;
16856
17047
  created_at?: string;
16857
17048
  customer_id: string;
16858
17049
  event_attendee_id?: string | null;
@@ -16872,6 +17063,7 @@ type Database = {
16872
17063
  agreed_at?: string;
16873
17064
  appointment_id?: string | null;
16874
17065
  basis?: string;
17066
+ checkout_attempt_id?: string | null;
16875
17067
  created_at?: string;
16876
17068
  customer_id?: string;
16877
17069
  event_attendee_id?: string | null;
@@ -16905,6 +17097,12 @@ type Database = {
16905
17097
  isOneToOne: false;
16906
17098
  referencedRelation: "appointments";
16907
17099
  referencedColumns: ["id"];
17100
+ }, {
17101
+ foreignKeyName: "site_terms_agreements_attempt";
17102
+ columns: ["site_id", "checkout_attempt_id"];
17103
+ isOneToOne: false;
17104
+ referencedRelation: "booking_checkout_attempts";
17105
+ referencedColumns: ["site_id", "id"];
16908
17106
  }, {
16909
17107
  foreignKeyName: "site_terms_agreements_customer_id_site_id_fkey";
16910
17108
  columns: ["customer_id", "site_id"];
@@ -18687,54 +18885,6 @@ type Database = {
18687
18885
  referencedColumns: ["id"];
18688
18886
  }];
18689
18887
  };
18690
- booking_discount_code_event_series: {
18691
- Row: {
18692
- created_at: string | null;
18693
- discount_code_id: string | null;
18694
- event_series_id: string | null;
18695
- id: string | null;
18696
- site_id: string | null;
18697
- };
18698
- Insert: {
18699
- created_at?: string | null;
18700
- discount_code_id?: string | null;
18701
- event_series_id?: string | null;
18702
- id?: string | null;
18703
- site_id?: string | null;
18704
- };
18705
- Update: {
18706
- created_at?: string | null;
18707
- discount_code_id?: string | null;
18708
- event_series_id?: string | null;
18709
- id?: string | null;
18710
- site_id?: string | null;
18711
- };
18712
- Relationships: [{
18713
- foreignKeyName: "booking_discount_code_event_series_discount_code_id_fkey";
18714
- columns: ["discount_code_id"];
18715
- isOneToOne: false;
18716
- referencedRelation: "booking_discount_codes";
18717
- referencedColumns: ["id"];
18718
- }, {
18719
- foreignKeyName: "booking_discount_code_event_series_discount_code_id_fkey";
18720
- columns: ["discount_code_id"];
18721
- isOneToOne: false;
18722
- referencedRelation: "discount_codes";
18723
- referencedColumns: ["id"];
18724
- }, {
18725
- foreignKeyName: "booking_discount_code_event_series_event_series_id_fkey";
18726
- columns: ["event_series_id"];
18727
- isOneToOne: false;
18728
- referencedRelation: "event_series";
18729
- referencedColumns: ["id"];
18730
- }, {
18731
- foreignKeyName: "booking_discount_code_event_series_site_id_fkey";
18732
- columns: ["site_id"];
18733
- isOneToOne: false;
18734
- referencedRelation: "sites";
18735
- referencedColumns: ["id"];
18736
- }];
18737
- };
18738
18888
  booking_discount_code_memberships: {
18739
18889
  Row: {
18740
18890
  created_at: string | null;
@@ -18996,6 +19146,7 @@ type Database = {
18996
19146
  booking_discount_redemptions: {
18997
19147
  Row: {
18998
19148
  booking_payment_id: string | null;
19149
+ checkout_attempt_id: string | null;
18999
19150
  created_at: string | null;
19000
19151
  customer_id: string | null;
19001
19152
  customer_membership_id: string | null;
@@ -19003,8 +19154,6 @@ type Database = {
19003
19154
  discount_code_id: string | null;
19004
19155
  email_normalized: string | null;
19005
19156
  enforce_unique: boolean | null;
19006
- event_attendee_id: string | null;
19007
- event_series_registration_id: string | null;
19008
19157
  id: string | null;
19009
19158
  order_id: string | null;
19010
19159
  released_at: string | null;
@@ -19016,6 +19165,7 @@ type Database = {
19016
19165
  };
19017
19166
  Insert: {
19018
19167
  booking_payment_id?: string | null;
19168
+ checkout_attempt_id?: string | null;
19019
19169
  created_at?: string | null;
19020
19170
  customer_id?: string | null;
19021
19171
  customer_membership_id?: string | null;
@@ -19023,8 +19173,6 @@ type Database = {
19023
19173
  discount_code_id?: string | null;
19024
19174
  email_normalized?: string | null;
19025
19175
  enforce_unique?: boolean | null;
19026
- event_attendee_id?: string | null;
19027
- event_series_registration_id?: string | null;
19028
19176
  id?: string | null;
19029
19177
  order_id?: string | null;
19030
19178
  released_at?: string | null;
@@ -19036,6 +19184,7 @@ type Database = {
19036
19184
  };
19037
19185
  Update: {
19038
19186
  booking_payment_id?: string | null;
19187
+ checkout_attempt_id?: string | null;
19039
19188
  created_at?: string | null;
19040
19189
  customer_id?: string | null;
19041
19190
  customer_membership_id?: string | null;
@@ -19043,8 +19192,6 @@ type Database = {
19043
19192
  discount_code_id?: string | null;
19044
19193
  email_normalized?: string | null;
19045
19194
  enforce_unique?: boolean | null;
19046
- event_attendee_id?: string | null;
19047
- event_series_registration_id?: string | null;
19048
19195
  id?: string | null;
19049
19196
  order_id?: string | null;
19050
19197
  released_at?: string | null;
@@ -19108,30 +19255,6 @@ type Database = {
19108
19255
  isOneToOne: false;
19109
19256
  referencedRelation: "discount_codes";
19110
19257
  referencedColumns: ["id"];
19111
- }, {
19112
- foreignKeyName: "booking_discount_redemptions_event_attendee_id_fkey";
19113
- columns: ["event_attendee_id"];
19114
- isOneToOne: false;
19115
- referencedRelation: "event_attendees";
19116
- referencedColumns: ["id"];
19117
- }, {
19118
- foreignKeyName: "booking_discount_redemptions_event_attendee_id_fkey";
19119
- columns: ["event_attendee_id"];
19120
- isOneToOne: false;
19121
- referencedRelation: "event_booking_restore_activity_v1";
19122
- referencedColumns: ["attendee_id"];
19123
- }, {
19124
- foreignKeyName: "booking_discount_redemptions_event_series_registration_id_fkey";
19125
- columns: ["event_series_registration_id"];
19126
- isOneToOne: false;
19127
- referencedRelation: "event_series_registration_projection_canonical";
19128
- referencedColumns: ["id"];
19129
- }, {
19130
- foreignKeyName: "booking_discount_redemptions_event_series_registration_id_fkey";
19131
- columns: ["event_series_registration_id"];
19132
- isOneToOne: false;
19133
- referencedRelation: "event_series_registrations";
19134
- referencedColumns: ["id"];
19135
19258
  }, {
19136
19259
  foreignKeyName: "booking_discount_redemptions_order_id_fkey";
19137
19260
  columns: ["order_id"];
@@ -19144,6 +19267,12 @@ type Database = {
19144
19267
  isOneToOne: false;
19145
19268
  referencedRelation: "sites";
19146
19269
  referencedColumns: ["id"];
19270
+ }, {
19271
+ foreignKeyName: "discount_redemption_attempt_owner";
19272
+ columns: ["checkout_attempt_id", "site_id", "customer_id"];
19273
+ isOneToOne: false;
19274
+ referencedRelation: "booking_checkout_attempts";
19275
+ referencedColumns: ["id", "site_id", "customer_id"];
19147
19276
  }];
19148
19277
  };
19149
19278
  booking_payments_list_view: {
@@ -21344,7 +21473,9 @@ type Database = {
21344
21473
  p_booker_display_name?: string;
21345
21474
  p_booker_email_normalized?: string;
21346
21475
  p_booker_phone?: string;
21476
+ p_booking_position?: number;
21347
21477
  p_capacity: number;
21478
+ p_checkout_attempt_id?: string;
21348
21479
  p_customer_id: string;
21349
21480
  p_customer_membership_id?: string;
21350
21481
  p_customer_pass_id?: string;
@@ -21374,6 +21505,22 @@ type Database = {
21374
21505
  reason: string;
21375
21506
  }[];
21376
21507
  };
21508
+ commit_event_occurrence_selection_v1_atomic: {
21509
+ Args: {
21510
+ p_checkout_attempt_id: string;
21511
+ p_command_snapshot: Json;
21512
+ p_commands: Json;
21513
+ p_customer_id: string;
21514
+ p_site_id: string;
21515
+ };
21516
+ Returns: {
21517
+ attendee_id: string;
21518
+ booking_position: number;
21519
+ outcome: string;
21520
+ pass_credits_remaining: number;
21521
+ reason: string;
21522
+ }[];
21523
+ };
21377
21524
  commit_event_series_registration_v1: {
21378
21525
  Args: {
21379
21526
  p_admin_complimentary?: boolean;
@@ -22466,6 +22613,20 @@ type Database = {
22466
22613
  occurrence_id: string;
22467
22614
  }[];
22468
22615
  };
22616
+ event_offering_combination_catalogue: {
22617
+ Args: {
22618
+ p_event_offering_id: string;
22619
+ p_site_id: string;
22620
+ };
22621
+ Returns: {
22622
+ currency: string;
22623
+ item_id: string;
22624
+ item_kind: string;
22625
+ price_cents: number;
22626
+ pricing_strategy: string;
22627
+ starts_at: string;
22628
+ }[];
22629
+ };
22469
22630
  event_schedule_batch_v1: {
22470
22631
  Args: {
22471
22632
  p_action: string;
@@ -23132,6 +23293,16 @@ type Database = {
23132
23293
  staff_member_id: string;
23133
23294
  }[];
23134
23295
  };
23296
+ list_event_offering_combination_prices: {
23297
+ Args: {
23298
+ p_event_offering_ids: string[];
23299
+ p_site_id: string;
23300
+ };
23301
+ Returns: {
23302
+ event_offering_id: string;
23303
+ offer: Json;
23304
+ }[];
23305
+ };
23135
23306
  list_mailing_list_placement_modes_v1: {
23136
23307
  Args: {
23137
23308
  p_site_id: string;
@@ -24003,6 +24174,7 @@ type Database = {
24003
24174
  Args: {
24004
24175
  p_attendance_mode: string;
24005
24176
  p_audit_ref: string;
24177
+ p_booking_position?: number;
24006
24178
  p_canonical_selection_key: string;
24007
24179
  p_checkout_attempt_id?: string;
24008
24180
  p_commercial_selection_key: string;
@@ -24033,6 +24205,34 @@ type Database = {
24033
24205
  registration_id: string;
24034
24206
  }[];
24035
24207
  };
24208
+ prepare_event_series_registration_selection_checkout_v1_atomic: {
24209
+ Args: {
24210
+ p_checkout_attempt_id: string;
24211
+ p_command_snapshot: Json;
24212
+ p_customer_display_name?: string;
24213
+ p_customer_email_normalized?: string;
24214
+ p_customer_id: string;
24215
+ p_customer_phone?: string;
24216
+ p_form_submission_json?: Json;
24217
+ p_hold_expires_at: string;
24218
+ p_now?: string;
24219
+ p_runs: Json;
24220
+ p_site_id: string;
24221
+ p_site_terms_admission: Json;
24222
+ };
24223
+ Returns: {
24224
+ booking_position: number;
24225
+ event_series_id: string;
24226
+ hold_audit_ref: string;
24227
+ hold_expires_at: string;
24228
+ hold_id: string;
24229
+ participant_id: string;
24230
+ participant_participation_id: string;
24231
+ preparation_outcome: string;
24232
+ refusal_code: string;
24233
+ registration_id: string;
24234
+ }[];
24235
+ };
24036
24236
  prepare_event_series_waitlist_checkout_v1: {
24037
24237
  Args: {
24038
24238
  p_checkout_attempt_id?: string;
@@ -24563,6 +24763,7 @@ type Database = {
24563
24763
  };
24564
24764
  release_dated_offering_whole_series_hold_v2_atomic: {
24565
24765
  Args: {
24766
+ p_checkout_attempt_id?: string;
24566
24767
  p_event_series_id: string;
24567
24768
  p_hold_id: string;
24568
24769
  p_now?: string;
@@ -24973,12 +25174,11 @@ type Database = {
24973
25174
  reserve_booking_customer_credit: {
24974
25175
  Args: {
24975
25176
  p_amount_requested_cents: number;
25177
+ p_checkout_attempt_id?: string;
24976
25178
  p_currency: string;
24977
25179
  p_customer_id: string;
24978
25180
  p_customer_membership_id?: string;
24979
25181
  p_customer_pass_id?: string;
24980
- p_event_attendee_id?: string;
24981
- p_event_series_registration_id?: string;
24982
25182
  p_site_id: string;
24983
25183
  p_stripe_checkout_session_id?: string;
24984
25184
  };
@@ -25286,6 +25486,15 @@ type Database = {
25286
25486
  theme_id: string;
25287
25487
  }[];
25288
25488
  };
25489
+ save_event_offering_combination_price_atomic: {
25490
+ Args: {
25491
+ p_event_offering_id: string;
25492
+ p_id?: string;
25493
+ p_offer: Json;
25494
+ p_site_id: string;
25495
+ };
25496
+ Returns: string;
25497
+ };
25289
25498
  save_event_schedule_batch_review_v1: {
25290
25499
  Args: {
25291
25500
  p_operation_id: string;
@@ -25315,6 +25524,7 @@ type Database = {
25315
25524
  booking_settings: Json;
25316
25525
  business_address: Json | null;
25317
25526
  cover_asset_id: string | null;
25527
+ cover_transform: Json | null;
25318
25528
  created_at: string;
25319
25529
  embed_allowed_hosts: string[];
25320
25530
  external_website_url: string | null;
@@ -26150,6 +26360,7 @@ type Database = {
26150
26360
  };
26151
26361
  update_managed_event_identity_v1: {
26152
26362
  Args: {
26363
+ p_allows_multiple_booking?: boolean;
26153
26364
  p_event_category_id?: string;
26154
26365
  p_event_offering_id: string;
26155
26366
  p_expected_event_category_id?: string;
@@ -26159,6 +26370,7 @@ type Database = {
26159
26370
  p_user_id: string;
26160
26371
  };
26161
26372
  Returns: {
26373
+ allows_multiple_booking: boolean;
26162
26374
  archived_at: string | null;
26163
26375
  availability_version: number;
26164
26376
  created_at: string;
@@ -26224,6 +26436,7 @@ type Database = {
26224
26436
  booking_settings: Json;
26225
26437
  business_address: Json | null;
26226
26438
  cover_asset_id: string | null;
26439
+ cover_transform: Json | null;
26227
26440
  created_at: string;
26228
26441
  embed_allowed_hosts: string[];
26229
26442
  external_website_url: string | null;
@@ -26410,6 +26623,12 @@ type Database = {
26410
26623
  };
26411
26624
  Returns: undefined;
26412
26625
  };
26626
+ validate_event_offering_combination_price: {
26627
+ Args: {
26628
+ p_id: string;
26629
+ };
26630
+ Returns: undefined;
26631
+ };
26413
26632
  venue_archive_blockers: {
26414
26633
  Args: {
26415
26634
  p_now: string;
@@ -29487,6 +29706,11 @@ declare const VERTICAL_DEFINITIONS: readonly [{
29487
29706
  readonly id: 'venue_event_space';
29488
29707
  readonly label: 'Venue or event space';
29489
29708
  readonly description: 'Room, resource, or access bookings. Depends on the future capacity-booking domain.';
29709
+ }, {
29710
+ readonly id: 'something_else';
29711
+ readonly label: 'Something else';
29712
+ readonly description: "Anything people book with you that doesn't fit the other choices.";
29713
+ readonly describesBusiness: false;
29490
29714
  }];
29491
29715
  type VerticalId = (typeof VERTICAL_DEFINITIONS)[number]['id'];
29492
29716
  //#endregion
@@ -30275,6 +30499,66 @@ declare const VERTICAL_BOOKING_PRESETS: readonly [Readonly<{
30275
30499
  description: string;
30276
30500
  }> & Readonly<{
30277
30501
  id: "venue_event_space.resource_hire";
30502
+ }>, Readonly<{
30503
+ id: string;
30504
+ verticalId: VerticalId;
30505
+ canonicalBehaviour: CanonicalBookingBehaviour;
30506
+ eventPresetOverride?: EventPresetOverride;
30507
+ engine: BookingEngine;
30508
+ availability: VerticalPresetAvailability;
30509
+ label: string;
30510
+ pluralLabel: string;
30511
+ description: string;
30512
+ }> & Readonly<{
30513
+ id: "something_else.classes";
30514
+ }>, Readonly<{
30515
+ id: string;
30516
+ verticalId: VerticalId;
30517
+ canonicalBehaviour: CanonicalBookingBehaviour;
30518
+ eventPresetOverride?: EventPresetOverride;
30519
+ engine: BookingEngine;
30520
+ availability: VerticalPresetAvailability;
30521
+ label: string;
30522
+ pluralLabel: string;
30523
+ description: string;
30524
+ }> & Readonly<{
30525
+ id: "something_else.courses";
30526
+ }>, Readonly<{
30527
+ id: string;
30528
+ verticalId: VerticalId;
30529
+ canonicalBehaviour: CanonicalBookingBehaviour;
30530
+ eventPresetOverride?: EventPresetOverride;
30531
+ engine: BookingEngine;
30532
+ availability: VerticalPresetAvailability;
30533
+ label: string;
30534
+ pluralLabel: string;
30535
+ description: string;
30536
+ }> & Readonly<{
30537
+ id: "something_else.workshops";
30538
+ }>, Readonly<{
30539
+ id: string;
30540
+ verticalId: VerticalId;
30541
+ canonicalBehaviour: CanonicalBookingBehaviour;
30542
+ eventPresetOverride?: EventPresetOverride;
30543
+ engine: BookingEngine;
30544
+ availability: VerticalPresetAvailability;
30545
+ label: string;
30546
+ pluralLabel: string;
30547
+ description: string;
30548
+ }> & Readonly<{
30549
+ id: "something_else.retreats";
30550
+ }>, Readonly<{
30551
+ id: string;
30552
+ verticalId: VerticalId;
30553
+ canonicalBehaviour: CanonicalBookingBehaviour;
30554
+ eventPresetOverride?: EventPresetOverride;
30555
+ engine: BookingEngine;
30556
+ availability: VerticalPresetAvailability;
30557
+ label: string;
30558
+ pluralLabel: string;
30559
+ description: string;
30560
+ }> & Readonly<{
30561
+ id: "something_else.appointments";
30278
30562
  }>];
30279
30563
  //#endregion
30280
30564
  //#region .cache/declarations/core/src/booking-vertical-config.d.ts
@@ -35843,7 +36127,8 @@ type EventRegistrationOptionsResponse = Readonly<{
35843
36127
  }>;
35844
36128
  entitlements: Readonly<{
35845
36129
  requiresLoginForMemberships: boolean;
35846
- requiresLoginForPasses: boolean;
36130
+ requiresLoginForPasses: boolean; /** Absent on older servers; renderers must default to false. */
36131
+ requiresLoginForCredit?: boolean;
35847
36132
  memberships: readonly EventRegistrationOwnedMembership[];
35848
36133
  passes: readonly EventRegistrationOwnedPass[];
35849
36134
  availableForPurchase: Readonly<{
@@ -35915,6 +36200,140 @@ type EventRegistrationMembershipProduct = Readonly<{
35915
36200
  interval: 'month' | 'year';
35916
36201
  }>;
35917
36202
  //#endregion
36203
+ //#region .cache/declarations/commerce/src/purchase/checkoutPresentation.d.ts
36204
+ /** Browser-safe Checkout contracts shared by payment owners. */
36205
+ type CheckoutPresentationFields = {
36206
+ hosted: Readonly<{
36207
+ successUrl: string;
36208
+ cancelUrl: string;
36209
+ }>;
36210
+ embedded: Readonly<{
36211
+ returnUrl: string;
36212
+ redirectOnCompletion: 'always' | 'if_required';
36213
+ }>;
36214
+ };
36215
+ type CheckoutSessionFields = {
36216
+ hosted: Readonly<{
36217
+ checkoutUrl: string;
36218
+ }>;
36219
+ embedded: Readonly<{
36220
+ clientSecret: string;
36221
+ livemode: boolean;
36222
+ }>;
36223
+ };
36224
+ type CheckoutMode = keyof CheckoutPresentationFields;
36225
+ type CheckoutSessionHandle<M extends CheckoutMode = CheckoutMode> = { [K in CheckoutMode]: Readonly<{
36226
+ kind: K;
36227
+ sessionId: string;
36228
+ }> & CheckoutSessionFields[K] }[M];
36229
+ type EmbeddedCheckoutBrowserContext = Readonly<{
36230
+ kind: 'connect';
36231
+ publishableKey: string;
36232
+ accountId: string;
36233
+ }> | Readonly<{
36234
+ kind: 'direct';
36235
+ publishableKey: string;
36236
+ }>;
36237
+ //#endregion
36238
+ //#region .cache/declarations/commerce/src/purchase/checkoutQuantity.d.ts
36239
+ type PositiveCheckoutQuantity = Brand<number, 'PositiveCheckoutQuantity'>;
36240
+ //#endregion
36241
+ //#region .cache/declarations/commerce/src/purchase/bookingInstalmentSchedule.d.ts
36242
+ type BookingInstalmentScheduleRow = Readonly<{
36243
+ id: string;
36244
+ sequence: number;
36245
+ stateAtBooking: 'paid_today' | 'scheduled';
36246
+ dueAt: string;
36247
+ amountCents: number;
36248
+ }>;
36249
+ //#endregion
36250
+ //#region .cache/declarations/commerce/src/purchase/bookingPaymentSelection.d.ts
36251
+ type BookingCollectionMoney = Readonly<{
36252
+ totalCents: number;
36253
+ dueNowCents: number;
36254
+ anchorAt: string;
36255
+ bookingStartAt: string | null;
36256
+ }>;
36257
+ /** A choice carries the money and dates decided for it; consumers only format. */
36258
+ type ResolvedBookingCollectionOption = BookingCollectionMoney & (Extract<BookingPaymentCollectionOption, {
36259
+ kind: 'upfront' | 'deferred_manual';
36260
+ }> | (Extract<BookingPaymentCollectionOption, {
36261
+ kind: 'instalment_plan';
36262
+ }> & Readonly<{
36263
+ schedule: readonly BookingInstalmentScheduleRow[];
36264
+ depositRefundability: ReturnType<typeof getBookingInstalmentDepositRefundability>;
36265
+ }>) | (Extract<BookingPaymentCollectionOption, {
36266
+ kind: 'flexible_balance';
36267
+ }> & Readonly<{
36268
+ remainingBalanceCents: number;
36269
+ balanceDueAt: string;
36270
+ }>));
36271
+ //#endregion
36272
+ //#region .cache/declarations/commerce/src/purchase/settlement.d.ts
36273
+ type CurrencyCode = Brand<string, 'CurrencyCode'>;
36274
+ //#endregion
36275
+ //#region .cache/declarations/commerce/src/purchase/discountApplication.d.ts
36276
+ /** Shared read shape for checkout, paid receipts and money reports. */
36277
+ type PriceReduction = Readonly<{
36278
+ kind: 'discount_code' | 'combination_price';
36279
+ label: string;
36280
+ code: string | null;
36281
+ amountCents: number;
36282
+ lines: readonly Readonly<{
36283
+ lineId: string;
36284
+ amountCents: number;
36285
+ }>[];
36286
+ }>;
36287
+ type PriceReductionSummary = Pick<PriceReduction, 'kind' | 'label' | 'amountCents'>;
36288
+ //#endregion
36289
+ //#region .cache/declarations/commerce/src/purchase/event-registration-errors.d.ts
36290
+ type EventRegistrationErrorAction = 'none' | 'retry' | 'places' | 'start' | 'details' | 'payment-options' | 'portal' | 'event';
36291
+ //#endregion
36292
+ //#region .cache/declarations/commerce/src/purchase/combinationPricing.d.ts
36293
+ type CombinationOfferId = Brand<string, 'CombinationOfferId'>;
36294
+ type CombinationLine = Readonly<{
36295
+ lineId: string; /** Chronologically sortable date, with lineId breaking equal-date ties. */
36296
+ date: string;
36297
+ label: string;
36298
+ unitPriceCents: NonNegativeCents;
36299
+ }>;
36300
+ type OfferDetails = Readonly<{
36301
+ id: CombinationOfferId;
36302
+ label: string;
36303
+ sortOrder: number;
36304
+ priceCents: NonNegativeCents;
36305
+ }>;
36306
+ type CombinationOffer = OfferDetails & (Readonly<{
36307
+ kind: 'any';
36308
+ itemCount: PositiveCheckoutQuantity;
36309
+ }> | Readonly<{
36310
+ kind: 'particular';
36311
+ lineIds: readonly string[];
36312
+ }>);
36313
+ type CombinationApplication = Readonly<{
36314
+ offer: CombinationOffer;
36315
+ lines: readonly CombinationLine[];
36316
+ totalCents: NonNegativeCents;
36317
+ savingCents: NonNegativeCents;
36318
+ allocations: readonly Readonly<{
36319
+ lineId: string;
36320
+ reductionCents: NonNegativeCents;
36321
+ totalCents: NonNegativeCents;
36322
+ }>[];
36323
+ }>;
36324
+ type CombinationPricePlan = Readonly<{
36325
+ places: PositiveCheckoutQuantity;
36326
+ applications: readonly CombinationApplication[];
36327
+ totalCents: NonNegativeCents;
36328
+ listTotalCents: NonNegativeCents; /** Includes uncovered lines, so code pricing never needs to rebuild the basket. */
36329
+ lines: readonly Readonly<{
36330
+ line: Pick<CombinationLine, 'lineId' | 'date' | 'label'>;
36331
+ listCents: NonNegativeCents;
36332
+ totalCents: NonNegativeCents;
36333
+ combined: boolean;
36334
+ }>[];
36335
+ }>;
36336
+ //#endregion
35918
36337
  //#region .cache/declarations/site-contracts/src/siteData/portalQuestions.d.ts
35919
36338
  type BookingQuestionsAnswerValue = string | number | boolean | null | string[] | BookingQuestionsDocumentAnswerValue;
35920
36339
  interface BookingQuestionsDocumentAnswerValue {
@@ -36014,7 +36433,8 @@ type BeforeBookingQuestionsRequest = Readonly<{
36014
36433
  }>;
36015
36434
  type BookingQuestionAnswers = Readonly<Record<string, BookingQuestionsAnswerValue>>;
36016
36435
  type BookingQuestionSetView = Readonly<{
36017
- requirementId: string;
36436
+ requirementId: string; /** Current form, fields and collection/reuse configuration; absent on older payloads. */
36437
+ sharingKey?: string;
36018
36438
  title: string;
36019
36439
  sections: readonly BookingQuestionsSection[];
36020
36440
  }>;
@@ -54064,78 +54484,6 @@ type CalendarDate = Readonly<{
54064
54484
  day: number;
54065
54485
  }>;
54066
54486
  //#endregion
54067
- //#region .cache/declarations/commerce/src/purchase/checkoutPresentation.d.ts
54068
- /** Browser-safe Checkout contracts shared by payment owners. */
54069
- type CheckoutPresentationFields = {
54070
- hosted: Readonly<{
54071
- successUrl: string;
54072
- cancelUrl: string;
54073
- }>;
54074
- embedded: Readonly<{
54075
- returnUrl: string;
54076
- redirectOnCompletion: 'always' | 'if_required';
54077
- }>;
54078
- };
54079
- type CheckoutSessionFields = {
54080
- hosted: Readonly<{
54081
- checkoutUrl: string;
54082
- }>;
54083
- embedded: Readonly<{
54084
- clientSecret: string;
54085
- livemode: boolean;
54086
- }>;
54087
- };
54088
- type CheckoutMode = keyof CheckoutPresentationFields;
54089
- type CheckoutSessionHandle<M extends CheckoutMode = CheckoutMode> = { [K in CheckoutMode]: Readonly<{
54090
- kind: K;
54091
- sessionId: string;
54092
- }> & CheckoutSessionFields[K] }[M];
54093
- type EmbeddedCheckoutBrowserContext = Readonly<{
54094
- kind: 'connect';
54095
- publishableKey: string;
54096
- accountId: string;
54097
- }> | Readonly<{
54098
- kind: 'direct';
54099
- publishableKey: string;
54100
- }>;
54101
- //#endregion
54102
- //#region .cache/declarations/commerce/src/purchase/bookingInstalmentSchedule.d.ts
54103
- type BookingInstalmentScheduleRow = Readonly<{
54104
- id: string;
54105
- sequence: number;
54106
- stateAtBooking: 'paid_today' | 'scheduled';
54107
- dueAt: string;
54108
- amountCents: number;
54109
- }>;
54110
- //#endregion
54111
- //#region .cache/declarations/commerce/src/purchase/bookingPaymentSelection.d.ts
54112
- type BookingCollectionMoney = Readonly<{
54113
- totalCents: number;
54114
- dueNowCents: number;
54115
- anchorAt: string;
54116
- bookingStartAt: string | null;
54117
- }>;
54118
- /** A choice carries the money and dates decided for it; consumers only format. */
54119
- type ResolvedBookingCollectionOption = BookingCollectionMoney & (Extract<BookingPaymentCollectionOption, {
54120
- kind: 'upfront' | 'deferred_manual';
54121
- }> | (Extract<BookingPaymentCollectionOption, {
54122
- kind: 'instalment_plan';
54123
- }> & Readonly<{
54124
- schedule: readonly BookingInstalmentScheduleRow[];
54125
- depositRefundability: ReturnType<typeof getBookingInstalmentDepositRefundability>;
54126
- }>) | (Extract<BookingPaymentCollectionOption, {
54127
- kind: 'flexible_balance';
54128
- }> & Readonly<{
54129
- remainingBalanceCents: number;
54130
- balanceDueAt: string;
54131
- }>));
54132
- //#endregion
54133
- //#region .cache/declarations/commerce/src/purchase/settlement.d.ts
54134
- type CurrencyCode = Brand<string, 'CurrencyCode'>;
54135
- //#endregion
54136
- //#region .cache/declarations/commerce/src/purchase/event-registration-errors.d.ts
54137
- type EventRegistrationErrorAction = 'none' | 'retry' | 'places' | 'start' | 'details' | 'payment-options' | 'portal' | 'event';
54138
- //#endregion
54139
54487
  //#region .cache/declarations/blocks/src/system/runtime/api/types/events.d.ts
54140
54488
  type PublicEvent$1 = PublicEvent;
54141
54489
  interface PublicEventsRequest extends Omit<PublicEventLoaderParams, 'limit' | 'eventSurface' | 'scheduleScope' | 'detailLevel'> {
@@ -54204,7 +54552,8 @@ interface EventTicketLineSummary {
54204
54552
  type EventBookingOutcome = z$1.infer<typeof eventBookingOutcomeSchema>;
54205
54553
  type EventEmbeddedCheckout = CheckoutSessionHandle<'embedded'> & Readonly<{
54206
54554
  browser: EmbeddedCheckoutBrowserContext;
54207
- expiresAt: string;
54555
+ expiresAt: string; /** What the server took off the order, when booking several (issue 1725). */
54556
+ priceReductions?: readonly [PriceReductionSummary, ...PriceReductionSummary[]];
54208
54557
  }>;
54209
54558
  interface AvailablePass {
54210
54559
  id: string;
@@ -56638,6 +56987,34 @@ declare const API_ENDPOINTS: {
56638
56987
  responseKind: "json";
56639
56988
  errors: ("auth:forbidden" | "resource:conflict" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
56640
56989
  };
56990
+ readonly listEventOfferingCombinationPrices: {
56991
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices";
56992
+ method: "GET";
56993
+ auth: "user";
56994
+ responseKind: "json";
56995
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
56996
+ };
56997
+ readonly createEventOfferingCombinationPrice: {
56998
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices";
56999
+ method: "POST";
57000
+ auth: "user";
57001
+ responseKind: "json";
57002
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
57003
+ };
57004
+ readonly updateEventOfferingCombinationPrice: {
57005
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}";
57006
+ method: "PUT";
57007
+ auth: "user";
57008
+ responseKind: "json";
57009
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
57010
+ };
57011
+ readonly deleteEventOfferingCombinationPrice: {
57012
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}";
57013
+ method: "DELETE";
57014
+ auth: "user";
57015
+ responseKind: "json";
57016
+ errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
57017
+ };
56641
57018
  readonly deleteEventOffering: {
56642
57019
  path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}";
56643
57020
  method: "DELETE";
@@ -67106,7 +67483,13 @@ type CourseBookingSettingsRequest = Readonly<{
67106
67483
  * The course's own choice; `null` follows the course's event type.
67107
67484
  * Absent leaves the course's current value alone.
67108
67485
  */
67109
- collectAllAttendeeDetails?: boolean | null | undefined;
67486
+ collectAllAttendeeDetails?: boolean | null | undefined; /** Whether site terms are asked for. Absent leaves every run's value alone. */
67487
+ siteTermsMode?: SiteTermsMode | undefined;
67488
+ /**
67489
+ * Whether people can book more than one run at once. The course itself
67490
+ * owns this, not its runs. Absent leaves the course's current value alone.
67491
+ */
67492
+ allowsMultipleBooking?: boolean | undefined;
67110
67493
  cancellationPolicy: Readonly<{
67111
67494
  refunds: WholeSeriesRunPolicyOverrideInput;
67112
67495
  transfers: WholeSeriesRunPolicyOverrideInput;
@@ -67966,6 +68349,7 @@ type BookingDetailPaymentLine = {
67966
68349
  };
67967
68350
  /** A discount the order took off this booking's lines. `label` is its name or code, when it has one. */
67968
68351
  type BookingDetailPaymentDiscount = {
68352
+ kind: 'discount_code' | 'combination_price';
67969
68353
  label: string | null;
67970
68354
  amountCents: number;
67971
68355
  };
@@ -68039,8 +68423,8 @@ type BookingDetailPayment = {
68039
68423
  } | {
68040
68424
  kind: 'paid'; /** `pending` while a card payment hasn't finished. */
68041
68425
  state: 'pending' | 'paid' | 'part_refunded' | 'refunded';
68042
- lines: BookingDetailPaymentLine[]; /** Null when nothing was taken off, so the lines already add up to what was paid. */
68043
- discount: BookingDetailPaymentDiscount | null;
68426
+ lines: BookingDetailPaymentLine[]; /** Each reduction on this booking’s own lines, in charging order. */
68427
+ discounts: readonly BookingDetailPaymentDiscount[];
68044
68428
  amountPaidCents: number;
68045
68429
  refundedCents: number;
68046
68430
  currency: string;
@@ -68700,6 +69084,7 @@ type MoneyPaymentListItem = {
68700
69084
  knownRefundedCents: number;
68701
69085
  amountRefundedCents: number | null;
68702
69086
  amountDiscountCents: number;
69087
+ priceReductions?: readonly PriceReductionSummary[];
68703
69088
  currency: string;
68704
69089
  orderTotalCents: number;
68705
69090
  orderCollectedCents: number;
@@ -69599,6 +69984,30 @@ type ClientArrangementEndpoints = {
69599
69984
  editClientArrangement: APIEndpoint<ArrangementEditRequest, ArrangementPath, ArrangementOperationResponse>;
69600
69985
  };
69601
69986
  //#endregion
69987
+ //#region .cache/declarations/api/src/combinationPrices.d.ts
69988
+ /** Stored authoring values; preview calculations belong to the commerce planner. */
69989
+ type CombinationPriceWrite = Readonly<{
69990
+ label: string;
69991
+ priceCents: number;
69992
+ currency: string;
69993
+ sortOrder: number;
69994
+ }> & (Readonly<{
69995
+ kind: 'any';
69996
+ itemCount: number;
69997
+ }> | Readonly<{
69998
+ kind: 'particular';
69999
+ items: readonly (Readonly<{
70000
+ eventSeriesId: string;
70001
+ occurrenceId?: never;
70002
+ }> | Readonly<{
70003
+ occurrenceId: string;
70004
+ eventSeriesId?: never;
70005
+ }>)[];
70006
+ }>);
70007
+ type StoredCombinationPrice = CombinationPriceWrite & Readonly<{
70008
+ id: string;
70009
+ }>;
70010
+ //#endregion
69602
70011
  //#region .cache/declarations/api/src/bookings.d.ts
69603
70012
  type AppointmentPaymentChoice = Exclude<HandAddedPaymentChoice, {
69604
70013
  kind: 'entitlement';
@@ -71658,7 +72067,7 @@ type GetMoneyReportResponse = MoneyReportResponse;
71658
72067
  type DiscountCodeType = 'percent' | 'fixed';
71659
72068
  type DiscountPerEmailLimit = 'once' | 'unlimited';
71660
72069
  type DiscountMembershipDuration = 'once' | 'forever';
71661
- type DiscountEventScopeMode = 'all_categories' | 'categories' | 'event_series';
72070
+ type DiscountEventScopeMode = 'all_categories' | 'categories' | 'event_offerings';
71662
72071
  type DiscountScopeMode = 'all' | 'selected';
71663
72072
  type ProductScopeMode = 'all' | 'categories' | 'selected';
71664
72073
  type DiscountCodeRecord = {
@@ -71678,6 +72087,7 @@ type DiscountCodeRecord = {
71678
72087
  perEmailLimit: DiscountPerEmailLimit;
71679
72088
  membershipDiscountDuration: DiscountMembershipDuration;
71680
72089
  appliesToEvents: boolean;
72090
+ combinesWithCombinationPrices: boolean;
71681
72091
  eventMinTicketsEnabled: boolean;
71682
72092
  eventMinTickets: number | null;
71683
72093
  appliesToAppointments: boolean;
@@ -71695,7 +72105,7 @@ type DiscountCodeRecord = {
71695
72105
  };
71696
72106
  type DiscountCodeScopeIds = {
71697
72107
  eventCategoryIds: string[];
71698
- eventSeriesIds: string[];
72108
+ eventOfferingIds: string[];
71699
72109
  appointmentServiceIds: string[];
71700
72110
  passIds: string[];
71701
72111
  membershipIds: string[];
@@ -71705,19 +72115,21 @@ type DiscountCodeScopeIds = {
71705
72115
  type DiscountCodeDetails = DiscountCodeRecord & {
71706
72116
  scopes: DiscountCodeScopeIds;
71707
72117
  };
71708
- type CreateDiscountCodeRequest = (Omit<DiscountCodeRecord, 'id' | 'siteId' | 'codeNormalized' | 'autoApply' | 'discountPercent' | 'discountAmountCents' | 'eventMinTicketsEnabled' | 'eventMinTickets' | 'stripeCouponId' | 'createdAt' | 'updatedAt'> & {
72118
+ type CreateDiscountCodeRequest = (Omit<DiscountCodeRecord, 'id' | 'siteId' | 'codeNormalized' | 'autoApply' | 'discountPercent' | 'discountAmountCents' | 'combinesWithCombinationPrices' | 'eventMinTicketsEnabled' | 'eventMinTickets' | 'stripeCouponId' | 'createdAt' | 'updatedAt'> & {
71709
72119
  discountType: 'percent';
71710
72120
  discountPercent: number;
71711
72121
  discountAmountCents?: never;
71712
72122
  autoApply?: boolean;
72123
+ combinesWithCombinationPrices?: boolean;
71713
72124
  eventMinTicketsEnabled?: boolean;
71714
72125
  eventMinTickets?: number | null;
71715
72126
  scopeIds?: Partial<DiscountCodeScopeIds>;
71716
- }) | (Omit<DiscountCodeRecord, 'id' | 'siteId' | 'codeNormalized' | 'autoApply' | 'discountPercent' | 'discountAmountCents' | 'eventMinTicketsEnabled' | 'eventMinTickets' | 'stripeCouponId' | 'createdAt' | 'updatedAt'> & {
72127
+ }) | (Omit<DiscountCodeRecord, 'id' | 'siteId' | 'codeNormalized' | 'autoApply' | 'discountPercent' | 'discountAmountCents' | 'combinesWithCombinationPrices' | 'eventMinTicketsEnabled' | 'eventMinTickets' | 'stripeCouponId' | 'createdAt' | 'updatedAt'> & {
71717
72128
  discountType: 'fixed';
71718
72129
  discountAmountCents: number;
71719
72130
  discountPercent?: never;
71720
72131
  autoApply?: boolean;
72132
+ combinesWithCombinationPrices?: boolean;
71721
72133
  eventMinTicketsEnabled?: boolean;
71722
72134
  eventMinTickets?: number | null;
71723
72135
  scopeIds?: Partial<DiscountCodeScopeIds>;
@@ -72276,6 +72688,12 @@ type UpdateEventSeriesRequest = Partial<Omit<CreateEventRequest, 'creationIntent
72276
72688
  * unnamed, which the update service enforces by booking scope.
72277
72689
  */
72278
72690
  title?: string;
72691
+ /**
72692
+ * Whether people can book several dates of this event at once. The parent
72693
+ * Event owns it, so only an ordinary Event's Booking tab sends it; a course
72694
+ * sets it on the course's Booking tab.
72695
+ */
72696
+ allowsMultipleBooking?: boolean;
72279
72697
  settings?: Readonly<{
72280
72698
  patch: EventRunSettingsPatch;
72281
72699
  expectedRevision: string;
@@ -80572,8 +80990,15 @@ type MacadamiaOnboardingLogoAnalysis = {
80572
80990
  ignoredColors: string[];
80573
80991
  };
80574
80992
  type MacadamiaOnboardingVisualIdentity = {
80575
- /** Absent on older attempts; null means no cover was uploaded. */coverPath?: string | null; /** The uploaded cover's public address, for thumbnails while setting up. */
80576
- coverUrl?: string | null;
80993
+ /** Absent on older attempts; null means no cover was uploaded. */coverTransform?: PersistableMedia['transform'] | null;
80994
+ coverDimensions?: {
80995
+ width: number;
80996
+ height: number;
80997
+ } | null;
80998
+ coverPath?: string | null; /** The uploaded cover's public address, for thumbnails while setting up. */
80999
+ coverUrl?: string | null; /** Original names are absent on attempts uploaded before filename capture. */
81000
+ coverFilename?: string | null;
81001
+ logoFilename?: string | null;
80577
81002
  logoPath: string | null;
80578
81003
  logoUrl: string | null;
80579
81004
  logoPalette: string[] | null;
@@ -81365,6 +81790,7 @@ type SiteGeneralSettings = {
81365
81790
  logoAssetId: string | null; /** Optional logo designed for dark backgrounds. */
81366
81791
  logoDarkBackgroundAssetId: string | null; /** Optional masthead image for the hosted booking storefront. */
81367
81792
  coverAssetId: string | null;
81793
+ coverTransform?: PersistableMedia['transform'] | null;
81368
81794
  faviconAssetId: string | null;
81369
81795
  allowIndexingInProduction: boolean;
81370
81796
  };
@@ -81398,10 +81824,14 @@ type SiteRuntimeBusinessDetails = {
81398
81824
  contact: PublicContactDetails | null;
81399
81825
  addressVisibility: PublicAddressVisibility;
81400
81826
  coverImage?: {
81401
- assetId: string; /** The media asset's portable identifier. */
81827
+ asset?: RenderableMediaAsset;
81828
+ width?: number | null;
81829
+ height?: number | null;
81830
+ assetId?: string; /** The media asset's portable identifier. */
81402
81831
  identifier: string;
81403
81832
  url: string;
81404
81833
  alt: string;
81834
+ transform?: PersistableMedia['transform'] | null;
81405
81835
  } | null;
81406
81836
  };
81407
81837
  type SiteRuntimeBookingAttribution = Readonly<{
@@ -81474,6 +81904,7 @@ type SiteBusinessAddressUpdateResponse = SiteBusinessAddressResponse & Readonly<
81474
81904
  }>;
81475
81905
  }>;
81476
81906
  type SiteLayoutLogoPayload = {
81907
+ logoFacts?: LogoFacts | null;
81477
81908
  assetId: string | null;
81478
81909
  url: string | null;
81479
81910
  alt: string | null;
@@ -83096,9 +83527,15 @@ type PublicCommerceAPIEndpoints = {
83096
83527
  siteId: string;
83097
83528
  }, DiscountsAvailableResponse$1>;
83098
83529
  applyDiscountCode: APIEndpoint<{
83099
- discountCode: string;
83530
+ /** Omitted: price the automatic code checkout would apply, including a settled price when no code applies. */discountCode?: string;
83100
83531
  customerEmail: string;
83101
83532
  lines: Array<{
83533
+ ticketUnits?: readonly Readonly<{
83534
+ unitPriceCents: number;
83535
+ quantity: number;
83536
+ }>[];
83537
+ occurrenceId?: string;
83538
+ quantity?: number;
83102
83539
  context: PublicDiscountContext;
83103
83540
  subtotalCents: number;
83104
83541
  currency: string;
@@ -83107,6 +83544,9 @@ type PublicCommerceAPIEndpoints = {
83107
83544
  siteId: string;
83108
83545
  }, {
83109
83546
  type: 'applied';
83547
+ manualCodeEntryAllowed?: boolean;
83548
+ priceReductions?: readonly [PriceReductionSummary, ...PriceReductionSummary[]]; /** Sent with combination previews: false means the code came off the lines at their usual price only. */
83549
+ codeCombinesWithCombinationPrices?: boolean;
83110
83550
  code: string;
83111
83551
  publicLabel: string;
83112
83552
  description: string | null;
@@ -83114,6 +83554,13 @@ type PublicCommerceAPIEndpoints = {
83114
83554
  subtotalCents: number;
83115
83555
  totalAfterDiscountCents: number;
83116
83556
  currency: string;
83557
+ } | {
83558
+ type: 'priced';
83559
+ manualCodeEntryAllowed: boolean;
83560
+ subtotalCents: number;
83561
+ totalAfterDiscountCents: number;
83562
+ currency: string;
83563
+ priceReductions?: readonly [PriceReductionSummary, ...PriceReductionSummary[]];
83117
83564
  } | {
83118
83565
  type: 'rejected';
83119
83566
  reason: 'invalid_or_not_applicable' | 'unavailable' | 'unknown';
@@ -83934,8 +84381,8 @@ type GiftingOfferKind = 'gift_card' | 'voucher';
83934
84381
  type GiftingVoucherScope = {
83935
84382
  kind: 'any_event';
83936
84383
  } | {
83937
- kind: 'event_series';
83938
- eventSeriesId: string;
84384
+ kind: 'event_offering';
84385
+ eventOfferingId: string;
83939
84386
  } | {
83940
84387
  kind: 'event_category';
83941
84388
  eventCategoryId: string;
@@ -84557,19 +85004,29 @@ type DiscountsAvailableResponse = Readonly<{
84557
85004
  autoAppliedDiscount: AutoAppliedDiscountPreview;
84558
85005
  }>;
84559
85006
  interface DiscountApplyLine {
85007
+ ticketUnits?: readonly Readonly<{
85008
+ unitPriceCents: number;
85009
+ quantity: number;
85010
+ }>[];
85011
+ occurrenceId?: string;
85012
+ quantity?: number;
84560
85013
  context: DiscountContext;
84561
85014
  subtotalCents: number;
84562
85015
  currency: string;
84563
85016
  }
84564
85017
  interface DiscountApplyRequest {
84565
85018
  siteId: string;
84566
- discountCode: string;
85019
+ /** Omitted: price the automatic code checkout would apply, including a settled price when no code applies. */
85020
+ discountCode?: string;
84567
85021
  customerEmail: string;
84568
85022
  lines: DiscountApplyLine[];
84569
85023
  }
84570
85024
  type DiscountApplyRejectedReason = "invalid_or_not_applicable" | "unavailable" | "unknown";
84571
85025
  type DiscountApplyResponse = {
84572
85026
  type: "applied";
85027
+ manualCodeEntryAllowed?: boolean;
85028
+ priceReductions?: readonly [PriceReductionSummary, ...PriceReductionSummary[]]; /** Sent with combination previews: false means the code came off the lines at their usual price only. */
85029
+ codeCombinesWithCombinationPrices?: boolean;
84573
85030
  code: string;
84574
85031
  publicLabel: string;
84575
85032
  description: string | null;
@@ -84577,6 +85034,13 @@ type DiscountApplyResponse = {
84577
85034
  subtotalCents: number;
84578
85035
  totalAfterDiscountCents: number;
84579
85036
  currency: string;
85037
+ } | {
85038
+ type: 'priced';
85039
+ manualCodeEntryAllowed: boolean;
85040
+ subtotalCents: number;
85041
+ totalAfterDiscountCents: number;
85042
+ currency: string;
85043
+ priceReductions?: readonly [PriceReductionSummary, ...PriceReductionSummary[]];
84580
85044
  } | {
84581
85045
  type: "rejected";
84582
85046
  reason: DiscountApplyRejectedReason;
@@ -85042,6 +85506,233 @@ type RegistrationPresentation = Readonly<{
85042
85506
  }>;
85043
85507
  }>;
85044
85508
  //#endregion
85509
+ //#region .cache/declarations/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts
85510
+ type WaitlistClaimCredential = Readonly<{
85511
+ kind: 'emailedToken';
85512
+ token: string;
85513
+ }> | Readonly<{
85514
+ kind: 'portalOwnedEntry';
85515
+ entryId: string;
85516
+ }>;
85517
+ /** Object identity binds one asynchronous lookup to the draft that requested it. */
85518
+ type WaitlistClaimRequest = Readonly<{
85519
+ credential: WaitlistClaimCredential;
85520
+ }>;
85521
+ //#endregion
85522
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/waitlistClaimRestoration.d.ts
85523
+ type WaitlistClaimRestoration = Readonly<{
85524
+ kind: 'awaitingEvents';
85525
+ }> | Readonly<{
85526
+ kind: 'different-event';
85527
+ message: string;
85528
+ }> | Readonly<{
85529
+ kind: 'ready';
85530
+ event: RegistrationEvent | null;
85531
+ attendanceMode: 'in_person' | 'online';
85532
+ ticketSelections: readonly EventTicketSelectionLine[];
85533
+ ticketsCount: number;
85534
+ slidingAmountInput: string | null;
85535
+ }>;
85536
+ //#endregion
85537
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/selectionRequirements.state.d.ts
85538
+ /**
85539
+ * How a selection asks its booking questions and agreement (issue 1725).
85540
+ *
85541
+ * - `one`: a single booking, or several dates of one series. One set, asked
85542
+ * once and sent the way a single booking always has.
85543
+ * - `shared`: several runs whose questions and agreement are the same. Asked
85544
+ * once, and sent naming the run they were shown for.
85545
+ * - `per_run`: several runs that differ. Each run gets its own section and
85546
+ * sends its own answers and agreement.
85547
+ *
85548
+ * Whether runs are the same is the shared decision the server also makes, so
85549
+ * the block never asks once for runs the server would refuse to share.
85550
+ */
85551
+ type SelectionRequirementsLayout = Readonly<{
85552
+ kind: 'one';
85553
+ }> | Readonly<{
85554
+ kind: 'shared';
85555
+ source: RegistrationEvent;
85556
+ }> | Readonly<{
85557
+ kind: 'per_run';
85558
+ runs: readonly [RegistrationEvent, ...RegistrationEvent[]];
85559
+ }>;
85560
+ /**
85561
+ * The agreement a booker ticked: which attachment, the exact words they saw
85562
+ * and whose tick it was. A tick only counts while all three still match the
85563
+ * run's current agreement and visitor (see `isRunConsentAccepted`), so a
85564
+ * payment return or a change of session never carries it to words they
85565
+ * didn't see.
85566
+ */
85567
+ type RunConsentAcceptance = Readonly<{
85568
+ requirementId: string;
85569
+ contentKey: string;
85570
+ owner: BookingQuestionsOwner;
85571
+ }>;
85572
+ /** One run's answers and agreement, when runs are asked separately. */
85573
+ type RunRequirementsAnswers = Readonly<{
85574
+ questions: BookingQuestionsAnswerState; /** The agreement as ticked; null until it's ticked, or once it's unticked. */
85575
+ consent: RunConsentAcceptance | null;
85576
+ /**
85577
+ * The identity a signed-in read of this run's questions failed for. The run
85578
+ * keeps its public questions and the next run is read; a later read (after
85579
+ * a refusal, or for another identity) clears it.
85580
+ */
85581
+ readFailedFor: string | null;
85582
+ }>;
85583
+ /** Keyed by the run's series ID. */
85584
+ type RunRequirementsState = Readonly<Record<string, RunRequirementsAnswers>>;
85585
+ //#endregion
85586
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationDraft.state.d.ts
85587
+ type WaitlistInvitation = Readonly<{
85588
+ kind: 'none';
85589
+ }> | Readonly<{
85590
+ kind: 'resolving';
85591
+ request: WaitlistClaimRequest;
85592
+ }> | Readonly<{
85593
+ kind: 'portal-login-required';
85594
+ request: WaitlistClaimRequest;
85595
+ message: string;
85596
+ }> | Readonly<{
85597
+ kind: 'error';
85598
+ request: WaitlistClaimRequest;
85599
+ message: string;
85600
+ action: EventRegistrationErrorAction;
85601
+ }> | Readonly<{
85602
+ kind: 'ready';
85603
+ request: WaitlistClaimRequest;
85604
+ claim: ResolveWaitlistClaimResponse;
85605
+ restoration: Extract<WaitlistClaimRestoration, {
85606
+ kind: 'ready';
85607
+ }>;
85608
+ }>;
85609
+ type RegistrationDraftData = Readonly<{
85610
+ /** What's being booked; one item for a single booking, empty until chosen. */selection: RegistrationSelection; /** Each run's own ticket type or amount, when several runs are booked together. */
85611
+ runChoices: RunPricingChoices;
85612
+ formData: FormData$1;
85613
+ guests: Guest[];
85614
+ selectedAttendanceMode: 'in_person' | 'online' | null;
85615
+ selectedTicketLines: EventTicketSelectionLine[];
85616
+ selectedSlidingAmountInput: string; /** The during-booking answers; changed only through the shared answer events. */
85617
+ bookingQuestions: BookingQuestionsAnswerState;
85618
+ /**
85619
+ * Each run's own answers and agreement, when several runs ask different
85620
+ * ones (issue 1725); changed only through the run requirement events.
85621
+ */
85622
+ runRequirements: RunRequirementsState;
85623
+ }>;
85624
+ type StateUpdate<T> = T | ((current: T) => T);
85625
+ //#endregion
85626
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/combinationPrices.state.d.ts
85627
+ /** A run of copy with the part drawn in bold marked. */
85628
+ type CopyPart = Readonly<{
85629
+ text: string;
85630
+ strong?: true;
85631
+ }>;
85632
+ type CombinationWorking = Readonly<{
85633
+ working: string;
85634
+ saving: string;
85635
+ }>;
85636
+ type CombinedPaymentGroup = Readonly<{
85637
+ key: string; /** "4 dates for £40", "At the usual price", or none for a plain list. */
85638
+ heading: string | null;
85639
+ lines: readonly Readonly<{
85640
+ key: string;
85641
+ label: string;
85642
+ amountCents: number;
85643
+ }>[];
85644
+ }>;
85645
+ type CombinedPaymentSummary = Readonly<{
85646
+ kind: 'combined';
85647
+ groups: readonly CombinedPaymentGroup[];
85648
+ placesLabel: string; /** What the items come to after combinations, before any code. */
85649
+ subtotalCents: number; /** The code, or the server's own reductions when they don't match the planner. */
85650
+ reductions: readonly Readonly<{
85651
+ key: string;
85652
+ label: string;
85653
+ amountCents: number;
85654
+ }>[]; /** Why a code came off fewer items than it might have. */
85655
+ note: string | null;
85656
+ totalCents: number; /** Positive, or null. */
85657
+ savingCents: number | null;
85658
+ }>;
85659
+ //#endregion
85660
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationSelection.state.d.ts
85661
+ /**
85662
+ * What a booking is for (issue 1725). A single booking is a selection of one,
85663
+ * so there's one model: the draft holds a list, and everything that reads one
85664
+ * item reads its first.
85665
+ */
85666
+ type RegistrationSelection = readonly RegistrationEvent[];
85667
+ /**
85668
+ * Whether the visitor may tick several items. Several dates belong to one
85669
+ * series and several runs to one course, and every one of them must allow it.
85670
+ * A page that names one date or run always books one.
85671
+ */
85672
+ type RegistrationSelectionMode = Readonly<{
85673
+ kind: 'single';
85674
+ }> | Readonly<{
85675
+ kind: 'several';
85676
+ items: SeveralItemsKind;
85677
+ }>;
85678
+ type SeveralItemsKind = 'dates' | 'runs';
85679
+ /** What a booking asks the server for, before the attendance mode is added. */
85680
+ type BookingSelection = Readonly<{
85681
+ kind: 'dates';
85682
+ eventSeriesId?: string;
85683
+ occurrenceIds: readonly [string, ...string[]];
85684
+ }> | Readonly<{
85685
+ kind: 'runs';
85686
+ eventOfferingId?: string;
85687
+ eventSeriesIds: readonly [string, ...string[]];
85688
+ }>;
85689
+ /**
85690
+ * A run's own pricing choice when booking several runs: its ticket type, or
85691
+ * its sliding-scale amount. Dates share one series, so they use the draft's
85692
+ * ticket lines instead.
85693
+ */
85694
+ type RunPricingChoice = Readonly<{
85695
+ pricingOptionId: string | null;
85696
+ slidingAmountInput: string;
85697
+ }>;
85698
+ type RunPricingChoices = Readonly<Record<string, RunPricingChoice>>;
85699
+ /**
85700
+ * The payment step's list for several items: each item at its price for one
85701
+ * place, the places each one has with what they come to, and the total. With
85702
+ * combination prices (or a code previewed against them) it is grouped by
85703
+ * combination instead.
85704
+ */
85705
+ type SelectionPaymentSummary = Readonly<{
85706
+ kind: 'plain';
85707
+ lines: readonly Readonly<{
85708
+ key: string;
85709
+ label: string;
85710
+ amountCents: number;
85711
+ }>[];
85712
+ placesLabel: string;
85713
+ subtotalCents: number; /** The automatic code, once the server has priced it against these items. */
85714
+ reductions: readonly Readonly<{
85715
+ key: string;
85716
+ label: string;
85717
+ amountCents: number;
85718
+ }>[];
85719
+ totalCents: number;
85720
+ }> | CombinedPaymentSummary;
85721
+ /**
85722
+ * How the selection is paid, decided once for all of it (issue 1725).
85723
+ *
85724
+ * One item keeps its own eligibility: free places, passes, memberships,
85725
+ * bundles and instalments, exactly as before. Several items are paid up
85726
+ * front by card, or book free when the whole selection costs nothing.
85727
+ * Nothing else applies to them, and the server refuses anything else.
85728
+ */
85729
+ type SelectionPayment = Readonly<{
85730
+ kind: 'one-item';
85731
+ }> | Readonly<{
85732
+ kind: 'several';
85733
+ due: 'nothing' | 'card';
85734
+ }>;
85735
+ //#endregion
85045
85736
  //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/bookingCardDisplay.d.ts
85046
85737
  /**
85047
85738
  * Where the booking panel lives. Pages built around booking (the system
@@ -85182,8 +85873,9 @@ type RegistrationResultCopy = {
85182
85873
  mailingListSignupNote?: BookingMailingListNote;
85183
85874
  };
85184
85875
  type RegistrationResult = RegistrationResultCopy & (Readonly<{
85185
- status: 'confirmed';
85186
- outcome: EventBookingOutcome;
85876
+ status: 'confirmed'; /** The first booking; a single booking's only one. */
85877
+ outcome: EventBookingOutcome; /** Every booking in order, first included, when several were booked together (issue 1725). */
85878
+ outcomes?: readonly EventBookingOutcome[];
85187
85879
  }> | Readonly<{
85188
85880
  status: 'waitlist';
85189
85881
  }>);
@@ -85199,7 +85891,7 @@ type PaymentStatusRecoveryState = Readonly<{
85199
85891
  kind: 'paymentAvailable';
85200
85892
  checkout: EventEmbeddedCheckout;
85201
85893
  }>);
85202
- type RegistrationAttendanceMode = 'in_person' | 'online';
85894
+ type RegistrationAttendanceMode$1 = 'in_person' | 'online';
85203
85895
  type EventTicketSelectionLine = Readonly<{
85204
85896
  pricingOptionId: string | null;
85205
85897
  quantity: number;
@@ -85223,6 +85915,7 @@ type EligibilityData = {
85223
85915
  ticketTypes: readonly EventRegistrationPricingOption[]; /** Event price in cents (null if free) */
85224
85916
  price: number | null; /** Price currency code */
85225
85917
  currency: string; /** Whether passes require authentication to view */
85918
+ requiresAuthForCredit?: boolean;
85226
85919
  requiresAuthForPasses: boolean; /** Whether memberships require authentication to view */
85227
85920
  requiresAuthForMemberships: boolean; /** User's eligible passes for this event */
85228
85921
  eligiblePasses: Array<{
@@ -85244,10 +85937,11 @@ type RegistrationSubject = Readonly<{
85244
85937
  occurrenceId: string;
85245
85938
  }> | Readonly<{
85246
85939
  kind: 'wholeSeries';
85247
- eventSeriesId: string; /** Ordered live booking sessions; cancellation history stays on PublicEvent.run. */
85940
+ eventSeriesId: string; /** The course the run belongs to; several runs book together only within one. */
85941
+ eventOfferingId: string; /** Ordered live booking sessions; cancellation history stays on PublicEvent.run. */
85248
85942
  sessions: readonly PublicRunSession[];
85249
85943
  }>;
85250
- type RegistrationEvent = Pick<PublicEvent, 'seriesId' | 'scheduleSummary' | 'title' | 'startsAt' | 'endsAt' | 'bookingAvailability' | 'deliveryMode' | 'attendanceModes' | 'capacity' | 'registeredCount' | 'availableSpots' | 'waitlistEnabled' | 'venue' | 'eventCategory' | 'teamMembers' | 'status' | 'timeZone' | 'siteTimeZone' | 'paymentTerms' | 'asksSiteTerms' | 'consent' | 'bookingQuestions' | 'requireGuestDetails' | 'acceptsPasses' | 'acceptsMemberships' | 'eventPreset'> & Readonly<{
85944
+ type RegistrationEvent = Pick<PublicEvent, 'seriesId' | 'scheduleSummary' | 'title' | 'startsAt' | 'endsAt' | 'bookingAvailability' | 'deliveryMode' | 'attendanceModes' | 'capacity' | 'registeredCount' | 'availableSpots' | 'waitlistEnabled' | 'venue' | 'eventCategory' | 'teamMembers' | 'status' | 'timeZone' | 'siteTimeZone' | 'paymentTerms' | 'asksSiteTerms' | 'consent' | 'bookingQuestions' | 'requireGuestDetails' | 'acceptsPasses' | 'acceptsMemberships' | 'eventPreset' | 'allowsMultipleBooking' | 'combinationPrices'> & Readonly<{
85251
85945
  selectionId: string;
85252
85946
  registrationSubject: RegistrationSubject;
85253
85947
  pricing: PublicEventPricing;
@@ -85453,6 +86147,31 @@ type BookingQuestionsModel = Readonly<{
85453
86147
  keepRefused: () => void;
85454
86148
  }> & SignInReturn;
85455
86149
  //#endregion
86150
+ //#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts
86151
+ type SelectionSource = 'auto' | 'manual';
86152
+ type RegistrationDraftState = {
86153
+ questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
86154
+ draft: RegistrationDraftData; /** The place stepper's value; ticket types count their lines instead (`flowTicketsCount`). */
86155
+ placeCount: number;
86156
+ eligibility: EligibilityData | null;
86157
+ passOptOut: boolean;
86158
+ paymentSelection: PaymentSelection;
86159
+ selectionSource: SelectionSource;
86160
+ };
86161
+ type RegistrationFlowState = Readonly<{
86162
+ isAuthenticated: boolean;
86163
+ completedOutcomes: readonly EventBookingOutcome[];
86164
+ }> & RegistrationDraftState & (Readonly<{
86165
+ step: Exclude<RegistrationStep, 'success'>;
86166
+ invitation: WaitlistInvitation;
86167
+ }> | Readonly<{
86168
+ step: 'success';
86169
+ result: RegistrationResult;
86170
+ invitation: Readonly<{
86171
+ kind: 'none';
86172
+ }>;
86173
+ }>);
86174
+ //#endregion
85456
86175
  //#region .cache/declarations/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts
85457
86176
  type BookingPaymentSelectionKind = BookingPaymentCollectionOptionKind;
85458
86177
  type BookingPaymentOptionSummaryRow = Readonly<{
@@ -87300,6 +88019,14 @@ type PublicWholeSeriesRun = Readonly<{
87300
88019
  visibility: PublicWholeSeriesRunVisibility;
87301
88020
  lifecycle: PublicWholeSeriesRunLifecycle; /** Every session in the run, ordered, independent of occurrence pagination. */
87302
88021
  sessions: readonly PublicRunSession[];
88022
+ /**
88023
+ * The course's own name, which a card shows as its title.
88024
+ *
88025
+ * Added after `title` already carried the run's name, so older payloads may
88026
+ * lack it and older renderers ignore it: `title` keeps its meaning.
88027
+ */
88028
+ courseTitle?: string; /** The run's own name, when the owner gave it one beyond the course's. */
88029
+ runName?: string | null;
87303
88030
  }>;
87304
88031
  /**
87305
88032
  * Public event data from the API
@@ -87320,6 +88047,11 @@ type PublicEventBase = {
87320
88047
  occurrenceId: string;
87321
88048
  seriesId: string;
87322
88049
  title: string;
88050
+ /**
88051
+ * The title authored on this one occurrence, when it differs from its
88052
+ * series. Absent on older payloads and on occurrences that inherit `title`.
88053
+ */
88054
+ occurrenceTitle?: string;
87323
88055
  description: string | null; /** Owner-defined quick facts, in definition order, from published content only. */
87324
88056
  facts?: readonly Readonly<{
87325
88057
  label: string;
@@ -87382,7 +88114,9 @@ type PublicEventBase = {
87382
88114
  allowedCategoryIds: string[]; /** Whether guest details are required for additional attendees */
87383
88115
  requireGuestDetails?: boolean; /** Whether the event accepts pass redemptions (from event series settings) */
87384
88116
  acceptsPasses: boolean; /** Whether the event accepts membership access (from event series settings) */
87385
- acceptsMemberships: boolean;
88117
+ acceptsMemberships: boolean; /** Whether people may book several dates (or runs) of this event at once */
88118
+ allowsMultipleBooking: boolean; /** Older servers omit offers; consumers treat absence as an empty list. */
88119
+ combinationPrices?: readonly CombinationOffer[];
87386
88120
  };
87387
88121
  /**
87388
88122
  * Canonical public Event record.
@@ -87910,6 +88644,229 @@ declare const eventRegisterResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
87910
88644
  registrationId: z$1.ZodString;
87911
88645
  }, z$1.core.$strict>], "scope">;
87912
88646
  }, z$1.core.$strict>], "kind">;
88647
+ outcomes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88648
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
88649
+ kind: z$1.ZodLiteral<"detailsAvailable">;
88650
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88651
+ submissionId: z$1.ZodString;
88652
+ seriesId: z$1.ZodString;
88653
+ attendanceMode: z$1.ZodEnum<{
88654
+ in_person: "in_person";
88655
+ online: "online";
88656
+ }>;
88657
+ scope: z$1.ZodLiteral<"occurrence">;
88658
+ attendeeId: z$1.ZodString;
88659
+ occurrenceId: z$1.ZodString;
88660
+ }, z$1.core.$strict>, z$1.ZodObject<{
88661
+ submissionId: z$1.ZodString;
88662
+ seriesId: z$1.ZodString;
88663
+ attendanceMode: z$1.ZodEnum<{
88664
+ in_person: "in_person";
88665
+ online: "online";
88666
+ }>;
88667
+ scope: z$1.ZodLiteral<"wholeSeries">;
88668
+ registrationId: z$1.ZodString;
88669
+ }, z$1.core.$strict>], "scope">;
88670
+ ticketLines: z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
88671
+ label: z$1.ZodString;
88672
+ quantity: z$1.ZodNumber;
88673
+ }, z$1.core.$strict>], z$1.ZodObject<{
88674
+ label: z$1.ZodString;
88675
+ quantity: z$1.ZodNumber;
88676
+ }, z$1.core.$strict>>>;
88677
+ payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88678
+ kind: z$1.ZodLiteral<"free">;
88679
+ balance: z$1.ZodObject<{
88680
+ kind: z$1.ZodLiteral<"settled">;
88681
+ }, z$1.core.$strict>;
88682
+ }, z$1.core.$strict>, z$1.ZodObject<{
88683
+ kind: z$1.ZodLiteral<"waived">;
88684
+ balance: z$1.ZodObject<{
88685
+ kind: z$1.ZodLiteral<"settled">;
88686
+ }, z$1.core.$strict>;
88687
+ }, z$1.core.$strict>, z$1.ZodObject<{
88688
+ kind: z$1.ZodLiteral<"pass">;
88689
+ passName: z$1.ZodNullable<z$1.ZodString>;
88690
+ passCreditsUsed: z$1.ZodNullable<z$1.ZodNumber>;
88691
+ balance: z$1.ZodObject<{
88692
+ kind: z$1.ZodLiteral<"settled">;
88693
+ }, z$1.core.$strict>;
88694
+ }, z$1.core.$strict>, z$1.ZodObject<{
88695
+ kind: z$1.ZodLiteral<"membership">;
88696
+ membershipName: z$1.ZodNullable<z$1.ZodString>;
88697
+ balance: z$1.ZodObject<{
88698
+ kind: z$1.ZodLiteral<"settled">;
88699
+ }, z$1.core.$strict>;
88700
+ }, z$1.core.$strict>, z$1.ZodObject<{
88701
+ kind: z$1.ZodLiteral<"manual_due">;
88702
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
88703
+ balance: z$1.ZodObject<{
88704
+ kind: z$1.ZodLiteral<"due">;
88705
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
88706
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
88707
+ }, z$1.core.$strict>;
88708
+ }, z$1.core.$strict>, z$1.ZodObject<{
88709
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
88710
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
88711
+ kind: z$1.ZodLiteral<"managed_balance_due">;
88712
+ balance: z$1.ZodObject<{
88713
+ kind: z$1.ZodLiteral<"due">;
88714
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
88715
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
88716
+ }, z$1.core.$strict>;
88717
+ }, z$1.core.$strict>, z$1.ZodObject<{
88718
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
88719
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
88720
+ kind: z$1.ZodLiteral<"monetary">;
88721
+ paymentMethod: z$1.ZodEnum<{
88722
+ manual: "manual";
88723
+ mixed: "mixed";
88724
+ store_credit: "store_credit";
88725
+ stripe: "stripe";
88726
+ }>;
88727
+ balance: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88728
+ kind: z$1.ZodLiteral<"settled">;
88729
+ }, z$1.core.$strict>, z$1.ZodObject<{
88730
+ kind: z$1.ZodLiteral<"due">;
88731
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
88732
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
88733
+ }, z$1.core.$strict>], "kind">;
88734
+ }, z$1.core.$strict>], "kind">;
88735
+ }, z$1.core.$strict>, z$1.ZodObject<{
88736
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
88737
+ kind: z$1.ZodLiteral<"detailsUnavailable">;
88738
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88739
+ submissionId: z$1.ZodString;
88740
+ seriesId: z$1.ZodString;
88741
+ attendanceMode: z$1.ZodEnum<{
88742
+ in_person: "in_person";
88743
+ online: "online";
88744
+ }>;
88745
+ scope: z$1.ZodLiteral<"occurrence">;
88746
+ attendeeId: z$1.ZodString;
88747
+ occurrenceId: z$1.ZodString;
88748
+ }, z$1.core.$strict>, z$1.ZodObject<{
88749
+ submissionId: z$1.ZodString;
88750
+ seriesId: z$1.ZodString;
88751
+ attendanceMode: z$1.ZodEnum<{
88752
+ in_person: "in_person";
88753
+ online: "online";
88754
+ }>;
88755
+ scope: z$1.ZodLiteral<"wholeSeries">;
88756
+ registrationId: z$1.ZodString;
88757
+ }, z$1.core.$strict>], "scope">;
88758
+ }, z$1.core.$strict>], "kind">], z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88759
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
88760
+ kind: z$1.ZodLiteral<"detailsAvailable">;
88761
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88762
+ submissionId: z$1.ZodString;
88763
+ seriesId: z$1.ZodString;
88764
+ attendanceMode: z$1.ZodEnum<{
88765
+ in_person: "in_person";
88766
+ online: "online";
88767
+ }>;
88768
+ scope: z$1.ZodLiteral<"occurrence">;
88769
+ attendeeId: z$1.ZodString;
88770
+ occurrenceId: z$1.ZodString;
88771
+ }, z$1.core.$strict>, z$1.ZodObject<{
88772
+ submissionId: z$1.ZodString;
88773
+ seriesId: z$1.ZodString;
88774
+ attendanceMode: z$1.ZodEnum<{
88775
+ in_person: "in_person";
88776
+ online: "online";
88777
+ }>;
88778
+ scope: z$1.ZodLiteral<"wholeSeries">;
88779
+ registrationId: z$1.ZodString;
88780
+ }, z$1.core.$strict>], "scope">;
88781
+ ticketLines: z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
88782
+ label: z$1.ZodString;
88783
+ quantity: z$1.ZodNumber;
88784
+ }, z$1.core.$strict>], z$1.ZodObject<{
88785
+ label: z$1.ZodString;
88786
+ quantity: z$1.ZodNumber;
88787
+ }, z$1.core.$strict>>>;
88788
+ payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88789
+ kind: z$1.ZodLiteral<"free">;
88790
+ balance: z$1.ZodObject<{
88791
+ kind: z$1.ZodLiteral<"settled">;
88792
+ }, z$1.core.$strict>;
88793
+ }, z$1.core.$strict>, z$1.ZodObject<{
88794
+ kind: z$1.ZodLiteral<"waived">;
88795
+ balance: z$1.ZodObject<{
88796
+ kind: z$1.ZodLiteral<"settled">;
88797
+ }, z$1.core.$strict>;
88798
+ }, z$1.core.$strict>, z$1.ZodObject<{
88799
+ kind: z$1.ZodLiteral<"pass">;
88800
+ passName: z$1.ZodNullable<z$1.ZodString>;
88801
+ passCreditsUsed: z$1.ZodNullable<z$1.ZodNumber>;
88802
+ balance: z$1.ZodObject<{
88803
+ kind: z$1.ZodLiteral<"settled">;
88804
+ }, z$1.core.$strict>;
88805
+ }, z$1.core.$strict>, z$1.ZodObject<{
88806
+ kind: z$1.ZodLiteral<"membership">;
88807
+ membershipName: z$1.ZodNullable<z$1.ZodString>;
88808
+ balance: z$1.ZodObject<{
88809
+ kind: z$1.ZodLiteral<"settled">;
88810
+ }, z$1.core.$strict>;
88811
+ }, z$1.core.$strict>, z$1.ZodObject<{
88812
+ kind: z$1.ZodLiteral<"manual_due">;
88813
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
88814
+ balance: z$1.ZodObject<{
88815
+ kind: z$1.ZodLiteral<"due">;
88816
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
88817
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
88818
+ }, z$1.core.$strict>;
88819
+ }, z$1.core.$strict>, z$1.ZodObject<{
88820
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
88821
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
88822
+ kind: z$1.ZodLiteral<"managed_balance_due">;
88823
+ balance: z$1.ZodObject<{
88824
+ kind: z$1.ZodLiteral<"due">;
88825
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
88826
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
88827
+ }, z$1.core.$strict>;
88828
+ }, z$1.core.$strict>, z$1.ZodObject<{
88829
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
88830
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
88831
+ kind: z$1.ZodLiteral<"monetary">;
88832
+ paymentMethod: z$1.ZodEnum<{
88833
+ manual: "manual";
88834
+ mixed: "mixed";
88835
+ store_credit: "store_credit";
88836
+ stripe: "stripe";
88837
+ }>;
88838
+ balance: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88839
+ kind: z$1.ZodLiteral<"settled">;
88840
+ }, z$1.core.$strict>, z$1.ZodObject<{
88841
+ kind: z$1.ZodLiteral<"due">;
88842
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
88843
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
88844
+ }, z$1.core.$strict>], "kind">;
88845
+ }, z$1.core.$strict>], "kind">;
88846
+ }, z$1.core.$strict>, z$1.ZodObject<{
88847
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
88848
+ kind: z$1.ZodLiteral<"detailsUnavailable">;
88849
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88850
+ submissionId: z$1.ZodString;
88851
+ seriesId: z$1.ZodString;
88852
+ attendanceMode: z$1.ZodEnum<{
88853
+ in_person: "in_person";
88854
+ online: "online";
88855
+ }>;
88856
+ scope: z$1.ZodLiteral<"occurrence">;
88857
+ attendeeId: z$1.ZodString;
88858
+ occurrenceId: z$1.ZodString;
88859
+ }, z$1.core.$strict>, z$1.ZodObject<{
88860
+ submissionId: z$1.ZodString;
88861
+ seriesId: z$1.ZodString;
88862
+ attendanceMode: z$1.ZodEnum<{
88863
+ in_person: "in_person";
88864
+ online: "online";
88865
+ }>;
88866
+ scope: z$1.ZodLiteral<"wholeSeries">;
88867
+ registrationId: z$1.ZodString;
88868
+ }, z$1.core.$strict>], "scope">;
88869
+ }, z$1.core.$strict>], "kind">>>>;
87913
88870
  summary: z$1.ZodObject<{
87914
88871
  message: z$1.ZodString;
87915
88872
  passCreditsRemaining: z$1.ZodOptional<z$1.ZodNumber>;
@@ -87928,7 +88885,35 @@ declare const eventRegisterResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
87928
88885
  scope: z$1.ZodLiteral<"wholeSeries">;
87929
88886
  registrationId: z$1.ZodString;
87930
88887
  }, z$1.core.$strict>], "scope">;
88888
+ references: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88889
+ scope: z$1.ZodLiteral<"occurrence">;
88890
+ attendeeId: z$1.ZodString;
88891
+ }, z$1.core.$strict>, z$1.ZodObject<{
88892
+ scope: z$1.ZodLiteral<"wholeSeries">;
88893
+ registrationId: z$1.ZodString;
88894
+ }, z$1.core.$strict>], "scope">], z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
88895
+ scope: z$1.ZodLiteral<"occurrence">;
88896
+ attendeeId: z$1.ZodString;
88897
+ }, z$1.core.$strict>, z$1.ZodObject<{
88898
+ scope: z$1.ZodLiteral<"wholeSeries">;
88899
+ registrationId: z$1.ZodString;
88900
+ }, z$1.core.$strict>], "scope">>>>;
87931
88901
  checkout: z$1.ZodObject<{
88902
+ priceReductions: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
88903
+ kind: z$1.ZodEnum<{
88904
+ combination_price: "combination_price";
88905
+ discount_code: "discount_code";
88906
+ }>;
88907
+ label: z$1.ZodString;
88908
+ amountCents: z$1.ZodNumber;
88909
+ }, z$1.core.$strict>], z$1.ZodObject<{
88910
+ kind: z$1.ZodEnum<{
88911
+ combination_price: "combination_price";
88912
+ discount_code: "discount_code";
88913
+ }>;
88914
+ label: z$1.ZodString;
88915
+ amountCents: z$1.ZodNumber;
88916
+ }, z$1.core.$strict>>>>;
87932
88917
  kind: z$1.ZodLiteral<"embedded">;
87933
88918
  sessionId: z$1.ZodString;
87934
88919
  clientSecret: z$1.ZodString;
@@ -88106,6 +89091,229 @@ declare const eventCheckoutReturnResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.
88106
89091
  registrationId: z$1.ZodString;
88107
89092
  }, z$1.core.$strict>], "scope">;
88108
89093
  }, z$1.core.$strict>], "kind">;
89094
+ outcomes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89095
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89096
+ kind: z$1.ZodLiteral<"detailsAvailable">;
89097
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89098
+ submissionId: z$1.ZodString;
89099
+ seriesId: z$1.ZodString;
89100
+ attendanceMode: z$1.ZodEnum<{
89101
+ in_person: "in_person";
89102
+ online: "online";
89103
+ }>;
89104
+ scope: z$1.ZodLiteral<"occurrence">;
89105
+ attendeeId: z$1.ZodString;
89106
+ occurrenceId: z$1.ZodString;
89107
+ }, z$1.core.$strict>, z$1.ZodObject<{
89108
+ submissionId: z$1.ZodString;
89109
+ seriesId: z$1.ZodString;
89110
+ attendanceMode: z$1.ZodEnum<{
89111
+ in_person: "in_person";
89112
+ online: "online";
89113
+ }>;
89114
+ scope: z$1.ZodLiteral<"wholeSeries">;
89115
+ registrationId: z$1.ZodString;
89116
+ }, z$1.core.$strict>], "scope">;
89117
+ ticketLines: z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89118
+ label: z$1.ZodString;
89119
+ quantity: z$1.ZodNumber;
89120
+ }, z$1.core.$strict>], z$1.ZodObject<{
89121
+ label: z$1.ZodString;
89122
+ quantity: z$1.ZodNumber;
89123
+ }, z$1.core.$strict>>>;
89124
+ payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89125
+ kind: z$1.ZodLiteral<"free">;
89126
+ balance: z$1.ZodObject<{
89127
+ kind: z$1.ZodLiteral<"settled">;
89128
+ }, z$1.core.$strict>;
89129
+ }, z$1.core.$strict>, z$1.ZodObject<{
89130
+ kind: z$1.ZodLiteral<"waived">;
89131
+ balance: z$1.ZodObject<{
89132
+ kind: z$1.ZodLiteral<"settled">;
89133
+ }, z$1.core.$strict>;
89134
+ }, z$1.core.$strict>, z$1.ZodObject<{
89135
+ kind: z$1.ZodLiteral<"pass">;
89136
+ passName: z$1.ZodNullable<z$1.ZodString>;
89137
+ passCreditsUsed: z$1.ZodNullable<z$1.ZodNumber>;
89138
+ balance: z$1.ZodObject<{
89139
+ kind: z$1.ZodLiteral<"settled">;
89140
+ }, z$1.core.$strict>;
89141
+ }, z$1.core.$strict>, z$1.ZodObject<{
89142
+ kind: z$1.ZodLiteral<"membership">;
89143
+ membershipName: z$1.ZodNullable<z$1.ZodString>;
89144
+ balance: z$1.ZodObject<{
89145
+ kind: z$1.ZodLiteral<"settled">;
89146
+ }, z$1.core.$strict>;
89147
+ }, z$1.core.$strict>, z$1.ZodObject<{
89148
+ kind: z$1.ZodLiteral<"manual_due">;
89149
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89150
+ balance: z$1.ZodObject<{
89151
+ kind: z$1.ZodLiteral<"due">;
89152
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89153
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89154
+ }, z$1.core.$strict>;
89155
+ }, z$1.core.$strict>, z$1.ZodObject<{
89156
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89157
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89158
+ kind: z$1.ZodLiteral<"managed_balance_due">;
89159
+ balance: z$1.ZodObject<{
89160
+ kind: z$1.ZodLiteral<"due">;
89161
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89162
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89163
+ }, z$1.core.$strict>;
89164
+ }, z$1.core.$strict>, z$1.ZodObject<{
89165
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89166
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89167
+ kind: z$1.ZodLiteral<"monetary">;
89168
+ paymentMethod: z$1.ZodEnum<{
89169
+ manual: "manual";
89170
+ mixed: "mixed";
89171
+ store_credit: "store_credit";
89172
+ stripe: "stripe";
89173
+ }>;
89174
+ balance: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89175
+ kind: z$1.ZodLiteral<"settled">;
89176
+ }, z$1.core.$strict>, z$1.ZodObject<{
89177
+ kind: z$1.ZodLiteral<"due">;
89178
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89179
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89180
+ }, z$1.core.$strict>], "kind">;
89181
+ }, z$1.core.$strict>], "kind">;
89182
+ }, z$1.core.$strict>, z$1.ZodObject<{
89183
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89184
+ kind: z$1.ZodLiteral<"detailsUnavailable">;
89185
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89186
+ submissionId: z$1.ZodString;
89187
+ seriesId: z$1.ZodString;
89188
+ attendanceMode: z$1.ZodEnum<{
89189
+ in_person: "in_person";
89190
+ online: "online";
89191
+ }>;
89192
+ scope: z$1.ZodLiteral<"occurrence">;
89193
+ attendeeId: z$1.ZodString;
89194
+ occurrenceId: z$1.ZodString;
89195
+ }, z$1.core.$strict>, z$1.ZodObject<{
89196
+ submissionId: z$1.ZodString;
89197
+ seriesId: z$1.ZodString;
89198
+ attendanceMode: z$1.ZodEnum<{
89199
+ in_person: "in_person";
89200
+ online: "online";
89201
+ }>;
89202
+ scope: z$1.ZodLiteral<"wholeSeries">;
89203
+ registrationId: z$1.ZodString;
89204
+ }, z$1.core.$strict>], "scope">;
89205
+ }, z$1.core.$strict>], "kind">], z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89206
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89207
+ kind: z$1.ZodLiteral<"detailsAvailable">;
89208
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89209
+ submissionId: z$1.ZodString;
89210
+ seriesId: z$1.ZodString;
89211
+ attendanceMode: z$1.ZodEnum<{
89212
+ in_person: "in_person";
89213
+ online: "online";
89214
+ }>;
89215
+ scope: z$1.ZodLiteral<"occurrence">;
89216
+ attendeeId: z$1.ZodString;
89217
+ occurrenceId: z$1.ZodString;
89218
+ }, z$1.core.$strict>, z$1.ZodObject<{
89219
+ submissionId: z$1.ZodString;
89220
+ seriesId: z$1.ZodString;
89221
+ attendanceMode: z$1.ZodEnum<{
89222
+ in_person: "in_person";
89223
+ online: "online";
89224
+ }>;
89225
+ scope: z$1.ZodLiteral<"wholeSeries">;
89226
+ registrationId: z$1.ZodString;
89227
+ }, z$1.core.$strict>], "scope">;
89228
+ ticketLines: z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89229
+ label: z$1.ZodString;
89230
+ quantity: z$1.ZodNumber;
89231
+ }, z$1.core.$strict>], z$1.ZodObject<{
89232
+ label: z$1.ZodString;
89233
+ quantity: z$1.ZodNumber;
89234
+ }, z$1.core.$strict>>>;
89235
+ payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89236
+ kind: z$1.ZodLiteral<"free">;
89237
+ balance: z$1.ZodObject<{
89238
+ kind: z$1.ZodLiteral<"settled">;
89239
+ }, z$1.core.$strict>;
89240
+ }, z$1.core.$strict>, z$1.ZodObject<{
89241
+ kind: z$1.ZodLiteral<"waived">;
89242
+ balance: z$1.ZodObject<{
89243
+ kind: z$1.ZodLiteral<"settled">;
89244
+ }, z$1.core.$strict>;
89245
+ }, z$1.core.$strict>, z$1.ZodObject<{
89246
+ kind: z$1.ZodLiteral<"pass">;
89247
+ passName: z$1.ZodNullable<z$1.ZodString>;
89248
+ passCreditsUsed: z$1.ZodNullable<z$1.ZodNumber>;
89249
+ balance: z$1.ZodObject<{
89250
+ kind: z$1.ZodLiteral<"settled">;
89251
+ }, z$1.core.$strict>;
89252
+ }, z$1.core.$strict>, z$1.ZodObject<{
89253
+ kind: z$1.ZodLiteral<"membership">;
89254
+ membershipName: z$1.ZodNullable<z$1.ZodString>;
89255
+ balance: z$1.ZodObject<{
89256
+ kind: z$1.ZodLiteral<"settled">;
89257
+ }, z$1.core.$strict>;
89258
+ }, z$1.core.$strict>, z$1.ZodObject<{
89259
+ kind: z$1.ZodLiteral<"manual_due">;
89260
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89261
+ balance: z$1.ZodObject<{
89262
+ kind: z$1.ZodLiteral<"due">;
89263
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89264
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89265
+ }, z$1.core.$strict>;
89266
+ }, z$1.core.$strict>, z$1.ZodObject<{
89267
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89268
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89269
+ kind: z$1.ZodLiteral<"managed_balance_due">;
89270
+ balance: z$1.ZodObject<{
89271
+ kind: z$1.ZodLiteral<"due">;
89272
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89273
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89274
+ }, z$1.core.$strict>;
89275
+ }, z$1.core.$strict>, z$1.ZodObject<{
89276
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89277
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89278
+ kind: z$1.ZodLiteral<"monetary">;
89279
+ paymentMethod: z$1.ZodEnum<{
89280
+ manual: "manual";
89281
+ mixed: "mixed";
89282
+ store_credit: "store_credit";
89283
+ stripe: "stripe";
89284
+ }>;
89285
+ balance: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89286
+ kind: z$1.ZodLiteral<"settled">;
89287
+ }, z$1.core.$strict>, z$1.ZodObject<{
89288
+ kind: z$1.ZodLiteral<"due">;
89289
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89290
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89291
+ }, z$1.core.$strict>], "kind">;
89292
+ }, z$1.core.$strict>], "kind">;
89293
+ }, z$1.core.$strict>, z$1.ZodObject<{
89294
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89295
+ kind: z$1.ZodLiteral<"detailsUnavailable">;
89296
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89297
+ submissionId: z$1.ZodString;
89298
+ seriesId: z$1.ZodString;
89299
+ attendanceMode: z$1.ZodEnum<{
89300
+ in_person: "in_person";
89301
+ online: "online";
89302
+ }>;
89303
+ scope: z$1.ZodLiteral<"occurrence">;
89304
+ attendeeId: z$1.ZodString;
89305
+ occurrenceId: z$1.ZodString;
89306
+ }, z$1.core.$strict>, z$1.ZodObject<{
89307
+ submissionId: z$1.ZodString;
89308
+ seriesId: z$1.ZodString;
89309
+ attendanceMode: z$1.ZodEnum<{
89310
+ in_person: "in_person";
89311
+ online: "online";
89312
+ }>;
89313
+ scope: z$1.ZodLiteral<"wholeSeries">;
89314
+ registrationId: z$1.ZodString;
89315
+ }, z$1.core.$strict>], "scope">;
89316
+ }, z$1.core.$strict>], "kind">>>>;
88109
89317
  }, z$1.core.$strict>, z$1.ZodObject<{
88110
89318
  kind: z$1.ZodLiteral<"abandoned">;
88111
89319
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -88115,7 +89323,35 @@ declare const eventCheckoutReturnResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.
88115
89323
  recoverableUntil: z$1.ZodOptional<z$1.ZodString>;
88116
89324
  }, z$1.core.$strict>, z$1.ZodObject<{
88117
89325
  kind: z$1.ZodLiteral<"paymentAvailable">;
89326
+ references: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89327
+ scope: z$1.ZodLiteral<"occurrence">;
89328
+ attendeeId: z$1.ZodString;
89329
+ }, z$1.core.$strict>, z$1.ZodObject<{
89330
+ scope: z$1.ZodLiteral<"wholeSeries">;
89331
+ registrationId: z$1.ZodString;
89332
+ }, z$1.core.$strict>], "scope">], z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89333
+ scope: z$1.ZodLiteral<"occurrence">;
89334
+ attendeeId: z$1.ZodString;
89335
+ }, z$1.core.$strict>, z$1.ZodObject<{
89336
+ scope: z$1.ZodLiteral<"wholeSeries">;
89337
+ registrationId: z$1.ZodString;
89338
+ }, z$1.core.$strict>], "scope">>>>;
88118
89339
  checkout: z$1.ZodObject<{
89340
+ priceReductions: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89341
+ kind: z$1.ZodEnum<{
89342
+ combination_price: "combination_price";
89343
+ discount_code: "discount_code";
89344
+ }>;
89345
+ label: z$1.ZodString;
89346
+ amountCents: z$1.ZodNumber;
89347
+ }, z$1.core.$strict>], z$1.ZodObject<{
89348
+ kind: z$1.ZodEnum<{
89349
+ combination_price: "combination_price";
89350
+ discount_code: "discount_code";
89351
+ }>;
89352
+ label: z$1.ZodString;
89353
+ amountCents: z$1.ZodNumber;
89354
+ }, z$1.core.$strict>>>>;
88119
89355
  kind: z$1.ZodLiteral<"embedded">;
88120
89356
  sessionId: z$1.ZodString;
88121
89357
  clientSecret: z$1.ZodString;
@@ -88386,6 +89622,229 @@ declare const eventCheckoutResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<
88386
89622
  registrationId: z$1.ZodString;
88387
89623
  }, z$1.core.$strict>], "scope">;
88388
89624
  }, z$1.core.$strict>], "kind">;
89625
+ outcomes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89626
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89627
+ kind: z$1.ZodLiteral<"detailsAvailable">;
89628
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89629
+ submissionId: z$1.ZodString;
89630
+ seriesId: z$1.ZodString;
89631
+ attendanceMode: z$1.ZodEnum<{
89632
+ in_person: "in_person";
89633
+ online: "online";
89634
+ }>;
89635
+ scope: z$1.ZodLiteral<"occurrence">;
89636
+ attendeeId: z$1.ZodString;
89637
+ occurrenceId: z$1.ZodString;
89638
+ }, z$1.core.$strict>, z$1.ZodObject<{
89639
+ submissionId: z$1.ZodString;
89640
+ seriesId: z$1.ZodString;
89641
+ attendanceMode: z$1.ZodEnum<{
89642
+ in_person: "in_person";
89643
+ online: "online";
89644
+ }>;
89645
+ scope: z$1.ZodLiteral<"wholeSeries">;
89646
+ registrationId: z$1.ZodString;
89647
+ }, z$1.core.$strict>], "scope">;
89648
+ ticketLines: z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89649
+ label: z$1.ZodString;
89650
+ quantity: z$1.ZodNumber;
89651
+ }, z$1.core.$strict>], z$1.ZodObject<{
89652
+ label: z$1.ZodString;
89653
+ quantity: z$1.ZodNumber;
89654
+ }, z$1.core.$strict>>>;
89655
+ payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89656
+ kind: z$1.ZodLiteral<"free">;
89657
+ balance: z$1.ZodObject<{
89658
+ kind: z$1.ZodLiteral<"settled">;
89659
+ }, z$1.core.$strict>;
89660
+ }, z$1.core.$strict>, z$1.ZodObject<{
89661
+ kind: z$1.ZodLiteral<"waived">;
89662
+ balance: z$1.ZodObject<{
89663
+ kind: z$1.ZodLiteral<"settled">;
89664
+ }, z$1.core.$strict>;
89665
+ }, z$1.core.$strict>, z$1.ZodObject<{
89666
+ kind: z$1.ZodLiteral<"pass">;
89667
+ passName: z$1.ZodNullable<z$1.ZodString>;
89668
+ passCreditsUsed: z$1.ZodNullable<z$1.ZodNumber>;
89669
+ balance: z$1.ZodObject<{
89670
+ kind: z$1.ZodLiteral<"settled">;
89671
+ }, z$1.core.$strict>;
89672
+ }, z$1.core.$strict>, z$1.ZodObject<{
89673
+ kind: z$1.ZodLiteral<"membership">;
89674
+ membershipName: z$1.ZodNullable<z$1.ZodString>;
89675
+ balance: z$1.ZodObject<{
89676
+ kind: z$1.ZodLiteral<"settled">;
89677
+ }, z$1.core.$strict>;
89678
+ }, z$1.core.$strict>, z$1.ZodObject<{
89679
+ kind: z$1.ZodLiteral<"manual_due">;
89680
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89681
+ balance: z$1.ZodObject<{
89682
+ kind: z$1.ZodLiteral<"due">;
89683
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89684
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89685
+ }, z$1.core.$strict>;
89686
+ }, z$1.core.$strict>, z$1.ZodObject<{
89687
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89688
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89689
+ kind: z$1.ZodLiteral<"managed_balance_due">;
89690
+ balance: z$1.ZodObject<{
89691
+ kind: z$1.ZodLiteral<"due">;
89692
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89693
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89694
+ }, z$1.core.$strict>;
89695
+ }, z$1.core.$strict>, z$1.ZodObject<{
89696
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89697
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89698
+ kind: z$1.ZodLiteral<"monetary">;
89699
+ paymentMethod: z$1.ZodEnum<{
89700
+ manual: "manual";
89701
+ mixed: "mixed";
89702
+ store_credit: "store_credit";
89703
+ stripe: "stripe";
89704
+ }>;
89705
+ balance: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89706
+ kind: z$1.ZodLiteral<"settled">;
89707
+ }, z$1.core.$strict>, z$1.ZodObject<{
89708
+ kind: z$1.ZodLiteral<"due">;
89709
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89710
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89711
+ }, z$1.core.$strict>], "kind">;
89712
+ }, z$1.core.$strict>], "kind">;
89713
+ }, z$1.core.$strict>, z$1.ZodObject<{
89714
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89715
+ kind: z$1.ZodLiteral<"detailsUnavailable">;
89716
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89717
+ submissionId: z$1.ZodString;
89718
+ seriesId: z$1.ZodString;
89719
+ attendanceMode: z$1.ZodEnum<{
89720
+ in_person: "in_person";
89721
+ online: "online";
89722
+ }>;
89723
+ scope: z$1.ZodLiteral<"occurrence">;
89724
+ attendeeId: z$1.ZodString;
89725
+ occurrenceId: z$1.ZodString;
89726
+ }, z$1.core.$strict>, z$1.ZodObject<{
89727
+ submissionId: z$1.ZodString;
89728
+ seriesId: z$1.ZodString;
89729
+ attendanceMode: z$1.ZodEnum<{
89730
+ in_person: "in_person";
89731
+ online: "online";
89732
+ }>;
89733
+ scope: z$1.ZodLiteral<"wholeSeries">;
89734
+ registrationId: z$1.ZodString;
89735
+ }, z$1.core.$strict>], "scope">;
89736
+ }, z$1.core.$strict>], "kind">], z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89737
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89738
+ kind: z$1.ZodLiteral<"detailsAvailable">;
89739
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89740
+ submissionId: z$1.ZodString;
89741
+ seriesId: z$1.ZodString;
89742
+ attendanceMode: z$1.ZodEnum<{
89743
+ in_person: "in_person";
89744
+ online: "online";
89745
+ }>;
89746
+ scope: z$1.ZodLiteral<"occurrence">;
89747
+ attendeeId: z$1.ZodString;
89748
+ occurrenceId: z$1.ZodString;
89749
+ }, z$1.core.$strict>, z$1.ZodObject<{
89750
+ submissionId: z$1.ZodString;
89751
+ seriesId: z$1.ZodString;
89752
+ attendanceMode: z$1.ZodEnum<{
89753
+ in_person: "in_person";
89754
+ online: "online";
89755
+ }>;
89756
+ scope: z$1.ZodLiteral<"wholeSeries">;
89757
+ registrationId: z$1.ZodString;
89758
+ }, z$1.core.$strict>], "scope">;
89759
+ ticketLines: z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89760
+ label: z$1.ZodString;
89761
+ quantity: z$1.ZodNumber;
89762
+ }, z$1.core.$strict>], z$1.ZodObject<{
89763
+ label: z$1.ZodString;
89764
+ quantity: z$1.ZodNumber;
89765
+ }, z$1.core.$strict>>>;
89766
+ payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89767
+ kind: z$1.ZodLiteral<"free">;
89768
+ balance: z$1.ZodObject<{
89769
+ kind: z$1.ZodLiteral<"settled">;
89770
+ }, z$1.core.$strict>;
89771
+ }, z$1.core.$strict>, z$1.ZodObject<{
89772
+ kind: z$1.ZodLiteral<"waived">;
89773
+ balance: z$1.ZodObject<{
89774
+ kind: z$1.ZodLiteral<"settled">;
89775
+ }, z$1.core.$strict>;
89776
+ }, z$1.core.$strict>, z$1.ZodObject<{
89777
+ kind: z$1.ZodLiteral<"pass">;
89778
+ passName: z$1.ZodNullable<z$1.ZodString>;
89779
+ passCreditsUsed: z$1.ZodNullable<z$1.ZodNumber>;
89780
+ balance: z$1.ZodObject<{
89781
+ kind: z$1.ZodLiteral<"settled">;
89782
+ }, z$1.core.$strict>;
89783
+ }, z$1.core.$strict>, z$1.ZodObject<{
89784
+ kind: z$1.ZodLiteral<"membership">;
89785
+ membershipName: z$1.ZodNullable<z$1.ZodString>;
89786
+ balance: z$1.ZodObject<{
89787
+ kind: z$1.ZodLiteral<"settled">;
89788
+ }, z$1.core.$strict>;
89789
+ }, z$1.core.$strict>, z$1.ZodObject<{
89790
+ kind: z$1.ZodLiteral<"manual_due">;
89791
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89792
+ balance: z$1.ZodObject<{
89793
+ kind: z$1.ZodLiteral<"due">;
89794
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89795
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89796
+ }, z$1.core.$strict>;
89797
+ }, z$1.core.$strict>, z$1.ZodObject<{
89798
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89799
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89800
+ kind: z$1.ZodLiteral<"managed_balance_due">;
89801
+ balance: z$1.ZodObject<{
89802
+ kind: z$1.ZodLiteral<"due">;
89803
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89804
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89805
+ }, z$1.core.$strict>;
89806
+ }, z$1.core.$strict>, z$1.ZodObject<{
89807
+ amountPaidCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<NonNegativeCents, number>>;
89808
+ currency: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<CurrencyCode, string>>;
89809
+ kind: z$1.ZodLiteral<"monetary">;
89810
+ paymentMethod: z$1.ZodEnum<{
89811
+ manual: "manual";
89812
+ mixed: "mixed";
89813
+ store_credit: "store_credit";
89814
+ stripe: "stripe";
89815
+ }>;
89816
+ balance: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89817
+ kind: z$1.ZodLiteral<"settled">;
89818
+ }, z$1.core.$strict>, z$1.ZodObject<{
89819
+ kind: z$1.ZodLiteral<"due">;
89820
+ amountCents: z$1.ZodPipe<z$1.ZodNumber, z$1.ZodTransform<PositiveCents, number>>;
89821
+ dueAt: z$1.ZodNullable<z$1.ZodString>;
89822
+ }, z$1.core.$strict>], "kind">;
89823
+ }, z$1.core.$strict>], "kind">;
89824
+ }, z$1.core.$strict>, z$1.ZodObject<{
89825
+ arrivalVenues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
89826
+ kind: z$1.ZodLiteral<"detailsUnavailable">;
89827
+ identity: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
89828
+ submissionId: z$1.ZodString;
89829
+ seriesId: z$1.ZodString;
89830
+ attendanceMode: z$1.ZodEnum<{
89831
+ in_person: "in_person";
89832
+ online: "online";
89833
+ }>;
89834
+ scope: z$1.ZodLiteral<"occurrence">;
89835
+ attendeeId: z$1.ZodString;
89836
+ occurrenceId: z$1.ZodString;
89837
+ }, z$1.core.$strict>, z$1.ZodObject<{
89838
+ submissionId: z$1.ZodString;
89839
+ seriesId: z$1.ZodString;
89840
+ attendanceMode: z$1.ZodEnum<{
89841
+ in_person: "in_person";
89842
+ online: "online";
89843
+ }>;
89844
+ scope: z$1.ZodLiteral<"wholeSeries">;
89845
+ registrationId: z$1.ZodString;
89846
+ }, z$1.core.$strict>], "scope">;
89847
+ }, z$1.core.$strict>], "kind">>>>;
88389
89848
  }, z$1.core.$strict>, z$1.ZodObject<{
88390
89849
  mailingListSignupNote: z$1.ZodOptional<z$1.ZodEnum<{
88391
89850
  confirmation_required: "confirmation_required";
@@ -88395,6 +89854,21 @@ declare const eventCheckoutResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<
88395
89854
  scope: z$1.ZodLiteral<"occurrence">;
88396
89855
  attendeeId: z$1.ZodString;
88397
89856
  checkout: z$1.ZodObject<{
89857
+ priceReductions: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89858
+ kind: z$1.ZodEnum<{
89859
+ combination_price: "combination_price";
89860
+ discount_code: "discount_code";
89861
+ }>;
89862
+ label: z$1.ZodString;
89863
+ amountCents: z$1.ZodNumber;
89864
+ }, z$1.core.$strict>], z$1.ZodObject<{
89865
+ kind: z$1.ZodEnum<{
89866
+ combination_price: "combination_price";
89867
+ discount_code: "discount_code";
89868
+ }>;
89869
+ label: z$1.ZodString;
89870
+ amountCents: z$1.ZodNumber;
89871
+ }, z$1.core.$strict>>>>;
88398
89872
  kind: z$1.ZodLiteral<"embedded">;
88399
89873
  sessionId: z$1.ZodString;
88400
89874
  clientSecret: z$1.ZodString;
@@ -88417,8 +89891,24 @@ declare const eventCheckoutResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<
88417
89891
  kind: z$1.ZodLiteral<"checkoutRequired">;
88418
89892
  scope: z$1.ZodLiteral<"wholeSeries">;
88419
89893
  registrationId: z$1.ZodString;
89894
+ registrationIds: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodString], z$1.ZodString>>>;
88420
89895
  checkoutAttemptId: z$1.ZodString;
88421
89896
  checkout: z$1.ZodObject<{
89897
+ priceReductions: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodTuple<[z$1.ZodObject<{
89898
+ kind: z$1.ZodEnum<{
89899
+ combination_price: "combination_price";
89900
+ discount_code: "discount_code";
89901
+ }>;
89902
+ label: z$1.ZodString;
89903
+ amountCents: z$1.ZodNumber;
89904
+ }, z$1.core.$strict>], z$1.ZodObject<{
89905
+ kind: z$1.ZodEnum<{
89906
+ combination_price: "combination_price";
89907
+ discount_code: "discount_code";
89908
+ }>;
89909
+ label: z$1.ZodString;
89910
+ amountCents: z$1.ZodNumber;
89911
+ }, z$1.core.$strict>>>>;
88422
89912
  kind: z$1.ZodLiteral<"embedded">;
88423
89913
  sessionId: z$1.ZodString;
88424
89914
  clientSecret: z$1.ZodString;
@@ -88469,7 +89959,7 @@ interface EventTicketSelectionRequest {
88469
89959
  pricingOptionId?: string | null;
88470
89960
  quantity: number;
88471
89961
  }
88472
- interface EventRegisterRequest {
89962
+ interface EventRegisterRequestCommon {
88473
89963
  siteId: string;
88474
89964
  /**
88475
89965
  * Client-generated command identity for this submission (UUID).
@@ -88483,15 +89973,6 @@ interface EventRegisterRequest {
88483
89973
  discountCode?: string;
88484
89974
  collectionOptionKind?: DirectCheckoutCollectionOptionKind;
88485
89975
  };
88486
- subject: {
88487
- kind: 'occurrence';
88488
- occurrenceId: string;
88489
- attendanceMode?: 'in_person' | 'online';
88490
- } | {
88491
- kind: 'wholeSeries';
88492
- eventSeriesId: string;
88493
- attendanceMode?: 'in_person' | 'online';
88494
- };
88495
89976
  ticketSelections: EventTicketSelectionRequest[];
88496
89977
  selectedSlidingAmount?: number;
88497
89978
  email: string;
@@ -88513,6 +89994,59 @@ interface EventRegisterRequest {
88513
89994
  /** Guest details when "collect all attendee details" is enabled */
88514
89995
  guests?: EventRegisterGuest[];
88515
89996
  }
89997
+ /** The most dates or runs one booking request may name; the block stops ticking at the same number. */
89998
+ type EventRunTicketChoice = Readonly<{
89999
+ ticketSelections: readonly EventTicketSelectionRequest[];
90000
+ selectedSlidingAmount?: number;
90001
+ }>;
90002
+ /** Acceptance pins both the attachment and the exact copy displayed to the booker. */
90003
+ type EventRunRequirementsSubmission = Readonly<{
90004
+ bookingQuestions?: BookingQuestionsSubmission;
90005
+ consent?: Readonly<{
90006
+ requirementId: string;
90007
+ contentKey: string;
90008
+ accepted: boolean;
90009
+ }>;
90010
+ }>;
90011
+ type EventSelectionRequirementsSubmission = Readonly<{
90012
+ kind: 'shared';
90013
+ sourceEventSeriesId: string;
90014
+ submission: EventRunRequirementsSubmission;
90015
+ }> | Readonly<{
90016
+ kind: 'per_run';
90017
+ bySeriesId: Readonly<Record<string, EventRunRequirementsSubmission>>;
90018
+ }>;
90019
+ /** Parent IDs may be omitted only for a single booking from an older SDK client. */
90020
+ type EventBookingSelectionRequest = Readonly<{
90021
+ kind: 'dates';
90022
+ eventSeriesId?: string;
90023
+ occurrenceIds: readonly [string, ...string[]];
90024
+ attendanceMode?: 'in_person' | 'online';
90025
+ }> | Readonly<{
90026
+ kind: 'runs';
90027
+ eventOfferingId?: string;
90028
+ eventSeriesIds: readonly [string, ...string[]];
90029
+ ticketChoicesBySeriesId?: Readonly<Record<string, EventRunTicketChoice>>;
90030
+ requirements?: EventSelectionRequirementsSubmission;
90031
+ attendanceMode?: 'in_person' | 'online';
90032
+ }>;
90033
+ type EventRegisterSubject = {
90034
+ kind: 'occurrence';
90035
+ occurrenceId: string;
90036
+ attendanceMode?: 'in_person' | 'online';
90037
+ } | {
90038
+ kind: 'wholeSeries';
90039
+ eventSeriesId: string;
90040
+ attendanceMode?: 'in_person' | 'online';
90041
+ };
90042
+ /** The subject form remains the wire contract of deployed headless blocks and SDK sites. */
90043
+ type EventRegisterRequest = EventRegisterRequestCommon & ({
90044
+ subject: EventRegisterSubject;
90045
+ selection?: never;
90046
+ } | {
90047
+ selection: EventBookingSelectionRequest;
90048
+ subject?: never;
90049
+ });
88516
90050
  type EventRegistrationPaymentSubject = {
88517
90051
  scope: 'occurrence';
88518
90052
  submissionId: string;
@@ -89248,6 +90782,21 @@ type PreviewGiftCardClaimResponse = Readonly<{
89248
90782
  kind: 'not_found';
89249
90783
  }>;
89250
90784
  //#endregion
90785
+ //#region .cache/declarations/site-contracts/src/siteData/eventSelection.d.ts
90786
+ /** One attendance decision shared by the booking block and server. */
90787
+ type SelectionAttendance = Readonly<{
90788
+ kind: 'none';
90789
+ }> | Readonly<{
90790
+ kind: 'fixed';
90791
+ mode: RegistrationAttendanceMode;
90792
+ }> | Readonly<{
90793
+ kind: 'choose';
90794
+ modes: readonly RegistrationAttendanceMode[];
90795
+ }> | Readonly<{
90796
+ kind: 'incompatible';
90797
+ }>;
90798
+ type RegistrationAttendanceMode = 'in_person' | 'online';
90799
+ //#endregion
89251
90800
  //#region .cache/declarations/api/src/contentRuntime.d.ts
89252
90801
  type SiteBookingOfferingPresetSummary = Readonly<{
89253
90802
  id: string;
@@ -91070,6 +92619,11 @@ type DraftBookingPage = Readonly<{
91070
92619
  businessDescription: string | null;
91071
92620
  tagline: string | null;
91072
92621
  logoPath: string | null;
92622
+ coverTransform?: PersistableMedia['transform'] | null;
92623
+ coverDimensions?: {
92624
+ width: number;
92625
+ height: number;
92626
+ } | null;
91073
92627
  coverPath: string | null;
91074
92628
  theme: Theme;
91075
92629
  timezone: string;
@@ -92463,6 +94017,32 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
92463
94017
  emailSent: boolean;
92464
94018
  overrideUsed: boolean;
92465
94019
  }>;
94020
+ listEventOfferingCombinationPrices: APIEndpoint<never, {
94021
+ siteId: string;
94022
+ eventOfferingId: string;
94023
+ }, {
94024
+ offers: StoredCombinationPrice[];
94025
+ }>;
94026
+ createEventOfferingCombinationPrice: APIEndpoint<CombinationPriceWrite, {
94027
+ siteId: string;
94028
+ eventOfferingId: string;
94029
+ }, {
94030
+ offer: StoredCombinationPrice;
94031
+ }>;
94032
+ updateEventOfferingCombinationPrice: APIEndpoint<CombinationPriceWrite, {
94033
+ siteId: string;
94034
+ eventOfferingId: string;
94035
+ combinationPriceId: string;
94036
+ }, {
94037
+ offer: StoredCombinationPrice;
94038
+ }>;
94039
+ deleteEventOfferingCombinationPrice: APIEndpoint<never, {
94040
+ siteId: string;
94041
+ eventOfferingId: string;
94042
+ combinationPriceId: string;
94043
+ }, {
94044
+ deleted: true;
94045
+ }>;
92466
94046
  deleteEventOffering: APIEndpoint<never, {
92467
94047
  siteId: string;
92468
94048
  eventOfferingId: string;
@@ -93532,4 +95112,4 @@ type ApiClient<Allowed extends keyof APIEndpoints = keyof APIEndpoints, M extend
93532
95112
  readonly [apiClientRepresentation]?: M;
93533
95113
  };
93534
95114
  //#endregion
93535
- export { LinkResolverContext as $, SubmissionAuthorization as $n, DisplayContext as $r, NavigationAuthoringLinkInput as $t, PersistableMedia as A, BookingFlowActionResult as An, Theme as Ar, FormData$1 as At, EntrySubrouteContextData as B, BookingSubmitOptions as Bn, SolvedInksPolicy as Br, EventSourceRecovery as Bt, RenderableMediaAsset as C, AppointmentBookingOverrideData as Cn, LinkValue as Cr, PaymentStepState as Ct, ExternalMedia as D, BookingAppointmentPackagesUnavailableReason as Dn, HeaderLogoContext as Dr, RegistrationStep as Dt, AssetMedia as E, BookingAppointmentPackagesModel as En, PageRuntimeJoin as Er, RegistrationResult as Et, runtimeMediaSchema as F, BookingFlowView as Fn, parseCanonicalMediaIdentifier as Fr, RegistrationPresentation as Ft, NewsletterSignupContent as G, getAppointmentBookingOverrideInput as Gn, MailingListRuntimeContext as Gr, AutoAppliedDiscountPreview as Gt, BlockLoaderSnapshot as H, DerivedBookingFlowSteps as Hn, PageSectionsContext as Hr, BlockApiProvider as Ht, MediaTypeDiscriminant as I, BookingResourceView as In, parseMediaIdentifier as Ir, RegistrationAdmission as It, EventDetailsContent as J, BookingQuestionsAnswerState as Jn, EditorBlockVersions as Jr, SdkBlockContentAdmission as Jt, ImageGalleryContent as K, BookingValidationErrors as Kn, WeeklyOpeningHours as Kr, DiscountContext as Kt, mediaIdentifierSchema as L, BookingSlotSelection as Ln, BookingQuestionsSubmissionFailure as Lr, RegistrationTicketContinuation as Lt, RuntimeMediaOfType as M, BookingFlowStatus as Mn, PageTemplate as Mr, CardStylesContent as Mt, mediaSchema as N, BookingFlowStep as Nn, FieldDefinition as Nr, ContainerStylesContent as Nt, Media as O, BookingAvailabilityQuery as On, ContentFrameIntent as Or, RegistrationSubject as Ot, persistableMediaSchema as P, BookingFlowStepId as Pn, MediaIdentifier as Pr, SectionStylesContent as Pt, BodyTextContent as Q, SpamProtectionPolicy as Qn, PublicLocation as Qr, PublicPassesResponse as Qt, ThemeResponsiveMode as R, BookingSlotView as Rn, EventRegistrationPricingOption as Rr, TicketSelectionPurpose as Rt, resolveManagedMediaReference as S, SiteStyleId as Si, BookingPurchasablePackagesModel as Sn, InternalLinkValue as Sr, PaymentStatusRecoveryState as St, renderableMediaAssetSchema as T, AppointmentBookingOverrideInputResult as Tn, ResolvedInternalLinkEntityType as Tr, RegistrationEvent as Tt, PrefetchedBlockData as U, LoadState as Un, BookingEmbedSettings as Ur, BlockApiClient as Ut, BlockLoaderFailures as V, DeriveBookingFlowStepsInput as Vn, OpaqueButtonColourToken as Vr, BookingPageKind as Vt, ClassPricesContent as W, createBookingBlockApiConfig as Wn, MapDrawing as Wr, BoundBlockApiClient as Wt, FormBlockContent as X, getBookingServiceSlidingScale as Xn, BusinessAddress as Xr, ResolveEventSubrouteQuery as Xt, ContactNewsletterContent as Y, BookingQuestionsPaymentSnapshot as Yn, PublishedBlockPlacementRead as Yr, SurfaceId as Yt, LocationMapContent as Z, ProtectedSubmission as Zn, BusinessLocationPermission as Zr, ResolveEventSubrouteResponse as Zt, PublicEvent as _, TipTapNode as _i, BookingFormServiceCategory as _n, RenderablePageOutline as _r, EventRegistrationClientProps as _t, SdkRuntimePageSurfaceSubject as a, EventPageSubrouteContext as ai, PublicBookingServicesResponse as an, EventBookingOutcome as ar, EventRegistrationSiteCreditPreview as at, ManagedMediaResolution as b, HexColor as bi, BookingPaymentAvailability as bn, EntryLinkValue as br, GuestErrors as bt, SiteRuntimeSelectionPayload as c, NonNegativeCents as ci, PreviewRenderingOverride as cn, CurrencyCode as cr, BookingQuestionsModel as ct, CustomerEventRegistration as d, VenueId as di, SiteRuntimeSiteTerms as dn, DisplayMode as dr, PortalProfile as dt, ZoneLabel as ei, NavigationConfigItemInput as en, submissionProof as er, DateRuntimeContext as et, DirectCheckoutCollectionOptionKind as f, Brand as fi, RoutableContentItem as fn, EventLayout as fr, EligibilityLookupState as ft, PublicVenueMapLocation as g, TipTapMark as gi, BookingSelectedCollectionOptionKind as gn, RenderablePageBlock as gr, EventPaymentState as gt, PaymentMethod as h, RichTextDoc as hi, BookingFormService as hn, EditorRenderablePageOutline as hr, EligibilityData as ht, SdkRuntimePageSurface as i, EventOccurrenceContextData as ii, PublicBookingServiceCatalogueItem as in, EventRegistrationPageSurfaceSubject as ir, EventRegistrationDirectPaymentSelectionState as it, RuntimeMedia as j, BookingFlowFeedback as jn, PageBlockRenderAdmissionError as jr, OccurrenceContext as jt, MediaPoster as k, BookingFieldView as kn, FooterMode as kr, ThemedButtonProps as kt, PortalDigitalProductAccessResponse as l, PositiveCents as li, ThemeJournalState as ln, CalendarTabViews as lr, PortalAuthState as lt, EventRegistrationPaymentSubject as m, BindingTransformName as mi, BookingFormData as mn, WeekStart as mr, SelectableEventTicketType as mt, ApiErrorCode as n, UtcIsoDateTimeString as ni, SdkRuntimeEntry as nn, BrowserReadAuthority as nr, BookingFormInteractiveIslandProps as nt, SiteBookingOfferingPresetSummary as o, EventPageSurfaceSubjectRefWire as oi, PublicServiceCategorySummary as on, EventEmbeddedCheckout as or, BookingPaymentOptionViewModel as ot, EventCheckoutReturnRequest as p, BlockInteractionContext as pi, BookingFormConfig as pn, FilterAutoShow as pr, ExistingRegistrationLookupState as pt, EventCalendarContent as q, BookingFieldValue as qn, EditLeaseScope as qr, ResolveWaitlistClaimResponse as qt, SdkLocationMapSupport as r, AppointmentBookingReview as ri, SdkSiteLayoutConfig as rn, BlockSiteTerms as rr, EventRegistrationDirectPaymentOption as rt, SiteRuntimeIdentity as s, PageSurfaceSubjectWire as si, PreviewPageAdaptationFacts as sn, EventRegistrationErrorAction as sr, BookingPaymentSelectionViewModel as st, ApiClient as t, BookingTimeZone as ti, SdkEditorRevision as tn, BlockApiConfig as tr, MediaAssetIndexItem as tt, PortalEventTicket as u, EventCategoryId as ui, ThemeSelectionPreviewProps as un, ColumnOption as ur, PortalCreditState as ut, CalendarWindowPage as v, ContentTypeSchema as vi, BookingFormField as vn, BlockManifest as vr, EventTicketSelectionLine as vt, buildRenderableMediaAssetIndex as w, AppointmentBookingOverrideInput as wn, PageLinkValue as wr, RegistrationAttendanceMode as wt, RenderableMediaAssetIndex as x, BlockButtonRole as xi, BookingPaymentChoice as xn, ExternalLinkValue as xr, PaymentSelection as xt, CalendarWindowRequest as y, DeepReadonly as yi, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as yn, CustomLinkValue as yr, Guest as yt, SdkConfigForBlockPicker as z, BookingSubmitActionResult as zn, SiteFooterContent as zr, BookingOfferingPresetSummary as zt };
95115
+ export { BodyTextContent as $, BookingSubmitOptions as $n, SolvedInksPolicy as $r, BookingOfferingPresetSummary as $t, MediaPoster as A, TipTapMark as Ai, BookingFormServiceCategory as An, ExternalLinkValue as Ar, RegistrationSubject as At, SdkConfigForBlockPicker as B, BookingAppointmentPackagesUnavailableReason as Bn, Theme as Br, RunPricingChoices as Bt, resolveManagedMediaReference as C, PositiveCents as Ci, ThemeSelectionPreviewProps as Cn, WeekStart as Cr, PaymentSelection as Ct, AssetMedia as D, BlockInteractionContext as Di, BookingFormData as Dn, BlockManifest as Dr, RegistrationEvent as Dt, renderableMediaAssetSchema as E, Brand as Ei, BookingFormConfig as En, RenderablePageOutline as Er, RegistrationAttendanceMode$1 as Et, persistableMediaSchema as F, BlockButtonRole as Fi, BookingPurchasablePackagesModel as Fn, PageRuntimeJoin as Fr, ContainerStylesContent as Ft, ClassPricesContent as G, BookingFlowStatus as Gn, parseCanonicalMediaIdentifier as Gr, CopyPart as Gt, BlockLoaderFailures as H, BookingFieldView as Hn, PageTemplate as Hr, SelectionPaymentSummary as Ht, runtimeMediaSchema as I, SiteStyleId as Ii, AppointmentBookingOverrideData as In, HeaderLogoContext as Ir, SectionStylesContent as It, EventCalendarContent as J, BookingFlowView as Jn, CombinationPricePlan as Jr, SelectionRequirementsLayout as Jt, NewsletterSignupContent as K, BookingFlowStep as Kn, parseMediaIdentifier as Kr, StateUpdate as Kt, MediaTypeDiscriminant as L, AppointmentBookingOverrideInput as Ln, ContentFrameIntent as Lr, BookingSelection as Lt, RuntimeMedia as M, ContentTypeSchema as Mi, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Mn, LinkValue as Mr, FormData$1 as Mt, RuntimeMediaOfType as N, DeepReadonly as Ni, BookingPaymentAvailability as Nn, PageLinkValue as Nr, OccurrenceContext as Nt, ExternalMedia as O, BindingTransformName as Oi, BookingFormService as On, CustomLinkValue as Or, RegistrationResult as Ot, mediaSchema as P, HexColor as Pi, BookingPaymentChoice as Pn, ResolvedInternalLinkEntityType as Pr, CardStylesContent as Pt, LocationMapContent as Q, BookingSubmitActionResult as Qn, SiteFooterContent as Qr, TicketSelectionPurpose as Qt, mediaIdentifierSchema as R, AppointmentBookingOverrideInputResult as Rn, FooterMode as Rr, RegistrationSelection as Rt, RenderableMediaAssetIndex as S, NonNegativeCents as Si, ThemeJournalState as Sn, FilterAutoShow as Sr, GuestErrors as St, buildRenderableMediaAssetIndex as T, VenueId as Ti, RoutableContentItem as Tn, RenderablePageBlock as Tr, PaymentStepState as Tt, BlockLoaderSnapshot as U, BookingFlowActionResult as Un, FieldDefinition as Ur, SeveralItemsKind as Ut, EntrySubrouteContextData as V, BookingAvailabilityQuery as Vn, PageBlockRenderAdmissionError as Vr, SelectionPayment as Vt, PrefetchedBlockData as W, BookingFlowFeedback as Wn, MediaIdentifier as Wr, CombinationWorking as Wt, ContactNewsletterContent as X, BookingSlotSelection as Xn, CurrencyCode as Xr, RegistrationAdmission as Xt, EventDetailsContent as Y, BookingResourceView as Yn, EventRegistrationErrorAction as Yr, RegistrationPresentation as Yt, FormBlockContent as Z, BookingSlotView as Zn, EventRegistrationPricingOption as Zr, RegistrationTicketContinuation as Zt, PublicVenueMapLocation as _, AppointmentBookingReview as _i, PublicBookingServiceCatalogueItem as _n, EventEmbeddedCheckout as _r, EligibilityData as _t, SdkRuntimePageSurfaceSubject as a, WeeklyOpeningHours as ai, AutoAppliedDiscountPreview as an, BookingValidationErrors as ar, EventRegistrationDirectPaymentSelectionState as at, CalendarWindowRequest as b, EventPageSurfaceSubjectRefWire as bi, PreviewPageAdaptationFacts as bn, DisplayMode as br, EventTicketSelectionLine as bt, SiteRuntimeSelectionPayload as c, PublishedBlockPlacementRead as ci, SurfaceId as cn, getBookingServiceSlidingScale as cr, BookingPaymentSelectionViewModel as ct, PortalEventTicket as d, PublicLocation as di, PublicPassesResponse as dn, SubmissionAuthorization as dr, PortalAuthState as dt, OpaqueButtonColourToken as ei, EventSourceRecovery as en, DeriveBookingFlowStepsInput as er, LinkResolverContext as et, CustomerEventRegistration as f, BookingConsent as fi, NavigationAuthoringLinkInput as fn, submissionProof as fr, PortalCreditState as ft, PaymentMethod as g, UtcIsoDateTimeString as gi, SdkSiteLayoutConfig as gn, EventRegistrationPageSurfaceSubject as gr, SelectableEventTicketType as gt, EventRegistrationPaymentSubject as h, BookingTimeZone as hi, SdkRuntimeEntry as hn, BlockSiteTerms as hr, ExistingRegistrationLookupState as ht, SdkRuntimePageSurface as i, MailingListRuntimeContext as ii, BoundBlockApiClient as in, getAppointmentBookingOverrideInput as ir, EventRegistrationDirectPaymentOption as it, PersistableMedia as j, TipTapNode as ji, BookingFormField as jn, InternalLinkValue as jr, ThemedButtonProps as jt, Media as k, RichTextDoc as ki, BookingSelectedCollectionOptionKind as kn, EntryLinkValue as kr, RegistrationStep as kt, SelectionAttendance as l, BusinessAddress as li, ResolveEventSubrouteQuery as ln, ProtectedSubmission as lr, RegistrationFlowState as lt, EventCheckoutReturnRequest as m, ZoneLabel as mi, SdkEditorRevision as mn, BrowserReadAuthority as mr, EligibilityLookupState as mt, ApiErrorCode as n, BookingEmbedSettings as ni, BlockApiProvider as nn, LoadState as nr, MediaAssetIndexItem as nt, SiteBookingOfferingPresetSummary as o, EditLeaseScope as oi, DiscountContext as on, BookingFieldValue as or, EventRegistrationSiteCreditPreview as ot, DirectCheckoutCollectionOptionKind as p, DisplayContext as pi, NavigationConfigItemInput as pn, BlockApiConfig as pr, PortalProfile as pt, ImageGalleryContent as q, BookingFlowStepId as qn, BookingQuestionsSubmissionFailure as qr, WaitlistInvitation as qt, SdkLocationMapSupport as r, MapDrawing as ri, BlockApiClient as rn, createBookingBlockApiConfig as rr, BookingFormInteractiveIslandProps as rt, SiteRuntimeIdentity as s, EditorBlockVersions as si, SdkBlockContentAdmission as sn, BookingQuestionsPaymentSnapshot as sr, BookingPaymentOptionViewModel as st, ApiClient as t, PageSectionsContext as ti, BookingPageKind as tn, DerivedBookingFlowSteps as tr, DateRuntimeContext as tt, PortalDigitalProductAccessResponse as u, BusinessLocationPermission as ui, ResolveEventSubrouteResponse as un, SpamProtectionPolicy as ur, BookingQuestionsModel as ut, PublicEvent as v, EventOccurrenceContextData as vi, PublicBookingServicesResponse as vn, CalendarTabViews as vr, EventPaymentState as vt, RenderableMediaAsset as w, EventCategoryId as wi, SiteRuntimeSiteTerms as wn, EditorRenderablePageOutline as wr, PaymentStatusRecoveryState as wt, ManagedMediaResolution as x, PageSurfaceSubjectWire as xi, PreviewRenderingOverride as xn, EventLayout as xr, Guest as xt, CalendarWindowPage as y, EventPageSubrouteContext as yi, PublicServiceCategorySummary as yn, ColumnOption as yr, EventRegistrationClientProps as yt, ThemeResponsiveMode as z, BookingAppointmentPackagesModel as zn, LogoFacts as zr, RegistrationSelectionMode as zt };