@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
@@ -630,7 +630,7 @@ var ENDPOINT_DEFINITIONS = {
630
630
  method: "GET",
631
631
  tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
632
632
  auth: "user",
633
- responseKind: "text"
633
+ responseKind: "blob"
634
634
  },
635
635
  getNewsletterSubscriber: {
636
636
  path: "/sites/{siteId}/newsletter/subscribers/{subscriberId}",
@@ -961,12 +961,7 @@ var ENDPOINT_DEFINITIONS = {
961
961
  ],
962
962
  auth: "user",
963
963
  responseKind: "json",
964
- errors: [
965
- "validation:invalid_input",
966
- "resource:not_found",
967
- "resource:conflict",
968
- "server:internal_error"
969
- ]
964
+ errors: ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"]
970
965
  },
971
966
  unpublishTeamMemberProfile: {
972
967
  path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/unpublish",
@@ -1219,6 +1214,13 @@ var ENDPOINT_DEFINITIONS = {
1219
1214
  auth: "user",
1220
1215
  responseKind: "json"
1221
1216
  },
1217
+ exportBookingAppointmentsCsv: {
1218
+ path: "/sites/{siteId}/bookings/appointments/export.csv",
1219
+ method: "GET",
1220
+ auth: "user",
1221
+ errors: [],
1222
+ responseKind: "blob"
1223
+ },
1222
1224
  createAppointment: {
1223
1225
  path: "/sites/{siteId}/bookings/appointments",
1224
1226
  method: "POST",
@@ -1346,6 +1348,13 @@ var ENDPOINT_DEFINITIONS = {
1346
1348
  auth: "user",
1347
1349
  responseKind: "json"
1348
1350
  },
1351
+ exportCourseEnrollmentsCsv: {
1352
+ path: "/sites/{siteId}/bookings/courses/{courseId}/enrollments/export.csv",
1353
+ method: "GET",
1354
+ auth: "user",
1355
+ errors: [],
1356
+ responseKind: "blob"
1357
+ },
1349
1358
  listCourseWaitlist: {
1350
1359
  path: "/sites/{siteId}/bookings/courses/{courseId}/waitlist",
1351
1360
  method: "GET",
@@ -2708,6 +2717,14 @@ var ENDPOINT_DEFINITIONS = {
2708
2717
  auth: "user",
2709
2718
  responseKind: "json"
2710
2719
  },
2720
+ exportSeoPagesCsv: {
2721
+ path: "/sites/{siteId}/seo/pages",
2722
+ method: "GET",
2723
+ tags: ["site-{siteId}", "seo-pages-{siteId}"],
2724
+ auth: "user",
2725
+ responseKind: "blob",
2726
+ errors: []
2727
+ },
2711
2728
  getSeoQueries: {
2712
2729
  path: "/sites/{siteId}/seo/queries",
2713
2730
  method: "GET",
@@ -2716,6 +2733,14 @@ var ENDPOINT_DEFINITIONS = {
2716
2733
  auth: "user",
2717
2734
  responseKind: "json"
2718
2735
  },
2736
+ exportSeoQueriesCsv: {
2737
+ path: "/sites/{siteId}/seo/queries",
2738
+ method: "GET",
2739
+ tags: ["site-{siteId}", "seo-queries-{siteId}"],
2740
+ auth: "user",
2741
+ responseKind: "blob",
2742
+ errors: []
2743
+ },
2719
2744
  getPerformanceOverview: {
2720
2745
  path: "/sites/{siteId}/performance/overview",
2721
2746
  method: "GET",
@@ -2764,7 +2789,12 @@ var ENDPOINT_DEFINITIONS = {
2764
2789
  path: "/media/{assetId}/canonical-crop",
2765
2790
  method: "POST",
2766
2791
  tags: ["media", "media-{assetId}"],
2767
- errors: ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"],
2792
+ errors: [
2793
+ "validation:invalid_input",
2794
+ "resource:not_found",
2795
+ "resource:conflict",
2796
+ "server:internal_error"
2797
+ ],
2768
2798
  auth: "user",
2769
2799
  responseKind: "json"
2770
2800
  },
@@ -3096,7 +3126,7 @@ var ENDPOINT_DEFINITIONS = {
3096
3126
  method: "GET",
3097
3127
  tags: [TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug],
3098
3128
  auth: "user",
3099
- responseKind: "text"
3129
+ responseKind: "blob"
3100
3130
  },
3101
3131
  // Public submit
3102
3132
  submitForm: {
@@ -3979,6 +4009,14 @@ var ENDPOINT_DEFINITIONS = {
3979
4009
  auth: "user",
3980
4010
  responseKind: "json"
3981
4011
  },
4012
+ exportEventSeriesAttendeesCsv: {
4013
+ path: "/sites/{siteId}/bookings/event-series/{seriesId}/attendees/export.csv",
4014
+ method: "GET",
4015
+ tags: ["site-{siteId}", "event-series-{seriesId}"],
4016
+ auth: "user",
4017
+ errors: [],
4018
+ responseKind: "blob"
4019
+ },
3982
4020
  listEventSeriesWaitlist: {
3983
4021
  path: "/sites/{siteId}/bookings/event-series/{seriesId}/waitlist",
3984
4022
  method: "GET",
@@ -4542,6 +4580,14 @@ var ENDPOINT_DEFINITIONS = {
4542
4580
  auth: "user",
4543
4581
  responseKind: "json"
4544
4582
  },
4583
+ exportBookingCustomersCsv: {
4584
+ path: "/sites/{siteId}/bookings/customers/export.csv",
4585
+ method: "GET",
4586
+ tags: ["site-{siteId}", "customers-{siteId}"],
4587
+ auth: "user",
4588
+ errors: [],
4589
+ responseKind: "blob"
4590
+ },
4545
4591
  createBookingCustomer: {
4546
4592
  path: "/sites/{siteId}/bookings/customers",
4547
4593
  method: "POST",
@@ -4569,6 +4615,21 @@ var ENDPOINT_DEFINITIONS = {
4569
4615
  "server:internal_error"
4570
4616
  ]
4571
4617
  },
4618
+ rectifyBookingParticipantIdentity: {
4619
+ path: "/sites/{siteId}/bookings/participants/{participantId}/identity",
4620
+ method: "PATCH",
4621
+ tags: ["site-{siteId}", "customers-{siteId}"],
4622
+ auth: "user",
4623
+ responseKind: "json",
4624
+ errors: [
4625
+ "validation:invalid_input",
4626
+ "auth:forbidden",
4627
+ "resource:not_found",
4628
+ "resource:already_exists",
4629
+ "resource:conflict",
4630
+ "server:internal_error"
4631
+ ]
4632
+ },
4572
4633
  listCustomerPasses: {
4573
4634
  path: "/sites/{siteId}/bookings/customers/{customerId}/passes",
4574
4635
  method: "GET",
@@ -4703,13 +4764,46 @@ var ENDPOINT_DEFINITIONS = {
4703
4764
  auth: "user",
4704
4765
  responseKind: "json"
4705
4766
  },
4767
+ exportMoneyPaymentsCsv: {
4768
+ path: "/sites/{siteId}/bookings/money/payments/export.csv",
4769
+ method: "GET",
4770
+ tags: ["site-{siteId}", "bookings", "money-payments-{siteId}"],
4771
+ errors: [],
4772
+ auth: "user",
4773
+ responseKind: "blob"
4774
+ },
4775
+ exportMoneyBreakdownsCsv: {
4776
+ path: "/sites/{siteId}/bookings/money/report/breakdowns/export.csv",
4777
+ method: "GET",
4778
+ tags: ["site-{siteId}", "bookings", "money-report-{siteId}"],
4779
+ errors: [],
4780
+ auth: "user",
4781
+ responseKind: "blob"
4782
+ },
4783
+ exportMoneyTimeSeriesCsv: {
4784
+ path: "/sites/{siteId}/bookings/money/report/time-series/export.csv",
4785
+ method: "GET",
4786
+ tags: ["site-{siteId}", "bookings", "money-report-{siteId}"],
4787
+ errors: [],
4788
+ auth: "user",
4789
+ responseKind: "blob"
4790
+ },
4706
4791
  listBookingActivity: {
4707
4792
  path: "/sites/{siteId}/bookings/activity",
4708
4793
  method: "GET",
4709
4794
  tags: ["site-{siteId}", "bookings", "activity-{siteId}"],
4795
+ errors: [],
4710
4796
  auth: "user",
4711
4797
  responseKind: "json"
4712
4798
  },
4799
+ exportBookingActivityCsv: {
4800
+ path: "/sites/{siteId}/bookings/activity/export.csv",
4801
+ method: "GET",
4802
+ tags: ["site-{siteId}", "bookings", "activity-{siteId}"],
4803
+ errors: [],
4804
+ auth: "user",
4805
+ responseKind: "blob"
4806
+ },
4713
4807
  // Site logs
4714
4808
  listSiteActivityLogs: {
4715
4809
  path: "/sites/{siteId}/logs/activity",
@@ -4861,13 +4955,6 @@ var ENDPOINT_DEFINITIONS = {
4861
4955
  auth: "user",
4862
4956
  responseKind: "blob"
4863
4957
  },
4864
- exportSeoCsv: {
4865
- path: "/sites/{siteId}/seo/export",
4866
- method: "GET",
4867
- tags: ["site-{siteId}", "seo"],
4868
- auth: "user",
4869
- responseKind: "blob"
4870
- },
4871
4958
  // Admin site cost (for admin panel)
4872
4959
  adminSiteCost: {
4873
4960
  path: "/admin/sites/{siteId}/cost",