@riverbankcms/sdk 0.60.6 → 0.60.9

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 (103) hide show
  1. package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
  2. package/dist/_dts/api/src/bookingConfig.d.ts +6 -0
  3. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +45 -3
  4. package/dist/_dts/api/src/bookingOperations.d.ts +40 -3
  5. package/dist/_dts/api/src/courses.d.ts +1 -5
  6. package/dist/_dts/api/src/endpoints.d.ts +80 -1
  7. package/dist/_dts/api/src/index.d.ts +3 -2
  8. package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
  9. package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
  10. package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
  11. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +15 -1
  12. package/dist/_dts/api/src/resources.d.ts +1 -1
  13. package/dist/_dts/api/src/siteBanner.d.ts +8 -8
  14. package/dist/_dts/api/src/siteOnboarding.d.ts +1 -0
  15. package/dist/_dts/api/src/teamMembers.d.ts +27 -0
  16. package/dist/_dts/blocks/src/index.d.ts +2 -1
  17. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +35 -29
  18. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -5
  19. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +40 -34
  20. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -5
  21. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1 -1
  22. package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +2 -2
  23. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
  24. package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +24 -0
  25. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +18 -8
  26. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  27. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  28. package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
  29. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +185 -0
  30. package/dist/_dts/blocks/src/system/manifest/index.d.ts +1 -0
  31. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
  32. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -84
  33. package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
  34. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
  35. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +4 -4
  36. package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
  37. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
  38. package/dist/_dts/blocks/src/system/types/link.d.ts +93 -1
  39. package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
  40. package/dist/_dts/content-model/src/metadataConfig.d.ts +1 -0
  41. package/dist/_dts/core/src/branded.d.ts +2 -0
  42. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +124 -8
  43. package/dist/_dts/db/src/schemas/forms.d.ts +85 -64
  44. package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
  45. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
  46. package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +1 -1
  47. package/dist/_dts/sdk/src/client/types.d.ts +9 -2
  48. package/dist/_dts/sdk/src/config/typed-entries.d.ts +36 -1
  49. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  50. package/dist/_dts/sdk/src/config/validation.d.ts +40 -37
  51. package/dist/_dts/sdk/src/contracts/content.d.ts +6 -1
  52. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  53. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +18 -8
  54. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +1 -1
  55. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
  56. package/dist/_dts/sdk/src/public-api/contracts.d.ts +87 -69
  57. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  58. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -5
  59. package/dist/_dts/sdk/src/version.d.ts +1 -1
  60. package/dist/_dts/theme-core/src/accordions/types.d.ts +11 -11
  61. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +10 -10
  62. package/dist/_dts/theme-core/src/buttons/types.d.ts +27 -27
  63. package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
  64. package/dist/_dts/theme-core/src/inputs/types.d.ts +14 -14
  65. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +2 -2
  66. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +438 -438
  67. package/dist/_dts/theme-core/src/navigation/types.d.ts +16 -16
  68. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +15 -15
  69. package/dist/_dts/theme-core/src/schema.d.ts +662 -662
  70. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +4 -4
  71. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +15 -15
  72. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
  73. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  74. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +5 -5
  75. package/dist/_dts/ui/src/badge.d.ts +1 -1
  76. package/dist/_dts/ui/src/button-group.d.ts +1 -1
  77. package/dist/_dts/ui/src/button.d.ts +2 -2
  78. package/dist/_dts/ui/src/callout.d.ts +1 -1
  79. package/dist/_dts/ui/src/card.d.ts +1 -1
  80. package/dist/_dts/ui/src/surface.d.ts +2 -2
  81. package/dist/_dts/ui/src/toggle.d.ts +4 -4
  82. package/dist/cli/index.mjs +951 -451
  83. package/dist/client/client.mjs +39490 -38952
  84. package/dist/client/hooks.mjs +1992 -1741
  85. package/dist/client/rendering/client.mjs +179 -130
  86. package/dist/client/rendering/islands.mjs +68 -43
  87. package/dist/client/rendering.mjs +1812 -1292
  88. package/dist/preview-next/before-render.mjs +147 -1
  89. package/dist/preview-next/client/runtime.mjs +1377 -829
  90. package/dist/preview-next/middleware.mjs +147 -1
  91. package/dist/server/components.mjs +3246 -2751
  92. package/dist/server/config-validation.mjs +2198 -1962
  93. package/dist/server/config.mjs +2198 -1962
  94. package/dist/server/data.mjs +1992 -1741
  95. package/dist/server/index.mjs +168 -2
  96. package/dist/server/next.mjs +3230 -2701
  97. package/dist/server/page-converter.mjs +345 -259
  98. package/dist/server/prebuild.mjs +1 -1
  99. package/dist/server/rendering/server.mjs +3274 -2763
  100. package/dist/server/rendering.mjs +3274 -2763
  101. package/dist/server/routing.mjs +530 -309
  102. package/dist/server/server.mjs +2011 -1742
  103. package/package.json +1 -1
@@ -0,0 +1,27 @@
1
+ import type { ImageMedia } from "@riverbankcms/blocks";
2
+ /**
3
+ * Team member public contracts
4
+ *
5
+ * These types cover the compact staff identity payloads used by public team,
6
+ * event, and course surfaces.
7
+ *
8
+ * Note: Do NOT use these API types as validation schemas. They document wire
9
+ * contracts while the owning services validate and normalize inputs.
10
+ */
11
+ export type PublicTeamMemberSummary = {
12
+ id: string;
13
+ name: string;
14
+ roleLabel: string | null;
15
+ summary: string | null;
16
+ profilePath: string | null;
17
+ };
18
+ /**
19
+ * Public avatar image payload for dynamic team-member blocks.
20
+ */
21
+ export type PublicTeamMemberPhoto = ImageMedia | null;
22
+ export type PublicTeamMemberBlockItem = PublicTeamMemberSummary & {
23
+ _type: "teamMember";
24
+ role: string | null;
25
+ bio: string | null;
26
+ photo: PublicTeamMemberPhoto;
27
+ };
@@ -27,7 +27,8 @@ export * from "@riverbankcms/theme-core/runtime/buildThemeRuntimeFromBridge";
27
27
  export * from "@riverbankcms/theme-core/blocks";
28
28
  export * from "./system";
29
29
  export { SUPPORTED_LOADER_ENDPOINTS, isSupportedLoaderEndpoint, type SupportedLoaderEndpoint, } from "./system/data";
30
- export type { LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue } from "./system/types/link";
30
+ export type { LinkValue, InternalLinkValue, InternalResolvedLinkValue, InternalRouteOnlyLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, } from "./system/types/link";
31
+ export { linkSchema, internalLinkSchema, internalResolvedLinkSchema, internalRouteOnlyLinkSchema, externalLinkSchema, customLinkSchema, pageLinkSchema, entryLinkSchema, isInternalResolvedLinkValue, } from "./system/types/link";
31
32
  export { heroManifest } from "./system/blocks/hero";
32
33
  export type { HeroContent, HeroMedia } from "./system/blocks/hero";
33
34
  export { bodyTextManifest } from "./system/blocks/body-text";
@@ -21,7 +21,9 @@ export declare const courseSessionSchema: z.ZodObject<{
21
21
  export declare const courseTeamMemberSummarySchema: z.ZodObject<{
22
22
  id: z.ZodString;
23
23
  name: z.ZodString;
24
+ roleLabel: z.ZodNullable<z.ZodString>;
24
25
  summary: z.ZodNullable<z.ZodString>;
26
+ profilePath: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$strip>;
26
28
  export declare const coursePricingOptionSchema: z.ZodObject<{
27
29
  id: z.ZodString;
@@ -34,19 +36,19 @@ export declare const coursePricingOptionSchema: z.ZodObject<{
34
36
  saleStartsAt: z.ZodNullable<z.ZodString>;
35
37
  saleEndsAt: z.ZodNullable<z.ZodString>;
36
38
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
37
- both: "both";
38
39
  in_person: "in_person";
40
+ both: "both";
39
41
  online: "online";
40
42
  }>>>;
41
43
  }, z.core.$strip>;
42
44
  export declare const coursePricingSchema: z.ZodObject<{
43
45
  bookingRequirement: z.ZodEnum<{
44
- none: "none";
45
46
  required: "required";
47
+ none: "none";
46
48
  }>;
47
49
  pricingStrategy: z.ZodEnum<{
48
- single: "single";
49
50
  free: "free";
51
+ single: "single";
50
52
  tiered: "tiered";
51
53
  }>;
52
54
  currency: z.ZodString;
@@ -67,9 +69,9 @@ export declare const coursePricingSchema: z.ZodObject<{
67
69
  }>;
68
70
  remainderDueCount: z.ZodNumber;
69
71
  intervalUnit: z.ZodEnum<{
72
+ month: "month";
70
73
  day: "day";
71
74
  week: "week";
72
- month: "month";
73
75
  }>;
74
76
  }, z.core.$strip>, z.ZodObject<{
75
77
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -81,18 +83,18 @@ export declare const coursePricingSchema: z.ZodObject<{
81
83
  instalmentCount: z.ZodNumber;
82
84
  intervalCount: z.ZodNumber;
83
85
  intervalUnit: z.ZodEnum<{
86
+ month: "month";
84
87
  day: "day";
85
88
  week: "week";
86
- month: "month";
87
89
  }>;
88
90
  }, z.core.$strip>, z.ZodObject<{
89
91
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
90
92
  instalmentCount: z.ZodNumber;
91
93
  intervalCount: z.ZodNumber;
92
94
  intervalUnit: z.ZodEnum<{
95
+ month: "month";
93
96
  day: "day";
94
97
  week: "week";
95
- month: "month";
96
98
  }>;
97
99
  }, z.core.$strip>]>;
98
100
  }, z.core.$strip>, z.ZodObject<{
@@ -124,8 +126,8 @@ export declare const coursePricingSchema: z.ZodObject<{
124
126
  saleStartsAt: z.ZodNullable<z.ZodString>;
125
127
  saleEndsAt: z.ZodNullable<z.ZodString>;
126
128
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
127
- both: "both";
128
129
  in_person: "in_person";
130
+ both: "both";
129
131
  online: "online";
130
132
  }>>>;
131
133
  }, z.core.$strip>>;
@@ -141,17 +143,19 @@ export declare const publicCourseSchema: z.ZodObject<{
141
143
  teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
142
144
  id: z.ZodString;
143
145
  name: z.ZodString;
146
+ roleLabel: z.ZodNullable<z.ZodString>;
144
147
  summary: z.ZodNullable<z.ZodString>;
148
+ profilePath: z.ZodNullable<z.ZodString>;
145
149
  }, z.core.$strip>>>;
146
150
  enrollmentOpen: z.ZodBoolean;
147
151
  pricing: z.ZodOptional<z.ZodObject<{
148
152
  bookingRequirement: z.ZodEnum<{
149
- none: "none";
150
153
  required: "required";
154
+ none: "none";
151
155
  }>;
152
156
  pricingStrategy: z.ZodEnum<{
153
- single: "single";
154
157
  free: "free";
158
+ single: "single";
155
159
  tiered: "tiered";
156
160
  }>;
157
161
  currency: z.ZodString;
@@ -172,9 +176,9 @@ export declare const publicCourseSchema: z.ZodObject<{
172
176
  }>;
173
177
  remainderDueCount: z.ZodNumber;
174
178
  intervalUnit: z.ZodEnum<{
179
+ month: "month";
175
180
  day: "day";
176
181
  week: "week";
177
- month: "month";
178
182
  }>;
179
183
  }, z.core.$strip>, z.ZodObject<{
180
184
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -186,18 +190,18 @@ export declare const publicCourseSchema: z.ZodObject<{
186
190
  instalmentCount: z.ZodNumber;
187
191
  intervalCount: z.ZodNumber;
188
192
  intervalUnit: z.ZodEnum<{
193
+ month: "month";
189
194
  day: "day";
190
195
  week: "week";
191
- month: "month";
192
196
  }>;
193
197
  }, z.core.$strip>, z.ZodObject<{
194
198
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
195
199
  instalmentCount: z.ZodNumber;
196
200
  intervalCount: z.ZodNumber;
197
201
  intervalUnit: z.ZodEnum<{
202
+ month: "month";
198
203
  day: "day";
199
204
  week: "week";
200
- month: "month";
201
205
  }>;
202
206
  }, z.core.$strip>]>;
203
207
  }, z.core.$strip>, z.ZodObject<{
@@ -229,8 +233,8 @@ export declare const publicCourseSchema: z.ZodObject<{
229
233
  saleStartsAt: z.ZodNullable<z.ZodString>;
230
234
  saleEndsAt: z.ZodNullable<z.ZodString>;
231
235
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
232
- both: "both";
233
236
  in_person: "in_person";
237
+ both: "both";
234
238
  online: "online";
235
239
  }>>>;
236
240
  }, z.core.$strip>>;
@@ -253,9 +257,9 @@ export declare const publicCourseSchema: z.ZodObject<{
253
257
  }>;
254
258
  remainderDueCount: z.ZodNumber;
255
259
  intervalUnit: z.ZodEnum<{
260
+ month: "month";
256
261
  day: "day";
257
262
  week: "week";
258
- month: "month";
259
263
  }>;
260
264
  }, z.core.$strip>, z.ZodObject<{
261
265
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -267,18 +271,18 @@ export declare const publicCourseSchema: z.ZodObject<{
267
271
  instalmentCount: z.ZodNumber;
268
272
  intervalCount: z.ZodNumber;
269
273
  intervalUnit: z.ZodEnum<{
274
+ month: "month";
270
275
  day: "day";
271
276
  week: "week";
272
- month: "month";
273
277
  }>;
274
278
  }, z.core.$strip>, z.ZodObject<{
275
279
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
276
280
  instalmentCount: z.ZodNumber;
277
281
  intervalCount: z.ZodNumber;
278
282
  intervalUnit: z.ZodEnum<{
283
+ month: "month";
279
284
  day: "day";
280
285
  week: "week";
281
- month: "month";
282
286
  }>;
283
287
  }, z.core.$strip>]>;
284
288
  }, z.core.$strip>, z.ZodObject<{
@@ -302,9 +306,9 @@ export declare const publicCourseSchema: z.ZodObject<{
302
306
  enrollmentCapacity: z.ZodNullable<z.ZodNumber>;
303
307
  acceptsMemberships: z.ZodBoolean;
304
308
  status: z.ZodEnum<{
305
- active: "active";
306
- cancelled: "cancelled";
307
309
  draft: "draft";
310
+ cancelled: "cancelled";
311
+ active: "active";
308
312
  }>;
309
313
  sessionsCount: z.ZodNumber;
310
314
  enrolledCount: z.ZodNumber;
@@ -335,17 +339,19 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
335
339
  teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
340
  id: z.ZodString;
337
341
  name: z.ZodString;
342
+ roleLabel: z.ZodNullable<z.ZodString>;
338
343
  summary: z.ZodNullable<z.ZodString>;
344
+ profilePath: z.ZodNullable<z.ZodString>;
339
345
  }, z.core.$strip>>>;
340
346
  enrollmentOpen: z.ZodBoolean;
341
347
  pricing: z.ZodOptional<z.ZodObject<{
342
348
  bookingRequirement: z.ZodEnum<{
343
- none: "none";
344
349
  required: "required";
350
+ none: "none";
345
351
  }>;
346
352
  pricingStrategy: z.ZodEnum<{
347
- single: "single";
348
353
  free: "free";
354
+ single: "single";
349
355
  tiered: "tiered";
350
356
  }>;
351
357
  currency: z.ZodString;
@@ -366,9 +372,9 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
366
372
  }>;
367
373
  remainderDueCount: z.ZodNumber;
368
374
  intervalUnit: z.ZodEnum<{
375
+ month: "month";
369
376
  day: "day";
370
377
  week: "week";
371
- month: "month";
372
378
  }>;
373
379
  }, z.core.$strip>, z.ZodObject<{
374
380
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -380,18 +386,18 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
380
386
  instalmentCount: z.ZodNumber;
381
387
  intervalCount: z.ZodNumber;
382
388
  intervalUnit: z.ZodEnum<{
389
+ month: "month";
383
390
  day: "day";
384
391
  week: "week";
385
- month: "month";
386
392
  }>;
387
393
  }, z.core.$strip>, z.ZodObject<{
388
394
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
389
395
  instalmentCount: z.ZodNumber;
390
396
  intervalCount: z.ZodNumber;
391
397
  intervalUnit: z.ZodEnum<{
398
+ month: "month";
392
399
  day: "day";
393
400
  week: "week";
394
- month: "month";
395
401
  }>;
396
402
  }, z.core.$strip>]>;
397
403
  }, z.core.$strip>, z.ZodObject<{
@@ -423,8 +429,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
423
429
  saleStartsAt: z.ZodNullable<z.ZodString>;
424
430
  saleEndsAt: z.ZodNullable<z.ZodString>;
425
431
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
426
- both: "both";
427
432
  in_person: "in_person";
433
+ both: "both";
428
434
  online: "online";
429
435
  }>>>;
430
436
  }, z.core.$strip>>;
@@ -447,9 +453,9 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
447
453
  }>;
448
454
  remainderDueCount: z.ZodNumber;
449
455
  intervalUnit: z.ZodEnum<{
456
+ month: "month";
450
457
  day: "day";
451
458
  week: "week";
452
- month: "month";
453
459
  }>;
454
460
  }, z.core.$strip>, z.ZodObject<{
455
461
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -461,18 +467,18 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
461
467
  instalmentCount: z.ZodNumber;
462
468
  intervalCount: z.ZodNumber;
463
469
  intervalUnit: z.ZodEnum<{
470
+ month: "month";
464
471
  day: "day";
465
472
  week: "week";
466
- month: "month";
467
473
  }>;
468
474
  }, z.core.$strip>, z.ZodObject<{
469
475
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
470
476
  instalmentCount: z.ZodNumber;
471
477
  intervalCount: z.ZodNumber;
472
478
  intervalUnit: z.ZodEnum<{
479
+ month: "month";
473
480
  day: "day";
474
481
  week: "week";
475
- month: "month";
476
482
  }>;
477
483
  }, z.core.$strip>]>;
478
484
  }, z.core.$strip>, z.ZodObject<{
@@ -496,9 +502,9 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
496
502
  enrollmentCapacity: z.ZodNullable<z.ZodNumber>;
497
503
  acceptsMemberships: z.ZodBoolean;
498
504
  status: z.ZodEnum<{
499
- active: "active";
500
- cancelled: "cancelled";
501
505
  draft: "draft";
506
+ cancelled: "cancelled";
507
+ active: "active";
502
508
  }>;
503
509
  sessionsCount: z.ZodNumber;
504
510
  enrolledCount: z.ZodNumber;
@@ -2,6 +2,7 @@
2
2
  * Shared types for course display blocks
3
3
  */
4
4
  import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
5
+ import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
5
6
  /**
6
7
  * Course status values
7
8
  */
@@ -25,11 +26,6 @@ export type CourseSession = {
25
26
  capacityOverride?: number | null;
26
27
  overrides?: Record<string, unknown> | null;
27
28
  };
28
- export type PublicTeamMemberSummary = {
29
- id: string;
30
- name: string;
31
- summary: string | null;
32
- };
33
29
  export type CoursePricingOption = {
34
30
  id: string;
35
31
  name: string;
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const eventPresetSchema: z.ZodEnum<{
3
+ event: "event";
3
4
  class: "class";
4
5
  workshop: "workshop";
5
6
  retreat: "retreat";
6
7
  performance: "performance";
7
- event: "event";
8
8
  }>;
9
9
  export declare const eventScheduleScopeSchema: z.ZodEnum<{
10
10
  recurring: "recurring";
@@ -34,8 +34,8 @@ export declare const eventCategorySchema: z.ZodObject<{
34
34
  * Pricing type for public events
35
35
  */
36
36
  export declare const pricingTypeSchema: z.ZodEnum<{
37
- paid: "paid";
38
37
  free: "free";
38
+ paid: "paid";
39
39
  pass_only: "pass_only";
40
40
  membership_only: "membership_only";
41
41
  }>;
@@ -88,13 +88,13 @@ export declare const publicEventTicketTypeSchema: z.ZodObject<{
88
88
  isActive: z.ZodBoolean;
89
89
  sortOrder: z.ZodNumber;
90
90
  capacityMode: z.ZodEnum<{
91
- limited: "limited";
92
91
  unlimited: "unlimited";
92
+ limited: "limited";
93
93
  }>;
94
94
  capacityLimit: z.ZodNullable<z.ZodNumber>;
95
95
  attendanceScope: z.ZodOptional<z.ZodEnum<{
96
- both: "both";
97
96
  in_person: "in_person";
97
+ both: "both";
98
98
  online: "online";
99
99
  }>>;
100
100
  saleStartsAt: z.ZodNullable<z.ZodString>;
@@ -119,7 +119,9 @@ export declare const publicEventTicketTypeSchema: z.ZodObject<{
119
119
  export declare const publicTeamMemberSummarySchema: z.ZodObject<{
120
120
  id: z.ZodString;
121
121
  name: z.ZodString;
122
+ roleLabel: z.ZodNullable<z.ZodString>;
122
123
  summary: z.ZodNullable<z.ZodString>;
124
+ profilePath: z.ZodNullable<z.ZodString>;
123
125
  }, z.core.$strip>;
124
126
  /**
125
127
  * Zod schema for public event data
@@ -130,11 +132,11 @@ export declare const publicEventSchema: z.ZodObject<{
130
132
  course_session: "course_session";
131
133
  }>>;
132
134
  eventPreset: z.ZodOptional<z.ZodEnum<{
135
+ event: "event";
133
136
  class: "class";
134
137
  workshop: "workshop";
135
138
  retreat: "retreat";
136
139
  performance: "performance";
137
- event: "event";
138
140
  }>>;
139
141
  scheduleScope: z.ZodOptional<z.ZodEnum<{
140
142
  recurring: "recurring";
@@ -356,8 +358,8 @@ export declare const publicEventSchema: z.ZodObject<{
356
358
  requiresRegistration: z.ZodBoolean;
357
359
  deliveryMode: z.ZodEnum<{
358
360
  in_person: "in_person";
359
- online: "online";
360
361
  hybrid: "hybrid";
362
+ online: "online";
361
363
  }>;
362
364
  attendanceModes: z.ZodArray<z.ZodObject<{
363
365
  mode: z.ZodEnum<{
@@ -392,17 +394,19 @@ export declare const publicEventSchema: z.ZodObject<{
392
394
  teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
393
395
  id: z.ZodString;
394
396
  name: z.ZodString;
397
+ roleLabel: z.ZodNullable<z.ZodString>;
395
398
  summary: z.ZodNullable<z.ZodString>;
399
+ profilePath: z.ZodNullable<z.ZodString>;
396
400
  }, z.core.$strip>>>;
397
401
  status: z.ZodOptional<z.ZodEnum<{
398
- active: "active";
399
402
  draft: "draft";
403
+ active: "active";
400
404
  archived: "archived";
401
405
  }>>;
402
406
  timeZone: z.ZodString;
403
407
  pricingType: z.ZodEnum<{
404
- paid: "paid";
405
408
  free: "free";
409
+ paid: "paid";
406
410
  pass_only: "pass_only";
407
411
  membership_only: "membership_only";
408
412
  }>;
@@ -424,9 +428,9 @@ export declare const publicEventSchema: z.ZodObject<{
424
428
  }>;
425
429
  remainderDueCount: z.ZodNumber;
426
430
  intervalUnit: z.ZodEnum<{
431
+ month: "month";
427
432
  day: "day";
428
433
  week: "week";
429
- month: "month";
430
434
  }>;
431
435
  }, z.core.$strip>, z.ZodObject<{
432
436
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -438,18 +442,18 @@ export declare const publicEventSchema: z.ZodObject<{
438
442
  instalmentCount: z.ZodNumber;
439
443
  intervalCount: z.ZodNumber;
440
444
  intervalUnit: z.ZodEnum<{
445
+ month: "month";
441
446
  day: "day";
442
447
  week: "week";
443
- month: "month";
444
448
  }>;
445
449
  }, z.core.$strip>, z.ZodObject<{
446
450
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
447
451
  instalmentCount: z.ZodNumber;
448
452
  intervalCount: z.ZodNumber;
449
453
  intervalUnit: z.ZodEnum<{
454
+ month: "month";
450
455
  day: "day";
451
456
  week: "week";
452
- month: "month";
453
457
  }>;
454
458
  }, z.core.$strip>]>;
455
459
  }, z.core.$strip>, z.ZodObject<{
@@ -484,13 +488,13 @@ export declare const publicEventSchema: z.ZodObject<{
484
488
  isActive: z.ZodBoolean;
485
489
  sortOrder: z.ZodNumber;
486
490
  capacityMode: z.ZodEnum<{
487
- limited: "limited";
488
491
  unlimited: "unlimited";
492
+ limited: "limited";
489
493
  }>;
490
494
  capacityLimit: z.ZodNullable<z.ZodNumber>;
491
495
  attendanceScope: z.ZodOptional<z.ZodEnum<{
492
- both: "both";
493
496
  in_person: "in_person";
497
+ both: "both";
494
498
  online: "online";
495
499
  }>>;
496
500
  saleStartsAt: z.ZodNullable<z.ZodString>;
@@ -524,12 +528,12 @@ export declare const publicEventSchema: z.ZodObject<{
524
528
  id: z.ZodString;
525
529
  pricing: z.ZodOptional<z.ZodObject<{
526
530
  bookingRequirement: z.ZodEnum<{
527
- none: "none";
528
531
  required: "required";
532
+ none: "none";
529
533
  }>;
530
534
  pricingStrategy: z.ZodEnum<{
531
- single: "single";
532
535
  free: "free";
536
+ single: "single";
533
537
  tiered: "tiered";
534
538
  }>;
535
539
  currency: z.ZodString;
@@ -550,9 +554,9 @@ export declare const publicEventSchema: z.ZodObject<{
550
554
  }>;
551
555
  remainderDueCount: z.ZodNumber;
552
556
  intervalUnit: z.ZodEnum<{
557
+ month: "month";
553
558
  day: "day";
554
559
  week: "week";
555
- month: "month";
556
560
  }>;
557
561
  }, z.core.$strip>, z.ZodObject<{
558
562
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -564,18 +568,18 @@ export declare const publicEventSchema: z.ZodObject<{
564
568
  instalmentCount: z.ZodNumber;
565
569
  intervalCount: z.ZodNumber;
566
570
  intervalUnit: z.ZodEnum<{
571
+ month: "month";
567
572
  day: "day";
568
573
  week: "week";
569
- month: "month";
570
574
  }>;
571
575
  }, z.core.$strip>, z.ZodObject<{
572
576
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
573
577
  instalmentCount: z.ZodNumber;
574
578
  intervalCount: z.ZodNumber;
575
579
  intervalUnit: z.ZodEnum<{
580
+ month: "month";
576
581
  day: "day";
577
582
  week: "week";
578
- month: "month";
579
583
  }>;
580
584
  }, z.core.$strip>]>;
581
585
  }, z.core.$strip>, z.ZodObject<{
@@ -607,8 +611,8 @@ export declare const publicEventSchema: z.ZodObject<{
607
611
  saleStartsAt: z.ZodNullable<z.ZodString>;
608
612
  saleEndsAt: z.ZodNullable<z.ZodString>;
609
613
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
610
- both: "both";
611
614
  in_person: "in_person";
615
+ both: "both";
612
616
  online: "online";
613
617
  }>>>;
614
618
  }, z.core.$strip>>;
@@ -627,11 +631,11 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
627
631
  course_session: "course_session";
628
632
  }>>;
629
633
  eventPreset: z.ZodOptional<z.ZodEnum<{
634
+ event: "event";
630
635
  class: "class";
631
636
  workshop: "workshop";
632
637
  retreat: "retreat";
633
638
  performance: "performance";
634
- event: "event";
635
639
  }>>;
636
640
  scheduleScope: z.ZodOptional<z.ZodEnum<{
637
641
  recurring: "recurring";
@@ -853,8 +857,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
853
857
  requiresRegistration: z.ZodBoolean;
854
858
  deliveryMode: z.ZodEnum<{
855
859
  in_person: "in_person";
856
- online: "online";
857
860
  hybrid: "hybrid";
861
+ online: "online";
858
862
  }>;
859
863
  attendanceModes: z.ZodArray<z.ZodObject<{
860
864
  mode: z.ZodEnum<{
@@ -889,17 +893,19 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
889
893
  teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
890
894
  id: z.ZodString;
891
895
  name: z.ZodString;
896
+ roleLabel: z.ZodNullable<z.ZodString>;
892
897
  summary: z.ZodNullable<z.ZodString>;
898
+ profilePath: z.ZodNullable<z.ZodString>;
893
899
  }, z.core.$strip>>>;
894
900
  status: z.ZodOptional<z.ZodEnum<{
895
- active: "active";
896
901
  draft: "draft";
902
+ active: "active";
897
903
  archived: "archived";
898
904
  }>>;
899
905
  timeZone: z.ZodString;
900
906
  pricingType: z.ZodEnum<{
901
- paid: "paid";
902
907
  free: "free";
908
+ paid: "paid";
903
909
  pass_only: "pass_only";
904
910
  membership_only: "membership_only";
905
911
  }>;
@@ -921,9 +927,9 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
921
927
  }>;
922
928
  remainderDueCount: z.ZodNumber;
923
929
  intervalUnit: z.ZodEnum<{
930
+ month: "month";
924
931
  day: "day";
925
932
  week: "week";
926
- month: "month";
927
933
  }>;
928
934
  }, z.core.$strip>, z.ZodObject<{
929
935
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -935,18 +941,18 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
935
941
  instalmentCount: z.ZodNumber;
936
942
  intervalCount: z.ZodNumber;
937
943
  intervalUnit: z.ZodEnum<{
944
+ month: "month";
938
945
  day: "day";
939
946
  week: "week";
940
- month: "month";
941
947
  }>;
942
948
  }, z.core.$strip>, z.ZodObject<{
943
949
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
944
950
  instalmentCount: z.ZodNumber;
945
951
  intervalCount: z.ZodNumber;
946
952
  intervalUnit: z.ZodEnum<{
953
+ month: "month";
947
954
  day: "day";
948
955
  week: "week";
949
- month: "month";
950
956
  }>;
951
957
  }, z.core.$strip>]>;
952
958
  }, z.core.$strip>, z.ZodObject<{
@@ -981,13 +987,13 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
981
987
  isActive: z.ZodBoolean;
982
988
  sortOrder: z.ZodNumber;
983
989
  capacityMode: z.ZodEnum<{
984
- limited: "limited";
985
990
  unlimited: "unlimited";
991
+ limited: "limited";
986
992
  }>;
987
993
  capacityLimit: z.ZodNullable<z.ZodNumber>;
988
994
  attendanceScope: z.ZodOptional<z.ZodEnum<{
989
- both: "both";
990
995
  in_person: "in_person";
996
+ both: "both";
991
997
  online: "online";
992
998
  }>>;
993
999
  saleStartsAt: z.ZodNullable<z.ZodString>;
@@ -1021,12 +1027,12 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1021
1027
  id: z.ZodString;
1022
1028
  pricing: z.ZodOptional<z.ZodObject<{
1023
1029
  bookingRequirement: z.ZodEnum<{
1024
- none: "none";
1025
1030
  required: "required";
1031
+ none: "none";
1026
1032
  }>;
1027
1033
  pricingStrategy: z.ZodEnum<{
1028
- single: "single";
1029
1034
  free: "free";
1035
+ single: "single";
1030
1036
  tiered: "tiered";
1031
1037
  }>;
1032
1038
  currency: z.ZodString;
@@ -1047,9 +1053,9 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1047
1053
  }>;
1048
1054
  remainderDueCount: z.ZodNumber;
1049
1055
  intervalUnit: z.ZodEnum<{
1056
+ month: "month";
1050
1057
  day: "day";
1051
1058
  week: "week";
1052
- month: "month";
1053
1059
  }>;
1054
1060
  }, z.core.$strip>, z.ZodObject<{
1055
1061
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -1061,18 +1067,18 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1061
1067
  instalmentCount: z.ZodNumber;
1062
1068
  intervalCount: z.ZodNumber;
1063
1069
  intervalUnit: z.ZodEnum<{
1070
+ month: "month";
1064
1071
  day: "day";
1065
1072
  week: "week";
1066
- month: "month";
1067
1073
  }>;
1068
1074
  }, z.core.$strip>, z.ZodObject<{
1069
1075
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
1070
1076
  instalmentCount: z.ZodNumber;
1071
1077
  intervalCount: z.ZodNumber;
1072
1078
  intervalUnit: z.ZodEnum<{
1079
+ month: "month";
1073
1080
  day: "day";
1074
1081
  week: "week";
1075
- month: "month";
1076
1082
  }>;
1077
1083
  }, z.core.$strip>]>;
1078
1084
  }, z.core.$strip>, z.ZodObject<{
@@ -1104,8 +1110,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1104
1110
  saleStartsAt: z.ZodNullable<z.ZodString>;
1105
1111
  saleEndsAt: z.ZodNullable<z.ZodString>;
1106
1112
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1107
- both: "both";
1108
1113
  in_person: "in_person";
1114
+ both: "both";
1109
1115
  online: "online";
1110
1116
  }>>>;
1111
1117
  }, z.core.$strip>>;