@riverbankcms/sdk 0.96.0 → 0.98.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/README.md +20 -1
- package/dist/{PreviewEditorSidebar-46VT4QVU.mjs → PreviewEditorSidebar-CG3SSJND.mjs} +3 -3
- package/dist/{PreviewEditorUI-JD75GE5F.mjs → PreviewEditorUI-RHNGKAAU.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-OV5PNJBB.mjs +8 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +35 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +246 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +109 -40
- package/dist/_dts/api/src/endpoints.d.ts +80 -0
- package/dist/_dts/api/src/index.d.ts +3 -2
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +7 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -1
- package/dist/_dts/blocks/src/bindings/types.d.ts +0 -4
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +7 -0
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +12 -12
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/weekly-slot-availability.d.ts +34 -0
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +4 -1
- package/dist/_dts/blocks/src/system/node/builder.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/schema.d.ts +13 -0
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAppointmentCheckoutVerification.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +133 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.controller.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.state.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.server.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.view.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +31 -1
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +5 -0
- package/dist/_dts/blocks/src/utils/date-formatting.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewInlineTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +5 -5
- package/dist/_dts/content-model/src/templates/types.d.ts +2 -6
- package/dist/_dts/core/src/branded.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +505 -2
- package/dist/_dts/field-primitives/src/bindings/index.d.ts +8 -0
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +9 -3
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +34 -0
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +16 -14
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -4
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +6 -7
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/push-config.d.ts +13 -2
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +51 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +21 -0
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +1 -1
- package/dist/_dts/sdk/src/client/types.d.ts +18 -2
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/bindings.d.ts +3 -7
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +13 -0
- package/dist/_dts/sdk/src/next/route-outcome-proxy.d.ts +3 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +174 -78
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +52 -1
- package/dist/_dts/sdk/src/rendering/hooks/usePage.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +18 -66
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/{chunk-EL55VV6Q.mjs → chunk-6WDBXCPX.mjs} +31 -10
- package/dist/{chunk-XMATDBXO.mjs → chunk-DBRI3PQF.mjs} +731 -180
- package/dist/{chunk-VHIMXQ7Z.mjs → chunk-H24OU7WG.mjs} +2 -2
- package/dist/{chunk-4TLTV7OB.mjs → chunk-PKDPQHB5.mjs} +2 -2
- package/dist/{chunk-VTPPVAOL.mjs → chunk-QPXE2OUZ.mjs} +1 -1
- package/dist/{chunk-7ED5UNHL.mjs → chunk-V2BYFSPW.mjs} +109 -0
- package/dist/cli/index.mjs +2131 -1033
- package/dist/cli/init-docs/content/cli-reference.md +29 -1
- package/dist/cli/init-docs/content/getting-started.md +8 -0
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +3 -1
- package/dist/cli/init-docs/content/workflow-preview-mode.md +6 -0
- package/dist/cli/init-docs/content/workflow-remote-setup.md +51 -0
- package/dist/client/{accordion-GUNXIIZR.mjs → accordion-Q2BDNL53.mjs} +1 -1
- package/dist/client/{bookingForm-AOU4VHP5.mjs → bookingForm-ZMP4P7EK.mjs} +16 -6
- package/dist/client/bookings.mjs +98 -18
- package/dist/client/{carousel-4QSX2JPC.mjs → carousel-LW3UXPWO.mjs} +1 -1
- package/dist/client/{cart-JKN6C4ZB.mjs → cart-Z6D3KS6K.mjs} +5 -5
- package/dist/client/{checkout-YY6YMITW.mjs → checkout-YMT2QJQM.mjs} +5 -5
- package/dist/client/{chunk-6H27K6AA.mjs → chunk-26ZBRXFR.mjs} +9 -3
- package/dist/client/{chunk-VJROUYOQ.mjs → chunk-DRRQ7QSL.mjs} +2 -2
- package/dist/client/{chunk-BFCJZODD.mjs → chunk-ET2MDQQT.mjs} +4 -4
- package/dist/client/{chunk-H7A6PUGM.mjs → chunk-HBQEAOG4.mjs} +1 -1
- package/dist/client/{chunk-CPKMJVBD.mjs → chunk-IEOECM7U.mjs} +62 -43
- package/dist/client/{chunk-TNGL2WJF.mjs → chunk-KDP7ZRZV.mjs} +16 -0
- package/dist/client/{chunk-GWCRCJLB.mjs → chunk-R4XK3CKR.mjs} +12 -1
- package/dist/client/{chunk-A3YN7M3G.mjs → chunk-SK2BMD22.mjs} +2 -2
- package/dist/client/{chunk-SY543WZ3.mjs → chunk-XNTHVZ25.mjs} +1 -1
- package/dist/client/client.mjs +3729 -3054
- package/dist/client/{courseRegistration-UU2KMPSQ.mjs → courseRegistration-DGKCMC77.mjs} +4 -4
- package/dist/client/{eventCalendar-WIVNS2TM.mjs → eventCalendar-74Z2NNFM.mjs} +7 -7
- package/dist/client/{eventCombined-P3G5MW4J.mjs → eventCombined-GK2ODOX2.mjs} +7 -7
- package/dist/client/{eventDetails-2VHJ2RDG.mjs → eventDetails-MONAGT3N.mjs} +7 -7
- package/dist/client/{eventListing-TGO6JI3R.mjs → eventListing-SKGAO6PS.mjs} +7 -7
- package/dist/client/{eventRegistration-B46HEJES.mjs → eventRegistration-6KISGXRD.mjs} +7 -7
- package/dist/client/{form-VKRTFUNQ.mjs → form-FXPRTXHI.mjs} +2 -2
- package/dist/client/{headerSection-XUX4ZJLO.mjs → headerSection-7NAN5WNB.mjs} +2 -2
- package/dist/client/hooks.mjs +1661 -1334
- package/dist/client/{locationMap-NQFI5MJO.mjs → locationMap-UERN74U4.mjs} +2 -2
- package/dist/client/{newsletterForm-P2GETCQK.mjs → newsletterForm-SGWXMJ7U.mjs} +2 -2
- package/dist/client/{productDetail-7NQ7O5IF.mjs → productDetail-HN3HWZQZ.mjs} +5 -5
- package/dist/client/{productList-RX6ZJ7BL.mjs → productList-YT22Z5UR.mjs} +5 -5
- package/dist/client/rendering/client.mjs +2208 -1922
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +1497 -811
- package/dist/client/{shop-BHN5AKY6.mjs → shop-TKEDNWUS.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +109 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +109 -0
- package/dist/{sdk-runtime-X2LXQ5IC.mjs → sdk-runtime-LWNYCQF2.mjs} +6 -6
- package/dist/server/components.mjs +2351 -1872
- package/dist/server/config-template-validation.mjs +6 -2
- package/dist/server/config-validation.mjs +1861 -1561
- package/dist/server/config.mjs +1861 -1561
- package/dist/server/data.mjs +1647 -1331
- package/dist/server/index.mjs +208 -9
- package/dist/server/next/middleware.mjs +2 -2
- package/dist/server/next.mjs +2572 -1878
- package/dist/server/page-converter.mjs +1461 -1276
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2372 -1875
- package/dist/server/rendering.mjs +2557 -1941
- package/dist/server/routing.mjs +1716 -1353
- package/dist/server/server.mjs +1911 -1380
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-MJUSYUFB.mjs +0 -8
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { mountShopBlockIsland, ShopClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, ShopClient } from './chunk-ET2MDQQT.mjs';
|
|
2
|
+
import './chunk-HBQEAOG4.mjs';
|
|
3
3
|
import './chunk-JNE6UI6U.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
5
|
import './chunk-L4J5Y62O.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-SK2BMD22.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-WBQG7VJA.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-KDP7ZRZV.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-R4XK3CKR.mjs';
|
|
12
12
|
import './chunk-PCHACQEB.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/shop.tsx
|
|
@@ -1073,6 +1073,94 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
1073
1073
|
responseKind: "json",
|
|
1074
1074
|
errors: ["resource:not_found", "server:internal_error"]
|
|
1075
1075
|
},
|
|
1076
|
+
listAppointmentReservations: {
|
|
1077
|
+
path: "/sites/{siteId}/bookings/appointment-reservations",
|
|
1078
|
+
method: "GET",
|
|
1079
|
+
auth: "user",
|
|
1080
|
+
responseKind: "json",
|
|
1081
|
+
errors: []
|
|
1082
|
+
},
|
|
1083
|
+
createAppointmentReservation: {
|
|
1084
|
+
path: "/sites/{siteId}/bookings/appointment-reservations",
|
|
1085
|
+
method: "POST",
|
|
1086
|
+
auth: "user",
|
|
1087
|
+
responseKind: "json",
|
|
1088
|
+
errors: [
|
|
1089
|
+
"validation:invalid_input",
|
|
1090
|
+
"resource:not_found",
|
|
1091
|
+
"resource:conflict",
|
|
1092
|
+
"server:internal_error"
|
|
1093
|
+
]
|
|
1094
|
+
},
|
|
1095
|
+
getAppointmentReservation: {
|
|
1096
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}",
|
|
1097
|
+
method: "GET",
|
|
1098
|
+
auth: "user",
|
|
1099
|
+
responseKind: "json",
|
|
1100
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
1101
|
+
},
|
|
1102
|
+
updateAppointmentReservation: {
|
|
1103
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}",
|
|
1104
|
+
method: "PUT",
|
|
1105
|
+
auth: "user",
|
|
1106
|
+
responseKind: "json",
|
|
1107
|
+
errors: [
|
|
1108
|
+
"validation:invalid_input",
|
|
1109
|
+
"resource:not_found",
|
|
1110
|
+
"resource:conflict",
|
|
1111
|
+
"server:internal_error"
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
pauseAppointmentReservation: {
|
|
1115
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/pause",
|
|
1116
|
+
method: "POST",
|
|
1117
|
+
auth: "user",
|
|
1118
|
+
responseKind: "json",
|
|
1119
|
+
errors: ["resource:not_found", "resource:conflict", "server:internal_error"]
|
|
1120
|
+
},
|
|
1121
|
+
resumeAppointmentReservation: {
|
|
1122
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/resume",
|
|
1123
|
+
method: "POST",
|
|
1124
|
+
auth: "user",
|
|
1125
|
+
responseKind: "json",
|
|
1126
|
+
errors: ["resource:not_found", "resource:conflict", "server:internal_error"]
|
|
1127
|
+
},
|
|
1128
|
+
endAppointmentReservation: {
|
|
1129
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/end",
|
|
1130
|
+
method: "POST",
|
|
1131
|
+
auth: "user",
|
|
1132
|
+
responseKind: "json",
|
|
1133
|
+
errors: [
|
|
1134
|
+
"validation:invalid_input",
|
|
1135
|
+
"resource:not_found",
|
|
1136
|
+
"resource:conflict",
|
|
1137
|
+
"server:internal_error"
|
|
1138
|
+
]
|
|
1139
|
+
},
|
|
1140
|
+
previewAppointmentReservationRun: {
|
|
1141
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/run-preview",
|
|
1142
|
+
method: "POST",
|
|
1143
|
+
auth: "user",
|
|
1144
|
+
responseKind: "json",
|
|
1145
|
+
errors: [
|
|
1146
|
+
"validation:invalid_input",
|
|
1147
|
+
"resource:not_found",
|
|
1148
|
+
"resource:conflict",
|
|
1149
|
+
"server:internal_error"
|
|
1150
|
+
]
|
|
1151
|
+
},
|
|
1152
|
+
createAppointmentReservationRun: {
|
|
1153
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/runs",
|
|
1154
|
+
method: "POST",
|
|
1155
|
+
auth: "user",
|
|
1156
|
+
responseKind: "json",
|
|
1157
|
+
errors: [
|
|
1158
|
+
"validation:invalid_input",
|
|
1159
|
+
"resource:not_found",
|
|
1160
|
+
"resource:conflict",
|
|
1161
|
+
"server:internal_error"
|
|
1162
|
+
]
|
|
1163
|
+
},
|
|
1076
1164
|
createTeamMemberProfile: {
|
|
1077
1165
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile",
|
|
1078
1166
|
method: "POST",
|
|
@@ -3529,6 +3617,18 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
3529
3617
|
responseKind: "json",
|
|
3530
3618
|
errors: ["validation:invalid_input", "server:internal_error"]
|
|
3531
3619
|
},
|
|
3620
|
+
resolveRouteDecision: {
|
|
3621
|
+
path: "/sites/{siteId}/route-decision",
|
|
3622
|
+
method: "GET",
|
|
3623
|
+
tags: [
|
|
3624
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
3625
|
+
TAG_TEMPLATES.siteRedirects,
|
|
3626
|
+
TAG_TEMPLATES.siteRouteOutcomes
|
|
3627
|
+
],
|
|
3628
|
+
auth: "public",
|
|
3629
|
+
responseKind: "json",
|
|
3630
|
+
errors: ["validation:invalid_input", "server:internal_error"]
|
|
3631
|
+
},
|
|
3532
3632
|
getPageByPath: {
|
|
3533
3633
|
path: "/sites/{siteId}/pages",
|
|
3534
3634
|
method: "GET",
|
|
@@ -3667,6 +3767,15 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
3667
3767
|
auth: "public",
|
|
3668
3768
|
responseKind: "json"
|
|
3669
3769
|
},
|
|
3770
|
+
getPublicWeeklySlotAvailability: {
|
|
3771
|
+
path: "/public/bookings/weekly-slot-availability",
|
|
3772
|
+
method: "GET",
|
|
3773
|
+
revalidate: 60,
|
|
3774
|
+
tags: ["site-{siteId}"],
|
|
3775
|
+
auth: "public",
|
|
3776
|
+
responseKind: "json",
|
|
3777
|
+
errors: []
|
|
3778
|
+
},
|
|
3670
3779
|
createPublicBookingAppointment: {
|
|
3671
3780
|
path: "/public/bookings/appointments",
|
|
3672
3781
|
method: "POST",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { PreviewLayoutProvider, PreviewQueryProvider, createPreviewQueryClient, useOptionalPreviewLayout, usePreviewLayout } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
2
|
+
export { PreviewLayoutProvider, PreviewQueryProvider, createPreviewQueryClient, useOptionalPreviewLayout, usePreviewLayout } from '../../chunk-QPXE2OUZ.mjs';
|
|
3
|
+
import '../../chunk-V2BYFSPW.mjs';
|
|
4
4
|
import '../../chunk-R7POPVJR.mjs';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var LazySdkPreviewMode = React.lazy(async () => {
|
|
9
|
-
const mod = await import('../../SdkPreviewModeRuntime-
|
|
9
|
+
const mod = await import('../../SdkPreviewModeRuntime-OV5PNJBB.mjs');
|
|
10
10
|
return {
|
|
11
11
|
default: mod.SdkPreviewModeRuntime
|
|
12
12
|
};
|
|
13
13
|
});
|
|
14
14
|
var LazyPreviewShell = React.lazy(async () => {
|
|
15
|
-
const mod = await import('../../sdk-runtime-
|
|
15
|
+
const mod = await import('../../sdk-runtime-LWNYCQF2.mjs');
|
|
16
16
|
return {
|
|
17
17
|
default: mod.PreviewShell
|
|
18
18
|
};
|
|
19
19
|
});
|
|
20
20
|
var LazyPreviewShellLayout = React.lazy(async () => {
|
|
21
|
-
const mod = await import('../../sdk-runtime-
|
|
21
|
+
const mod = await import('../../sdk-runtime-LWNYCQF2.mjs');
|
|
22
22
|
return {
|
|
23
23
|
default: mod.PreviewShellLayout
|
|
24
24
|
};
|
|
@@ -1079,6 +1079,94 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
1079
1079
|
responseKind: "json",
|
|
1080
1080
|
errors: ["resource:not_found", "server:internal_error"]
|
|
1081
1081
|
},
|
|
1082
|
+
listAppointmentReservations: {
|
|
1083
|
+
path: "/sites/{siteId}/bookings/appointment-reservations",
|
|
1084
|
+
method: "GET",
|
|
1085
|
+
auth: "user",
|
|
1086
|
+
responseKind: "json",
|
|
1087
|
+
errors: []
|
|
1088
|
+
},
|
|
1089
|
+
createAppointmentReservation: {
|
|
1090
|
+
path: "/sites/{siteId}/bookings/appointment-reservations",
|
|
1091
|
+
method: "POST",
|
|
1092
|
+
auth: "user",
|
|
1093
|
+
responseKind: "json",
|
|
1094
|
+
errors: [
|
|
1095
|
+
"validation:invalid_input",
|
|
1096
|
+
"resource:not_found",
|
|
1097
|
+
"resource:conflict",
|
|
1098
|
+
"server:internal_error"
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
getAppointmentReservation: {
|
|
1102
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}",
|
|
1103
|
+
method: "GET",
|
|
1104
|
+
auth: "user",
|
|
1105
|
+
responseKind: "json",
|
|
1106
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
1107
|
+
},
|
|
1108
|
+
updateAppointmentReservation: {
|
|
1109
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}",
|
|
1110
|
+
method: "PUT",
|
|
1111
|
+
auth: "user",
|
|
1112
|
+
responseKind: "json",
|
|
1113
|
+
errors: [
|
|
1114
|
+
"validation:invalid_input",
|
|
1115
|
+
"resource:not_found",
|
|
1116
|
+
"resource:conflict",
|
|
1117
|
+
"server:internal_error"
|
|
1118
|
+
]
|
|
1119
|
+
},
|
|
1120
|
+
pauseAppointmentReservation: {
|
|
1121
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/pause",
|
|
1122
|
+
method: "POST",
|
|
1123
|
+
auth: "user",
|
|
1124
|
+
responseKind: "json",
|
|
1125
|
+
errors: ["resource:not_found", "resource:conflict", "server:internal_error"]
|
|
1126
|
+
},
|
|
1127
|
+
resumeAppointmentReservation: {
|
|
1128
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/resume",
|
|
1129
|
+
method: "POST",
|
|
1130
|
+
auth: "user",
|
|
1131
|
+
responseKind: "json",
|
|
1132
|
+
errors: ["resource:not_found", "resource:conflict", "server:internal_error"]
|
|
1133
|
+
},
|
|
1134
|
+
endAppointmentReservation: {
|
|
1135
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/end",
|
|
1136
|
+
method: "POST",
|
|
1137
|
+
auth: "user",
|
|
1138
|
+
responseKind: "json",
|
|
1139
|
+
errors: [
|
|
1140
|
+
"validation:invalid_input",
|
|
1141
|
+
"resource:not_found",
|
|
1142
|
+
"resource:conflict",
|
|
1143
|
+
"server:internal_error"
|
|
1144
|
+
]
|
|
1145
|
+
},
|
|
1146
|
+
previewAppointmentReservationRun: {
|
|
1147
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/run-preview",
|
|
1148
|
+
method: "POST",
|
|
1149
|
+
auth: "user",
|
|
1150
|
+
responseKind: "json",
|
|
1151
|
+
errors: [
|
|
1152
|
+
"validation:invalid_input",
|
|
1153
|
+
"resource:not_found",
|
|
1154
|
+
"resource:conflict",
|
|
1155
|
+
"server:internal_error"
|
|
1156
|
+
]
|
|
1157
|
+
},
|
|
1158
|
+
createAppointmentReservationRun: {
|
|
1159
|
+
path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/runs",
|
|
1160
|
+
method: "POST",
|
|
1161
|
+
auth: "user",
|
|
1162
|
+
responseKind: "json",
|
|
1163
|
+
errors: [
|
|
1164
|
+
"validation:invalid_input",
|
|
1165
|
+
"resource:not_found",
|
|
1166
|
+
"resource:conflict",
|
|
1167
|
+
"server:internal_error"
|
|
1168
|
+
]
|
|
1169
|
+
},
|
|
1082
1170
|
createTeamMemberProfile: {
|
|
1083
1171
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile",
|
|
1084
1172
|
method: "POST",
|
|
@@ -3535,6 +3623,18 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
3535
3623
|
responseKind: "json",
|
|
3536
3624
|
errors: ["validation:invalid_input", "server:internal_error"]
|
|
3537
3625
|
},
|
|
3626
|
+
resolveRouteDecision: {
|
|
3627
|
+
path: "/sites/{siteId}/route-decision",
|
|
3628
|
+
method: "GET",
|
|
3629
|
+
tags: [
|
|
3630
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
3631
|
+
TAG_TEMPLATES.siteRedirects,
|
|
3632
|
+
TAG_TEMPLATES.siteRouteOutcomes
|
|
3633
|
+
],
|
|
3634
|
+
auth: "public",
|
|
3635
|
+
responseKind: "json",
|
|
3636
|
+
errors: ["validation:invalid_input", "server:internal_error"]
|
|
3637
|
+
},
|
|
3538
3638
|
getPageByPath: {
|
|
3539
3639
|
path: "/sites/{siteId}/pages",
|
|
3540
3640
|
method: "GET",
|
|
@@ -3673,6 +3773,15 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
3673
3773
|
auth: "public",
|
|
3674
3774
|
responseKind: "json"
|
|
3675
3775
|
},
|
|
3776
|
+
getPublicWeeklySlotAvailability: {
|
|
3777
|
+
path: "/public/bookings/weekly-slot-availability",
|
|
3778
|
+
method: "GET",
|
|
3779
|
+
revalidate: 60,
|
|
3780
|
+
tags: ["site-{siteId}"],
|
|
3781
|
+
auth: "public",
|
|
3782
|
+
responseKind: "json",
|
|
3783
|
+
errors: []
|
|
3784
|
+
},
|
|
3676
3785
|
createPublicBookingAppointment: {
|
|
3677
3786
|
path: "/public/bookings/appointments",
|
|
3678
3787
|
method: "POST",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { PreviewShell, PreviewShellLayout, SdkPreviewModeRuntime as SdkPreviewMode } from './chunk-
|
|
3
|
-
export { PreviewLayoutProvider, PreviewQueryProvider, createPreviewQueryClient, useOptionalPreviewLayout, usePreviewLayout } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
2
|
+
export { PreviewShell, PreviewShellLayout, SdkPreviewModeRuntime as SdkPreviewMode } from './chunk-6WDBXCPX.mjs';
|
|
3
|
+
export { PreviewLayoutProvider, PreviewQueryProvider, createPreviewQueryClient, useOptionalPreviewLayout, usePreviewLayout } from './chunk-QPXE2OUZ.mjs';
|
|
4
|
+
import './chunk-H24OU7WG.mjs';
|
|
5
|
+
import './chunk-PKDPQHB5.mjs';
|
|
6
|
+
import './chunk-DBRI3PQF.mjs';
|
|
7
|
+
import './chunk-V2BYFSPW.mjs';
|
|
8
8
|
import './chunk-R7POPVJR.mjs';
|