@riverbankcms/sdk 0.132.0 → 0.134.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.
- package/CHANGELOG.md +10 -0
- package/dist/{PreviewEditorSidebar-DKQ5eFK9.mjs → PreviewEditorSidebar-DfRhJPFQ.mjs} +3 -3
- package/dist/{PreviewEditorUI-CNTcOjCC.mjs → PreviewEditorUI-Dppxcr_g.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-DJu3qu33.mjs → SdkPreviewModeRuntime-8CyGCXir.mjs} +46 -15
- package/dist/{SiteChromeCustomizeContext-2TzT3vbj.mjs → SiteChromeCustomizeContext-DVMTMvqA.mjs} +497 -169
- package/dist/_dts/ai/src/contracts/proposals.d.ts +384 -384
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +219 -219
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +2 -14
- package/dist/_dts/api/src/bookings.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +2 -2
- package/dist/_dts/api/src/endpoints.d.ts +3 -3
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -6
- package/dist/_dts/api/src/navigation/linkResolver.d.ts +6 -2
- package/dist/_dts/api/src/navigation/types.d.ts +23 -6
- package/dist/_dts/api/src/navigation.d.ts +1 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +15 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -1
- package/dist/_dts/api/src/sdkThemeWire.d.ts +50 -50
- package/dist/_dts/api/src/siteBanner.d.ts +4 -2
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/webhooks.d.ts +12 -12
- package/dist/_dts/blocks/src/client.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +28 -72
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -2
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +36 -14
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +148 -148
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/shared/bookingConsent.d.ts +36 -0
- package/dist/_dts/blocks/src/system/manifest/hydrateLinks.d.ts +9 -2
- package/dist/_dts/blocks/src/system/manifest/resolveBlockData.d.ts +8 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +79 -79
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -11
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts +3 -19
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useSelectedAppointmentConsentForm.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.consent.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.fields.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +38 -144
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -19
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +18 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/validation.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/whole-series-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +34 -12
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingConsentAgreement.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/types/link.d.ts +7 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -4
- package/dist/_dts/core/src/booking-consent.d.ts +8 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/db/src/schemas/forms.d.ts +21 -21
- package/dist/_dts/db/src/types/jsonb.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +3 -2
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +3 -4
- package/dist/_dts/media-core/src/usageScanner.d.ts +1 -1
- package/dist/_dts/sdk/src/bookings/types.d.ts +7 -89
- package/dist/_dts/sdk/src/config/validation.d.ts +30 -30
- package/dist/_dts/sdk/src/contracts/content.d.ts +10 -36
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +9 -9
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -19
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +12 -12
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +72 -72
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +82 -82
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{StepIndicator-CGixP_LW.mjs → BookingConsentAgreement-BxgpGEFD.mjs} +26 -4
- package/dist/client/{DiscountCodeDisclosure-DO7llLxm.mjs → DiscountCodeDisclosure-CfuPOHD0.mjs} +1 -1
- package/dist/client/{EventCombined.client-xID7zN__.mjs → EventCombined.client-DB8Qfzi-.mjs} +3 -3
- package/dist/client/{EventListing.client-CriBslp0.mjs → EventListing.client-DD4X8hp4.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DYmHnM8g.mjs → LeafletStaticMap-QhgIBQbv.mjs} +1 -1
- package/dist/client/{WholeSeriesRegistrationWizard-BEjzSiOA.mjs → WholeSeriesRegistrationWizard-DwtC7bCs.mjs} +72 -22
- package/dist/client/{accordion-CgFbnnnQ.mjs → accordion-DFXpLvwg.mjs} +1 -1
- package/dist/client/{bookingForm-dUyGpbxc.mjs → bookingForm-sI05d3lk.mjs} +73 -47
- package/dist/client/bookings.mjs +989 -140
- package/dist/client/{carousel-BvBwkUzx.mjs → carousel-wjyWTZCh.mjs} +1 -1
- package/dist/client/{cart-DiZENT2E.mjs → cart-DCwdpA4i.mjs} +3 -3
- package/dist/client/{checkout-Dq13KIgR.mjs → checkout-DTDW3l0R.mjs} +3 -3
- package/dist/client/checkoutUrls-DQYC_Br-.mjs +187 -0
- package/dist/client/client.mjs +556 -237
- package/dist/client/{context-B83PiNzm.mjs → context-TSK1CGx8.mjs} +1 -14
- package/dist/client/{courseRegistration-CKC5NmyH.mjs → courseRegistration-A-Tg7qw_.mjs} +3 -3
- package/dist/client/{eventCalendar-BF0Jatfw.mjs → eventCalendar-B0Zg-i_w.mjs} +5 -5
- package/dist/client/{eventCombined-BuoCF8je.mjs → eventCombined-B8Y2wizd.mjs} +3 -3
- package/dist/client/{eventDetails-CKwh0S9s.mjs → eventDetails-DPDOwURJ.mjs} +3 -3
- package/dist/client/{eventListing-eUxaWFaB.mjs → eventListing-CjBcmSLn.mjs} +3 -3
- package/dist/client/{eventRegistration-CfkNOkPb.mjs → eventRegistration-CK30HsAq.mjs} +111 -64
- package/dist/client/{form-C17H1c_H.mjs → form-CUXfsABE.mjs} +2 -2
- package/dist/client/{headerSection-DEwUmrtt.mjs → headerSection-N-mN3rjr.mjs} +2 -2
- package/dist/client/hooks.mjs +106 -3
- package/dist/client/{locationMap-Pf2QwuvW.mjs → locationMap-oiIDQMBt.mjs} +2 -2
- package/dist/client/{newsletterForm-BWQAH5Sv.mjs → newsletterForm-CkQ2tTrM.mjs} +2 -2
- package/dist/client/{pricing-CVdvbopJ.mjs → pricing-Caa0QWzh.mjs} +1 -1
- package/dist/client/{productDetail-BZi1Fa_G.mjs → productDetail-CnidyrsN.mjs} +3 -3
- package/dist/client/{productList-qq-55DNk.mjs → productList-CttYcS_S.mjs} +3 -3
- package/dist/client/{propsDecoder-BxmqPKdP.mjs → propsDecoder-CeUMxI9a.mjs} +211 -100
- package/dist/client/rendering/client.mjs +428 -151
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +643 -324
- package/dist/client/{scrollToBlock-B3CcKdtG.mjs → scrollToBlock-lPr1oqxB.mjs} +1 -1
- package/dist/client/{shop-DNWJPut5.mjs → shop-DXQtMo2O.mjs} +6 -6
- package/dist/client/{shop-commerce-BhvQCosS.mjs → shop-commerce-quDL411J.mjs} +7 -164
- package/dist/client/{shop-commerce-store-B04sCNnW.mjs → shop-commerce-store-Dnu-8Iub.mjs} +1 -1
- package/dist/client/{shopShared-DNNgZlmW.mjs → shopShared-BWPUURvG.mjs} +3 -3
- package/dist/client/{useEventFilters-CUmhE24_.mjs → useEventFilters-DRhWp2_5.mjs} +3 -3
- package/dist/client/{usePolling-M5jG675x.mjs → usePolling-UN4WKnaM.mjs} +2 -2
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-BEXb1wqo.mjs → sdk-runtime-Ca5RD78X.mjs} +1 -1
- package/dist/{separator-DGMuip1D.mjs → separator-CMhj6BTi.mjs} +1 -1
- package/dist/server/components.mjs +117 -37
- package/dist/server/config-validation.mjs +106 -3
- package/dist/server/config.mjs +106 -3
- package/dist/server/data.mjs +106 -3
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +186 -106
- package/dist/server/page-converter.mjs +105 -2
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +119 -37
- package/dist/server/rendering.mjs +117 -37
- package/dist/server/routing.mjs +132 -73
- package/dist/server/server.mjs +107 -4
- package/dist/server/theme-bridge.mjs +4 -4
- package/package.json +2 -2
- package/dist/client/checkoutUrls-Ct8Mxna3.mjs +0 -26
|
@@ -15,9 +15,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
15
15
|
slug: z.ZodString;
|
|
16
16
|
createdAt: z.ZodNullable<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
17
17
|
role: z.ZodEnum<{
|
|
18
|
-
editor: "editor";
|
|
19
18
|
owner: "owner";
|
|
20
19
|
administrator: "administrator";
|
|
20
|
+
editor: "editor";
|
|
21
21
|
team_member: "team_member";
|
|
22
22
|
}>;
|
|
23
23
|
deploymentMode: z.ZodLiteral<"managed">;
|
|
@@ -31,9 +31,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
31
31
|
slug: z.ZodString;
|
|
32
32
|
createdAt: z.ZodNullable<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
33
33
|
role: z.ZodEnum<{
|
|
34
|
-
editor: "editor";
|
|
35
34
|
owner: "owner";
|
|
36
35
|
administrator: "administrator";
|
|
36
|
+
editor: "editor";
|
|
37
37
|
team_member: "team_member";
|
|
38
38
|
}>;
|
|
39
39
|
deploymentMode: z.ZodLiteral<"headless_cms">;
|
|
@@ -42,9 +42,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
42
42
|
}, z.core.$strip>, z.ZodObject<{
|
|
43
43
|
tag: z.ZodLiteral<"insufficient_role">;
|
|
44
44
|
requiredRole: z.ZodEnum<{
|
|
45
|
-
editor: "editor";
|
|
46
45
|
owner: "owner";
|
|
47
46
|
administrator: "administrator";
|
|
47
|
+
editor: "editor";
|
|
48
48
|
team_member: "team_member";
|
|
49
49
|
}>;
|
|
50
50
|
}, z.core.$strip>], "tag">;
|
|
@@ -54,9 +54,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
54
54
|
slug: z.ZodString;
|
|
55
55
|
createdAt: z.ZodNullable<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
56
56
|
role: z.ZodEnum<{
|
|
57
|
-
editor: "editor";
|
|
58
57
|
owner: "owner";
|
|
59
58
|
administrator: "administrator";
|
|
59
|
+
editor: "editor";
|
|
60
60
|
team_member: "team_member";
|
|
61
61
|
}>;
|
|
62
62
|
deploymentMode: z.ZodLiteral<"headless_full">;
|
|
@@ -65,9 +65,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
65
65
|
}, z.core.$strip>, z.ZodObject<{
|
|
66
66
|
tag: z.ZodLiteral<"insufficient_role">;
|
|
67
67
|
requiredRole: z.ZodEnum<{
|
|
68
|
-
editor: "editor";
|
|
69
68
|
owner: "owner";
|
|
70
69
|
administrator: "administrator";
|
|
70
|
+
editor: "editor";
|
|
71
71
|
team_member: "team_member";
|
|
72
72
|
}>;
|
|
73
73
|
}, z.core.$strip>], "tag">;
|
|
@@ -181,7 +181,7 @@ export declare const APPOINTMENT_ENDPOINT_DEFINITIONS: {
|
|
|
181
181
|
exportAppointmentServicesCsv: {
|
|
182
182
|
path: "/sites/{siteId}/bookings/services/export.csv";
|
|
183
183
|
method: "GET";
|
|
184
|
-
tags: ("site-{siteId}" | "
|
|
184
|
+
tags: ("bookings" | "site-{siteId}" | "appointment-services-{siteId}")[];
|
|
185
185
|
errors: never[];
|
|
186
186
|
auth: "user";
|
|
187
187
|
responseKind: "blob";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TimeSlot } from "./availability";
|
|
2
|
-
import type { BookingPaymentOptionsSource, BookingPaymentTermsConfig,
|
|
2
|
+
import type { BookingPaymentOptionsSource, BookingPaymentTermsConfig, BookingPricing, BookingPricingInput } from "./bookingConfig";
|
|
3
3
|
import type { InviteSiteMemberEmailResult, SiteInvitation, StaffOperationalCapability } from "./accessAdmin";
|
|
4
4
|
import type { CourseEnrollmentRefundFailedCode, EventAttendeeRefundFailedCode } from "./bookingRefundOutcomes";
|
|
5
5
|
/**
|
|
@@ -688,18 +688,7 @@ export type ReferenceOption = {
|
|
|
688
688
|
export type ReferenceOptionsResponse = {
|
|
689
689
|
options: ReferenceOption[];
|
|
690
690
|
};
|
|
691
|
-
export type PublicBookingService
|
|
692
|
-
id: string;
|
|
693
|
-
siteId: string;
|
|
694
|
-
title: string;
|
|
695
|
-
description: string | null;
|
|
696
|
-
durationMinutes: number;
|
|
697
|
-
pricing?: BookingPricing;
|
|
698
|
-
priceAmount: number | null;
|
|
699
|
-
priceCurrency: string | null;
|
|
700
|
-
paymentTerms: BookingPaymentTermsConfig;
|
|
701
|
-
paymentTermsAvailability: PublicBookingPaymentTermsAvailability;
|
|
702
|
-
};
|
|
691
|
+
export type { PublicBookingService } from "./publicBookingService";
|
|
703
692
|
export type PublicBookingAvailabilityQuery = {
|
|
704
693
|
siteId: string;
|
|
705
694
|
serviceId: string;
|
|
@@ -931,4 +920,3 @@ export type BookingSessionListMembershipsResponse = {
|
|
|
931
920
|
export type BookingSessionListPassesResponse = {
|
|
932
921
|
passes: Array<Record<string, unknown>>;
|
|
933
922
|
};
|
|
934
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ApiClient } from './request';
|
|
2
|
-
import type { SensitiveCollectionConfirmationVersion, SensitiveCollectionMode } from '../../core/src/index';
|
|
2
|
+
import type { RichTextDoc, SensitiveCollectionConfirmationVersion, SensitiveCollectionMode } from '../../core/src/index';
|
|
3
3
|
import type { BookingSettingsResponse, UpdateBookingSettingsRequest, CreateCourseRequest, CreateCourseResponse, UpdateCourseRequest, UpdateCourseResponse, DeleteCourseResponse, DeleteEventOfferingResponse, DuplicateCourseRequest, DuplicateCourseResponse, AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, AddEventOccurrenceAttendeeRequest, AddEventOccurrenceAttendeeResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse } from './types';
|
|
4
4
|
export { CUSTOMER_MEMBERSHIP_STATUS_VALUES, CUSTOMER_PASS_STATUS_VALUES, } from './bookingRecords';
|
|
5
5
|
export type { CustomerMembershipStatus, CustomerPassStatus, } from './bookingRecords';
|
|
@@ -64,7 +64,7 @@ export type BookingQuestionFormSummary = {
|
|
|
64
64
|
export type ConsentRequirementConfig = {
|
|
65
65
|
enabled: boolean;
|
|
66
66
|
title: string;
|
|
67
|
-
|
|
67
|
+
agreement: RichTextDoc;
|
|
68
68
|
checkboxLabel: string;
|
|
69
69
|
validityPolicy: BookingRequirementValidityPolicy;
|
|
70
70
|
};
|
|
@@ -8,7 +8,7 @@ export declare const COURSE_ENDPOINT_DEFINITIONS: {
|
|
|
8
8
|
exportCoursesCsv: {
|
|
9
9
|
path: "/sites/{siteId}/bookings/courses/export.csv";
|
|
10
10
|
method: "GET";
|
|
11
|
-
tags: ("site-{siteId}" | "
|
|
11
|
+
tags: ("bookings" | "site-{siteId}" | "courses-{siteId}")[];
|
|
12
12
|
errors: never[];
|
|
13
13
|
auth: "user";
|
|
14
14
|
responseKind: "blob";
|
|
@@ -84,7 +84,7 @@ export declare const COURSE_ENDPOINT_DEFINITIONS: {
|
|
|
84
84
|
exportCourseWaitlistCsv: {
|
|
85
85
|
path: "/sites/{siteId}/bookings/courses/{courseId}/waitlist/export.csv";
|
|
86
86
|
method: "GET";
|
|
87
|
-
tags: ("site-{siteId}" | "
|
|
87
|
+
tags: ("bookings" | "site-{siteId}" | "courses-{courseId}")[];
|
|
88
88
|
auth: "user";
|
|
89
89
|
responseKind: "blob";
|
|
90
90
|
errors: never[];
|
|
@@ -4359,7 +4359,7 @@ export declare const API_ENDPOINTS: {
|
|
|
4359
4359
|
readonly exportCoursesCsv: {
|
|
4360
4360
|
path: "/sites/{siteId}/bookings/courses/export.csv";
|
|
4361
4361
|
method: "GET";
|
|
4362
|
-
tags: ("site-{siteId}" | "
|
|
4362
|
+
tags: ("bookings" | "site-{siteId}" | "courses-{siteId}")[];
|
|
4363
4363
|
errors: never[];
|
|
4364
4364
|
auth: "user";
|
|
4365
4365
|
responseKind: "blob";
|
|
@@ -4435,7 +4435,7 @@ export declare const API_ENDPOINTS: {
|
|
|
4435
4435
|
readonly exportCourseWaitlistCsv: {
|
|
4436
4436
|
path: "/sites/{siteId}/bookings/courses/{courseId}/waitlist/export.csv";
|
|
4437
4437
|
method: "GET";
|
|
4438
|
-
tags: ("site-{siteId}" | "
|
|
4438
|
+
tags: ("bookings" | "site-{siteId}" | "courses-{courseId}")[];
|
|
4439
4439
|
auth: "user";
|
|
4440
4440
|
responseKind: "blob";
|
|
4441
4441
|
errors: never[];
|
|
@@ -4629,7 +4629,7 @@ export declare const API_ENDPOINTS: {
|
|
|
4629
4629
|
readonly exportAppointmentServicesCsv: {
|
|
4630
4630
|
path: "/sites/{siteId}/bookings/services/export.csv";
|
|
4631
4631
|
method: "GET";
|
|
4632
|
-
tags: ("site-{siteId}" | "
|
|
4632
|
+
tags: ("bookings" | "site-{siteId}" | "appointment-services-{siteId}")[];
|
|
4633
4633
|
errors: never[];
|
|
4634
4634
|
auth: "user";
|
|
4635
4635
|
responseKind: "blob";
|
|
@@ -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, NavigationLinkInput, RoutableContentItem, 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, RefundCourseEnrollmentRequest, CourseEnrollmentRefundResult, RefundCourseEnrollmentResponse, 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, CourseEnrollmentRefundHistoryItem, ListCourseEnrollmentRefundsResponse, 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, CourseStatus, CourseMutableStatus, CourseSessionInput, DatedOfferingContentIntent, CoursePageIdentityIntent, CreateCourseRequest, WholeSeriesRunCancellationSettlement, UpdateCourseRequest, DeleteCourseResponse, DeleteEventOfferingResponse, DuplicateCourseRequest, DuplicateCourseResponse, CourseContentOwnershipBlocker, CourseContentOwnershipRequest, CourseContentOwnershipResponse, CourseSeriesRecord, CourseRecord, CreateCourseResponse, UpdateCourseResponse, CourseEnrollmentStatus, CourseEnrollmentPaymentMethod, CourseEnrollmentPaymentStatus, CourseEnrollmentRecord, CourseEnrollmentWithCustomer, ListCourseEnrollmentsResponse, CourseParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse, 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, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundCourseEnrollmentRequest, CourseEnrollmentRefundResult, RefundCourseEnrollmentResponse, 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, CourseEnrollmentRefundHistoryItem, ListCourseEnrollmentRefundsResponse, 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, CourseStatus, CourseMutableStatus, CourseSessionInput, DatedOfferingContentIntent, CoursePageIdentityIntent, CreateCourseRequest, WholeSeriesRunCancellationSettlement, UpdateCourseRequest, DeleteCourseResponse, DeleteEventOfferingResponse, DuplicateCourseRequest, DuplicateCourseResponse, CourseContentOwnershipBlocker, CourseContentOwnershipRequest, CourseContentOwnershipResponse, CourseSeriesRecord, CourseRecord, CreateCourseResponse, UpdateCourseResponse, CourseEnrollmentStatus, CourseEnrollmentPaymentMethod, CourseEnrollmentPaymentStatus, CourseEnrollmentRecord, CourseEnrollmentWithCustomer, ListCourseEnrollmentsResponse, CourseParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse, 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';
|
|
@@ -24,8 +24,8 @@ export declare const cartLinkLabelConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
24
24
|
export declare const cartLinkPayloadSchema: z.ZodObject<{
|
|
25
25
|
kind: z.ZodLiteral<"cart">;
|
|
26
26
|
badge: z.ZodEnum<{
|
|
27
|
-
"show-count": "show-count";
|
|
28
27
|
hidden: "hidden";
|
|
28
|
+
"show-count": "show-count";
|
|
29
29
|
}>;
|
|
30
30
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31
31
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -41,6 +41,7 @@ export declare const internalLinkPayloadSchema: z.ZodObject<{
|
|
|
41
41
|
entityType: z.ZodEnum<{
|
|
42
42
|
content: "content";
|
|
43
43
|
page: "page";
|
|
44
|
+
pageSurface: "pageSurface";
|
|
44
45
|
}>;
|
|
45
46
|
href: z.ZodString;
|
|
46
47
|
title: z.ZodString;
|
|
@@ -73,6 +74,7 @@ export declare const linkPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
73
74
|
entityType: z.ZodEnum<{
|
|
74
75
|
content: "content";
|
|
75
76
|
page: "page";
|
|
77
|
+
pageSurface: "pageSurface";
|
|
76
78
|
}>;
|
|
77
79
|
href: z.ZodString;
|
|
78
80
|
title: z.ZodString;
|
|
@@ -103,8 +105,8 @@ export declare const linkPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
103
105
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
106
|
kind: z.ZodLiteral<"cart">;
|
|
105
107
|
badge: z.ZodEnum<{
|
|
106
|
-
"show-count": "show-count";
|
|
107
108
|
hidden: "hidden";
|
|
109
|
+
"show-count": "show-count";
|
|
108
110
|
}>;
|
|
109
111
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
110
112
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -136,8 +138,8 @@ export declare const navigationLinkInputSchemaOptions: readonly [z.ZodObject<{
|
|
|
136
138
|
}, z.core.$strip>, z.ZodObject<{
|
|
137
139
|
kind: z.ZodLiteral<"cart">;
|
|
138
140
|
badge: z.ZodEnum<{
|
|
139
|
-
"show-count": "show-count";
|
|
140
141
|
hidden: "hidden";
|
|
142
|
+
"show-count": "show-count";
|
|
141
143
|
}>;
|
|
142
144
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
143
145
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -169,8 +171,8 @@ export declare const navigationLinkInputSchema: z.ZodDiscriminatedUnion<readonly
|
|
|
169
171
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
172
|
kind: z.ZodLiteral<"cart">;
|
|
171
173
|
badge: z.ZodEnum<{
|
|
172
|
-
"show-count": "show-count";
|
|
173
174
|
hidden: "hidden";
|
|
175
|
+
"show-count": "show-count";
|
|
174
176
|
}>;
|
|
175
177
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
176
178
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -186,6 +188,7 @@ export declare const dashboardNavigationLinkSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
186
188
|
entityType: z.ZodEnum<{
|
|
187
189
|
content: "content";
|
|
188
190
|
page: "page";
|
|
191
|
+
pageSurface: "pageSurface";
|
|
189
192
|
}>;
|
|
190
193
|
href: z.ZodString;
|
|
191
194
|
title: z.ZodString;
|
|
@@ -216,8 +219,8 @@ export declare const dashboardNavigationLinkSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
216
219
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
220
|
kind: z.ZodLiteral<"cart">;
|
|
218
221
|
badge: z.ZodEnum<{
|
|
219
|
-
"show-count": "show-count";
|
|
220
222
|
hidden: "hidden";
|
|
223
|
+
"show-count": "show-count";
|
|
221
224
|
}>;
|
|
222
225
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
223
226
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -249,8 +252,8 @@ export declare const sdkNavigationLinkInputSchema: z.ZodDiscriminatedUnion<reado
|
|
|
249
252
|
}, z.core.$strip>, z.ZodObject<{
|
|
250
253
|
kind: z.ZodLiteral<"cart">;
|
|
251
254
|
badge: z.ZodEnum<{
|
|
252
|
-
"show-count": "show-count";
|
|
253
255
|
hidden: "hidden";
|
|
256
|
+
"show-count": "show-count";
|
|
254
257
|
}>;
|
|
255
258
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
256
259
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -15,11 +15,15 @@ export declare function isInternalLink(link: LinkPayload | null | undefined): li
|
|
|
15
15
|
/**
|
|
16
16
|
* Narrow internal link to page type.
|
|
17
17
|
*/
|
|
18
|
-
export declare function isPageLink(link: InternalLinkRoutablePayload):
|
|
18
|
+
export declare function isPageLink(link: InternalLinkRoutablePayload): link is InternalLinkRoutablePayload & {
|
|
19
|
+
entityType: 'page';
|
|
20
|
+
};
|
|
19
21
|
/**
|
|
20
22
|
* Narrow internal link to content/entry type.
|
|
21
23
|
*/
|
|
22
|
-
export declare function isEntryLink(link: InternalLinkRoutablePayload):
|
|
24
|
+
export declare function isEntryLink(link: InternalLinkRoutablePayload): link is InternalLinkRoutablePayload & {
|
|
25
|
+
entityType: 'content';
|
|
26
|
+
};
|
|
23
27
|
/**
|
|
24
28
|
* Resolve a navigation link input to URL type and link payload.
|
|
25
29
|
*
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
* matcher, and dashboard management layers.
|
|
7
7
|
*/
|
|
8
8
|
import type { DbRow } from '../../../db/src/index';
|
|
9
|
+
import type { ResolvedInternalLinkEntityType } from '../../../blocks/src/index';
|
|
9
10
|
export type InternalLinkRoutablePayload = {
|
|
10
11
|
kind: 'internal';
|
|
11
12
|
routeId: string;
|
|
12
13
|
entityId: string;
|
|
13
|
-
entityType:
|
|
14
|
+
entityType: ResolvedInternalLinkEntityType;
|
|
14
15
|
href: string;
|
|
15
16
|
title: string;
|
|
16
17
|
typeLabel: string;
|
|
@@ -64,13 +65,9 @@ export type NavigationLinkInput = PageLinkPayload | EntryLinkPayload | {
|
|
|
64
65
|
kind: 'url';
|
|
65
66
|
href: string;
|
|
66
67
|
} | PortalLinkPayload | CartLinkPayload;
|
|
67
|
-
|
|
68
|
+
type RoutableContentItemBase = {
|
|
68
69
|
routeId: string;
|
|
69
70
|
entityId: string;
|
|
70
|
-
entityType: 'page' | 'content';
|
|
71
|
-
identifier: string | null;
|
|
72
|
-
contentTypeKey?: string | null;
|
|
73
|
-
contentTypeName?: string | null;
|
|
74
71
|
title: string;
|
|
75
72
|
draftTitle: string | null;
|
|
76
73
|
path: string;
|
|
@@ -80,6 +77,25 @@ export type RoutableContentItem = {
|
|
|
80
77
|
typeLabel: string;
|
|
81
78
|
updatedAt: string | null;
|
|
82
79
|
};
|
|
80
|
+
export type PageRoutableContentItem = RoutableContentItemBase & {
|
|
81
|
+
entityType: 'page';
|
|
82
|
+
identifier: string | null;
|
|
83
|
+
contentTypeKey: 'page';
|
|
84
|
+
contentTypeName: 'Page';
|
|
85
|
+
};
|
|
86
|
+
export type EntryRoutableContentItem = RoutableContentItemBase & {
|
|
87
|
+
entityType: 'content';
|
|
88
|
+
identifier: string | null;
|
|
89
|
+
contentTypeKey: string;
|
|
90
|
+
contentTypeName: string | null;
|
|
91
|
+
};
|
|
92
|
+
export type PageSurfaceRoutableContentItem = RoutableContentItemBase & {
|
|
93
|
+
entityType: 'pageSurface';
|
|
94
|
+
identifier: null;
|
|
95
|
+
contentTypeKey: null;
|
|
96
|
+
contentTypeName: null;
|
|
97
|
+
};
|
|
98
|
+
export type RoutableContentItem = PageRoutableContentItem | EntryRoutableContentItem | PageSurfaceRoutableContentItem;
|
|
83
99
|
export type SitemapRouteItem = {
|
|
84
100
|
path: string;
|
|
85
101
|
lastModified: string | null;
|
|
@@ -146,3 +162,4 @@ export interface NavigationItemInput {
|
|
|
146
162
|
isCta?: boolean;
|
|
147
163
|
children?: NavigationItemInput[];
|
|
148
164
|
}
|
|
165
|
+
export {};
|
|
@@ -23,7 +23,7 @@ export type { DashboardMoneyNavSurfaceId, DashboardShopNavSurfaceId, } from './n
|
|
|
23
23
|
export type { ActionableNavigationMenuMatchPlan, NavigationMenuIdentifier, NavigationMenuIdentifierParseError, NavigationMenuIdentity, NavigationMenuIdentityInput, NavigationMenuMatchCandidate, NavigationMenuMatchFailure, NavigationMenuMatchInput, NavigationMenuMatchPlan, } from './navigation/identity';
|
|
24
24
|
export { linkPayloadToValue, linkValueToPayload, toInternalLinkValue, toPersistableNavigationLinkValue, } from './navigation/linkValue';
|
|
25
25
|
export type { PersistableNavigationLinkError, PersistableNavigationLinkResult, PersistableNavigationLinkValue, } from './navigation/linkValue';
|
|
26
|
-
export type { CartLinkLabelConfig, CartLinkPayload, EntryLinkPayload, InternalLinkRoutablePayload, LinkResolutionOptions, LinkPayload, NavigationLinkInput, NavigationUrlType, PageLinkPayload, PortalLinkPayload, ResolvedNavigationLink, RoutableContentItem, SitemapRouteItem, } from './navigation/types';
|
|
26
|
+
export type { CartLinkLabelConfig, CartLinkPayload, EntryLinkPayload, InternalLinkRoutablePayload, PageRoutableContentItem, EntryRoutableContentItem, PageSurfaceRoutableContentItem, LinkResolutionOptions, LinkPayload, NavigationLinkInput, NavigationUrlType, PageLinkPayload, PortalLinkPayload, ResolvedNavigationLink, RoutableContentItem, SitemapRouteItem, } from './navigation/types';
|
|
27
27
|
export { matchNavigationItems } from './navigation/matcher';
|
|
28
28
|
export type { ItemMatch, MatchResult } from './navigation/matcher';
|
|
29
29
|
export type { EntryNavLinkInfo, NavigationItemForMatching, NavigationItemInput, NavigationReferenceMaps, PageNavLinkInfo, } from './navigation/types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BookingPaymentTermsConfig, BookingPricing, PublicBookingPaymentTermsAvailability } from "./bookingConfig";
|
|
2
|
+
import type { BookingConsent } from "../../core/src/index";
|
|
3
|
+
export type PublicBookingService = {
|
|
4
|
+
id: string;
|
|
5
|
+
siteId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string | null;
|
|
8
|
+
durationMinutes: number;
|
|
9
|
+
pricing?: BookingPricing;
|
|
10
|
+
priceAmount: number | null;
|
|
11
|
+
priceCurrency: string | null;
|
|
12
|
+
paymentTerms: BookingPaymentTermsConfig;
|
|
13
|
+
paymentTermsAvailability: PublicBookingPaymentTermsAvailability;
|
|
14
|
+
consent?: BookingConsent;
|
|
15
|
+
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
6
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
-
import type { PublicEventBookingAvailability, PublicEventPricing } from '../../../core/src/index';
|
|
7
|
+
import type { BookingConsent, PublicEventBookingAvailability, PublicEventPricing } from '../../../core/src/index';
|
|
8
8
|
import type { PublicEventDestination } from '../event-listing-destination';
|
|
9
9
|
import type { BookingPaymentTermsConfig, BookingPricing, DirectCheckoutCollectionOptionKind, EventAttendanceMode, EventDeliveryMode, EventPricingMode, PublicEventEligibilityTicketTypeRecord, PublicEventTicketTypeRecord } from '../bookingConfig';
|
|
10
10
|
import type { EventPreset } from '../../../core/src/index';
|
|
@@ -90,6 +90,7 @@ export type PublicEventAPIEndpoints = {
|
|
|
90
90
|
status?: 'active' | 'draft' | 'cancelled' | 'completed' | 'archived';
|
|
91
91
|
pricing: PublicEventPricing<PublicEventTicketTypeRecord>;
|
|
92
92
|
paymentTerms: BookingPaymentTermsConfig;
|
|
93
|
+
consent: BookingConsent | null;
|
|
93
94
|
accessRestriction: 'none' | 'category';
|
|
94
95
|
allowedCategoryIds: string[];
|
|
95
96
|
requireGuestDetails?: boolean;
|
|
@@ -169,6 +170,7 @@ export type PublicEventAPIEndpoints = {
|
|
|
169
170
|
phone?: string;
|
|
170
171
|
notes?: string;
|
|
171
172
|
formData?: Record<string, unknown>;
|
|
173
|
+
consentAccepted?: boolean;
|
|
172
174
|
altchaSolution?: string | null;
|
|
173
175
|
paymentMethod?: 'free' | 'pass' | 'membership' | 'stripe' | 'pass_bundle' | 'membership_bundle';
|
|
174
176
|
customerPassId?: string;
|
|
@@ -60,6 +60,7 @@ export type PublicWholeSeriesAPIEndpoints = {
|
|
|
60
60
|
name: string;
|
|
61
61
|
phone?: string;
|
|
62
62
|
formData?: Record<string, unknown>;
|
|
63
|
+
consentAccepted?: boolean;
|
|
63
64
|
altchaSolution?: string | null;
|
|
64
65
|
paymentMethod?: 'free' | 'membership';
|
|
65
66
|
customerMembershipId?: string;
|
|
@@ -127,6 +128,7 @@ export type PublicWholeSeriesAPIEndpoints = {
|
|
|
127
128
|
name: string;
|
|
128
129
|
phone?: string;
|
|
129
130
|
formData?: Record<string, unknown>;
|
|
131
|
+
consentAccepted?: boolean;
|
|
130
132
|
altchaSolution?: string | null;
|
|
131
133
|
discountCode?: string;
|
|
132
134
|
successUrl: string;
|
|
@@ -19,8 +19,8 @@ export declare const sdkEventUpsertOptionalFieldSchemas: {
|
|
|
19
19
|
cancelled: "cancelled";
|
|
20
20
|
}>>;
|
|
21
21
|
readonly visibility: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
public: "public";
|
|
23
22
|
private: "private";
|
|
23
|
+
public: "public";
|
|
24
24
|
unlisted: "unlisted";
|
|
25
25
|
}>>;
|
|
26
26
|
readonly preset: z.ZodOptional<z.ZodEnum<{
|