@riverbankcms/sdk 0.67.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 (88) hide show
  1. package/README.md +21 -11
  2. package/dist/_dts/api/src/aiPlayground.d.ts +62 -14
  3. package/dist/_dts/api/src/billing.d.ts +7 -40
  4. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -1
  5. package/dist/_dts/api/src/bookingOperations.d.ts +32 -1
  6. package/dist/_dts/api/src/endpoints.d.ts +7 -0
  7. package/dist/_dts/api/src/public/types.d.ts +1 -1
  8. package/dist/_dts/billing/src/components/index.d.ts +426 -0
  9. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -0
  10. package/dist/_dts/blocks/src/client.d.ts +6 -0
  11. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -0
  12. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +3 -1
  13. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +140 -0
  14. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -0
  15. package/dist/_dts/blocks/src/system/runtime/hooks/useVisibleTabPolling.d.ts +10 -0
  16. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.default-ui.d.ts +8 -0
  17. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +484 -0
  18. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -2
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +5 -2
  20. package/dist/_dts/sdk/src/bookings/types.d.ts +2 -0
  21. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +32 -0
  22. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
  23. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +41 -11
  24. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +21 -0
  25. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +27 -0
  26. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +56 -0
  27. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +3 -1
  28. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +7 -1
  29. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +4 -8
  30. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +1 -0
  31. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +4 -8
  32. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +4 -8
  33. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +14 -68
  34. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +8 -0
  35. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +97 -0
  36. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +15 -0
  37. package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
  38. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +4 -0
  39. package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
  40. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +4 -4
  41. package/dist/_dts/sdk/src/theme-bridge/generateCssVars.d.ts +4 -12
  42. package/dist/_dts/sdk/src/theme-bridge/index.d.ts +1 -1
  43. package/dist/_dts/sdk/src/theme-bridge/types.d.ts +17 -9
  44. package/dist/_dts/sdk/src/version.d.ts +1 -1
  45. package/dist/_dts/site-commands/src/commands.d.ts +228 -1
  46. package/dist/_dts/site-commands/src/domain.d.ts +1 -1
  47. package/dist/_dts/site-commands/src/index.d.ts +1 -0
  48. package/dist/_dts/site-commands/src/metadata.d.ts +66 -1
  49. package/dist/_dts/site-commands/src/refContributions.d.ts +1 -0
  50. package/dist/_dts/site-commands/src/refs.d.ts +7 -1
  51. package/dist/_dts/{sdk/src/cli/merge-remote → site-commands/src}/stableJson.d.ts +2 -0
  52. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  53. package/dist/_dts/theme-core/src/index.d.ts +1 -1
  54. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +30 -23
  55. package/dist/cli/index.mjs +1699 -766
  56. package/dist/client/bookings.mjs +5107 -3348
  57. package/dist/client/client.mjs +4004 -3522
  58. package/dist/client/hooks.mjs +14 -0
  59. package/dist/client/rendering/client.mjs +4185 -3721
  60. package/dist/client/rendering/islands.mjs +4317 -3853
  61. package/dist/client/rendering.mjs +4076 -3592
  62. package/dist/preview-next/before-render.mjs +14 -0
  63. package/dist/preview-next/client/runtime.mjs +2770 -2268
  64. package/dist/preview-next/middleware.mjs +14 -0
  65. package/dist/server/components.mjs +172 -58
  66. package/dist/server/config-validation.mjs +14 -0
  67. package/dist/server/config.mjs +14 -0
  68. package/dist/server/data.mjs +14 -0
  69. package/dist/server/index.mjs +15 -1
  70. package/dist/server/next.mjs +166 -52
  71. package/dist/server/prebuild.mjs +1 -1
  72. package/dist/server/rendering/server.mjs +174 -58
  73. package/dist/server/rendering.mjs +174 -58
  74. package/dist/server/routing.mjs +14 -0
  75. package/dist/server/server.mjs +15 -1
  76. package/dist/server/theme-bridge.mjs +1247 -4825
  77. package/dist/styles/index.css +38 -38
  78. package/package.json +1 -1
  79. package/dist/_dts/blocks/src/system/runtime/components/booking/DateTimeSelectionStep.d.ts +0 -18
  80. package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts +0 -9
  81. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.d.ts +0 -44
  82. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts +0 -23
  83. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceSelectionStep.d.ts +0 -18
  84. package/dist/_dts/blocks/src/system/runtime/components/booking/slotDisplay.d.ts +0 -2
  85. package/dist/_dts/blocks/src/system/runtime/components/multi-step/MultiStepForm.d.ts +0 -21
  86. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.d.ts +0 -15
  87. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.state.d.ts +0 -51
  88. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSteps.d.ts +0 -22
@@ -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 OrderRef, type EventSeriesRef, type FormRef, type FooterRef, 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"];
@@ -345,6 +345,33 @@ export declare const upsertVenueCommandSchema: z.ZodObject<{
345
345
  mapEmbedUrl: z.ZodOptional<z.ZodString>;
346
346
  }, z.core.$strict>;
347
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>;
348
375
  export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
349
376
  type: z.ZodLiteral<"upsertEventSeries">;
350
377
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
@@ -358,6 +385,12 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
358
385
  retreat: "retreat";
359
386
  performance: "performance";
360
387
  }>;
388
+ status: z.ZodOptional<z.ZodEnum<{
389
+ active: "active";
390
+ draft: "draft";
391
+ cancelled: "cancelled";
392
+ archived: "archived";
393
+ }>>;
361
394
  visibility: z.ZodEnum<{
362
395
  draft: "draft";
363
396
  published: "published";
@@ -366,6 +399,11 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
366
399
  }>;
367
400
  timezone: z.ZodString;
368
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>;
369
407
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
370
408
  kind: z.ZodLiteral<"unlimited">;
371
409
  }, z.core.$strict>, z.ZodObject<{
@@ -397,6 +435,9 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
397
435
  kind: z.ZodLiteral<"external">;
398
436
  url: z.ZodString;
399
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>;
400
441
  deliveryMode: z.ZodOptional<z.ZodEnum<{
401
442
  in_person: "in_person";
402
443
  hybrid: "hybrid";
@@ -417,13 +458,25 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
417
458
  content: z.ZodOptional<z.ZodObject<{
418
459
  summary: z.ZodOptional<z.ZodString>;
419
460
  body: z.ZodOptional<z.ZodUnknown>;
461
+ image: z.ZodOptional<z.ZodUnknown>;
420
462
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
421
463
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
422
464
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
423
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>>>;
424
469
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
425
470
  }, z.core.$strict>;
426
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>;
427
480
  export declare const upsertEventTicketTypeCommandSchema: z.ZodObject<{
428
481
  type: z.ZodLiteral<"upsertEventTicketType">;
429
482
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
@@ -456,6 +509,11 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
456
509
  input: z.ZodObject<{
457
510
  slug: z.ZodString;
458
511
  title: z.ZodString;
512
+ status: z.ZodOptional<z.ZodEnum<{
513
+ active: "active";
514
+ draft: "draft";
515
+ cancelled: "cancelled";
516
+ }>>;
459
517
  visibility: z.ZodEnum<{
460
518
  draft: "draft";
461
519
  published: "published";
@@ -464,12 +522,18 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
464
522
  }>;
465
523
  timezone: z.ZodString;
466
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>;
467
530
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
468
531
  kind: z.ZodLiteral<"unlimited">;
469
532
  }, z.core.$strict>, z.ZodObject<{
470
533
  kind: z.ZodLiteral<"limited">;
471
534
  quantity: z.ZodNumber;
472
535
  }, z.core.$strict>], "kind">>;
536
+ enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
473
537
  waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
474
538
  kind: z.ZodLiteral<"disabled">;
475
539
  }, z.core.$strict>, z.ZodObject<{
@@ -492,6 +556,7 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
492
556
  kind: z.ZodLiteral<"external">;
493
557
  url: z.ZodString;
494
558
  }, z.core.$strict>], "kind">;
559
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
495
560
  sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
496
561
  title: z.ZodOptional<z.ZodString>;
497
562
  startAt: z.ZodString;
@@ -501,13 +566,27 @@ export declare const upsertCourseCommandSchema: z.ZodObject<{
501
566
  content: z.ZodOptional<z.ZodObject<{
502
567
  summary: z.ZodOptional<z.ZodString>;
503
568
  body: z.ZodOptional<z.ZodUnknown>;
569
+ image: z.ZodOptional<z.ZodUnknown>;
504
570
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
505
571
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
506
572
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
507
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>>>;
508
579
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
509
580
  }, z.core.$strict>;
510
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>;
511
590
  export declare const ensureTeamMemberProfileCommandSchema: z.ZodObject<{
512
591
  type: z.ZodLiteral<"ensureTeamMemberProfile">;
513
592
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
@@ -1150,6 +1229,30 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1150
1229
  }, z.core.$strict>>;
1151
1230
  mapEmbedUrl: z.ZodOptional<z.ZodString>;
1152
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>;
1153
1256
  }, z.core.$strict>, z.ZodObject<{
1154
1257
  type: z.ZodLiteral<"upsertEventSeries">;
1155
1258
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
@@ -1163,6 +1266,12 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1163
1266
  retreat: "retreat";
1164
1267
  performance: "performance";
1165
1268
  }>;
1269
+ status: z.ZodOptional<z.ZodEnum<{
1270
+ active: "active";
1271
+ draft: "draft";
1272
+ cancelled: "cancelled";
1273
+ archived: "archived";
1274
+ }>>;
1166
1275
  visibility: z.ZodEnum<{
1167
1276
  draft: "draft";
1168
1277
  published: "published";
@@ -1171,6 +1280,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1171
1280
  }>;
1172
1281
  timezone: z.ZodString;
1173
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>;
1174
1288
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1175
1289
  kind: z.ZodLiteral<"unlimited">;
1176
1290
  }, z.core.$strict>, z.ZodObject<{
@@ -1202,6 +1316,9 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1202
1316
  kind: z.ZodLiteral<"external">;
1203
1317
  url: z.ZodString;
1204
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>;
1205
1322
  deliveryMode: z.ZodOptional<z.ZodEnum<{
1206
1323
  in_person: "in_person";
1207
1324
  hybrid: "hybrid";
@@ -1222,12 +1339,23 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1222
1339
  content: z.ZodOptional<z.ZodObject<{
1223
1340
  summary: z.ZodOptional<z.ZodString>;
1224
1341
  body: z.ZodOptional<z.ZodUnknown>;
1342
+ image: z.ZodOptional<z.ZodUnknown>;
1225
1343
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
1226
1344
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
1227
1345
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
1228
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>>>;
1229
1350
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1230
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>;
1231
1359
  }, z.core.$strict>, z.ZodObject<{
1232
1360
  type: z.ZodLiteral<"upsertEventTicketType">;
1233
1361
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
@@ -1259,6 +1387,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1259
1387
  input: z.ZodObject<{
1260
1388
  slug: z.ZodString;
1261
1389
  title: z.ZodString;
1390
+ status: z.ZodOptional<z.ZodEnum<{
1391
+ active: "active";
1392
+ draft: "draft";
1393
+ cancelled: "cancelled";
1394
+ }>>;
1262
1395
  visibility: z.ZodEnum<{
1263
1396
  draft: "draft";
1264
1397
  published: "published";
@@ -1267,12 +1400,18 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1267
1400
  }>;
1268
1401
  timezone: z.ZodString;
1269
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>;
1270
1408
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1271
1409
  kind: z.ZodLiteral<"unlimited">;
1272
1410
  }, z.core.$strict>, z.ZodObject<{
1273
1411
  kind: z.ZodLiteral<"limited">;
1274
1412
  quantity: z.ZodNumber;
1275
1413
  }, z.core.$strict>], "kind">>;
1414
+ enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1276
1415
  waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1277
1416
  kind: z.ZodLiteral<"disabled">;
1278
1417
  }, z.core.$strict>, z.ZodObject<{
@@ -1295,6 +1434,7 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1295
1434
  kind: z.ZodLiteral<"external">;
1296
1435
  url: z.ZodString;
1297
1436
  }, z.core.$strict>], "kind">;
1437
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
1298
1438
  sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1299
1439
  title: z.ZodOptional<z.ZodString>;
1300
1440
  startAt: z.ZodString;
@@ -1304,12 +1444,25 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1304
1444
  content: z.ZodOptional<z.ZodObject<{
1305
1445
  summary: z.ZodOptional<z.ZodString>;
1306
1446
  body: z.ZodOptional<z.ZodUnknown>;
1447
+ image: z.ZodOptional<z.ZodUnknown>;
1307
1448
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
1308
1449
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
1309
1450
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
1310
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>>>;
1311
1457
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1312
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>;
1313
1466
  }, z.core.$strict>, z.ZodObject<{
1314
1467
  type: z.ZodLiteral<"upsertBookingPassProduct">;
1315
1468
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
@@ -1888,6 +2041,30 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1888
2041
  }, z.core.$strict>>;
1889
2042
  mapEmbedUrl: z.ZodOptional<z.ZodString>;
1890
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>;
1891
2068
  }, z.core.$strict>, z.ZodObject<{
1892
2069
  type: z.ZodLiteral<"upsertEventSeries">;
1893
2070
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
@@ -1901,6 +2078,12 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1901
2078
  retreat: "retreat";
1902
2079
  performance: "performance";
1903
2080
  }>;
2081
+ status: z.ZodOptional<z.ZodEnum<{
2082
+ active: "active";
2083
+ draft: "draft";
2084
+ cancelled: "cancelled";
2085
+ archived: "archived";
2086
+ }>>;
1904
2087
  visibility: z.ZodEnum<{
1905
2088
  draft: "draft";
1906
2089
  published: "published";
@@ -1909,6 +2092,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1909
2092
  }>;
1910
2093
  timezone: z.ZodString;
1911
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>;
1912
2100
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1913
2101
  kind: z.ZodLiteral<"unlimited">;
1914
2102
  }, z.core.$strict>, z.ZodObject<{
@@ -1940,6 +2128,9 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1940
2128
  kind: z.ZodLiteral<"external">;
1941
2129
  url: z.ZodString;
1942
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>;
1943
2134
  deliveryMode: z.ZodOptional<z.ZodEnum<{
1944
2135
  in_person: "in_person";
1945
2136
  hybrid: "hybrid";
@@ -1960,12 +2151,23 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1960
2151
  content: z.ZodOptional<z.ZodObject<{
1961
2152
  summary: z.ZodOptional<z.ZodString>;
1962
2153
  body: z.ZodOptional<z.ZodUnknown>;
2154
+ image: z.ZodOptional<z.ZodUnknown>;
1963
2155
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
1964
2156
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
1965
2157
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
1966
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>>>;
1967
2162
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1968
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>;
1969
2171
  }, z.core.$strict>, z.ZodObject<{
1970
2172
  type: z.ZodLiteral<"upsertEventTicketType">;
1971
2173
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
@@ -1997,6 +2199,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
1997
2199
  input: z.ZodObject<{
1998
2200
  slug: z.ZodString;
1999
2201
  title: z.ZodString;
2202
+ status: z.ZodOptional<z.ZodEnum<{
2203
+ active: "active";
2204
+ draft: "draft";
2205
+ cancelled: "cancelled";
2206
+ }>>;
2000
2207
  visibility: z.ZodEnum<{
2001
2208
  draft: "draft";
2002
2209
  published: "published";
@@ -2005,12 +2212,18 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
2005
2212
  }>;
2006
2213
  timezone: z.ZodString;
2007
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>;
2008
2220
  capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2009
2221
  kind: z.ZodLiteral<"unlimited">;
2010
2222
  }, z.core.$strict>, z.ZodObject<{
2011
2223
  kind: z.ZodLiteral<"limited">;
2012
2224
  quantity: z.ZodNumber;
2013
2225
  }, z.core.$strict>], "kind">>;
2226
+ enrollmentCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2014
2227
  waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2015
2228
  kind: z.ZodLiteral<"disabled">;
2016
2229
  }, z.core.$strict>, z.ZodObject<{
@@ -2033,6 +2246,7 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
2033
2246
  kind: z.ZodLiteral<"external">;
2034
2247
  url: z.ZodString;
2035
2248
  }, z.core.$strict>], "kind">;
2249
+ acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
2036
2250
  sessions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2037
2251
  title: z.ZodOptional<z.ZodString>;
2038
2252
  startAt: z.ZodString;
@@ -2042,12 +2256,25 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
2042
2256
  content: z.ZodOptional<z.ZodObject<{
2043
2257
  summary: z.ZodOptional<z.ZodString>;
2044
2258
  body: z.ZodOptional<z.ZodUnknown>;
2259
+ image: z.ZodOptional<z.ZodUnknown>;
2045
2260
  imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
2046
2261
  mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
2047
2262
  contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
2048
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>>>;
2049
2269
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
2050
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>;
2051
2278
  }, z.core.$strict>, z.ZodObject<{
2052
2279
  type: z.ZodLiteral<"upsertBookingPassProduct">;
2053
2280
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
@@ -2,7 +2,7 @@ import type { Brand } from '@riverbankcms/core';
2
2
  import type { SiteCommandCapabilityGapCode } from './capabilityGaps';
3
3
  import type { SiteCommandType } from './commands';
4
4
  import type { SiteCommandRef } from './refs';
5
- export declare const commandScopes: readonly ["site", "style", "media", "page", "block", "navigation", "form", "footer", "content", "staff", "venue", "event", "ticket", "course", "pass", "membership", "customer", "customer_pass", "customer_membership", "appointment", "course_enrollment", "event_registration", "pass_redemption", "order", "booking_settings", "appointment_service", "appointment_resource", "appointment_availability", "publish"];
5
+ export declare const commandScopes: readonly ["site", "style", "media", "page", "block", "navigation", "form", "footer", "content", "staff", "venue", "event_category", "event", "ticket", "course", "pass", "membership", "customer", "customer_pass", "customer_membership", "appointment", "course_enrollment", "event_registration", "pass_redemption", "order", "booking_settings", "appointment_service", "appointment_resource", "appointment_availability", "publish"];
6
6
  export type CommandScope = (typeof commandScopes)[number];
7
7
  export declare const commandRisks: readonly ["low", "medium", "high", "restricted"];
8
8
  export type CommandRisk = (typeof commandRisks)[number];
@@ -7,4 +7,5 @@ export * from './metadata';
7
7
  export * from './planner';
8
8
  export * from './refContributions';
9
9
  export * from './refs';
10
+ export * from './stableJson';
10
11
  export * from './staticExecutionGaps';
@@ -37,7 +37,7 @@ export declare const siteCommandMetadata: {
37
37
  readonly conflictPolicy: "update_existing";
38
38
  readonly previewability: "static_preview";
39
39
  readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
40
- readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "ai_proposal", "internal_apply"];
40
+ readonly intendedExposure: readonly ["recipe", "sdk_cli", "onboarding_planner", "internal_apply"];
41
41
  readonly capability: "theme.write";
42
42
  readonly support: "supported";
43
43
  };
@@ -275,6 +275,45 @@ export declare const siteCommandMetadata: {
275
275
  readonly capability: "bookings.venues.write";
276
276
  readonly support: "supported";
277
277
  };
278
+ readonly deleteVenue: {
279
+ readonly scope: "venue";
280
+ readonly risk: "medium";
281
+ readonly writeSemantics: "delete";
282
+ readonly lifecycleIntent: "mutation";
283
+ readonly idempotencyStrategy: "existing_id";
284
+ readonly conflictPolicy: "update_existing";
285
+ readonly previewability: "effect_required";
286
+ readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
287
+ readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
288
+ readonly capability: "bookings.venues.delete";
289
+ readonly support: "supported";
290
+ };
291
+ readonly upsertEventCategory: {
292
+ readonly scope: "event_category";
293
+ readonly risk: "medium";
294
+ readonly writeSemantics: "upsert";
295
+ readonly lifecycleIntent: "mutation";
296
+ readonly idempotencyStrategy: "recipe_ref";
297
+ readonly conflictPolicy: "update_existing";
298
+ readonly previewability: "dry_run_only";
299
+ readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
300
+ readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
301
+ readonly capability: "bookings.event_categories.write";
302
+ readonly support: "supported";
303
+ };
304
+ readonly deleteEventCategory: {
305
+ readonly scope: "event_category";
306
+ readonly risk: "medium";
307
+ readonly writeSemantics: "delete";
308
+ readonly lifecycleIntent: "mutation";
309
+ readonly idempotencyStrategy: "existing_id";
310
+ readonly conflictPolicy: "update_existing";
311
+ readonly previewability: "effect_required";
312
+ readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
313
+ readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
314
+ readonly capability: "bookings.event_categories.delete";
315
+ readonly support: "supported";
316
+ };
278
317
  readonly upsertEventSeries: {
279
318
  readonly scope: "event";
280
319
  readonly risk: "medium";
@@ -288,6 +327,19 @@ export declare const siteCommandMetadata: {
288
327
  readonly capability: "bookings.events.write";
289
328
  readonly support: "supported";
290
329
  };
330
+ readonly deleteEventSeries: {
331
+ readonly scope: "event";
332
+ readonly risk: "medium";
333
+ readonly writeSemantics: "delete";
334
+ readonly lifecycleIntent: "mutation";
335
+ readonly idempotencyStrategy: "existing_id";
336
+ readonly conflictPolicy: "update_existing";
337
+ readonly previewability: "effect_required";
338
+ readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
339
+ readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
340
+ readonly capability: "bookings.events.delete";
341
+ readonly support: "supported";
342
+ };
291
343
  readonly upsertEventTicketType: {
292
344
  readonly scope: "ticket";
293
345
  readonly risk: "medium";
@@ -314,6 +366,19 @@ export declare const siteCommandMetadata: {
314
366
  readonly capability: "bookings.courses.write";
315
367
  readonly support: "supported";
316
368
  };
369
+ readonly deleteCourse: {
370
+ readonly scope: "course";
371
+ readonly risk: "medium";
372
+ readonly writeSemantics: "delete";
373
+ readonly lifecycleIntent: "mutation";
374
+ readonly idempotencyStrategy: "existing_id";
375
+ readonly conflictPolicy: "update_existing";
376
+ readonly previewability: "effect_required";
377
+ readonly allowedRuntimes: readonly ["development", "staging", "demo", "production"];
378
+ readonly intendedExposure: readonly ["sdk_cli", "internal_apply"];
379
+ readonly capability: "bookings.courses.delete";
380
+ readonly support: "supported";
381
+ };
317
382
  readonly upsertBookingPassProduct: {
318
383
  readonly scope: "pass";
319
384
  readonly risk: "medium";
@@ -6,5 +6,6 @@ export type RefContribution = Readonly<{
6
6
  export type CommandRefContributions = Readonly<{
7
7
  provides: readonly RefContribution[];
8
8
  requires: readonly RefContribution[];
9
+ requiresIfProvided?: readonly RefContribution[];
9
10
  }>;
10
11
  export declare function commandRefContributions(command: SiteCommand): CommandRefContributions;
@@ -1,5 +1,5 @@
1
1
  import { type Brand, type Result } from '@riverbankcms/core';
2
- export declare const resourceKinds: readonly ["site-style", "media", "page", "block", "blocks", "nav", "form", "footer", "content", "staff", "venue", "event", "course", "ticket", "pass", "membership", "customer", "customer-pass", "customer-membership", "appointment", "course-enrollment", "event-registration", "pass-redemption", "order", "appointment-service", "appointment-resource", "availability"];
2
+ export declare const resourceKinds: readonly ["site-style", "media", "page", "block", "blocks", "nav", "form", "footer", "content", "staff", "venue", "event-category", "event", "course", "ticket", "pass", "membership", "customer", "customer-pass", "customer-membership", "appointment", "course-enrollment", "event-registration", "pass-redemption", "order", "appointment-service", "appointment-resource", "availability"];
3
3
  export type ResourceKind = (typeof resourceKinds)[number];
4
4
  export type CommandRef = Brand<`${string}:${string}`, 'SiteCommandRef:command'>;
5
5
  export type SiteStyleRef = Brand<`site-style:${string}`, 'SiteCommandResourceRef:site-style'>;
@@ -13,6 +13,7 @@ export type FooterRef = Brand<`footer:${string}`, 'SiteCommandResourceRef:footer
13
13
  export type ContentEntryRef = Brand<`content:${string}`, 'SiteCommandResourceRef:content'>;
14
14
  export type StaffRef = Brand<`staff:${string}`, 'SiteCommandResourceRef:staff'>;
15
15
  export type VenueRef = Brand<`venue:${string}`, 'SiteCommandResourceRef:venue'>;
16
+ export type EventCategoryRef = Brand<`event-category:${string}`, 'SiteCommandResourceRef:event-category'>;
16
17
  export type EventSeriesRef = Brand<`event:${string}`, 'SiteCommandResourceRef:event'>;
17
18
  export type CourseRef = Brand<`course:${string}`, 'SiteCommandResourceRef:course'>;
18
19
  export type TicketTypeRef = Brand<`ticket:${string}`, 'SiteCommandResourceRef:ticket'>;
@@ -42,6 +43,7 @@ export type ResourceRefByKind = Readonly<{
42
43
  content: ContentEntryRef;
43
44
  staff: StaffRef;
44
45
  venue: VenueRef;
46
+ 'event-category': EventCategoryRef;
45
47
  event: EventSeriesRef;
46
48
  course: CourseRef;
47
49
  ticket: TicketTypeRef;
@@ -80,6 +82,10 @@ export declare function createBlocksRef(parts: readonly string[]): BlocksRef;
80
82
  export declare function createNavigationRef(parts: readonly string[]): NavigationRef;
81
83
  export declare function createFormRef(parts: readonly string[]): FormRef;
82
84
  export declare function createFooterRef(parts: readonly string[]): FooterRef;
85
+ export declare function createVenueRef(parts: readonly string[]): VenueRef;
86
+ export declare function createEventCategoryRef(parts: readonly string[]): EventCategoryRef;
87
+ export declare function createEventSeriesRef(parts: readonly string[]): EventSeriesRef;
88
+ export declare function createCourseRef(parts: readonly string[]): CourseRef;
83
89
  export declare function createSiteCommandSiteRef(parts: readonly string[]): SiteCommandSiteRef;
84
90
  export declare function refSlug(ref: SiteCommandRef | string): string;
85
91
  export declare function parseResourceRef(value: string): Result<ResourceRef, RefParseError>;
@@ -1,3 +1,5 @@
1
1
  export declare function stableStringify(value: unknown): string;
2
+ export declare function stableJsonStringify(value: unknown): string;
3
+ export declare function stableSha1Hex(value: string): string;
2
4
  export declare function sortValue(value: unknown): unknown;
3
5
  export declare function sortRecord(record: Record<string, unknown>): Record<string, unknown>;