@riverbankcms/sdk 0.146.0 → 0.147.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 (195) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{PreviewEditorSidebar-kg2r2Fyi.mjs → PreviewEditorSidebar-DtpB3_sS.mjs} +51 -33
  3. package/dist/{PreviewEditorUI-sWMLp5dT.mjs → PreviewEditorUI-DxTLgaHo.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-Cg51xq1w.mjs → PreviewQueryProvider-Dd4dxOiU.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-h2ti3Hch.mjs → SdkPreviewModeRuntime-DMMNCngt.mjs} +39 -12
  6. package/dist/{SiteChromeCustomizeContext-DEACFH9m.mjs → SiteChromeCustomizeContext-DQXZXiqS.mjs} +2499 -1682
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -0
  8. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +18 -0
  9. package/dist/_dts/api/src/accountApi.d.ts +5 -5
  10. package/dist/_dts/api/src/bookingConfig.d.ts +16 -0
  11. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -13
  12. package/dist/_dts/api/src/bookingOperations.d.ts +2 -44
  13. package/dist/_dts/api/src/bookingPeople.d.ts +92 -0
  14. package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +38 -0
  15. package/dist/_dts/api/src/bookingRecords.d.ts +11 -49
  16. package/dist/_dts/api/src/bookingSettingsSections.d.ts +1 -1
  17. package/dist/_dts/api/src/bookings.d.ts +1 -0
  18. package/dist/_dts/api/src/endpoints.d.ts +587 -561
  19. package/dist/_dts/api/src/eventManagementContracts.d.ts +23 -8
  20. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
  21. package/dist/_dts/api/src/index.d.ts +3 -2
  22. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
  23. package/dist/_dts/api/src/launchReadiness.d.ts +1 -6
  24. package/dist/_dts/api/src/mailingListIntegration.d.ts +6 -0
  25. package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +1 -1
  26. package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +15 -0
  27. package/dist/_dts/api/src/occurrenceScheduling.d.ts +19 -0
  28. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +48 -0
  29. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +7 -0
  30. package/dist/_dts/api/src/sdk-event-upsert.d.ts +15 -0
  31. package/dist/_dts/api/src/sdkCourseBooking.d.ts +4 -4
  32. package/dist/_dts/api/src/siteLifecycleEndpoints.d.ts +61 -0
  33. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -18
  34. package/dist/_dts/api/src/siteOnboarding.d.ts +2 -14
  35. package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -4
  36. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -0
  37. package/dist/_dts/blocks/src/index.d.ts +1 -1
  38. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +22 -4
  39. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
  40. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -1
  41. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +4 -0
  42. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +12 -0
  43. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +12 -0
  44. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +6 -0
  45. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -0
  46. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
  47. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +9 -0
  48. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +9 -0
  49. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +19 -0
  50. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-choice.d.ts +5 -0
  51. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-note.d.ts +3 -0
  52. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-state.d.ts +9 -0
  53. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +1 -1
  54. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
  55. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +2 -0
  56. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +8 -0
  57. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-success.d.ts +9 -0
  58. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
  59. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
  60. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +3 -0
  61. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -0
  62. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +2 -0
  63. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -0
  64. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +3 -0
  65. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +8 -0
  66. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +9 -0
  67. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.block-submission.d.ts +2 -4
  68. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +2 -0
  69. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingMailingListNote.d.ts +6 -0
  70. package/dist/_dts/blocks/src/system/runtime/shared/mailingListSignupCopy.d.ts +6 -0
  71. package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
  72. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -2
  73. package/dist/_dts/blocks/src/system/transforms/registry/core.d.ts +2 -0
  74. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -3
  75. package/dist/_dts/core/src/index.d.ts +1 -1
  76. package/dist/_dts/core/src/mailing-list-runtime.d.ts +15 -0
  77. package/dist/_dts/core/src/mailing-list-setup.d.ts +2 -0
  78. package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -0
  79. package/dist/_dts/core/src/navigation-portal-labels.d.ts +9 -0
  80. package/dist/_dts/core/src/participants.d.ts +0 -38
  81. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +102 -22
  82. package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +1 -0
  83. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +7 -1
  84. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -3
  85. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  86. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -0
  87. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  88. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +2 -2
  89. package/dist/_dts/sdk/src/version.d.ts +1 -1
  90. package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +1 -1
  91. package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +13 -0
  92. package/dist/_dts/theme-core/src/footer/index.d.ts +1 -0
  93. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  94. package/dist/_dts/theme-core/src/header/effectiveNavLinkStyle.d.ts +17 -0
  95. package/dist/_dts/theme-core/src/header/generateHeaderLogoStyles.d.ts +15 -0
  96. package/dist/_dts/theme-core/src/header/generateHeaderNavLinkStyles.d.ts +4 -0
  97. package/dist/_dts/theme-core/src/header/index.d.ts +3 -0
  98. package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +1 -1
  99. package/dist/_dts/theme-core/src/header/openingForegroundProjection.d.ts +7 -0
  100. package/dist/_dts/theme-core/src/header/rootPaint.d.ts +4 -0
  101. package/dist/_dts/theme-core/src/navigation/effectPolicy.d.ts +38 -0
  102. package/dist/_dts/theme-core/src/navigation/generateNavLinkCSS.d.ts +4 -0
  103. package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -0
  104. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +1 -1
  105. package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +7 -0
  106. package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +29 -22
  107. package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +10 -2
  108. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +9 -0
  109. package/dist/_dts/theme-core/src/utils/cssDeclarations.d.ts +2 -0
  110. package/dist/_dts/ui/src/badge.d.ts +2 -1
  111. package/dist/_dts/ui/src/button.d.ts +1 -1
  112. package/dist/_dts/ui/src/combobox-keys.d.ts +23 -0
  113. package/dist/_dts/ui/src/combobox-rows.d.ts +34 -0
  114. package/dist/_dts/ui/src/combobox.d.ts +26 -1
  115. package/dist/_dts/ui/src/date-picker.d.ts +5 -8
  116. package/dist/_dts/ui/src/editor-item-card.d.ts +1 -0
  117. package/dist/_dts/ui/src/field-trigger.d.ts +39 -0
  118. package/dist/_dts/ui/src/fieldControl.d.ts +27 -0
  119. package/dist/_dts/ui/src/index.d.ts +4 -1
  120. package/dist/_dts/ui/src/native-select.d.ts +8 -0
  121. package/dist/_dts/ui/src/popover.d.ts +7 -1
  122. package/dist/_dts/ui/src/segmented-control.d.ts +4 -0
  123. package/dist/_dts/ui/src/surface.d.ts +1 -1
  124. package/dist/client/{BookingConsentAgreement-BQKL045f.mjs → BookingMailingListNote-1n4Ch_u_.mjs} +15 -4
  125. package/dist/client/{CheckboxChoice--W2n6yKs.mjs → CheckboxChoice-B33MqoUo.mjs} +1 -1
  126. package/dist/client/{DiscountCodeDisclosure-CsOtjFY7.mjs → DiscountCodeDisclosure-CKJtz0mY.mjs} +1 -1
  127. package/dist/client/{EventCombined.client-BdRjVbhH.mjs → EventCombined.client-C0pgma9y.mjs} +7 -7
  128. package/dist/client/{EventListing.client-DBxC6xOU.mjs → EventListing.client-4fhLOvHP.mjs} +2 -2
  129. package/dist/client/{LeafletStaticMap-mHEJKrTs.mjs → LeafletStaticMap-DScC4F3w.mjs} +1 -1
  130. package/dist/client/{scrollToBlock-BNgaEUpo.mjs → TerminalPanel-B5ZUsYhe.mjs} +77 -77
  131. package/dist/client/{ThemedButton-CE5KYT6z.mjs → ThemedButton-DoVIV1Ao.mjs} +2 -2
  132. package/dist/client/{accordion-BEQNSptH.mjs → accordion-CoT5g7zo.mjs} +1 -1
  133. package/dist/client/{bookingForm-AMr-s5vw.mjs → bookingForm-BWxB46xD.mjs} +226 -106
  134. package/dist/client/bookings.mjs +367 -188
  135. package/dist/client/{carousel-Bbt_QgJy.mjs → carousel-DtNYWFd3.mjs} +2 -2
  136. package/dist/client/{carousel.client-jahpU9Vz.mjs → carousel.client-A2lG-9od.mjs} +1 -1
  137. package/dist/client/{cart-CnWi30zJ.mjs → cart-z4qZih1Y.mjs} +3 -3
  138. package/dist/client/{checkout-f3nkWgd4.mjs → checkout-DpL7euFH.mjs} +3 -3
  139. package/dist/client/{checkoutUrls-CW3-78uu.mjs → checkoutUrls-BEfR7kVu.mjs} +1 -1
  140. package/dist/client/client.mjs +2125 -1420
  141. package/dist/client/{colorStyles-CuJBiS-1.mjs → colorStyles-j5U9v5JA.mjs} +5 -1
  142. package/dist/client/{context-Bc8T6pCe.mjs → context-C8TinPJc.mjs} +1 -1
  143. package/dist/client/{dates-DUsCEzLb.mjs → dates-vwwxTeB0.mjs} +2 -2
  144. package/dist/client/{eventCalendar-CKwgXui5.mjs → eventCalendar-DIbHfJXO.mjs} +10 -10
  145. package/dist/client/{eventCombined-CBAOSTGR.mjs → eventCombined-DoGMJ6cg.mjs} +4 -4
  146. package/dist/client/{eventDetails-Dh-_WiBD.mjs → eventDetails-BjN9v6a1.mjs} +4 -4
  147. package/dist/client/{eventListing-CA3frIH5.mjs → eventListing-DajjWgOv.mjs} +4 -4
  148. package/dist/client/{eventRegistration-BHtsgdcg.mjs → eventRegistration-DMq9gMA-.mjs} +109 -41
  149. package/dist/client/{form-C2h3YAcg.mjs → form-Qf6qTbos.mjs} +5 -5
  150. package/dist/client/{headerSection-lwMuMTH9.mjs → headerSection-D7qJrqFX.mjs} +3 -3
  151. package/dist/client/hooks.mjs +661 -116
  152. package/dist/client/{locationMap-DJ2bLODV.mjs → locationMap-CCF9-t_0.mjs} +4 -4
  153. package/dist/client/{FieldValidationMessage-AYanWFb-.mjs → mailingListSignupCopy-DZSHZrm6.mjs} +14 -1
  154. package/dist/client/{media-BtJ37tzS.mjs → media-CwBGetqC.mjs} +1 -1
  155. package/dist/client/{newsletterForm-8Pu5K32g.mjs → newsletterForm-DzCLSP4S.mjs} +6 -6
  156. package/dist/client/{pricing-HHx3IgBz.mjs → pricing-Cgxv2KLC.mjs} +1 -1
  157. package/dist/client/{productDetail-C_1odnAf.mjs → productDetail-ru9w5GHx.mjs} +3 -3
  158. package/dist/client/{productList-CtCv-Nmx.mjs → productList-zaapKSl-.mjs} +3 -3
  159. package/dist/client/{propsDecoder-Dcgsncxb.mjs → propsDecoder-CwvvNOHx.mjs} +52 -6
  160. package/dist/client/rendering/client.mjs +951 -369
  161. package/dist/client/rendering/islands.mjs +19 -19
  162. package/dist/client/rendering.mjs +2153 -1393
  163. package/dist/client/{routeIslandApiConfig-CWLP7wu3.mjs → routeIslandApiConfig-BwVFo0Y4.mjs} +1 -1
  164. package/dist/client/{shop-commerce-B88zmWWo.mjs → shop-commerce-De7gEnkA.mjs} +8 -8
  165. package/dist/client/{shop-commerce-store-DtSfkKuX.mjs → shop-commerce-store-B3MCxIBW.mjs} +1 -1
  166. package/dist/client/{shop-DQXrQ8kJ.mjs → shop-mktkXvbV.mjs} +7 -7
  167. package/dist/client/{shopShared-cuaONpkJ.mjs → shopShared-TqExh235.mjs} +5 -5
  168. package/dist/client/{useEventFilters-Bukew6Gb.mjs → useEventFilters-n_OjkIjX.mjs} +8 -8
  169. package/dist/preview-next/before-render.mjs +122 -50
  170. package/dist/preview-next/client/runtime.mjs +4 -4
  171. package/dist/preview-next/editor-base.css +53 -2
  172. package/dist/preview-next/editor-chrome.css +7 -4
  173. package/dist/preview-next/keepAlive.mjs +122 -50
  174. package/dist/preview-next/middleware.mjs +122 -50
  175. package/dist/{previewAuthStore-h5IgbSp4.mjs → previewAuthStore-C_EHQ5XA.mjs} +122 -50
  176. package/dist/{sdk-runtime-DTc1uIXn.mjs → sdk-runtime-BIkJg5y1.mjs} +2 -2
  177. package/dist/{separator-BpHS1KZK.mjs → separator-C9qDP95Z.mjs} +1 -1
  178. package/dist/server/components.mjs +25345 -24942
  179. package/dist/server/config-validation.mjs +711 -163
  180. package/dist/server/config.mjs +711 -163
  181. package/dist/server/data.mjs +709 -162
  182. package/dist/server/index.mjs +123 -51
  183. package/dist/server/navigation.mjs +13 -2
  184. package/dist/server/next.mjs +4538 -4169
  185. package/dist/server/page-converter.mjs +107 -64
  186. package/dist/server/prebuild.mjs +1 -1
  187. package/dist/server/rendering/server.mjs +2509 -2104
  188. package/dist/server/rendering.mjs +25526 -25104
  189. package/dist/server/routing.mjs +750 -289
  190. package/dist/server/server.mjs +671 -148
  191. package/dist/server/theme-bridge.mjs +66 -17
  192. package/dist/server/theme.mjs +5 -1
  193. package/dist/styles/index.css +32 -4
  194. package/package.json +1 -1
  195. package/dist/_dts/core/src/participant-identity.d.ts +0 -135
@@ -150,10 +150,10 @@ export type WholeSeriesRunPolicyOverrideInput = Readonly<{
150
150
  /**
151
151
  * Booking policy fields stored on one `event_series` row.
152
152
  *
153
- * For a whole-series run these are no longer writable here: the refunds and
154
- * transfers policy belongs to the course (see `CourseBookingSettingsRequest`),
155
- * and guest details and ticketing are site-level. The run endpoint refuses the
156
- * whole group rather than half-applying it.
153
+ * For a whole-series run these are no longer writable here: guest details,
154
+ * ticketing and the refunds and transfers policy belong to the course (see
155
+ * `CourseBookingSettingsRequest`). The run endpoint refuses the whole group
156
+ * rather than half-applying it.
157
157
  */
158
158
  export type WholeSeriesRunBookingSettingsInput = Readonly<{
159
159
  collectAllAttendeeDetails: boolean | null;
@@ -164,15 +164,25 @@ export type WholeSeriesRunBookingSettingsInput = Readonly<{
164
164
  }>;
165
165
  }>;
166
166
  /**
167
- * The three booking settings a course owns for every one of its runs: where it
168
- * is listed, whether passes and memberships may be used, and the refunds and
169
- * transfers policy. Storage stays per run, so this request is the single
167
+ * The booking settings a course owns for every one of its runs: where it is
168
+ * listed, whether passes and memberships may be used, QR tickets, guest details
169
+ * and the refunds and transfers policy. Storage stays per run, so this request is the single
170
170
  * writer that keeps every run of a course saying the same thing.
171
171
  */
172
172
  export type CourseBookingSettingsRequest = Readonly<{
173
173
  visibility: EventVisibility;
174
174
  acceptsPasses: boolean;
175
175
  acceptsMemberships: boolean;
176
+ /**
177
+ * The course's own choice; `inherit` follows the course's event type.
178
+ * Absent leaves the course's current value alone.
179
+ */
180
+ ticketingMode?: 'inherit' | 'enabled' | 'disabled' | undefined;
181
+ /**
182
+ * The course's own choice; `null` follows the course's event type.
183
+ * Absent leaves the course's current value alone.
184
+ */
185
+ collectAllAttendeeDetails?: boolean | null | undefined;
176
186
  cancellationPolicy: Readonly<{
177
187
  refunds: WholeSeriesRunPolicyOverrideInput;
178
188
  transfers: WholeSeriesRunPolicyOverrideInput;
@@ -188,7 +198,6 @@ export type WholeSeriesRunDetailsInput = Readonly<{
188
198
  acceptsPasses?: boolean;
189
199
  acceptsMemberships?: boolean;
190
200
  waitlistMode?: WaitlistOverride;
191
- bookingSettings?: WholeSeriesRunBookingSettingsInput;
192
201
  bookingOffer: Extract<BookingPricingDraft, {
193
202
  bookingRequirement: 'required';
194
203
  }>;
@@ -216,6 +225,12 @@ export type CreateWholeSeriesRunRequest = WholeSeriesRunDetailsInput & Readonly<
216
225
  */
217
226
  export type UpdateWholeSeriesRunRequest = Omit<WholeSeriesRunDetailsInput, 'title' | 'bookingOffer'> & Readonly<{
218
227
  title?: string;
228
+ /**
229
+ * Guest details, ticketing and the refund policy are the course's: a run
230
+ * update carrying this is refused. It stays on the shape only so that the
231
+ * refusal can say where to change them.
232
+ */
233
+ bookingSettings?: WholeSeriesRunBookingSettingsInput;
219
234
  bookingOffer?: Extract<BookingPricingDraft, {
220
235
  bookingRequirement: 'required';
221
236
  }>;
@@ -34,7 +34,7 @@ export declare const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS: {
34
34
  updateEventAddress: {
35
35
  path: "/sites/{siteId}/bookings/events/{eventId}/address";
36
36
  method: "PATCH";
37
- tags: ("riverbank:site:{siteId}:routable-content" | "riverbank:site:{siteId}:redirects" | "site-{siteId}" | "event-series-{siteId}")[];
37
+ tags: ("site-{siteId}" | "riverbank:site:{siteId}:routable-content" | "riverbank:site:{siteId}:redirects" | "event-series-{siteId}")[];
38
38
  auth: "user";
39
39
  responseKind: "json";
40
40
  errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
@@ -22,7 +22,7 @@ export { PUBLIC_EVENT_TICKET_SELECTION_CONTRACT_VERSION, type DiscountsAvailable
22
22
  export { parseMailchimpAudienceId, parseMailchimpConnectionId, type ListMailchimpAudiencesResponse, type MailchimpAudienceId, type MailchimpAudienceCompatibilityIssue, type MailchimpAudienceReferenceItem, type MailchimpConnectionId, type MailchimpIntegrationConnectionStatus, type MailchimpIntegrationReauthReason, type MailchimpOAuthReturnIntent, type StartMailchimpOAuthRequest, type StartMailchimpOAuthResponse, } from './mailchimpIntegration';
23
23
  export type { BrevoConnectionStatus, ConnectBrevoRequest, MailingListAuthoringContext, MailingListProviderCatalog, MailingListProviderHealth, MailingListSetupApplyResponse, MailingListSetupChangeRequest, MailingListSetupPreviewResponse, } from './mailingListIntegration';
24
24
  export type { GeneratedIconSetCardRequest, GeneratedIconSetGenerateRequest, GeneratedIconSetGenerateResponse, GeneratedIconSetListRequest, GeneratedIconSetListResponse, GeneratedIconLibraryAsset, GeneratedIconLibrarySet, GeneratedIconRenderAsset, GeneratedIconRenderAssetRef, GeneratedIconRenderAssetsRequest, GeneratedIconRenderAssetsResponse, SiteIconStyleGuidePayload, SiteIconStyleGuideResponse, SiteIconStyleStrokeRule, SiteIconStyleGuideUpdateRequest, } from './siteIcons';
25
- export { DEFAULT_LAUNCH_READINESS_INPUT, deriveLaunchReadiness, deriveLaunchDomainRequirement, } from './launchReadiness';
25
+ export { DEFAULT_LAUNCH_READINESS_INPUT, deriveLaunchReadiness, } from './launchReadiness';
26
26
  export { getDashboardBaseUrl, getDashboardUrl, getAbsoluteDashboardUrl, getCmsApiUrl, resolveApiBaseUrl, normalizeDashboardOrigin, deriveCmsApiUrlFromDashboardUrl, } from './url';
27
27
  export { API_ERROR_CODES, ApiEnvelopeError, extractApiEnvelopeErrorDetails, isApiErrorCode, unwrapResponse, } from './common/envelope';
28
28
  export { createAuthenticatedApiClient, createInternalAPIClient, createServerAPIClient, createBearerAPIClient, ApiRequestError, } from './request';
@@ -52,7 +52,7 @@ export { FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES } from './types';
52
52
  export { getEventAttendanceModeLabel, getEventDeliveryModeLabel, getEventPricingOptionAttendanceScopeLabel, } from './eventAttendanceLabels';
53
53
  export { analyzeSiteBannerBody, decodeSiteBannerSettings, EMPTY_SITE_BANNER_BODY, SITE_BANNER_COOKIE_NAME_PREFIX, SITE_BANNER_MAX_PARAGRAPHS, SITE_BANNER_MAX_TEXT_LENGTH, createSiteBannerRevision, encodeSiteBannerSettings, fromSiteBannerDraft, getSiteBannerCookieName, isSiteBannerEligibleForPath, planSiteBannerRender, resolveSiteBannerAnnouncementRole, resolveSiteBannerShellBehavior, sanitizeSiteBannerBody, siteBannerDraftEquals, siteBannerSettingsInputSchema, siteBannerSettingsSchema, toSiteBannerDraft, validateSiteBannerDraft, } from './siteBanner';
54
54
  export type { SiteBannerBodyAnalysis, SiteBannerBodyIssue, SiteBannerDraft, SiteBannerDraftValidationIssue, SiteBannerRenderPlan, SiteBannerResolvedCta, } from './siteBanner';
55
- export type { AiSiteWizardSuggestGoalsRequest, AiSiteWizardSuggestGoalsResponse, AdminDeleteSiteResponse, AdminDeleteUserResponse, AdminOwnedSiteSummary, DashboardConfig, DashboardNavigationConfig, DashboardNavVisibilityConfig, DashboardNavVisibilityConfigWithRoles, DashboardWaitlistEntry, DashboardWaitlistEntryStatus, DashboardWaitlistListResponse, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, BookingCollectionOptionKind, DirectCheckoutCollectionOptionKind, BookingPaymentArchetype, BookingPaymentDefaultsKey, BookingPaymentDefaults, BookingInstalmentIntervalUnit, BookingPaymentOptionsSource, BookingInstalmentPlanConfig, BookingPaymentCollectionOption, BookingPaymentTermsConfig, PublicBookingPaymentTermsAvailability, PublishedBlockBaseline, PublicBookingAppointmentSummary, PublicBookingCustomerSummary, PublicBookingAppointmentStatusResponse, PublicCreateBookingAppointmentResponse, EventAttendanceMode, EventCapacityByAttendanceMode, EventDeliveryMode, EventModeCapacity, PublicEventPricingOptionAvailability, EventPricingOptionAttendanceScope, GoLiveDecision, LaunchReadiness, LaunchRequirement, LaunchRequirementAction, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, LaunchCustomDomainPackState, AcknowledgeLaunchRequirementRequest, AcknowledgeLaunchRequirementResponse, GoLiveSiteRequest, GoLiveSiteResponse, LaunchRequirementEvidence, LaunchRequirementDetail, LaunchDetailedRequirementId, LaunchAppointmentsGapDetail, LaunchPaymentsGapDetail, LaunchEventKindsDetail, LaunchRequirementId, LaunchOverridableRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, LaunchRequirementState, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, PublicOnboardingAttemptResponse, PublicOnboardingAttemptProgress, PublicOnboardingAttemptProgressResponse, PublicOnboardingProvisioningStage, PublicOnboardingAttemptRunKickoff, PublicOnboardingAttemptRunResponse, MacadamiaOnboardingEventSession, MacadamiaOnboardingDraftFirstOffering, MacadamiaOnboardingFirstOffering, MacadamiaOnboardingFirstOfferingDeliveryMode, MacadamiaOnboardingFirstOfferingKind, MacadamiaOnboardingFirstOfferingScheduleMode, MacadamiaOnboardingLogoAnalysis, MacadamiaOnboardingLogoPaletteRecommendation, MacadamiaOnboardingMappedPalette, MacadamiaOnboardingOfferingKind, MacadamiaOnboardingPlanPreference, MacadamiaOnboardingPublicExperience, MacadamiaOnboardingSiteMode, MacadamiaOnboardingStyleMood, MacadamiaOnboardingSurfaceData, MacadamiaOnboardingTeamMode, MacadamiaOnboardingVisualIdentity, MacadamiaOnboardingWeekday, SiteGenerationBookingOfferingKind, SiteAnalyticsCookieBannerCopyOverrides, SiteAnalyticsSettingsPayload, SiteBannerAnnouncementRole, SiteBannerCta, SiteBannerScope, SiteBannerSettingsPayload, SiteBannerTone, StripeConnectRestrictions, SiteLegalJurisdiction, SiteLegalProfilePayload, SensitiveClientRecordsConfirmationKey, SensitiveClientRecordsMode, SensitiveClientRecordsRetentionProfile, SensitiveClientRecordsSettings, SensitiveClientRecordsUpdatePayload, SitePrivacyPolicyCapabilities, SitePrivacyPolicyDocument, SitePrivacySettings, SitePrivacySettingsPayload, SitePrivacySettingsResponse, SiteRuntimeBusinessDetails, SiteRuntimeBookingAttribution, SiteRuntimePrivacyPolicy, WaitlistDashboardActionResponse, } from './types';
55
+ export type { AiSiteWizardSuggestGoalsRequest, AiSiteWizardSuggestGoalsResponse, AdminDeleteSiteResponse, AdminDeleteUserResponse, AdminOwnedSiteSummary, DashboardConfig, DashboardNavigationConfig, DashboardNavVisibilityConfig, DashboardNavVisibilityConfigWithRoles, DashboardWaitlistEntry, DashboardWaitlistEntryStatus, DashboardWaitlistListResponse, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, BookingCollectionOptionKind, DirectCheckoutCollectionOptionKind, BookingPaymentArchetype, BookingPaymentDefaultsKey, BookingPaymentDefaults, BookingInstalmentIntervalUnit, BookingPaymentOptionsSource, BookingInstalmentPlanConfig, BookingPaymentCollectionOption, BookingPaymentTermsConfig, PublicBookingPaymentTermsAvailability, PublishedBlockBaseline, PublicBookingAppointmentSummary, PublicBookingCustomerSummary, PublicBookingAppointmentStatusResponse, PublicCreateBookingAppointmentResponse, EventAttendanceMode, EventCapacityByAttendanceMode, EventDeliveryMode, EventModeCapacity, PublicEventPricingOptionAvailability, EventPricingOptionAttendanceScope, GoLiveDecision, LaunchReadiness, LaunchRequirement, LaunchRequirementAction, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, AcknowledgeLaunchRequirementRequest, AcknowledgeLaunchRequirementResponse, GoLiveSiteRequest, GoLiveSiteResponse, LaunchRequirementEvidence, LaunchRequirementDetail, LaunchDetailedRequirementId, LaunchAppointmentsGapDetail, LaunchPaymentsGapDetail, LaunchEventKindsDetail, LaunchRequirementId, LaunchOverridableRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, LaunchRequirementState, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, PublicOnboardingAttemptResponse, PublicOnboardingAttemptProgress, PublicOnboardingAttemptProgressResponse, PublicOnboardingProvisioningStage, PublicOnboardingAttemptRunKickoff, PublicOnboardingAttemptRunResponse, MacadamiaOnboardingEventSession, MacadamiaOnboardingDraftFirstOffering, MacadamiaOnboardingFirstOffering, MacadamiaOnboardingFirstOfferingDeliveryMode, MacadamiaOnboardingFirstOfferingKind, MacadamiaOnboardingFirstOfferingScheduleMode, MacadamiaOnboardingLogoAnalysis, MacadamiaOnboardingLogoPaletteRecommendation, MacadamiaOnboardingMappedPalette, MacadamiaOnboardingOfferingKind, MacadamiaOnboardingPlanPreference, MacadamiaOnboardingPublicExperience, MacadamiaOnboardingSiteMode, MacadamiaOnboardingStyleMood, MacadamiaOnboardingSurfaceData, MacadamiaOnboardingTeamMode, MacadamiaOnboardingVisualIdentity, MacadamiaOnboardingWeekday, SiteGenerationBookingOfferingKind, SiteAnalyticsCookieBannerCopyOverrides, SiteAnalyticsSettingsPayload, SiteBannerAnnouncementRole, SiteBannerCta, SiteBannerScope, SiteBannerSettingsPayload, SiteBannerTone, StripeConnectRestrictions, SiteLegalJurisdiction, SiteLegalProfilePayload, SensitiveClientRecordsConfirmationKey, SensitiveClientRecordsMode, SensitiveClientRecordsRetentionProfile, SensitiveClientRecordsSettings, SensitiveClientRecordsUpdatePayload, SitePrivacyPolicyCapabilities, SitePrivacyPolicyDocument, SitePrivacySettings, SitePrivacySettingsPayload, SitePrivacySettingsResponse, SiteRuntimeBusinessDetails, SiteRuntimeBookingAttribution, SiteRuntimePrivacyPolicy, WaitlistDashboardActionResponse, } from './types';
56
56
  export { acknowledgeLaunchRequirementRequestSchema, goLiveSiteRequestSchema, LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS, toAcknowledgeLaunchRequirementRequest, } from './siteOnboarding';
57
57
  export { MANAGED_PRIVACY_POLICY_PATH, DEFAULT_SITE_LEGAL_JURISDICTION, EU_MEMBER_COUNTRIES, JURISDICTION_LABELS, SENSITIVE_CLIENT_RECORDS_CONFIRMATION_KEYS, SENSITIVE_CLIENT_RECORDS_CONFIRMATION_VERSION, buildManagedPrivacyPolicyDocument, isSitePrivacyIdentityReady, mapCountryToLegalJurisdiction, resolveLegalIdentitySource, resolveSitePrivacyIdentity, type ResolvedSitePrivacyIdentity, type SiteLegalIdentitySource, type SiteLegalProfileInput, } from './privacyPolicy';
58
58
  export { analyticsCollect } from './analytics';
@@ -77,6 +77,7 @@ export type { BookingServicePricing, BookingServicePricingInput, BookingServiceP
77
77
  export { BOOKING_SETTINGS_SECTION_LABELS, BOOKING_SETTINGS_SECTION_KEYS, BOOKING_SETTINGS_SECTIONS, DEFAULT_APPOINTMENT_STAFF_DIGEST_LOCAL_SEND_TIME, DEFAULT_BOOKING_NOTIFICATION_SEND_RULE, DEFAULT_BOOKING_NOTIFICATION_SETTINGS, DIRECT_CHECKOUT_COLLECTION_OPTION_KINDS, applyBookingSettingsSectionUpdate, applyBookingSettingsSectionUpdates, createBookingSettingsUpdateRequest, resolveBookingSettingsEventCatalogue, } from './bookingConfig';
78
78
  export { bookingPaymentCollectionOptionSchema } from './bookingPaymentTermSchemas';
79
79
  export { BOOKING_LEDGER_CANCELLATION_MODE_VALUES, BOOKING_LEDGER_DATE_BASIS_VALUES, BOOKING_LEDGER_KIND_VALUES, BOOKING_LEDGER_PERIOD_PRESET_VALUES, BOOKING_ACTIVITY_CATEGORY_VALUES, BOOKING_ACTIVITY_TYPE_VALUES, BOOKING_QUESTION_ANSWER_EXPORT_SCOPES, BOOKING_QUESTION_ANSWER_EXPORT_SCOPE_VALUES, CUSTOMER_MEMBERSHIP_STATUS_VALUES, CUSTOMER_PASS_STATUS_VALUES, } from './bookingRecords';
80
+ export * from './bookingPeople';
80
81
  export type { BookingQuestionAnswerExportScopeKind, CreatePersonRecordEntryRequest, ExportBookingQuestionAnswersCsvRequest, } from './bookingRecords';
81
82
  export { getEmailSettingsRequest, updateEmailSettingsRequest, sendTestEmailRequest, previewEmailTemplateRequest, } from './emailSettings';
82
83
  export { getEventSeriesEmailTemplatesRequest, updateEventSeriesEmailTemplatesRequest, } from './eventEmailTemplates';
@@ -1 +1 @@
1
- export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundEventSeriesRegistrationRequest, EventSeriesRegistrationRefundResult, RefundEventSeriesRegistrationResponse, TransferEventAttendeeRequest, EventAttendeeTransferResult, TransferEventAttendeeResponse, DiscardTeamMemberProfileDraftResponse, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse, OpsEventOccurrenceSummary, EventTicketBreakdownLine, OpsOccurrenceAttendee, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, OpsEventAttendeeCheckinUpdate, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsEventAttendeeDetailsResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResult, OpsCancelEventAttendeeResponse, OpsRefundEventAttendeeResponse, EventAttendeeRefundHistoryItem, ListEventAttendeeRefundsResponse, EventSeriesRegistrationRefundHistoryItem, ListEventSeriesRegistrationRefundsResponse, EventAttendeeTransferHistoryItem, ListEventAttendeeTransfersResponse, EmailTemplateType, EmailTemplate, EmailTemplateInput, EventEmailTemplateType, EventEmailTemplate, GetEventSeriesEmailTemplatesResponse, UpdateEventSeriesEmailTemplatesRequest, UpdateEventSeriesEmailTemplatesResponse, GetEmailSettingsResponse, UpdateEmailSettingsRequest, UpdateEmailSettingsResponse, SendTestEmailRequest, SendTestEmailResponse, PreviewEmailTemplateRequest, PreviewEmailTemplateResponse, AvailabilityScheduleSettings, ServiceSpecificAvailabilityScheduleSettings, ListAvailabilityRulesResponse, WeeklyAvailabilityWindowInput, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, SetWeeklyAvailabilityIssue, AppointmentBlackout, CreateBlackoutRequest, ListBlackoutsResponse, CreateBlackoutResponse, DeleteBlackoutResponse, TimeSlot, GetAvailableSlotsQuery, GetAvailableSlotsResponse, CreateAppointmentRequest, CreateAppointmentResponse, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingQuestionsRequirementConfig, BookingRequirementValidityPolicy, ConsentRequirementConfig, PublicCreateBookingAppointmentRequest, AppointmentRecord, AppointmentStatus, BookingCustomerRecord, BookingSessionUpdateMeRequest, WholeSeriesRunStatus, WholeSeriesRunMutableStatus, WholeSeriesRunCancellationSettlement, DeleteWholeSeriesRunResponse, DeleteEventOfferingResponse, EventSeriesContentOwnershipBlocker, EventSeriesContentOwnershipRequest, EventSeriesContentOwnershipResponse, EventSeriesRegistrationStatus, EventSeriesRegistrationPaymentMethod, EventSeriesRegistrationPaymentStatus, EventSeriesRegistrationRecord, EventSeriesRegistrationWithCustomer, ListEventSeriesRegistrationsResponse, WholeSeriesParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse, SaveEventSeriesRegistrationAnswersRequest, SaveEventSeriesRegistrationAnswersResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CustomerSortColumn, CustomerFilter, ListBookingCustomersRequest, ListBookingCustomersResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, GetMoneyReportRequest, GetMoneyReportResponse, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, BookingActivityCategory, BookingActivityType, BookingActivityCursor, BookingActivityListItem, ListBookingActivityRequest, ListBookingActivityResponse, BookingLedgerKind, BookingLedgerDateBasis, BookingLedgerPeriodPreset, BookingLedgerCancellationMode, ExportBookingLedgerCsvRequest, DiscountCodeType, DiscountPerEmailLimit, DiscountMembershipDuration, DiscountEventScopeMode, DiscountScopeMode, ProductScopeMode, DiscountCodeRecord, DiscountCodeScopeIds, DiscountCodeDetails, AutoAppliedDiscountPreview, EventAutoApplyDiscountPreview, CreateDiscountCodeRequest, UpdateDiscountCodeRequest, ListDiscountCodesResponse, DiscountCodeResponse, DeleteDiscountCodeResponse, DiscountRedemptionStatus, DiscountRedemptionListItem, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, MembershipPaymentForRefund, ListCustomerMembershipPaymentsResponse, CancelCustomerMembershipAtPeriodEndResult, CustomerMembershipPaymentRefundResult, CustomerMembershipPaymentRefundRecord, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, ListCustomerMembershipPaymentRefundsResponse, CustomerAttendanceRecord, CustomerAttendancePayment, CustomerAttendanceLivePayment, CustomerAttendanceArchivedPayment, CustomerAttendancePaymentMethod, CustomerAttendancePaymentStatus, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, } from './types';
1
+ export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, EventTypeBookingDefault, EventTypeBookingDefaults, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundEventSeriesRegistrationRequest, EventSeriesRegistrationRefundResult, RefundEventSeriesRegistrationResponse, TransferEventAttendeeRequest, EventAttendeeTransferResult, TransferEventAttendeeResponse, DiscardTeamMemberProfileDraftResponse, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse, OpsEventOccurrenceSummary, EventTicketBreakdownLine, OpsOccurrenceAttendee, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, OpsEventAttendeeCheckinUpdate, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsEventAttendeeDetailsResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResult, OpsCancelEventAttendeeResponse, OpsRefundEventAttendeeResponse, EventAttendeeRefundHistoryItem, ListEventAttendeeRefundsResponse, EventSeriesRegistrationRefundHistoryItem, ListEventSeriesRegistrationRefundsResponse, EventAttendeeTransferHistoryItem, ListEventAttendeeTransfersResponse, EmailTemplateType, EmailTemplate, EmailTemplateInput, EventEmailTemplateType, EventEmailTemplate, GetEventSeriesEmailTemplatesResponse, UpdateEventSeriesEmailTemplatesRequest, UpdateEventSeriesEmailTemplatesResponse, GetEmailSettingsResponse, UpdateEmailSettingsRequest, UpdateEmailSettingsResponse, SendTestEmailRequest, SendTestEmailResponse, PreviewEmailTemplateRequest, PreviewEmailTemplateResponse, AvailabilityScheduleSettings, ServiceSpecificAvailabilityScheduleSettings, ListAvailabilityRulesResponse, WeeklyAvailabilityWindowInput, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, SetWeeklyAvailabilityIssue, AppointmentBlackout, CreateBlackoutRequest, ListBlackoutsResponse, CreateBlackoutResponse, DeleteBlackoutResponse, TimeSlot, GetAvailableSlotsQuery, GetAvailableSlotsResponse, CreateAppointmentRequest, CreateAppointmentResponse, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingQuestionsRequirementConfig, BookingRequirementValidityPolicy, ConsentRequirementConfig, PublicCreateBookingAppointmentRequest, AppointmentRecord, AppointmentStatus, BookingCustomerRecord, BookingSessionUpdateMeRequest, WholeSeriesRunStatus, WholeSeriesRunMutableStatus, WholeSeriesRunCancellationSettlement, DeleteWholeSeriesRunResponse, DeleteEventOfferingResponse, EventSeriesContentOwnershipBlocker, EventSeriesContentOwnershipRequest, EventSeriesContentOwnershipResponse, EventSeriesRegistrationStatus, EventSeriesRegistrationPaymentMethod, EventSeriesRegistrationPaymentStatus, EventSeriesRegistrationRecord, EventSeriesRegistrationWithCustomer, ListEventSeriesRegistrationsResponse, WholeSeriesParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse, SaveEventSeriesRegistrationAnswersRequest, SaveEventSeriesRegistrationAnswersResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteHolderRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, GetMoneyReportRequest, GetMoneyReportResponse, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, BookingActivityCategory, BookingActivityType, BookingActivityCursor, BookingActivityListItem, ListBookingActivityRequest, ListBookingActivityResponse, BookingLedgerKind, BookingLedgerDateBasis, BookingLedgerPeriodPreset, BookingLedgerCancellationMode, ExportBookingLedgerCsvRequest, DiscountCodeType, DiscountPerEmailLimit, DiscountMembershipDuration, DiscountEventScopeMode, DiscountScopeMode, ProductScopeMode, DiscountCodeRecord, DiscountCodeScopeIds, DiscountCodeDetails, AutoAppliedDiscountPreview, EventAutoApplyDiscountPreview, CreateDiscountCodeRequest, UpdateDiscountCodeRequest, ListDiscountCodesResponse, DiscountCodeResponse, DeleteDiscountCodeResponse, DiscountRedemptionStatus, DiscountRedemptionListItem, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, MembershipPaymentForRefund, ListCustomerMembershipPaymentsResponse, CancelCustomerMembershipAtPeriodEndResult, CustomerMembershipPaymentRefundResult, CustomerMembershipPaymentRefundRecord, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, ListCustomerMembershipPaymentRefundsResponse, CustomerAttendanceRecord, CustomerAttendancePayment, CustomerAttendanceLivePayment, CustomerAttendanceArchivedPayment, CustomerAttendancePaymentMethod, CustomerAttendancePaymentStatus, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, } from './types';
@@ -2,7 +2,7 @@ import type * as ApiTypes from './types';
2
2
  import type { PublicExperience } from '../../core/src/index';
3
3
  export { requirementPriorityFor } from './launchRequirementPriority';
4
4
  export { LAUNCH_EVENT_OFFERING_KINDS, LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS, } from './siteOnboarding';
5
- export type { AcknowledgeLaunchRequirementRequest, GoLiveDecision, LaunchReadiness, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, LaunchCustomDomainPackState, LaunchAppointmentsSetupGap, LaunchEventOfferingKind, LaunchOfferingsPackState, LaunchCoverImagePackState, LaunchPublicContactPackState, LaunchRequirement, LaunchRequirementAction, LaunchRequirementEvidence, LaunchRequirementDetail, LaunchDetailedRequirementId, LaunchAppointmentsGapDetail, LaunchPaymentsGapDetail, LaunchEventKindsDetail, LaunchRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, SiteGenerationBookingOfferingKind, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, } from './types';
5
+ export type { AcknowledgeLaunchRequirementRequest, GoLiveDecision, LaunchReadiness, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, LaunchAppointmentsSetupGap, LaunchEventOfferingKind, LaunchOfferingsPackState, LaunchCoverImagePackState, LaunchPublicContactPackState, LaunchRequirement, LaunchRequirementAction, LaunchRequirementEvidence, LaunchRequirementDetail, LaunchDetailedRequirementId, LaunchAppointmentsGapDetail, LaunchPaymentsGapDetail, LaunchEventKindsDetail, LaunchRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, SiteGenerationBookingOfferingKind, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, } from './types';
6
6
  export type DeriveLaunchReadinessInput = Readonly<{
7
7
  siteId?: string | null;
8
8
  publicExperience?: PublicExperience;
@@ -12,7 +12,6 @@ export type DeriveLaunchReadinessInput = Readonly<{
12
12
  events: ApiTypes.LaunchEventsPackState;
13
13
  courses: ApiTypes.LaunchCoursesPackState;
14
14
  payments: ApiTypes.LaunchPaymentsPackState;
15
- customDomain: ApiTypes.LaunchCustomDomainPackState;
16
15
  /** Read for booking pages only. */
17
16
  offerings: ApiTypes.LaunchOfferingsPackState;
18
17
  /** Read for booking pages only. */
@@ -41,9 +40,6 @@ export declare const DEFAULT_LAUNCH_READINESS_INPUT: {
41
40
  payments: {
42
41
  kind: "not_applicable";
43
42
  };
44
- customDomain: {
45
- kind: "pending_setup";
46
- };
47
43
  offerings: {
48
44
  kind: "none";
49
45
  };
@@ -57,5 +53,4 @@ export declare const DEFAULT_LAUNCH_READINESS_INPUT: {
57
53
  };
58
54
  /** The event kinds among the offering kinds recorded at onboarding, in their recorded order. */
59
55
  export declare function pickLaunchEventOfferingKinds(kinds: readonly ApiTypes.SiteGenerationBookingOfferingKind[] | null): readonly ApiTypes.LaunchEventOfferingKind[];
60
- export declare function deriveLaunchDomainRequirement(siteId: string | null | undefined, domainState: ApiTypes.LaunchCustomDomainPackState): ApiTypes.LaunchRequirement;
61
56
  export declare function deriveLaunchReadiness(input: DeriveLaunchReadinessInput): ApiTypes.LaunchReadiness;
@@ -94,6 +94,12 @@ export type MailingListIntegrationAPIEndpoints = {
94
94
  getMailingListSetup: APIEndpoint<never, {
95
95
  siteId: string;
96
96
  }, MailingListSiteSetup>;
97
+ setMailingListBookingOptIn: APIEndpoint<{
98
+ expectedRevision: number;
99
+ enabled: boolean;
100
+ }, {
101
+ siteId: string;
102
+ }, MailingListSiteSetup>;
97
103
  previewMailingListSetupChange: APIEndpoint<MailingListSetupChangeRequest, {
98
104
  siteId: string;
99
105
  }, MailingListSetupPreviewResponse>;
@@ -69,7 +69,7 @@ export type DashboardBookingsNavDestination = Readonly<{
69
69
  }> | Readonly<{
70
70
  kind: "booking_products";
71
71
  }> | Readonly<{
72
- kind: "booking_customers";
72
+ kind: "booking_people";
73
73
  }> | Readonly<{
74
74
  kind: "booking_settings";
75
75
  section: BookingSettingsSection;
@@ -136,6 +136,21 @@ export declare const NEWSLETTER_ENDPOINT_DEFINITIONS: {
136
136
  responseKind: "json";
137
137
  errors: ("auth:forbidden" | "server:internal_error")[];
138
138
  };
139
+ setMailingListBookingOptIn: {
140
+ path: "/sites/{siteId}/mailing-list/setup/booking-opt-in";
141
+ method: "PUT";
142
+ tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
143
+ auth: "user";
144
+ responseKind: "json";
145
+ demoMutation: {
146
+ classification: "allowed";
147
+ publicMessage: "";
148
+ } | {
149
+ classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
150
+ publicMessage: string;
151
+ };
152
+ errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
153
+ };
139
154
  getMailingListAuthoringContext: {
140
155
  path: "/sites/{siteId}/mailing-list/authoring-context";
141
156
  method: "GET";
@@ -55,4 +55,23 @@ export type UpdateOccurrenceResponse = Readonly<{
55
55
  occurrence: EventOccurrenceRecord;
56
56
  notification: OccurrenceUpdateNotificationOutcome;
57
57
  }>;
58
+ /** A date added by hand to an event or a course run. */
59
+ export type CreateOccurrenceRequest = {
60
+ startsAt: string;
61
+ endsAt: string;
62
+ /**
63
+ * The "let everyone booked know" tick. Only a course run has anyone to tell
64
+ * when a date is added, since everyone booked on it is given the new date.
65
+ * Absent means notify, as for every other session change.
66
+ */
67
+ attendeeNotification?: AttendeeNotificationIntent;
68
+ staffAssignmentMode?: StaffAssignmentMode;
69
+ staffMemberIds?: string[];
70
+ mainHostStaffMemberId?: string | null;
71
+ capacityOverride?: number | null;
72
+ overridesJson?: EventOccurrenceOverrides;
73
+ onlineDetailsOverride?: EventOnlineDetailsInput | null;
74
+ isException?: boolean;
75
+ metadata?: Record<string, unknown>;
76
+ };
58
77
  export {};
@@ -0,0 +1,48 @@
1
+ import type { BookingMailingListNote as BookingSignupNote } from '../../core/src/index';
2
+ export type PublicCreateBookingAppointmentRequest = {
3
+ formId: string;
4
+ serviceId: string;
5
+ resourceId?: string | null;
6
+ startAt: string;
7
+ endAt: string;
8
+ customFields: Record<string, unknown>;
9
+ mailingListOptIn?: boolean;
10
+ timezone?: string;
11
+ discountCode?: string;
12
+ selectedSlidingAmount?: number;
13
+ selectedCollectionOptionKind?: 'upfront' | 'deferred_manual' | 'instalment_plan' | 'flexible_balance';
14
+ altchaSolution?: string | null;
15
+ successUrl?: string;
16
+ cancelUrl?: string;
17
+ };
18
+ export type PublicBookingAppointmentSummary = {
19
+ id: string;
20
+ status: 'confirmed' | 'pending' | 'cancelled';
21
+ startAt: string;
22
+ endAt: string;
23
+ timezone: string;
24
+ resourceName: string | null;
25
+ };
26
+ export type PublicBookingCustomerSummary = {
27
+ id: string;
28
+ email: string | null;
29
+ name: string | null;
30
+ phone: string | null;
31
+ };
32
+ export type PublicCreateBookingAppointmentResponse = {
33
+ type: 'booked';
34
+ orderId: string;
35
+ orderNumber: string;
36
+ appointment: PublicBookingAppointmentSummary;
37
+ customer: PublicBookingCustomerSummary;
38
+ mailingListSignupNote?: BookingSignupNote;
39
+ } | {
40
+ type: 'checkout_redirect';
41
+ orderId: string;
42
+ orderNumber: string;
43
+ checkoutUrl: string;
44
+ sessionId: string;
45
+ appointment: PublicBookingAppointmentSummary;
46
+ customer: PublicBookingCustomerSummary;
47
+ mailingListSignupNote?: BookingSignupNote;
48
+ };
@@ -1,3 +1,4 @@
1
+ import type { BookingMailingListNote as BookingSignupNote } from '../../../core/src/index';
1
2
  /**
2
3
  * Storefront event discovery, registration, checkout and eligibility endpoints.
3
4
  *
@@ -120,6 +121,7 @@ export type PublicEventAPIEndpoints = {
120
121
  notes?: string;
121
122
  formData?: Record<string, unknown>;
122
123
  consentAccepted?: boolean;
124
+ mailingListOptIn?: boolean;
123
125
  altchaSolution?: string | null;
124
126
  paymentMethod?: 'free' | 'pass' | 'membership' | 'stripe' | 'pass_bundle' | 'membership_bundle';
125
127
  customerPassId?: string;
@@ -160,6 +162,7 @@ export type PublicEventAPIEndpoints = {
160
162
  phone?: string;
161
163
  formData?: Record<string, unknown>;
162
164
  consentAccepted?: boolean;
165
+ mailingListOptIn?: boolean;
163
166
  altchaSolution?: string | null;
164
167
  guests?: Array<{
165
168
  name: string;
@@ -185,6 +188,7 @@ export type PublicEventAPIEndpoints = {
185
188
  amountCents: number;
186
189
  currency: string;
187
190
  };
191
+ mailingListSignupNote?: BookingSignupNote;
188
192
  } | {
189
193
  scope: 'wholeSeries';
190
194
  registrationId: string;
@@ -197,17 +201,20 @@ export type PublicEventAPIEndpoints = {
197
201
  amountCents: number;
198
202
  currency: string;
199
203
  };
204
+ mailingListSignupNote?: BookingSignupNote;
200
205
  } | {
201
206
  scope: 'wholeSeries';
202
207
  status: 'paymentStatusRequired';
203
208
  checkoutAttemptId: string;
204
209
  recoverableUntil?: string;
210
+ mailingListSignupNote?: BookingSignupNote;
205
211
  } | {
206
212
  scope: 'wholeSeries';
207
213
  status: 'waitlist';
208
214
  waitlistEntryId: string;
209
215
  waitlistPosition: number | null;
210
216
  alreadyRegistered?: boolean;
217
+ mailingListSignupNote?: BookingSignupNote;
211
218
  }>;
212
219
  getPublicEventRegistrationOptions: APIEndpoint<PublicEventRegistrationOptionsRequest, {
213
220
  siteId: string;
@@ -1,3 +1,4 @@
1
+ import type { AttendeeNotificationIntent } from './occurrenceScheduling';
1
2
  import type { SdkCourseBookingSettings } from './sdkCourseBooking';
2
3
  import type { SdkEntryUpsertSlotBlock, SdkEventBookingOffer, SdkEventContentInput, SdkPullEvent, SdkPullEventRun, SdkEventUpsertScheduleInput } from './sdkContracts';
3
4
  import { type BookingTimeZone, type UtcIsoDateTimeString } from '../../core/src/index';
@@ -23,6 +24,12 @@ export declare const sdkCourseBookingSettingsSchema: z.ZodObject<{
23
24
  }>;
24
25
  acceptsPasses: z.ZodBoolean;
25
26
  acceptsMemberships: z.ZodBoolean;
27
+ ticketingMode: z.ZodOptional<z.ZodEnum<{
28
+ enabled: "enabled";
29
+ disabled: "disabled";
30
+ inherit: "inherit";
31
+ }>>;
32
+ collectAllAttendeeDetails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
33
  cancellationPolicy: z.ZodObject<{
27
34
  refunds: z.ZodObject<{
28
35
  mode: z.ZodEnum<{
@@ -156,6 +163,14 @@ export type SdkEventUpsertBody = Readonly<{
156
163
  content?: SdkEventContentInput;
157
164
  blocks?: Record<string, SdkEntryUpsertSlotBlock[]>;
158
165
  runs: readonly [SdkEventRunUpsertBody, ...SdkEventRunUpsertBody[]];
166
+ /**
167
+ * Whether the people booked hear about a venue change this push makes.
168
+ * Leaving it out never emails anyone: a push is a file sync, and a stale
169
+ * local file could otherwise move a run back to an old venue and tell
170
+ * everyone the wrong place. Same shape as the dashboard's "let everyone
171
+ * booked know" tick.
172
+ */
173
+ attendeeNotification?: AttendeeNotificationIntent;
159
174
  }>;
160
175
  export type ValidatedSdkEventRunUpsertInput = SdkEventRunUpsertBody & Readonly<{
161
176
  timingAuthority: SdkEventTimingAuthority;
@@ -2,9 +2,9 @@ import type { z } from 'zod';
2
2
  import type { courseBookingSettingsSchema } from '@riverbankcms/site-commands';
3
3
  import type { CourseBookingSettingsRequest } from './eventManagementContracts';
4
4
  /**
5
- * The four booking settings a course owns for every one of its runs: where it
6
- * is listed, whether passes and memberships may be used, and the refunds and
7
- * transfers policy.
5
+ * The booking settings a course owns for every one of its runs: where it is
6
+ * listed, whether passes and memberships may be used, QR tickets, guest details
7
+ * and the refunds and transfers policy.
8
8
  *
9
9
  * Storage is per run, but a run may not be written for them — the course is the
10
10
  * single writer — so they are pulled and pushed on the Event and are absent
@@ -16,7 +16,7 @@ import type { CourseBookingSettingsRequest } from './eventManagementContracts';
16
16
  export type SdkCourseBookingSettings = z.infer<typeof courseBookingSettingsSchema>;
17
17
  type Assert<T extends true> = T;
18
18
  /**
19
- * The pushed settings and the management API's own request are the same four
19
+ * The pushed settings and the management API's own request are the same
20
20
  * fields; if either changes without the other, this stops compiling.
21
21
  */
22
22
  export type SdkCourseBookingSettingsMatchesRequest = Assert<SdkCourseBookingSettings extends CourseBookingSettingsRequest ? CourseBookingSettingsRequest extends SdkCourseBookingSettings ? true : false : false>;
@@ -0,0 +1,61 @@
1
+ import type { CamelizeKeys, DbRow } from '../../db/src/index';
2
+ import type { APIEndpoint } from './apiEndpointTypes';
3
+ import type { CreateManualSiteRequest, CreateManualSiteResponse } from './siteOperations';
4
+ type Site = CamelizeKeys<DbRow<'sites'>>;
5
+ export type SiteLifecycleAPIEndpoints = {
6
+ createSite: APIEndpoint<{
7
+ title: string;
8
+ }, never, {
9
+ id: string;
10
+ title: string;
11
+ }>;
12
+ createSiteManual: APIEndpoint<CreateManualSiteRequest, never, CreateManualSiteResponse>;
13
+ updateSite: APIEndpoint<Partial<Site>, never, Partial<Site>>;
14
+ deleteSite: APIEndpoint<never, {
15
+ siteId: string;
16
+ }, {
17
+ ok: boolean;
18
+ }>;
19
+ };
20
+ export declare const SITE_LIFECYCLE_ENDPOINT_DEFINITIONS: {
21
+ createSite: {
22
+ path: "/sites/manage";
23
+ method: "POST";
24
+ tags: "site"[];
25
+ auth: "user";
26
+ responseKind: "json";
27
+ errors: never[];
28
+ };
29
+ createSiteManual: {
30
+ path: "/sites/manual";
31
+ method: "POST";
32
+ tags: "site"[];
33
+ auth: "user";
34
+ responseKind: "json";
35
+ errors: never[];
36
+ };
37
+ updateSite: {
38
+ path: "/sites/manage";
39
+ method: "PUT";
40
+ tags: "site"[];
41
+ auth: "user";
42
+ responseKind: "json";
43
+ errors: never[];
44
+ };
45
+ deleteSite: {
46
+ path: "/sites/{siteId}";
47
+ method: "DELETE";
48
+ tags: ("site" | "site-{siteId}")[];
49
+ auth: "user";
50
+ responseKind: "json";
51
+ errors: never[];
52
+ demoMutation: {
53
+ classification: "allowed";
54
+ publicMessage: "";
55
+ } | {
56
+ classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
57
+ publicMessage: string;
58
+ };
59
+ };
60
+ };
61
+ export {};
@@ -1,5 +1,6 @@
1
+ import type { SiteLifecycleAPIEndpoints } from './siteLifecycleEndpoints';
1
2
  import type { PublicProfile, RectificationHistoryPropagationPlan, RectificationIdentityBoundary, RectificationIssueUrl, RectificationSurface } from '../../core/src/index';
2
- import type { CamelizeKeys, DbRow, DbJson } from '../../db/src/index';
3
+ import type { DbJson } from '../../db/src/index';
3
4
  import type { APIEndpoint } from './apiEndpointTypes';
4
5
  import type { BillingAPIEndpoints } from './billingEndpointTypes';
5
6
  import type { CustomDomainConnectionSnapshot, DomainHostingStatus } from './domainConnection';
@@ -7,7 +8,7 @@ import type { AdminListAllowedDomainsQueryOutput } from './schemas/admin-allowed
7
8
  import type { AdminListAxiomLogsQueryOutput, AdminListErrorLogsQueryOutput, AdminListSupabaseLogsQueryOutput, AdminListVercelLogsQueryOutput } from './schemas/admin-observability-logs';
8
9
  import type { AcceptAdminInviteRequest, AcceptAdminInviteResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, AddCustomDomainRequest, AddCustomDomainResponse, AdminDeleteUserResponse, AuthInviteContinueRequest, AuthInviteContinueResponse, AuthInviteRegisterRequest, AuthInviteRegisterResponse, AuthResetCompleteRequest, AuthResetCompleteResponse, AuthSubmissionResult, BulkOperationResult, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, DeleteAllowedDomainResponse, DomainConfigResult, DomainSearchResultResponse, CurrentUserPractitionerLinkResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, LinkCurrentUserPractitionerRequest, ListAdminInvitesResponse, ListAllowedDomainsResponse, ListSiteMembersResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, MfaOverviewResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneVerifyRequest, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, ReauthSubmissionResult, RegisterDomainRequestPayload, RegisterDomainResponse, RegistrarBooleanMutationRequest, RegistrarLifecycleResponse, RegistrarRenewalPostureResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, RemoveSiteMemberResponse, RevokeAdminInviteResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, SetHomepageRequest, SetHomepageResponse, SiteDomainContactPayload, SiteDomainRecord, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse } from './accessAdmin';
9
10
  import type { AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest } from './admin/types';
10
- import type { AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, CreateManualSiteRequest, CreateManualSiteResponse } from './siteOperations';
11
+ import type { AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse } from './siteOperations';
11
12
  import type { BookingSessionCancelAppointmentRequest, BookingSessionCancelAppointmentResponse, BookingSessionCreateAppointmentRequest, BookingSessionCreateAppointmentResponse, BookingSessionGetAppointmentResponse, BookingSessionListEligibleAppointmentPackagesResponse, BookingSessionGetEventResponse, BookingSessionListAppointmentsResponse, BookingSessionListEventsResponse, BookingSessionListMembershipsResponse, BookingSessionListPassesResponse, BookingSessionMeResponse, BookingSessionUpdateMeRequest, BookingSessionUpdateMeResponse, PublicBookingAppointmentStatusResponse, PublicBookingAvailabilityQuery, PublicBookingAvailableDatesResponse, PublicBookingAvailableSlotsResponse, PublicBookingService, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityQuery, PublicWeeklySlotAvailabilityResponse, PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse, ReferenceOptionsResponse } from './bookingOperations';
12
13
  import type { ContentEntryOrPageResponse, ContentEntrySummary, ExportFormSubmissionsCsvQuery, ExportFormSubmissionsCsvResponse, CreateFormSubmissionRectificationAnnotationRequest, CreateFormSubmissionRectificationAnnotationResponse, FormRecord, FormSubmissionWithRectificationAnnotations, FormSummary, NavigationItemRecord, NavigationMenuWithItems, PublicFormRecord, PublishedContentEntryOrPageResponse, RunSdkWorkflowResponse, ScheduledContentEntryOrPageResponse, WorkflowRunStatusResponse } from './contentRuntime';
13
14
  import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVersionHistoryRequest, RestoreVersionHistoryResponse, VersionHistoryListQuery } from './contentVersionHistory';
@@ -28,7 +29,6 @@ export type { FooterCompositionSnapshot, FooterCompositionUpdateRequest, FooterC
28
29
  * that still belong to the aggregate contract layer but no longer need to live inline in
29
30
  * `types.ts`.
30
31
  */
31
- type Site = CamelizeKeys<DbRow<'sites'>>;
32
32
  export type PublicProfileSnapshot = Readonly<{
33
33
  kind: 'ready';
34
34
  profile: PublicProfile;
@@ -56,7 +56,7 @@ export type PublicProfileUpdateResponse = Readonly<{
56
56
  type DsarRunKindApi = 'preview_export' | 'execute_actions';
57
57
  type DsarExecutionModeApi = 'preview_only' | 'confirmed_execute';
58
58
  type DsarRunStatusApi = 'running' | 'previewed' | 'completed' | 'partially_failed' | 'failed';
59
- type DsarSurfaceNameApi = 'booking_customer' | 'person_record' | 'appointment' | 'event_registration' | 'order' | 'form_submission' | 'portal_session' | 'email_audit' | 'newsletter_subscriber';
59
+ type DsarSurfaceNameApi = 'booking_customer' | 'person_record' | 'appointment' | 'event_registration' | 'booking_question_answer' | 'order' | 'form_submission' | 'portal_session' | 'email_audit' | 'newsletter_subscriber';
60
60
  type DsarExecutableSurfaceNameApi = 'portal_session' | 'newsletter_subscriber' | 'form_submission';
61
61
  type DsarRunCountsApi = {
62
62
  matchedSurfaces: number;
@@ -145,20 +145,7 @@ type DsarExecutionOutcomeApi = {
145
145
  detail: string;
146
146
  message: string;
147
147
  };
148
- export type SiteManagementAPIEndpoints = BillingAPIEndpoints & PageSurfaceAPIEndpoints & {
149
- createSite: APIEndpoint<{
150
- title: string;
151
- }, never, {
152
- id: string;
153
- title: string;
154
- }>;
155
- createSiteManual: APIEndpoint<CreateManualSiteRequest, never, CreateManualSiteResponse>;
156
- updateSite: APIEndpoint<Partial<Site>, never, Partial<Site>>;
157
- deleteSite: APIEndpoint<never, {
158
- siteId: string;
159
- }, {
160
- ok: boolean;
161
- }>;
148
+ export type SiteManagementAPIEndpoints = BillingAPIEndpoints & SiteLifecycleAPIEndpoints & PageSurfaceAPIEndpoints & {
162
149
  listContentEntries: APIEndpoint<never, {
163
150
  siteId: string;
164
151
  type: string;
@@ -89,8 +89,8 @@ export type AiBrandGuidelinesGenerateResponse = {
89
89
  stats: SiteContentSamplingStats;
90
90
  };
91
91
  };
92
- export type LaunchRequirementId = 'confirm_email' | 'review_generated_site' | 'configure_appointments' | 'configure_events' | 'configure_courses' | 'connect_payments' | 'connect_custom_domain' | 'add_first_offering' | 'add_cover_image' | 'add_public_contact';
93
- export type LaunchRequirementPackId = 'core' | 'bookings_appointments' | 'bookings_events' | 'bookings_courses' | 'payments' | 'domain' | 'offerings' | 'presence';
92
+ export type LaunchRequirementId = 'confirm_email' | 'review_generated_site' | 'configure_appointments' | 'configure_events' | 'configure_courses' | 'connect_payments' | 'add_first_offering' | 'add_cover_image' | 'add_public_contact';
93
+ export type LaunchRequirementPackId = 'core' | 'bookings_appointments' | 'bookings_events' | 'bookings_courses' | 'payments' | 'offerings' | 'presence';
94
94
  export type LaunchRequirementPriority = 'required' | 'recommended' | 'optional';
95
95
  export type LaunchRequirementState = 'complete' | 'pending';
96
96
  export type LaunchRequirementOwner = 'admin' | 'editor' | 'either';
@@ -129,9 +129,6 @@ export type LaunchRequirementAction = {
129
129
  label: string;
130
130
  };
131
131
  export type LaunchRequirementEvidence = {
132
- kind: 'domain_connection';
133
- domainIds: readonly string[];
134
- } | {
135
132
  kind: 'derived';
136
133
  } | {
137
134
  kind: 'acknowledged';
@@ -218,15 +215,6 @@ export type LaunchPublicContactPackState = {
218
215
  } | {
219
216
  kind: 'missing';
220
217
  };
221
- export type LaunchCustomDomainPackState = {
222
- kind: 'connected';
223
- domainIds: readonly string[];
224
- } | {
225
- kind: 'pending_verification' | 'partially_connected' | 'check_unavailable';
226
- domainIds: readonly string[];
227
- } | {
228
- kind: 'pending_setup';
229
- };
230
218
  /**
231
219
  * The exact gap behind a pending requirement, so a presentation can name it
232
220
  * ("Set your hours", "Finish setting up Stripe") without re-deriving facts.
@@ -1,13 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import type { ResolverContext } from './system';
3
- import type { PageOutline } from './structure/schema';
4
3
  import type { SdkCustomBlock } from './system/manifest/schema';
5
4
  import type { RouteMap } from './system/transforms';
6
5
  import { type OverrideOnlyRenderMode, type ThemedRenderMode, type TokensOnlyRenderMode } from './pageRenderingMode';
7
6
  import { type PageJoinRenderer, type PageRuntimeJoin } from './pageRendererBoundaries';
8
7
  import { type BlockOverrides, type PageRendererDataContext, type SdkConfigForRenderer } from './pageRendererContracts';
9
- import { type RenderablePageOutline } from './pageRenderAdmission';
10
- export type { PageBlockRenderAdmissionError, RenderablePageBlock, RenderablePageOutline, } from './pageRenderAdmission';
8
+ import { type RenderablePageOutline, type EditorPageOutlineWithPlacement } from './pageRenderAdmission';
9
+ export type { PageBlockRenderAdmissionError, RenderablePageBlock, RenderablePageOutline, EditorRenderablePageOutline, EditorPageOutlineWithPlacement, } from './pageRenderAdmission';
11
10
  export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, SdkConfigForRenderer, } from './pageRendererContracts';
12
11
  export { MissingBlockOverrideError } from './pageRenderingMode';
13
12
  export type { PageBlockPosition, PageJoinRenderer, PageJoinSlot, PageRuntimeJoin, RenderedJoin, } from './pageRendererBoundaries';
@@ -30,6 +29,6 @@ type OverrideOnlyPageRendererProps<TPage> = PageRendererCommonProps<TPage> & Ove
30
29
  blockOverrides: BlockOverrides;
31
30
  };
32
31
  export type PageRendererProps = ThemedPageRendererProps<RenderablePageOutline> | TokensOnlyPageRendererProps<RenderablePageOutline> | OverrideOnlyPageRendererProps<RenderablePageOutline>;
33
- export type EditorPageRendererProps = ThemedPageRendererProps<PageOutline> | OverrideOnlyPageRendererProps<PageOutline>;
32
+ export type EditorPageRendererProps = ThemedPageRendererProps<EditorPageOutlineWithPlacement> | OverrideOnlyPageRendererProps<EditorPageOutlineWithPlacement>;
34
33
  export default function PageRenderer(props: PageRendererProps): React.JSX.Element;
35
34
  export declare function EditorPageRenderer(props: EditorPageRendererProps): React.JSX.Element;