@riverbankcms/sdk 0.60.12 → 0.60.14

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 (91) hide show
  1. package/README.md +10 -7
  2. package/dist/_dts/api/src/bookingConfig.d.ts +31 -1
  3. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +38 -1
  4. package/dist/_dts/api/src/bookingOperations.d.ts +3 -0
  5. package/dist/_dts/api/src/bookingRecords.d.ts +45 -0
  6. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +4 -4
  7. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -5
  8. package/dist/_dts/api/src/communications.d.ts +1 -1
  9. package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
  10. package/dist/_dts/api/src/endpoints.d.ts +89 -9
  11. package/dist/_dts/api/src/index.d.ts +2 -1
  12. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
  13. package/dist/_dts/api/src/seoEndpoints.d.ts +2 -0
  14. package/dist/_dts/api/src/siteAssets.d.ts +0 -10
  15. package/dist/_dts/api/src/types.d.ts +1 -1
  16. package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
  17. package/dist/_dts/blocks/src/index.d.ts +1 -0
  18. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  19. package/dist/_dts/blocks/src/server.d.ts +1 -0
  20. package/dist/_dts/blocks/src/subroutes/fold.d.ts +40 -0
  21. package/dist/_dts/blocks/src/subroutes/formatDate.d.ts +12 -0
  22. package/dist/_dts/blocks/src/subroutes/index.d.ts +3 -0
  23. package/dist/_dts/blocks/src/subroutes/kinds.d.ts +32 -0
  24. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +3 -1
  25. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -0
  26. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +1 -0
  27. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +1 -0
  28. package/dist/_dts/blocks/src/system/spacing.d.ts +2 -1
  29. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +5 -0
  30. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +5 -1
  31. package/dist/_dts/core/src/booking-refunds.d.ts +8 -0
  32. package/dist/_dts/core/src/participant-identity.d.ts +1 -73
  33. package/dist/_dts/core/src/participants.d.ts +19 -7
  34. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +188 -36
  35. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -3
  36. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -3
  37. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -3
  38. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -3
  39. package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +13 -0
  40. package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +26 -0
  41. package/dist/_dts/sdk/src/contracts/page.d.ts +1 -0
  42. package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
  43. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -0
  44. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +4 -5
  45. package/dist/_dts/sdk/src/version.d.ts +1 -1
  46. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  47. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +17 -0
  48. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
  49. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  50. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +66 -30
  51. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +16 -0
  52. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  53. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +3 -3
  54. package/dist/_dts/theme-core/src/schema.d.ts +174 -6
  55. package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +328 -15
  56. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +54 -2
  57. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +124 -0
  58. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  59. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  60. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +21 -0
  61. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +2 -1
  62. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  63. package/dist/_dts/theme-core/src/site-styles/types.d.ts +135 -2
  64. package/dist/_dts/ui/src/badge.d.ts +1 -1
  65. package/dist/_dts/ui/src/button.d.ts +1 -1
  66. package/dist/cli/index.mjs +744 -176
  67. package/dist/client/bookings.mjs +115 -63
  68. package/dist/client/client.mjs +848 -227
  69. package/dist/client/hooks.mjs +737 -173
  70. package/dist/client/rendering/client.mjs +179 -100
  71. package/dist/client/rendering/islands.mjs +179 -99
  72. package/dist/client/rendering.mjs +847 -226
  73. package/dist/preview-next/before-render.mjs +103 -16
  74. package/dist/preview-next/client/runtime.mjs +1615 -319
  75. package/dist/preview-next/middleware.mjs +103 -16
  76. package/dist/server/components.mjs +838 -227
  77. package/dist/server/config-validation.mjs +737 -173
  78. package/dist/server/config.mjs +737 -173
  79. package/dist/server/data.mjs +737 -173
  80. package/dist/server/index.mjs +106 -79
  81. package/dist/server/next.mjs +841 -229
  82. package/dist/server/page-converter.mjs +589 -144
  83. package/dist/server/prebuild.mjs +1 -1
  84. package/dist/server/rendering/server.mjs +838 -227
  85. package/dist/server/rendering.mjs +838 -227
  86. package/dist/server/routing.mjs +771 -178
  87. package/dist/server/server.mjs +738 -174
  88. package/dist/server/theme-bridge.mjs +216 -39
  89. package/dist/server/theme.mjs +139 -37
  90. package/dist/styles/index.css +44 -2
  91. package/package.json +1 -1
@@ -617,7 +617,7 @@ var ENDPOINT_DEFINITIONS = {
617
617
  method: "GET",
618
618
  tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
619
619
  auth: "user",
620
- responseKind: "text"
620
+ responseKind: "blob"
621
621
  },
622
622
  getNewsletterSubscriber: {
623
623
  path: "/sites/{siteId}/newsletter/subscribers/{subscriberId}",
@@ -948,12 +948,7 @@ var ENDPOINT_DEFINITIONS = {
948
948
  ],
949
949
  auth: "user",
950
950
  responseKind: "json",
951
- errors: [
952
- "validation:invalid_input",
953
- "resource:not_found",
954
- "resource:conflict",
955
- "server:internal_error"
956
- ]
951
+ errors: ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"]
957
952
  },
958
953
  unpublishTeamMemberProfile: {
959
954
  path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/unpublish",
@@ -1206,6 +1201,13 @@ var ENDPOINT_DEFINITIONS = {
1206
1201
  auth: "user",
1207
1202
  responseKind: "json"
1208
1203
  },
1204
+ exportBookingAppointmentsCsv: {
1205
+ path: "/sites/{siteId}/bookings/appointments/export.csv",
1206
+ method: "GET",
1207
+ auth: "user",
1208
+ errors: [],
1209
+ responseKind: "blob"
1210
+ },
1209
1211
  createAppointment: {
1210
1212
  path: "/sites/{siteId}/bookings/appointments",
1211
1213
  method: "POST",
@@ -1333,6 +1335,13 @@ var ENDPOINT_DEFINITIONS = {
1333
1335
  auth: "user",
1334
1336
  responseKind: "json"
1335
1337
  },
1338
+ exportCourseEnrollmentsCsv: {
1339
+ path: "/sites/{siteId}/bookings/courses/{courseId}/enrollments/export.csv",
1340
+ method: "GET",
1341
+ auth: "user",
1342
+ errors: [],
1343
+ responseKind: "blob"
1344
+ },
1336
1345
  listCourseWaitlist: {
1337
1346
  path: "/sites/{siteId}/bookings/courses/{courseId}/waitlist",
1338
1347
  method: "GET",
@@ -2695,6 +2704,14 @@ var ENDPOINT_DEFINITIONS = {
2695
2704
  auth: "user",
2696
2705
  responseKind: "json"
2697
2706
  },
2707
+ exportSeoPagesCsv: {
2708
+ path: "/sites/{siteId}/seo/pages",
2709
+ method: "GET",
2710
+ tags: ["site-{siteId}", "seo-pages-{siteId}"],
2711
+ auth: "user",
2712
+ responseKind: "blob",
2713
+ errors: []
2714
+ },
2698
2715
  getSeoQueries: {
2699
2716
  path: "/sites/{siteId}/seo/queries",
2700
2717
  method: "GET",
@@ -2703,6 +2720,14 @@ var ENDPOINT_DEFINITIONS = {
2703
2720
  auth: "user",
2704
2721
  responseKind: "json"
2705
2722
  },
2723
+ exportSeoQueriesCsv: {
2724
+ path: "/sites/{siteId}/seo/queries",
2725
+ method: "GET",
2726
+ tags: ["site-{siteId}", "seo-queries-{siteId}"],
2727
+ auth: "user",
2728
+ responseKind: "blob",
2729
+ errors: []
2730
+ },
2706
2731
  getPerformanceOverview: {
2707
2732
  path: "/sites/{siteId}/performance/overview",
2708
2733
  method: "GET",
@@ -2751,7 +2776,12 @@ var ENDPOINT_DEFINITIONS = {
2751
2776
  path: "/media/{assetId}/canonical-crop",
2752
2777
  method: "POST",
2753
2778
  tags: ["media", "media-{assetId}"],
2754
- errors: ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"],
2779
+ errors: [
2780
+ "validation:invalid_input",
2781
+ "resource:not_found",
2782
+ "resource:conflict",
2783
+ "server:internal_error"
2784
+ ],
2755
2785
  auth: "user",
2756
2786
  responseKind: "json"
2757
2787
  },
@@ -3083,7 +3113,7 @@ var ENDPOINT_DEFINITIONS = {
3083
3113
  method: "GET",
3084
3114
  tags: [TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug],
3085
3115
  auth: "user",
3086
- responseKind: "text"
3116
+ responseKind: "blob"
3087
3117
  },
3088
3118
  // Public submit
3089
3119
  submitForm: {
@@ -3966,6 +3996,14 @@ var ENDPOINT_DEFINITIONS = {
3966
3996
  auth: "user",
3967
3997
  responseKind: "json"
3968
3998
  },
3999
+ exportEventSeriesAttendeesCsv: {
4000
+ path: "/sites/{siteId}/bookings/event-series/{seriesId}/attendees/export.csv",
4001
+ method: "GET",
4002
+ tags: ["site-{siteId}", "event-series-{seriesId}"],
4003
+ auth: "user",
4004
+ errors: [],
4005
+ responseKind: "blob"
4006
+ },
3969
4007
  listEventSeriesWaitlist: {
3970
4008
  path: "/sites/{siteId}/bookings/event-series/{seriesId}/waitlist",
3971
4009
  method: "GET",
@@ -4529,6 +4567,14 @@ var ENDPOINT_DEFINITIONS = {
4529
4567
  auth: "user",
4530
4568
  responseKind: "json"
4531
4569
  },
4570
+ exportBookingCustomersCsv: {
4571
+ path: "/sites/{siteId}/bookings/customers/export.csv",
4572
+ method: "GET",
4573
+ tags: ["site-{siteId}", "customers-{siteId}"],
4574
+ auth: "user",
4575
+ errors: [],
4576
+ responseKind: "blob"
4577
+ },
4532
4578
  createBookingCustomer: {
4533
4579
  path: "/sites/{siteId}/bookings/customers",
4534
4580
  method: "POST",
@@ -4556,6 +4602,21 @@ var ENDPOINT_DEFINITIONS = {
4556
4602
  "server:internal_error"
4557
4603
  ]
4558
4604
  },
4605
+ rectifyBookingParticipantIdentity: {
4606
+ path: "/sites/{siteId}/bookings/participants/{participantId}/identity",
4607
+ method: "PATCH",
4608
+ tags: ["site-{siteId}", "customers-{siteId}"],
4609
+ auth: "user",
4610
+ responseKind: "json",
4611
+ errors: [
4612
+ "validation:invalid_input",
4613
+ "auth:forbidden",
4614
+ "resource:not_found",
4615
+ "resource:already_exists",
4616
+ "resource:conflict",
4617
+ "server:internal_error"
4618
+ ]
4619
+ },
4559
4620
  listCustomerPasses: {
4560
4621
  path: "/sites/{siteId}/bookings/customers/{customerId}/passes",
4561
4622
  method: "GET",
@@ -4690,13 +4751,46 @@ var ENDPOINT_DEFINITIONS = {
4690
4751
  auth: "user",
4691
4752
  responseKind: "json"
4692
4753
  },
4754
+ exportMoneyPaymentsCsv: {
4755
+ path: "/sites/{siteId}/bookings/money/payments/export.csv",
4756
+ method: "GET",
4757
+ tags: ["site-{siteId}", "bookings", "money-payments-{siteId}"],
4758
+ errors: [],
4759
+ auth: "user",
4760
+ responseKind: "blob"
4761
+ },
4762
+ exportMoneyBreakdownsCsv: {
4763
+ path: "/sites/{siteId}/bookings/money/report/breakdowns/export.csv",
4764
+ method: "GET",
4765
+ tags: ["site-{siteId}", "bookings", "money-report-{siteId}"],
4766
+ errors: [],
4767
+ auth: "user",
4768
+ responseKind: "blob"
4769
+ },
4770
+ exportMoneyTimeSeriesCsv: {
4771
+ path: "/sites/{siteId}/bookings/money/report/time-series/export.csv",
4772
+ method: "GET",
4773
+ tags: ["site-{siteId}", "bookings", "money-report-{siteId}"],
4774
+ errors: [],
4775
+ auth: "user",
4776
+ responseKind: "blob"
4777
+ },
4693
4778
  listBookingActivity: {
4694
4779
  path: "/sites/{siteId}/bookings/activity",
4695
4780
  method: "GET",
4696
4781
  tags: ["site-{siteId}", "bookings", "activity-{siteId}"],
4782
+ errors: [],
4697
4783
  auth: "user",
4698
4784
  responseKind: "json"
4699
4785
  },
4786
+ exportBookingActivityCsv: {
4787
+ path: "/sites/{siteId}/bookings/activity/export.csv",
4788
+ method: "GET",
4789
+ tags: ["site-{siteId}", "bookings", "activity-{siteId}"],
4790
+ errors: [],
4791
+ auth: "user",
4792
+ responseKind: "blob"
4793
+ },
4700
4794
  // Site logs
4701
4795
  listSiteActivityLogs: {
4702
4796
  path: "/sites/{siteId}/logs/activity",
@@ -4848,13 +4942,6 @@ var ENDPOINT_DEFINITIONS = {
4848
4942
  auth: "user",
4849
4943
  responseKind: "blob"
4850
4944
  },
4851
- exportSeoCsv: {
4852
- path: "/sites/{siteId}/seo/export",
4853
- method: "GET",
4854
- tags: ["site-{siteId}", "seo"],
4855
- auth: "user",
4856
- responseKind: "blob"
4857
- },
4858
4945
  // Admin site cost (for admin panel)
4859
4946
  adminSiteCost: {
4860
4947
  path: "/admin/sites/{siteId}/cost",