@riverbankcms/sdk 0.64.0 → 0.68.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 (126) hide show
  1. package/README.md +21 -11
  2. package/dist/_dts/api/src/aiPlayground.d.ts +75 -20
  3. package/dist/_dts/api/src/apiEndpointTypes.d.ts +12 -0
  4. package/dist/_dts/api/src/billing.d.ts +7 -40
  5. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -1
  6. package/dist/_dts/api/src/bookingOperations.d.ts +33 -2
  7. package/dist/_dts/api/src/endpoints.d.ts +32 -0
  8. package/dist/_dts/api/src/public/types.d.ts +1 -1
  9. package/dist/_dts/api/src/sdkConfig/contracts.d.ts +0 -40
  10. package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
  11. package/dist/_dts/api/src/siteMembers.d.ts +1 -1
  12. package/dist/_dts/api/src/siteOperations.d.ts +1 -1
  13. package/dist/_dts/billing/src/components/index.d.ts +426 -0
  14. package/dist/_dts/billing/src/plans/types.d.ts +1 -1
  15. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -0
  16. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
  17. package/dist/_dts/blocks/src/client.d.ts +6 -0
  18. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  19. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -0
  20. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +3 -1
  21. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +140 -0
  22. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -0
  23. package/dist/_dts/blocks/src/system/runtime/hooks/useVisibleTabPolling.d.ts +10 -0
  24. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.default-ui.d.ts +8 -0
  25. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +484 -0
  26. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -2
  27. package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +1 -0
  28. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -1
  29. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +81 -0
  30. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +7 -3
  31. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  32. package/dist/_dts/sdk/src/bookings/index.d.ts +5 -2
  33. package/dist/_dts/sdk/src/bookings/types.d.ts +2 -0
  34. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +33 -0
  35. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +32 -0
  36. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
  37. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +2 -1
  38. package/dist/_dts/sdk/src/cli/env.d.ts +2 -1
  39. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +2 -1
  40. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +13 -0
  41. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +144 -0
  42. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +21 -0
  43. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +27 -0
  44. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +56 -0
  45. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +29 -49
  46. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +56 -0
  47. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +53 -0
  48. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +6 -0
  49. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +53 -0
  50. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +79 -0
  51. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +19 -20
  52. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +8 -0
  53. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +97 -0
  54. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +15 -0
  55. package/dist/_dts/sdk/src/cli/sync/executor.d.ts +10 -28
  56. package/dist/_dts/sdk/src/cli/sync/index.d.ts +2 -1
  57. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +4 -0
  58. package/dist/_dts/sdk/src/config/dashboard-validation.d.ts +0 -48
  59. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  60. package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
  61. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +4 -4
  62. package/dist/_dts/sdk/src/theme-bridge/generateCssVars.d.ts +4 -12
  63. package/dist/_dts/sdk/src/theme-bridge/index.d.ts +1 -1
  64. package/dist/_dts/sdk/src/theme-bridge/types.d.ts +17 -9
  65. package/dist/_dts/sdk/src/version.d.ts +1 -1
  66. package/dist/_dts/site-commands/src/adapter.d.ts +2 -2
  67. package/dist/_dts/site-commands/src/commands.d.ts +637 -13
  68. package/dist/_dts/site-commands/src/domain.d.ts +3 -3
  69. package/dist/_dts/site-commands/src/exposure.d.ts +41 -0
  70. package/dist/_dts/site-commands/src/index.d.ts +2 -0
  71. package/dist/_dts/site-commands/src/metadata.d.ts +159 -3
  72. package/dist/_dts/site-commands/src/planner.d.ts +13 -6
  73. package/dist/_dts/site-commands/src/refContributions.d.ts +1 -0
  74. package/dist/_dts/site-commands/src/refs.d.ts +19 -1
  75. package/dist/_dts/{sdk/src/cli/merge-remote → site-commands/src}/stableJson.d.ts +2 -0
  76. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  77. package/dist/_dts/theme-core/src/index.d.ts +1 -1
  78. package/dist/_dts/theme-core/src/palette/utils/index.d.ts +1 -0
  79. package/dist/_dts/theme-core/src/palette/utils/onColor.d.ts +2 -0
  80. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +30 -23
  81. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +83 -0
  82. package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
  83. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +89 -12
  84. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +8 -2
  85. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  86. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +3 -2
  87. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +9 -6
  88. package/dist/_dts/ui/src/callout.d.ts +1 -1
  89. package/dist/cli/index.mjs +4736 -2026
  90. package/dist/client/bookings.mjs +5107 -3348
  91. package/dist/client/client.mjs +4579 -3871
  92. package/dist/client/hooks.mjs +325 -123
  93. package/dist/client/rendering/client.mjs +4474 -3869
  94. package/dist/client/rendering/islands.mjs +4234 -3639
  95. package/dist/client/rendering.mjs +4508 -3798
  96. package/dist/preview-next/before-render.mjs +75 -13
  97. package/dist/preview-next/client/runtime.mjs +3700 -2644
  98. package/dist/preview-next/middleware.mjs +75 -13
  99. package/dist/server/components.mjs +698 -383
  100. package/dist/server/config-validation.mjs +327 -125
  101. package/dist/server/config.mjs +327 -125
  102. package/dist/server/data.mjs +325 -123
  103. package/dist/server/index.mjs +92 -16
  104. package/dist/server/next.mjs +692 -377
  105. package/dist/server/page-converter.mjs +159 -41
  106. package/dist/server/prebuild.mjs +1 -1
  107. package/dist/server/rendering/server.mjs +700 -383
  108. package/dist/server/rendering.mjs +700 -383
  109. package/dist/server/routing.mjs +406 -131
  110. package/dist/server/server.mjs +326 -124
  111. package/dist/server/theme-bridge.mjs +1226 -4697
  112. package/dist/styles/index.css +38 -38
  113. package/package.json +1 -1
  114. package/dist/_dts/blocks/src/system/runtime/components/booking/DateTimeSelectionStep.d.ts +0 -18
  115. package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts +0 -9
  116. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.d.ts +0 -44
  117. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts +0 -23
  118. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceSelectionStep.d.ts +0 -18
  119. package/dist/_dts/blocks/src/system/runtime/components/booking/slotDisplay.d.ts +0 -2
  120. package/dist/_dts/blocks/src/system/runtime/components/multi-step/MultiStepForm.d.ts +0 -21
  121. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.d.ts +0 -15
  122. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.state.d.ts +0 -51
  123. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSteps.d.ts +0 -22
  124. package/dist/_dts/path-utils/src/index.d.ts +0 -8
  125. package/dist/_dts/path-utils/src/redirectPaths.d.ts +0 -26
  126. package/dist/_dts/path-utils/src/safeAppPath.d.ts +0 -26
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type BlockRef, type BlocksRef, type CommandRef, type ContentEntryRef, type CourseRef, type PassProductRef, type MembershipProductRef, type BookingCustomerRef, type CustomerPassRef, type CustomerMembershipRef, type AppointmentBookingRef, type CourseEnrollmentRef, type EventRegistrationRef, type PassRedemptionRef, type EventSeriesRef, type MediaRef, type NavigationRef, type PageRef, type SiteStyleRef, type StaffRef, type TicketTypeRef, type VenueRef, type AppointmentServiceRef, type AppointmentResourceRef, type AppointmentAvailabilityRef, type SiteCommandSiteRef } from './refs';
2
+ import { type BlockRef, type BlocksRef, type CommandRef, type ContentEntryRef, type CourseRef, type PassProductRef, type MembershipProductRef, type BookingCustomerRef, type CustomerPassRef, type CustomerMembershipRef, type AppointmentBookingRef, type CourseEnrollmentRef, type EventRegistrationRef, type PassRedemptionRef, type OrderRef, type EventSeriesRef, type FormRef, type FooterRef, type MediaRef, type NavigationRef, type PageRef, type SiteStyleRef, type StaffRef, type TicketTypeRef, type VenueRef, type EventCategoryRef, type AppointmentServiceRef, type AppointmentResourceRef, type AppointmentAvailabilityRef, type SiteCommandSiteRef } from './refs';
3
3
  export declare const navigationLocations: readonly ["main", "header", "footer"];
4
4
  export type NavigationLocation = (typeof navigationLocations)[number];
5
5
  export declare const navigationMenuRoles: readonly ["primary", "footer"];
@@ -57,8 +57,12 @@ export declare const upsertPageCommandSchema: z.ZodObject<{
57
57
  type: z.ZodLiteral<"upsertPage">;
58
58
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
59
59
  input: z.ZodObject<{
60
+ identifier: z.ZodOptional<z.ZodString>;
60
61
  slug: z.ZodString;
61
62
  title: z.ZodString;
63
+ path: z.ZodOptional<z.ZodString>;
64
+ seoTitle: z.ZodOptional<z.ZodString>;
65
+ seoDescription: z.ZodOptional<z.ZodString>;
62
66
  status: z.ZodOptional<z.ZodEnum<{
63
67
  draft: "draft";
64
68
  published: "published";
@@ -80,41 +84,160 @@ export declare const upsertBlockTreeCommandSchema: z.ZodObject<{
80
84
  }, z.core.$strict>>>;
81
85
  }, z.core.$strict>;
82
86
  }, z.core.$strict>;
87
+ export declare const upsertPageBlockCommandSchema: z.ZodObject<{
88
+ type: z.ZodLiteral<"upsertPageBlock">;
89
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
90
+ input: z.ZodObject<{
91
+ pageIdentifier: z.ZodString;
92
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
93
+ identifier: z.ZodOptional<z.ZodString>;
94
+ type: z.ZodString;
95
+ purpose: z.ZodOptional<z.ZodString>;
96
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
97
+ children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
98
+ }, z.core.$strict>;
99
+ }, z.core.$strict>;
100
+ export declare const deletePageBlockCommandSchema: z.ZodObject<{
101
+ type: z.ZodLiteral<"deletePageBlock">;
102
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
103
+ input: z.ZodObject<{
104
+ pageIdentifier: z.ZodString;
105
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
106
+ blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
107
+ identifier: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strict>;
109
+ }, z.core.$strict>;
110
+ export declare const reorderPageBlocksCommandSchema: z.ZodObject<{
111
+ type: z.ZodLiteral<"reorderPageBlocks">;
112
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
113
+ input: z.ZodObject<{
114
+ pageIdentifier: z.ZodString;
115
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
116
+ blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
117
+ blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
118
+ identifier: z.ZodOptional<z.ZodString>;
119
+ }, z.core.$strict>>>;
120
+ }, z.core.$strict>;
121
+ }, z.core.$strict>;
83
122
  type NavigationItem = Readonly<{
84
123
  label: string;
124
+ isCta?: boolean;
85
125
  pageRef?: PageRef;
86
126
  contentEntryRef?: ContentEntryRef;
127
+ link?: NavigationLinkCommandInput;
87
128
  url?: string;
88
129
  children?: readonly NavigationItem[];
89
130
  }>;
131
+ declare const navigationLinkCommandInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
132
+ kind: z.ZodLiteral<"page">;
133
+ identifier: z.ZodString;
134
+ }, z.core.$strict>, z.ZodObject<{
135
+ kind: z.ZodLiteral<"entry">;
136
+ contentType: z.ZodString;
137
+ identifier: z.ZodString;
138
+ }, z.core.$strict>, z.ZodObject<{
139
+ kind: z.ZodLiteral<"external">;
140
+ href: z.ZodString;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ kind: z.ZodLiteral<"url">;
143
+ href: z.ZodString;
144
+ }, z.core.$strict>, z.ZodObject<{
145
+ kind: z.ZodLiteral<"portal">;
146
+ path: z.ZodOptional<z.ZodString>;
147
+ labels: z.ZodOptional<z.ZodObject<{
148
+ loggedOut: z.ZodOptional<z.ZodString>;
149
+ loggedIn: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strict>>;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ kind: z.ZodLiteral<"cart">;
153
+ badge: z.ZodEnum<{
154
+ "show-count": "show-count";
155
+ hidden: "hidden";
156
+ }>;
157
+ label: z.ZodDiscriminatedUnion<[z.ZodObject<{
158
+ kind: z.ZodLiteral<"icon-only">;
159
+ }, z.core.$strict>, z.ZodObject<{
160
+ kind: z.ZodLiteral<"icon-with-label">;
161
+ label: z.ZodString;
162
+ }, z.core.$strict>], "kind">;
163
+ }, z.core.$strict>], "kind">;
164
+ type NavigationLinkCommandInput = z.infer<typeof navigationLinkCommandInputSchema>;
90
165
  export declare const upsertNavigationMenuCommandSchema: z.ZodObject<{
91
166
  type: z.ZodLiteral<"upsertNavigationMenu">;
92
167
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<NavigationRef, string>>;
93
168
  input: z.ZodObject<{
94
- location: z.ZodEnum<{
169
+ name: z.ZodOptional<z.ZodString>;
170
+ location: z.ZodOptional<z.ZodEnum<{
95
171
  header: "header";
96
172
  footer: "footer";
97
173
  main: "main";
98
- }>;
174
+ }>>;
99
175
  role: z.ZodOptional<z.ZodEnum<{
100
176
  footer: "footer";
101
177
  primary: "primary";
102
178
  }>>;
103
179
  items: z.ZodReadonly<z.ZodArray<z.ZodType<Readonly<{
104
180
  label: string;
181
+ isCta?: boolean;
105
182
  pageRef?: PageRef;
106
183
  contentEntryRef?: ContentEntryRef;
184
+ link?: NavigationLinkCommandInput;
107
185
  url?: string;
108
186
  children?: readonly NavigationItem[];
109
187
  }>, unknown, z.core.$ZodTypeInternals<Readonly<{
110
188
  label: string;
189
+ isCta?: boolean;
111
190
  pageRef?: PageRef;
112
191
  contentEntryRef?: ContentEntryRef;
192
+ link?: NavigationLinkCommandInput;
113
193
  url?: string;
114
194
  children?: readonly NavigationItem[];
115
195
  }>, unknown>>>>;
116
196
  }, z.core.$strict>;
117
197
  }, z.core.$strict>;
198
+ export declare const upsertFormCommandSchema: z.ZodObject<{
199
+ type: z.ZodLiteral<"upsertForm">;
200
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>;
201
+ input: z.ZodObject<{
202
+ slug: z.ZodString;
203
+ name: z.ZodString;
204
+ schema: z.ZodObject<{
205
+ version: z.ZodOptional<z.ZodString>;
206
+ fields: z.ZodReadonly<z.ZodArray<z.ZodObject<{
207
+ id: z.ZodString;
208
+ label: z.ZodString;
209
+ type: z.ZodString;
210
+ required: z.ZodOptional<z.ZodBoolean>;
211
+ placeholder: z.ZodOptional<z.ZodString>;
212
+ helpText: z.ZodOptional<z.ZodString>;
213
+ layout: z.ZodOptional<z.ZodObject<{
214
+ width: z.ZodOptional<z.ZodEnum<{
215
+ full: "full";
216
+ half: "half";
217
+ }>>;
218
+ }, z.core.$strict>>;
219
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
220
+ value: z.ZodString;
221
+ label: z.ZodString;
222
+ }, z.core.$strict>>>;
223
+ multiple: z.ZodOptional<z.ZodBoolean>;
224
+ minLength: z.ZodOptional<z.ZodNumber>;
225
+ maxLength: z.ZodOptional<z.ZodNumber>;
226
+ pattern: z.ZodOptional<z.ZodString>;
227
+ min: z.ZodOptional<z.ZodNumber>;
228
+ max: z.ZodOptional<z.ZodNumber>;
229
+ }, z.core.$strict>>>;
230
+ }, z.core.$strict>;
231
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
232
+ }, z.core.$strict>;
233
+ }, z.core.$strict>;
234
+ export declare const upsertFooterContentCommandSchema: z.ZodObject<{
235
+ type: z.ZodLiteral<"upsertFooterContent">;
236
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
237
+ input: z.ZodObject<{
238
+ bottomText: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
239
+ }, z.core.$strict>;
240
+ }, z.core.$strict>;
118
241
  export declare const upsertContentEntryCommandSchema: z.ZodObject<{
119
242
  type: z.ZodLiteral<"upsertContentEntry">;
120
243
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
@@ -131,9 +254,24 @@ export declare const upsertContentEntryCommandSchema: z.ZodObject<{
131
254
  export declare const publishPageCommandSchema: z.ZodObject<{
132
255
  type: z.ZodLiteral<"publishPage">;
133
256
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
134
- input: z.ZodObject<{
257
+ input: z.ZodUnion<readonly [z.ZodObject<{
258
+ identifier: z.ZodString;
259
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
260
+ }, z.core.$strict>, z.ZodObject<{
135
261
  pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
136
- }, z.core.$strict>;
262
+ identifier: z.ZodOptional<z.ZodString>;
263
+ }, z.core.$strict>]>;
264
+ }, z.core.$strict>;
265
+ export declare const unpublishPageCommandSchema: z.ZodObject<{
266
+ type: z.ZodLiteral<"unpublishPage">;
267
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
268
+ input: z.ZodUnion<readonly [z.ZodObject<{
269
+ identifier: z.ZodString;
270
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
271
+ }, z.core.$strict>, z.ZodObject<{
272
+ pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
273
+ identifier: z.ZodOptional<z.ZodString>;
274
+ }, z.core.$strict>]>;
137
275
  }, z.core.$strict>;
138
276
  export declare const publishContentEntryCommandSchema: z.ZodObject<{
139
277
  type: z.ZodLiteral<"publishContentEntry">;
@@ -207,6 +345,33 @@ export declare const upsertVenueCommandSchema: z.ZodObject<{
207
345
  mapEmbedUrl: z.ZodOptional<z.ZodString>;
208
346
  }, z.core.$strict>;
209
347
  }, z.core.$strict>;
348
+ export declare const deleteVenueCommandSchema: z.ZodObject<{
349
+ type: z.ZodLiteral<"deleteVenue">;
350
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
351
+ input: z.ZodObject<{
352
+ slug: z.ZodString;
353
+ venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
354
+ }, z.core.$strict>;
355
+ }, z.core.$strict>;
356
+ export declare const upsertEventCategoryCommandSchema: z.ZodObject<{
357
+ type: z.ZodLiteral<"upsertEventCategory">;
358
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
359
+ input: z.ZodObject<{
360
+ identifier: z.ZodOptional<z.ZodString>;
361
+ name: z.ZodString;
362
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
+ sortOrder: z.ZodOptional<z.ZodNumber>;
365
+ }, z.core.$strict>;
366
+ }, z.core.$strict>;
367
+ export declare const deleteEventCategoryCommandSchema: z.ZodObject<{
368
+ type: z.ZodLiteral<"deleteEventCategory">;
369
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
370
+ input: z.ZodObject<{
371
+ identifier: z.ZodString;
372
+ eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
373
+ }, z.core.$strict>;
374
+ }, z.core.$strict>;
210
375
  export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
211
376
  type: z.ZodLiteral<"upsertEventSeries">;
212
377
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
@@ -220,6 +385,12 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
220
385
  retreat: "retreat";
221
386
  performance: "performance";
222
387
  }>;
388
+ status: z.ZodOptional<z.ZodEnum<{
389
+ active: "active";
390
+ draft: "draft";
391
+ cancelled: "cancelled";
392
+ archived: "archived";
393
+ }>>;
223
394
  visibility: z.ZodEnum<{
224
395
  draft: "draft";
225
396
  published: "published";
@@ -228,6 +399,11 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
228
399
  }>;
229
400
  timezone: z.ZodString;
230
401
  venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
402
+ venueIdentifier: z.ZodOptional<z.ZodString>;
403
+ categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
404
+ categoryIdentifier: z.ZodOptional<z.ZodString>;
405
+ formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
406
+ formIdentifier: z.ZodOptional<z.ZodString>;
231
407
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
232
408
  kind: z.ZodLiteral<"unlimited">;
233
409
  }, z.core.$strict>, z.ZodObject<{
@@ -259,6 +435,9 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
259
435
  kind: z.ZodLiteral<"external">;
260
436
  url: z.ZodString;
261
437
  }, z.core.$strict>], "kind">;
438
+ priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
+ acceptsPasses: z.ZodOptional<z.ZodBoolean>;
440
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
262
441
  deliveryMode: z.ZodOptional<z.ZodEnum<{
263
442
  in_person: "in_person";
264
443
  hybrid: "hybrid";
@@ -279,13 +458,25 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
279
458
  content: z.ZodOptional<z.ZodObject<{
280
459
  summary: z.ZodOptional<z.ZodString>;
281
460
  body: z.ZodOptional<z.ZodUnknown>;
461
+ image: z.ZodOptional<z.ZodUnknown>;
282
462
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
283
463
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
284
464
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
285
465
  }, z.core.$strict>>;
466
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
467
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
468
+ tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
286
469
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
287
470
  }, z.core.$strict>;
288
471
  }, z.core.$strict>;
472
+ export declare const deleteEventSeriesCommandSchema: z.ZodObject<{
473
+ type: z.ZodLiteral<"deleteEventSeries">;
474
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
475
+ input: z.ZodObject<{
476
+ identifier: z.ZodString;
477
+ eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
478
+ }, z.core.$strict>;
479
+ }, z.core.$strict>;
289
480
  export declare const upsertEventTicketTypeCommandSchema: z.ZodObject<{
290
481
  type: z.ZodLiteral<"upsertEventTicketType">;
291
482
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
@@ -318,6 +509,11 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
318
509
  input: z.ZodObject<{
319
510
  slug: z.ZodString;
320
511
  title: z.ZodString;
512
+ status: z.ZodOptional<z.ZodEnum<{
513
+ active: "active";
514
+ draft: "draft";
515
+ cancelled: "cancelled";
516
+ }>>;
321
517
  visibility: z.ZodEnum<{
322
518
  draft: "draft";
323
519
  published: "published";
@@ -326,12 +522,18 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
326
522
  }>;
327
523
  timezone: z.ZodString;
328
524
  venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
525
+ venueIdentifier: z.ZodOptional<z.ZodString>;
526
+ categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
527
+ categoryIdentifier: z.ZodOptional<z.ZodString>;
528
+ formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
529
+ formIdentifier: z.ZodOptional<z.ZodString>;
329
530
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
330
531
  kind: z.ZodLiteral<"unlimited">;
331
532
  }, z.core.$strict>, z.ZodObject<{
332
533
  kind: z.ZodLiteral<"limited">;
333
534
  quantity: z.ZodNumber;
334
535
  }, z.core.$strict>], "kind">>;
536
+ enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
335
537
  waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
336
538
  kind: z.ZodLiteral<"disabled">;
337
539
  }, z.core.$strict>, z.ZodObject<{
@@ -354,6 +556,7 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
354
556
  kind: z.ZodLiteral<"external">;
355
557
  url: z.ZodString;
356
558
  }, z.core.$strict>], "kind">;
559
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
357
560
  sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
358
561
  title: z.ZodOptional<z.ZodString>;
359
562
  startAt: z.ZodString;
@@ -363,13 +566,27 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
363
566
  content: z.ZodOptional<z.ZodObject<{
364
567
  summary: z.ZodOptional<z.ZodString>;
365
568
  body: z.ZodOptional<z.ZodUnknown>;
569
+ image: z.ZodOptional<z.ZodUnknown>;
366
570
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
367
571
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
368
572
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
369
573
  }, z.core.$strict>>;
574
+ programRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ program: z.ZodOptional<z.ZodNullable<z.ZodObject<{
576
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
578
+ }, z.core.$strict>>>;
370
579
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
371
580
  }, z.core.$strict>;
372
581
  }, z.core.$strict>;
582
+ export declare const deleteCourseCommandSchema: z.ZodObject<{
583
+ type: z.ZodLiteral<"deleteCourse">;
584
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
585
+ input: z.ZodObject<{
586
+ identifier: z.ZodString;
587
+ courseRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>>;
588
+ }, z.core.$strict>;
589
+ }, z.core.$strict>;
373
590
  export declare const ensureTeamMemberProfileCommandSchema: z.ZodObject<{
374
591
  type: z.ZodLiteral<"ensureTeamMemberProfile">;
375
592
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
@@ -589,6 +806,27 @@ export declare const seedPassRedemptionCommandSchema: z.ZodObject<{
589
806
  }, z.core.$strict>], "kind">;
590
807
  }, z.core.$strict>;
591
808
  }, z.core.$strict>;
809
+ /** Seeds one portal-visible historical order for existing seeded booking activity. */
810
+ export declare const seedPortalOrderCommandSchema: z.ZodObject<{
811
+ type: z.ZodLiteral<"seedPortalOrder">;
812
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<OrderRef, string>>;
813
+ input: z.ZodObject<{
814
+ customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
815
+ subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
816
+ kind: z.ZodLiteral<"event_registration">;
817
+ eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ kind: z.ZodLiteral<"course_enrollment">;
820
+ courseEnrollmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
821
+ }, z.core.$strict>], "kind">;
822
+ paymentMethod: z.ZodEnum<{
823
+ free: "free";
824
+ membership_access: "membership_access";
825
+ }>;
826
+ subtotalCents: z.ZodNumber;
827
+ currency: z.ZodString;
828
+ }, z.core.$strict>;
829
+ }, z.core.$strict>;
592
830
  /** Describes an appointment service recipe command without mutating resource assignment. */
593
831
  export declare const upsertAppointmentServiceCommandSchema: z.ZodObject<{
594
832
  type: z.ZodLiteral<"upsertAppointmentService">;
@@ -747,8 +985,12 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
747
985
  type: z.ZodLiteral<"upsertPage">;
748
986
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
749
987
  input: z.ZodObject<{
988
+ identifier: z.ZodOptional<z.ZodString>;
750
989
  slug: z.ZodString;
751
990
  title: z.ZodString;
991
+ path: z.ZodOptional<z.ZodString>;
992
+ seoTitle: z.ZodOptional<z.ZodString>;
993
+ seoDescription: z.ZodOptional<z.ZodString>;
752
994
  status: z.ZodOptional<z.ZodEnum<{
753
995
  draft: "draft";
754
996
  published: "published";
@@ -768,33 +1010,111 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
768
1010
  children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
769
1011
  }, z.core.$strict>>>;
770
1012
  }, z.core.$strict>;
1013
+ }, z.core.$strict>, z.ZodObject<{
1014
+ type: z.ZodLiteral<"upsertPageBlock">;
1015
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
1016
+ input: z.ZodObject<{
1017
+ pageIdentifier: z.ZodString;
1018
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1019
+ identifier: z.ZodOptional<z.ZodString>;
1020
+ type: z.ZodString;
1021
+ purpose: z.ZodOptional<z.ZodString>;
1022
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1023
+ children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
1024
+ }, z.core.$strict>;
1025
+ }, z.core.$strict>, z.ZodObject<{
1026
+ type: z.ZodLiteral<"deletePageBlock">;
1027
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1028
+ input: z.ZodObject<{
1029
+ pageIdentifier: z.ZodString;
1030
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1031
+ blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
1032
+ identifier: z.ZodOptional<z.ZodString>;
1033
+ }, z.core.$strict>;
1034
+ }, z.core.$strict>, z.ZodObject<{
1035
+ type: z.ZodLiteral<"reorderPageBlocks">;
1036
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
1037
+ input: z.ZodObject<{
1038
+ pageIdentifier: z.ZodString;
1039
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1040
+ blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1041
+ blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
1042
+ identifier: z.ZodOptional<z.ZodString>;
1043
+ }, z.core.$strict>>>;
1044
+ }, z.core.$strict>;
771
1045
  }, z.core.$strict>, z.ZodObject<{
772
1046
  type: z.ZodLiteral<"upsertNavigationMenu">;
773
1047
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<NavigationRef, string>>;
774
1048
  input: z.ZodObject<{
775
- location: z.ZodEnum<{
1049
+ name: z.ZodOptional<z.ZodString>;
1050
+ location: z.ZodOptional<z.ZodEnum<{
776
1051
  header: "header";
777
1052
  footer: "footer";
778
1053
  main: "main";
779
- }>;
1054
+ }>>;
780
1055
  role: z.ZodOptional<z.ZodEnum<{
781
1056
  footer: "footer";
782
1057
  primary: "primary";
783
1058
  }>>;
784
1059
  items: z.ZodReadonly<z.ZodArray<z.ZodType<Readonly<{
785
1060
  label: string;
1061
+ isCta?: boolean;
786
1062
  pageRef?: PageRef;
787
1063
  contentEntryRef?: ContentEntryRef;
1064
+ link?: NavigationLinkCommandInput;
788
1065
  url?: string;
789
1066
  children?: readonly NavigationItem[];
790
1067
  }>, unknown, z.core.$ZodTypeInternals<Readonly<{
791
1068
  label: string;
1069
+ isCta?: boolean;
792
1070
  pageRef?: PageRef;
793
1071
  contentEntryRef?: ContentEntryRef;
1072
+ link?: NavigationLinkCommandInput;
794
1073
  url?: string;
795
1074
  children?: readonly NavigationItem[];
796
1075
  }>, unknown>>>>;
797
1076
  }, z.core.$strict>;
1077
+ }, z.core.$strict>, z.ZodObject<{
1078
+ type: z.ZodLiteral<"upsertForm">;
1079
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>;
1080
+ input: z.ZodObject<{
1081
+ slug: z.ZodString;
1082
+ name: z.ZodString;
1083
+ schema: z.ZodObject<{
1084
+ version: z.ZodOptional<z.ZodString>;
1085
+ fields: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1086
+ id: z.ZodString;
1087
+ label: z.ZodString;
1088
+ type: z.ZodString;
1089
+ required: z.ZodOptional<z.ZodBoolean>;
1090
+ placeholder: z.ZodOptional<z.ZodString>;
1091
+ helpText: z.ZodOptional<z.ZodString>;
1092
+ layout: z.ZodOptional<z.ZodObject<{
1093
+ width: z.ZodOptional<z.ZodEnum<{
1094
+ full: "full";
1095
+ half: "half";
1096
+ }>>;
1097
+ }, z.core.$strict>>;
1098
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1099
+ value: z.ZodString;
1100
+ label: z.ZodString;
1101
+ }, z.core.$strict>>>;
1102
+ multiple: z.ZodOptional<z.ZodBoolean>;
1103
+ minLength: z.ZodOptional<z.ZodNumber>;
1104
+ maxLength: z.ZodOptional<z.ZodNumber>;
1105
+ pattern: z.ZodOptional<z.ZodString>;
1106
+ min: z.ZodOptional<z.ZodNumber>;
1107
+ max: z.ZodOptional<z.ZodNumber>;
1108
+ }, z.core.$strict>>>;
1109
+ }, z.core.$strict>;
1110
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1111
+ }, z.core.$strict>;
1112
+ }, z.core.$strict>, z.ZodObject<{
1113
+ type: z.ZodLiteral<"upsertFooterContent">;
1114
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
1115
+ input: z.ZodObject<{
1116
+ bottomText: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1117
+ }, z.core.$strict>;
798
1118
  }, z.core.$strict>, z.ZodObject<{
799
1119
  type: z.ZodLiteral<"upsertContentEntry">;
800
1120
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
@@ -810,9 +1130,23 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
810
1130
  }, z.core.$strict>, z.ZodObject<{
811
1131
  type: z.ZodLiteral<"publishPage">;
812
1132
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
813
- input: z.ZodObject<{
1133
+ input: z.ZodUnion<readonly [z.ZodObject<{
1134
+ identifier: z.ZodString;
1135
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1136
+ }, z.core.$strict>, z.ZodObject<{
814
1137
  pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
815
- }, z.core.$strict>;
1138
+ identifier: z.ZodOptional<z.ZodString>;
1139
+ }, z.core.$strict>]>;
1140
+ }, z.core.$strict>, z.ZodObject<{
1141
+ type: z.ZodLiteral<"unpublishPage">;
1142
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1143
+ input: z.ZodUnion<readonly [z.ZodObject<{
1144
+ identifier: z.ZodString;
1145
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1146
+ }, z.core.$strict>, z.ZodObject<{
1147
+ pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
1148
+ identifier: z.ZodOptional<z.ZodString>;
1149
+ }, z.core.$strict>]>;
816
1150
  }, z.core.$strict>, z.ZodObject<{
817
1151
  type: z.ZodLiteral<"publishContentEntry">;
818
1152
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
@@ -895,6 +1229,30 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
895
1229
  }, z.core.$strict>>;
896
1230
  mapEmbedUrl: z.ZodOptional<z.ZodString>;
897
1231
  }, z.core.$strict>;
1232
+ }, z.core.$strict>, z.ZodObject<{
1233
+ type: z.ZodLiteral<"deleteVenue">;
1234
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1235
+ input: z.ZodObject<{
1236
+ slug: z.ZodString;
1237
+ venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
1238
+ }, z.core.$strict>;
1239
+ }, z.core.$strict>, z.ZodObject<{
1240
+ type: z.ZodLiteral<"upsertEventCategory">;
1241
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
1242
+ input: z.ZodObject<{
1243
+ identifier: z.ZodOptional<z.ZodString>;
1244
+ name: z.ZodString;
1245
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1246
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1247
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1248
+ }, z.core.$strict>;
1249
+ }, z.core.$strict>, z.ZodObject<{
1250
+ type: z.ZodLiteral<"deleteEventCategory">;
1251
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1252
+ input: z.ZodObject<{
1253
+ identifier: z.ZodString;
1254
+ eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
1255
+ }, z.core.$strict>;
898
1256
  }, z.core.$strict>, z.ZodObject<{
899
1257
  type: z.ZodLiteral<"upsertEventSeries">;
900
1258
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
@@ -908,6 +1266,12 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
908
1266
  retreat: "retreat";
909
1267
  performance: "performance";
910
1268
  }>;
1269
+ status: z.ZodOptional<z.ZodEnum<{
1270
+ active: "active";
1271
+ draft: "draft";
1272
+ cancelled: "cancelled";
1273
+ archived: "archived";
1274
+ }>>;
911
1275
  visibility: z.ZodEnum<{
912
1276
  draft: "draft";
913
1277
  published: "published";
@@ -916,6 +1280,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
916
1280
  }>;
917
1281
  timezone: z.ZodString;
918
1282
  venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
1283
+ venueIdentifier: z.ZodOptional<z.ZodString>;
1284
+ categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
1285
+ categoryIdentifier: z.ZodOptional<z.ZodString>;
1286
+ formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
1287
+ formIdentifier: z.ZodOptional<z.ZodString>;
919
1288
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
920
1289
  kind: z.ZodLiteral<"unlimited">;
921
1290
  }, z.core.$strict>, z.ZodObject<{
@@ -947,6 +1316,9 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
947
1316
  kind: z.ZodLiteral<"external">;
948
1317
  url: z.ZodString;
949
1318
  }, z.core.$strict>], "kind">;
1319
+ priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1320
+ acceptsPasses: z.ZodOptional<z.ZodBoolean>;
1321
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
950
1322
  deliveryMode: z.ZodOptional<z.ZodEnum<{
951
1323
  in_person: "in_person";
952
1324
  hybrid: "hybrid";
@@ -967,12 +1339,23 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
967
1339
  content: z.ZodOptional<z.ZodObject<{
968
1340
  summary: z.ZodOptional<z.ZodString>;
969
1341
  body: z.ZodOptional<z.ZodUnknown>;
1342
+ image: z.ZodOptional<z.ZodUnknown>;
970
1343
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
971
1344
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
972
1345
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
973
1346
  }, z.core.$strict>>;
1347
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1348
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1349
+ tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
974
1350
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
975
1351
  }, z.core.$strict>;
1352
+ }, z.core.$strict>, z.ZodObject<{
1353
+ type: z.ZodLiteral<"deleteEventSeries">;
1354
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1355
+ input: z.ZodObject<{
1356
+ identifier: z.ZodString;
1357
+ eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
1358
+ }, z.core.$strict>;
976
1359
  }, z.core.$strict>, z.ZodObject<{
977
1360
  type: z.ZodLiteral<"upsertEventTicketType">;
978
1361
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
@@ -1004,6 +1387,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1004
1387
  input: z.ZodObject<{
1005
1388
  slug: z.ZodString;
1006
1389
  title: z.ZodString;
1390
+ status: z.ZodOptional<z.ZodEnum<{
1391
+ active: "active";
1392
+ draft: "draft";
1393
+ cancelled: "cancelled";
1394
+ }>>;
1007
1395
  visibility: z.ZodEnum<{
1008
1396
  draft: "draft";
1009
1397
  published: "published";
@@ -1012,12 +1400,18 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1012
1400
  }>;
1013
1401
  timezone: z.ZodString;
1014
1402
  venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
1403
+ venueIdentifier: z.ZodOptional<z.ZodString>;
1404
+ categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
1405
+ categoryIdentifier: z.ZodOptional<z.ZodString>;
1406
+ formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
1407
+ formIdentifier: z.ZodOptional<z.ZodString>;
1015
1408
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1016
1409
  kind: z.ZodLiteral<"unlimited">;
1017
1410
  }, z.core.$strict>, z.ZodObject<{
1018
1411
  kind: z.ZodLiteral<"limited">;
1019
1412
  quantity: z.ZodNumber;
1020
1413
  }, z.core.$strict>], "kind">>;
1414
+ enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1021
1415
  waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1022
1416
  kind: z.ZodLiteral<"disabled">;
1023
1417
  }, z.core.$strict>, z.ZodObject<{
@@ -1040,6 +1434,7 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1040
1434
  kind: z.ZodLiteral<"external">;
1041
1435
  url: z.ZodString;
1042
1436
  }, z.core.$strict>], "kind">;
1437
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
1043
1438
  sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1044
1439
  title: z.ZodOptional<z.ZodString>;
1045
1440
  startAt: z.ZodString;
@@ -1049,12 +1444,25 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1049
1444
  content: z.ZodOptional<z.ZodObject<{
1050
1445
  summary: z.ZodOptional<z.ZodString>;
1051
1446
  body: z.ZodOptional<z.ZodUnknown>;
1447
+ image: z.ZodOptional<z.ZodUnknown>;
1052
1448
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
1053
1449
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
1054
1450
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
1055
1451
  }, z.core.$strict>>;
1452
+ programRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1453
+ program: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1454
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1455
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1456
+ }, z.core.$strict>>>;
1056
1457
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1057
1458
  }, z.core.$strict>;
1459
+ }, z.core.$strict>, z.ZodObject<{
1460
+ type: z.ZodLiteral<"deleteCourse">;
1461
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1462
+ input: z.ZodObject<{
1463
+ identifier: z.ZodString;
1464
+ courseRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>>;
1465
+ }, z.core.$strict>;
1058
1466
  }, z.core.$strict>, z.ZodObject<{
1059
1467
  type: z.ZodLiteral<"upsertBookingPassProduct">;
1060
1468
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
@@ -1213,6 +1621,25 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1213
1621
  eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
1214
1622
  }, z.core.$strict>], "kind">;
1215
1623
  }, z.core.$strict>;
1624
+ }, z.core.$strict>, z.ZodObject<{
1625
+ type: z.ZodLiteral<"seedPortalOrder">;
1626
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<OrderRef, string>>;
1627
+ input: z.ZodObject<{
1628
+ customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
1629
+ subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
1630
+ kind: z.ZodLiteral<"event_registration">;
1631
+ eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
1632
+ }, z.core.$strict>, z.ZodObject<{
1633
+ kind: z.ZodLiteral<"course_enrollment">;
1634
+ courseEnrollmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
1635
+ }, z.core.$strict>], "kind">;
1636
+ paymentMethod: z.ZodEnum<{
1637
+ free: "free";
1638
+ membership_access: "membership_access";
1639
+ }>;
1640
+ subtotalCents: z.ZodNumber;
1641
+ currency: z.ZodString;
1642
+ }, z.core.$strict>;
1216
1643
  }, z.core.$strict>, z.ZodObject<{
1217
1644
  type: z.ZodLiteral<"upsertAppointmentService">;
1218
1645
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
@@ -1370,8 +1797,12 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1370
1797
  type: z.ZodLiteral<"upsertPage">;
1371
1798
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
1372
1799
  input: z.ZodObject<{
1800
+ identifier: z.ZodOptional<z.ZodString>;
1373
1801
  slug: z.ZodString;
1374
1802
  title: z.ZodString;
1803
+ path: z.ZodOptional<z.ZodString>;
1804
+ seoTitle: z.ZodOptional<z.ZodString>;
1805
+ seoDescription: z.ZodOptional<z.ZodString>;
1375
1806
  status: z.ZodOptional<z.ZodEnum<{
1376
1807
  draft: "draft";
1377
1808
  published: "published";
@@ -1391,33 +1822,111 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1391
1822
  children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
1392
1823
  }, z.core.$strict>>>;
1393
1824
  }, z.core.$strict>;
1825
+ }, z.core.$strict>, z.ZodObject<{
1826
+ type: z.ZodLiteral<"upsertPageBlock">;
1827
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
1828
+ input: z.ZodObject<{
1829
+ pageIdentifier: z.ZodString;
1830
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1831
+ identifier: z.ZodOptional<z.ZodString>;
1832
+ type: z.ZodString;
1833
+ purpose: z.ZodOptional<z.ZodString>;
1834
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1835
+ children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
1836
+ }, z.core.$strict>;
1837
+ }, z.core.$strict>, z.ZodObject<{
1838
+ type: z.ZodLiteral<"deletePageBlock">;
1839
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1840
+ input: z.ZodObject<{
1841
+ pageIdentifier: z.ZodString;
1842
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1843
+ blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
1844
+ identifier: z.ZodOptional<z.ZodString>;
1845
+ }, z.core.$strict>;
1846
+ }, z.core.$strict>, z.ZodObject<{
1847
+ type: z.ZodLiteral<"reorderPageBlocks">;
1848
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
1849
+ input: z.ZodObject<{
1850
+ pageIdentifier: z.ZodString;
1851
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1852
+ blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1853
+ blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
1854
+ identifier: z.ZodOptional<z.ZodString>;
1855
+ }, z.core.$strict>>>;
1856
+ }, z.core.$strict>;
1394
1857
  }, z.core.$strict>, z.ZodObject<{
1395
1858
  type: z.ZodLiteral<"upsertNavigationMenu">;
1396
1859
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<NavigationRef, string>>;
1397
1860
  input: z.ZodObject<{
1398
- location: z.ZodEnum<{
1861
+ name: z.ZodOptional<z.ZodString>;
1862
+ location: z.ZodOptional<z.ZodEnum<{
1399
1863
  header: "header";
1400
1864
  footer: "footer";
1401
1865
  main: "main";
1402
- }>;
1866
+ }>>;
1403
1867
  role: z.ZodOptional<z.ZodEnum<{
1404
1868
  footer: "footer";
1405
1869
  primary: "primary";
1406
1870
  }>>;
1407
1871
  items: z.ZodReadonly<z.ZodArray<z.ZodType<Readonly<{
1408
1872
  label: string;
1873
+ isCta?: boolean;
1409
1874
  pageRef?: PageRef;
1410
1875
  contentEntryRef?: ContentEntryRef;
1876
+ link?: NavigationLinkCommandInput;
1411
1877
  url?: string;
1412
1878
  children?: readonly NavigationItem[];
1413
1879
  }>, unknown, z.core.$ZodTypeInternals<Readonly<{
1414
1880
  label: string;
1881
+ isCta?: boolean;
1415
1882
  pageRef?: PageRef;
1416
1883
  contentEntryRef?: ContentEntryRef;
1884
+ link?: NavigationLinkCommandInput;
1417
1885
  url?: string;
1418
1886
  children?: readonly NavigationItem[];
1419
1887
  }>, unknown>>>>;
1420
1888
  }, z.core.$strict>;
1889
+ }, z.core.$strict>, z.ZodObject<{
1890
+ type: z.ZodLiteral<"upsertForm">;
1891
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>;
1892
+ input: z.ZodObject<{
1893
+ slug: z.ZodString;
1894
+ name: z.ZodString;
1895
+ schema: z.ZodObject<{
1896
+ version: z.ZodOptional<z.ZodString>;
1897
+ fields: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1898
+ id: z.ZodString;
1899
+ label: z.ZodString;
1900
+ type: z.ZodString;
1901
+ required: z.ZodOptional<z.ZodBoolean>;
1902
+ placeholder: z.ZodOptional<z.ZodString>;
1903
+ helpText: z.ZodOptional<z.ZodString>;
1904
+ layout: z.ZodOptional<z.ZodObject<{
1905
+ width: z.ZodOptional<z.ZodEnum<{
1906
+ full: "full";
1907
+ half: "half";
1908
+ }>>;
1909
+ }, z.core.$strict>>;
1910
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1911
+ value: z.ZodString;
1912
+ label: z.ZodString;
1913
+ }, z.core.$strict>>>;
1914
+ multiple: z.ZodOptional<z.ZodBoolean>;
1915
+ minLength: z.ZodOptional<z.ZodNumber>;
1916
+ maxLength: z.ZodOptional<z.ZodNumber>;
1917
+ pattern: z.ZodOptional<z.ZodString>;
1918
+ min: z.ZodOptional<z.ZodNumber>;
1919
+ max: z.ZodOptional<z.ZodNumber>;
1920
+ }, z.core.$strict>>>;
1921
+ }, z.core.$strict>;
1922
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1923
+ }, z.core.$strict>;
1924
+ }, z.core.$strict>, z.ZodObject<{
1925
+ type: z.ZodLiteral<"upsertFooterContent">;
1926
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
1927
+ input: z.ZodObject<{
1928
+ bottomText: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1929
+ }, z.core.$strict>;
1421
1930
  }, z.core.$strict>, z.ZodObject<{
1422
1931
  type: z.ZodLiteral<"upsertContentEntry">;
1423
1932
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
@@ -1433,9 +1942,23 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1433
1942
  }, z.core.$strict>, z.ZodObject<{
1434
1943
  type: z.ZodLiteral<"publishPage">;
1435
1944
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1436
- input: z.ZodObject<{
1945
+ input: z.ZodUnion<readonly [z.ZodObject<{
1946
+ identifier: z.ZodString;
1947
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1948
+ }, z.core.$strict>, z.ZodObject<{
1437
1949
  pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
1438
- }, z.core.$strict>;
1950
+ identifier: z.ZodOptional<z.ZodString>;
1951
+ }, z.core.$strict>]>;
1952
+ }, z.core.$strict>, z.ZodObject<{
1953
+ type: z.ZodLiteral<"unpublishPage">;
1954
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
1955
+ input: z.ZodUnion<readonly [z.ZodObject<{
1956
+ identifier: z.ZodString;
1957
+ pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
1958
+ }, z.core.$strict>, z.ZodObject<{
1959
+ pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
1960
+ identifier: z.ZodOptional<z.ZodString>;
1961
+ }, z.core.$strict>]>;
1439
1962
  }, z.core.$strict>, z.ZodObject<{
1440
1963
  type: z.ZodLiteral<"publishContentEntry">;
1441
1964
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
@@ -1518,6 +2041,30 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1518
2041
  }, z.core.$strict>>;
1519
2042
  mapEmbedUrl: z.ZodOptional<z.ZodString>;
1520
2043
  }, z.core.$strict>;
2044
+ }, z.core.$strict>, z.ZodObject<{
2045
+ type: z.ZodLiteral<"deleteVenue">;
2046
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
2047
+ input: z.ZodObject<{
2048
+ slug: z.ZodString;
2049
+ venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
2050
+ }, z.core.$strict>;
2051
+ }, z.core.$strict>, z.ZodObject<{
2052
+ type: z.ZodLiteral<"upsertEventCategory">;
2053
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
2054
+ input: z.ZodObject<{
2055
+ identifier: z.ZodOptional<z.ZodString>;
2056
+ name: z.ZodString;
2057
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2058
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2059
+ sortOrder: z.ZodOptional<z.ZodNumber>;
2060
+ }, z.core.$strict>;
2061
+ }, z.core.$strict>, z.ZodObject<{
2062
+ type: z.ZodLiteral<"deleteEventCategory">;
2063
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
2064
+ input: z.ZodObject<{
2065
+ identifier: z.ZodString;
2066
+ eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
2067
+ }, z.core.$strict>;
1521
2068
  }, z.core.$strict>, z.ZodObject<{
1522
2069
  type: z.ZodLiteral<"upsertEventSeries">;
1523
2070
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
@@ -1531,6 +2078,12 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1531
2078
  retreat: "retreat";
1532
2079
  performance: "performance";
1533
2080
  }>;
2081
+ status: z.ZodOptional<z.ZodEnum<{
2082
+ active: "active";
2083
+ draft: "draft";
2084
+ cancelled: "cancelled";
2085
+ archived: "archived";
2086
+ }>>;
1534
2087
  visibility: z.ZodEnum<{
1535
2088
  draft: "draft";
1536
2089
  published: "published";
@@ -1539,6 +2092,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1539
2092
  }>;
1540
2093
  timezone: z.ZodString;
1541
2094
  venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
2095
+ venueIdentifier: z.ZodOptional<z.ZodString>;
2096
+ categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
2097
+ categoryIdentifier: z.ZodOptional<z.ZodString>;
2098
+ formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
2099
+ formIdentifier: z.ZodOptional<z.ZodString>;
1542
2100
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1543
2101
  kind: z.ZodLiteral<"unlimited">;
1544
2102
  }, z.core.$strict>, z.ZodObject<{
@@ -1570,6 +2128,9 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1570
2128
  kind: z.ZodLiteral<"external">;
1571
2129
  url: z.ZodString;
1572
2130
  }, z.core.$strict>], "kind">;
2131
+ priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2132
+ acceptsPasses: z.ZodOptional<z.ZodBoolean>;
2133
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
1573
2134
  deliveryMode: z.ZodOptional<z.ZodEnum<{
1574
2135
  in_person: "in_person";
1575
2136
  hybrid: "hybrid";
@@ -1590,12 +2151,23 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1590
2151
  content: z.ZodOptional<z.ZodObject<{
1591
2152
  summary: z.ZodOptional<z.ZodString>;
1592
2153
  body: z.ZodOptional<z.ZodUnknown>;
2154
+ image: z.ZodOptional<z.ZodUnknown>;
1593
2155
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
1594
2156
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
1595
2157
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
1596
2158
  }, z.core.$strict>>;
2159
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2160
+ presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2161
+ tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
1597
2162
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1598
2163
  }, z.core.$strict>;
2164
+ }, z.core.$strict>, z.ZodObject<{
2165
+ type: z.ZodLiteral<"deleteEventSeries">;
2166
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
2167
+ input: z.ZodObject<{
2168
+ identifier: z.ZodString;
2169
+ eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
2170
+ }, z.core.$strict>;
1599
2171
  }, z.core.$strict>, z.ZodObject<{
1600
2172
  type: z.ZodLiteral<"upsertEventTicketType">;
1601
2173
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
@@ -1627,6 +2199,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1627
2199
  input: z.ZodObject<{
1628
2200
  slug: z.ZodString;
1629
2201
  title: z.ZodString;
2202
+ status: z.ZodOptional<z.ZodEnum<{
2203
+ active: "active";
2204
+ draft: "draft";
2205
+ cancelled: "cancelled";
2206
+ }>>;
1630
2207
  visibility: z.ZodEnum<{
1631
2208
  draft: "draft";
1632
2209
  published: "published";
@@ -1635,12 +2212,18 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1635
2212
  }>;
1636
2213
  timezone: z.ZodString;
1637
2214
  venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
2215
+ venueIdentifier: z.ZodOptional<z.ZodString>;
2216
+ categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
2217
+ categoryIdentifier: z.ZodOptional<z.ZodString>;
2218
+ formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
2219
+ formIdentifier: z.ZodOptional<z.ZodString>;
1638
2220
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1639
2221
  kind: z.ZodLiteral<"unlimited">;
1640
2222
  }, z.core.$strict>, z.ZodObject<{
1641
2223
  kind: z.ZodLiteral<"limited">;
1642
2224
  quantity: z.ZodNumber;
1643
2225
  }, z.core.$strict>], "kind">>;
2226
+ enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1644
2227
  waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1645
2228
  kind: z.ZodLiteral<"disabled">;
1646
2229
  }, z.core.$strict>, z.ZodObject<{
@@ -1663,6 +2246,7 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1663
2246
  kind: z.ZodLiteral<"external">;
1664
2247
  url: z.ZodString;
1665
2248
  }, z.core.$strict>], "kind">;
2249
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
1666
2250
  sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1667
2251
  title: z.ZodOptional<z.ZodString>;
1668
2252
  startAt: z.ZodString;
@@ -1672,12 +2256,25 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1672
2256
  content: z.ZodOptional<z.ZodObject<{
1673
2257
  summary: z.ZodOptional<z.ZodString>;
1674
2258
  body: z.ZodOptional<z.ZodUnknown>;
2259
+ image: z.ZodOptional<z.ZodUnknown>;
1675
2260
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
1676
2261
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
1677
2262
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
1678
2263
  }, z.core.$strict>>;
2264
+ programRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2265
+ program: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2266
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2267
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2268
+ }, z.core.$strict>>>;
1679
2269
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1680
2270
  }, z.core.$strict>;
2271
+ }, z.core.$strict>, z.ZodObject<{
2272
+ type: z.ZodLiteral<"deleteCourse">;
2273
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
2274
+ input: z.ZodObject<{
2275
+ identifier: z.ZodString;
2276
+ courseRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CourseRef, string>>>;
2277
+ }, z.core.$strict>;
1681
2278
  }, z.core.$strict>, z.ZodObject<{
1682
2279
  type: z.ZodLiteral<"upsertBookingPassProduct">;
1683
2280
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
@@ -1836,6 +2433,25 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1836
2433
  eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
1837
2434
  }, z.core.$strict>], "kind">;
1838
2435
  }, z.core.$strict>;
2436
+ }, z.core.$strict>, z.ZodObject<{
2437
+ type: z.ZodLiteral<"seedPortalOrder">;
2438
+ ref: z.ZodPipe<z.ZodString, z.ZodTransform<OrderRef, string>>;
2439
+ input: z.ZodObject<{
2440
+ customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
2441
+ subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
2442
+ kind: z.ZodLiteral<"event_registration">;
2443
+ eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
2444
+ }, z.core.$strict>, z.ZodObject<{
2445
+ kind: z.ZodLiteral<"course_enrollment">;
2446
+ courseEnrollmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
2447
+ }, z.core.$strict>], "kind">;
2448
+ paymentMethod: z.ZodEnum<{
2449
+ free: "free";
2450
+ membership_access: "membership_access";
2451
+ }>;
2452
+ subtotalCents: z.ZodNumber;
2453
+ currency: z.ZodString;
2454
+ }, z.core.$strict>;
1839
2455
  }, z.core.$strict>, z.ZodObject<{
1840
2456
  type: z.ZodLiteral<"upsertAppointmentService">;
1841
2457
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
@@ -1939,6 +2555,14 @@ export type SiteCommandOf<TType extends SiteCommandType> = SiteCommand extends i
1939
2555
  type: TType;
1940
2556
  } ? TCommand : never : never;
1941
2557
  export type ContentEntryIdentifierCommand = SiteCommandOf<'upsertContentEntry' | 'publishContentEntry' | 'unpublishContentEntry' | 'deleteContentEntry'>;
2558
+ export type PageIdentifierCommand = SiteCommandOf<'upsertPage' | 'publishPage' | 'unpublishPage'>;
2559
+ export type PageBlockIdentifierCommand = SiteCommandOf<'upsertPageBlock' | 'deletePageBlock'>;
2560
+ export type PageBlockPageIdentifierCommand = SiteCommandOf<'upsertPageBlock' | 'deletePageBlock' | 'reorderPageBlocks'>;
1942
2561
  export declare function entryIdentifierForCommand(command: ContentEntryIdentifierCommand): string;
2562
+ export declare function pageIdentifierForCommand(command: PageIdentifierCommand): string;
2563
+ export declare function pagePathForCommand(command: SiteCommandOf<'upsertPage'>): string;
2564
+ export declare function pageIdentifierForBlockCommand(command: PageBlockPageIdentifierCommand): string;
2565
+ export declare function blockIdentifierForCommand(command: PageBlockIdentifierCommand): string;
2566
+ export declare function blockOrderIdentifiersForCommand(command: SiteCommandOf<'reorderPageBlocks'>): readonly string[];
1943
2567
  export declare const siteCommandTypes: readonly SiteCommandType[];
1944
2568
  export {};