@riverbankcms/sdk 0.60.11 → 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 (96) hide show
  1. package/README.md +10 -7
  2. package/dist/_dts/api/src/accessAdmin.d.ts +102 -0
  3. package/dist/_dts/api/src/bookingConfig.d.ts +31 -1
  4. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +38 -1
  5. package/dist/_dts/api/src/bookingOperations.d.ts +3 -0
  6. package/dist/_dts/api/src/bookingRecords.d.ts +45 -0
  7. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +4 -4
  8. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -5
  9. package/dist/_dts/api/src/common/envelope.d.ts +1 -1
  10. package/dist/_dts/api/src/communications.d.ts +1 -1
  11. package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
  12. package/dist/_dts/api/src/domains.d.ts +14 -13
  13. package/dist/_dts/api/src/endpoints.d.ts +121 -9
  14. package/dist/_dts/api/src/index.d.ts +3 -2
  15. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
  16. package/dist/_dts/api/src/seoEndpoints.d.ts +2 -0
  17. package/dist/_dts/api/src/siteAssets.d.ts +0 -10
  18. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -1
  19. package/dist/_dts/api/src/types.d.ts +1 -1
  20. package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
  21. package/dist/_dts/blocks/src/index.d.ts +1 -0
  22. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  23. package/dist/_dts/blocks/src/server.d.ts +1 -0
  24. package/dist/_dts/blocks/src/subroutes/fold.d.ts +40 -0
  25. package/dist/_dts/blocks/src/subroutes/formatDate.d.ts +12 -0
  26. package/dist/_dts/blocks/src/subroutes/index.d.ts +3 -0
  27. package/dist/_dts/blocks/src/subroutes/kinds.d.ts +32 -0
  28. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +3 -1
  29. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -0
  30. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +1 -0
  31. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +1 -0
  32. package/dist/_dts/blocks/src/system/spacing.d.ts +2 -1
  33. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +5 -0
  34. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +5 -1
  35. package/dist/_dts/core/src/booking-refunds.d.ts +8 -0
  36. package/dist/_dts/core/src/participant-identity.d.ts +1 -1
  37. package/dist/_dts/core/src/participants.d.ts +19 -7
  38. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +284 -96
  39. package/dist/_dts/db/src/schemas/forms.d.ts +135 -24
  40. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -3
  41. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -3
  42. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -3
  43. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -3
  44. package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +13 -0
  45. package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +26 -0
  46. package/dist/_dts/sdk/src/contracts/page.d.ts +1 -0
  47. package/dist/_dts/sdk/src/public-api/contracts.d.ts +2 -1
  48. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -0
  49. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +4 -5
  50. package/dist/_dts/sdk/src/version.d.ts +1 -1
  51. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  52. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +17 -0
  53. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
  54. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  55. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +66 -30
  56. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +16 -0
  57. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  58. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +3 -3
  59. package/dist/_dts/theme-core/src/schema.d.ts +174 -6
  60. package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +328 -15
  61. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +54 -2
  62. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +124 -0
  63. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  64. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  65. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +21 -0
  66. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +2 -1
  67. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  68. package/dist/_dts/theme-core/src/site-styles/types.d.ts +135 -2
  69. package/dist/_dts/ui/src/badge.d.ts +1 -1
  70. package/dist/_dts/ui/src/button.d.ts +1 -1
  71. package/dist/cli/index.mjs +801 -115
  72. package/dist/client/bookings.mjs +115 -1
  73. package/dist/client/client.mjs +905 -166
  74. package/dist/client/hooks.mjs +794 -111
  75. package/dist/client/rendering/client.mjs +179 -39
  76. package/dist/client/rendering/islands.mjs +179 -38
  77. package/dist/client/rendering.mjs +904 -165
  78. package/dist/preview-next/before-render.mjs +160 -16
  79. package/dist/preview-next/client/runtime.mjs +1674 -260
  80. package/dist/preview-next/middleware.mjs +160 -16
  81. package/dist/server/components.mjs +895 -165
  82. package/dist/server/config-validation.mjs +794 -111
  83. package/dist/server/config.mjs +794 -111
  84. package/dist/server/data.mjs +794 -111
  85. package/dist/server/index.mjs +163 -17
  86. package/dist/server/next.mjs +898 -167
  87. package/dist/server/page-converter.mjs +589 -82
  88. package/dist/server/prebuild.mjs +1 -1
  89. package/dist/server/rendering/server.mjs +895 -165
  90. package/dist/server/rendering.mjs +895 -165
  91. package/dist/server/routing.mjs +828 -117
  92. package/dist/server/server.mjs +795 -112
  93. package/dist/server/theme-bridge.mjs +216 -39
  94. package/dist/server/theme.mjs +139 -37
  95. package/dist/styles/index.css +44 -2
  96. package/package.json +1 -1
@@ -36,6 +36,10 @@ export declare const transformDefinitions: {
36
36
  }>;
37
37
  readonly "layout.footerBottomBarStyle": TransformDefinition;
38
38
  readonly "layout.footerSplitNavSingleClass": TransformDefinition;
39
+ readonly "layout.footerSplitMainClass": TransformDefinition<{
40
+ base?: string | undefined;
41
+ reverseClass?: string | undefined;
42
+ }>;
39
43
  readonly "layout.footerLogoClass": TransformDefinition<{
40
44
  base?: string | undefined;
41
45
  }>;
@@ -106,7 +110,7 @@ export declare function bindProp(from: string, opts?: {
106
110
  readonly $bind: {
107
111
  readonly pick?: "value" | "context" | "collection" | undefined;
108
112
  readonly fallback?: {} | null | undefined;
109
- readonly transforms?: TransformStep<"string.uppercase" | "value.fallback" | "date.formatShort" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.sectionStateTone" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "media.fromUrl" | "content.interpolateRichTextTokens" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
113
+ readonly transforms?: TransformStep<"string.uppercase" | "value.fallback" | "date.formatShort" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.sectionStateTone" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "media.fromUrl" | "content.interpolateRichTextTokens" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerSplitMainClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
110
114
  readonly from: string;
111
115
  };
112
116
  };
@@ -2,6 +2,7 @@ import type { BookingDepositRefundPolicy } from './booking-flexible-balance';
2
2
  export type BookingProtectedDepositPolicyState = 'not_applicable' | BookingDepositRefundPolicy;
3
3
  export declare function normalizeBookingProtectedDepositPolicyState(value: string | null | undefined): BookingProtectedDepositPolicyState;
4
4
  export type BookingRefundMode = 'refund_only' | 'refund_and_revoke';
5
+ export type BookingRequestedRefundMethod = 'original_payment' | 'site_credit';
5
6
  export type BookingProtectedDepositOverrideMode = 'respect_policy' | 'allow_protected_deposit_override';
6
7
  export type BookingRefundAmountRequest = Readonly<{
7
8
  kind: 'full_remaining';
@@ -12,13 +13,20 @@ export type BookingRefundAmountRequest = Readonly<{
12
13
  export type BookingRefundCommand = Readonly<{
13
14
  kind: 'refund_only';
14
15
  amount: BookingRefundAmountRequest;
16
+ requestedRefundMethod: BookingRequestedRefundMethod;
15
17
  protectedDepositOverride: BookingProtectedDepositOverrideMode;
16
18
  }> | Readonly<{
17
19
  kind: 'refund_and_revoke';
18
20
  amount: Readonly<{
19
21
  kind: 'full_remaining';
20
22
  }>;
23
+ requestedRefundMethod: BookingRequestedRefundMethod;
21
24
  protectedDepositOverride: BookingProtectedDepositOverrideMode;
22
25
  }>;
23
26
  export declare function shouldAllowProtectedDepositOverride(command: BookingRefundCommand): boolean;
24
27
  export declare function createBookingRefundAmountRequest(amountCents: number | null | undefined): BookingRefundAmountRequest;
28
+ export declare function createOriginalPaymentRefundCommand(options: Readonly<{
29
+ kind: BookingRefundMode;
30
+ amount?: BookingRefundAmountRequest;
31
+ protectedDepositOverride?: BookingProtectedDepositOverrideMode;
32
+ }>): BookingRefundCommand;
@@ -94,7 +94,7 @@ export type SingleSubjectParticipantMaterializationInput = Readonly<{
94
94
  existingParticipantIdByEmail: ParticipantId | null;
95
95
  participation: SingleSubjectParticipantParticipation;
96
96
  }> | Readonly<{
97
- kind: 'subjectless_participation';
97
+ kind: 'provisional_single_subject_participant';
98
98
  customerId: CustomerId;
99
99
  displayName: string | null;
100
100
  phone: string | null;
@@ -120,6 +120,10 @@ export type ParticipantRosterSlot = Readonly<{
120
120
  identityState: ParticipantIdentityState;
121
121
  participation: ParticipantParticipation;
122
122
  }>;
123
+ export type ParticipantParticipationLinkSlot<TParticipation extends ParticipantParticipation = ParticipantParticipation> = Readonly<{
124
+ slotKey: ParticipantSlotKey;
125
+ participation: TParticipation;
126
+ }>;
123
127
  export type ParticipantRosterReconciliationIssue = {
124
128
  kind: 'participant_count_below_ticket_count';
125
129
  expectedCount: number;
@@ -192,7 +196,9 @@ export type CourseEnrollmentParticipantProjectionInput = Readonly<{
192
196
  export type CourseSessionAttendanceParticipantProjectionInput = Readonly<{
193
197
  attendeeId: AttendeeId;
194
198
  enrollmentId: EnrollmentId;
195
- enrollmentSlot: ParticipantRosterSlot;
199
+ enrollmentSlot: ParticipantParticipationLinkSlot<Extract<ParticipantParticipation, {
200
+ kind: 'course_enrollment';
201
+ }>>;
196
202
  }>;
197
203
  export type SingleSubjectParticipantRosterTarget = Readonly<{
198
204
  kind: 'appointment';
@@ -215,20 +221,26 @@ export type SingleSubjectParticipantPersistenceIntent = Readonly<{
215
221
  phone: string | null;
216
222
  participation: SingleSubjectParticipantParticipation;
217
223
  }> | Readonly<{
218
- kind: 'subjectless_participation';
224
+ kind: 'provisional_single_subject_participant';
219
225
  customerId: CustomerId;
220
226
  displayName: string | null;
221
227
  phone: string | null;
222
228
  participation: SingleSubjectParticipantParticipation;
223
229
  }>;
224
- type SingleSubjectParticipantRosterSlot = Omit<ParticipantRosterSlot, 'participation'> & Readonly<{
225
- participation: SingleSubjectParticipantParticipation;
230
+ type SingleSubjectParticipantRosterSlot<TParticipation extends SingleSubjectParticipantParticipation = SingleSubjectParticipantParticipation> = Omit<ParticipantRosterSlot, 'participation'> & Readonly<{
231
+ participation: TParticipation;
226
232
  }>;
227
- export declare function projectAppointmentParticipantSlot(input: AppointmentParticipantProjectionInput): SingleSubjectParticipantRosterSlot;
228
- export declare function projectCourseEnrollmentParticipantSlot(input: CourseEnrollmentParticipantProjectionInput): SingleSubjectParticipantRosterSlot;
233
+ export declare function projectAppointmentParticipantSlot(input: AppointmentParticipantProjectionInput): SingleSubjectParticipantRosterSlot<Extract<SingleSubjectParticipantParticipation, {
234
+ kind: 'appointment';
235
+ }>>;
236
+ export declare function projectCourseEnrollmentParticipantSlot(input: CourseEnrollmentParticipantProjectionInput): SingleSubjectParticipantRosterSlot<Extract<SingleSubjectParticipantParticipation, {
237
+ kind: 'course_enrollment';
238
+ }>>;
229
239
  export declare function projectSingleSubjectParticipantRoster(input: SingleSubjectParticipantRosterProjectionInput): ParticipantRosterProjection;
230
240
  export declare function buildSingleSubjectParticipantPersistenceIntent(input: SingleSubjectParticipantRosterProjectionInput): SingleSubjectParticipantPersistenceIntent;
231
- export declare function projectCourseSessionAttendanceParticipantSlot(input: CourseSessionAttendanceParticipantProjectionInput): ParticipantRosterSlot;
241
+ export declare function projectCourseSessionAttendanceParticipantSlot(input: CourseSessionAttendanceParticipantProjectionInput): ParticipantParticipationLinkSlot<Extract<ParticipantParticipation, {
242
+ kind: 'course_session_attendance';
243
+ }>>;
232
244
  export declare function projectEventRegistrationParticipantRoster(input: EventRegistrationParticipantProjectionInput): ParticipantRosterProjection;
233
245
  export declare function reconcileParticipantRoster(input: {
234
246
  expectedCount: ParticipantCount;
@@ -720,66 +720,6 @@ export type Database = {
720
720
  }
721
721
  ];
722
722
  };
723
- appointment_resources: {
724
- Row: {
725
- archived_at: string | null;
726
- avatar_asset_id: string | null;
727
- bio: string | null;
728
- calendar_sync_enabled: boolean;
729
- color_hex: string | null;
730
- created_at: string;
731
- display_name: string;
732
- id: string;
733
- site_id: string;
734
- timezone: string;
735
- updated_at: string;
736
- user_id: string | null;
737
- };
738
- Insert: {
739
- archived_at?: string | null;
740
- avatar_asset_id?: string | null;
741
- bio?: string | null;
742
- calendar_sync_enabled?: boolean;
743
- color_hex?: string | null;
744
- created_at?: string;
745
- display_name: string;
746
- id?: string;
747
- site_id: string;
748
- timezone?: string;
749
- updated_at?: string;
750
- user_id?: string | null;
751
- };
752
- Update: {
753
- archived_at?: string | null;
754
- avatar_asset_id?: string | null;
755
- bio?: string | null;
756
- calendar_sync_enabled?: boolean;
757
- color_hex?: string | null;
758
- created_at?: string;
759
- display_name?: string;
760
- id?: string;
761
- site_id?: string;
762
- timezone?: string;
763
- updated_at?: string;
764
- user_id?: string | null;
765
- };
766
- Relationships: [
767
- {
768
- foreignKeyName: "appointment_resources_avatar_asset_id_fkey";
769
- columns: ["avatar_asset_id"];
770
- isOneToOne: false;
771
- referencedRelation: "media_assets";
772
- referencedColumns: ["id"];
773
- },
774
- {
775
- foreignKeyName: "appointment_resources_site_id_fkey";
776
- columns: ["site_id"];
777
- isOneToOne: false;
778
- referencedRelation: "sites";
779
- referencedColumns: ["id"];
780
- }
781
- ];
782
- };
783
723
  appointment_services: {
784
724
  Row: {
785
725
  cleanup_minutes: number;
@@ -871,6 +811,75 @@ export type Database = {
871
811
  }
872
812
  ];
873
813
  };
814
+ appointment_staff_digest_deliveries: {
815
+ Row: {
816
+ appointment_count: number;
817
+ attempt_count: number;
818
+ claim_expires_at: string;
819
+ created_at: string;
820
+ delivered_at: string | null;
821
+ digest_kind: string;
822
+ id: string;
823
+ last_error: string | null;
824
+ local_date: string;
825
+ recipient_email: string;
826
+ site_id: string;
827
+ staff_member_id: string;
828
+ status: string;
829
+ timezone: string;
830
+ updated_at: string;
831
+ };
832
+ Insert: {
833
+ appointment_count?: number;
834
+ attempt_count?: number;
835
+ claim_expires_at: string;
836
+ created_at?: string;
837
+ delivered_at?: string | null;
838
+ digest_kind?: string;
839
+ id?: string;
840
+ last_error?: string | null;
841
+ local_date: string;
842
+ recipient_email: string;
843
+ site_id: string;
844
+ staff_member_id: string;
845
+ status?: string;
846
+ timezone: string;
847
+ updated_at?: string;
848
+ };
849
+ Update: {
850
+ appointment_count?: number;
851
+ attempt_count?: number;
852
+ claim_expires_at?: string;
853
+ created_at?: string;
854
+ delivered_at?: string | null;
855
+ digest_kind?: string;
856
+ id?: string;
857
+ last_error?: string | null;
858
+ local_date?: string;
859
+ recipient_email?: string;
860
+ site_id?: string;
861
+ staff_member_id?: string;
862
+ status?: string;
863
+ timezone?: string;
864
+ updated_at?: string;
865
+ };
866
+ Relationships: [
867
+ {
868
+ foreignKeyName: "appointment_staff_digest_deliveries_site_id_fkey";
869
+ columns: ["site_id"];
870
+ isOneToOne: false;
871
+ referencedRelation: "sites";
872
+ referencedColumns: ["id"];
873
+ },
874
+ {
875
+ foreignKeyName: "appointment_staff_digest_deliveries_staff_member_id_fkey";
876
+ columns: ["staff_member_id"];
877
+ isOneToOne: false;
878
+ referencedRelation: "staff_members";
879
+ referencedColumns: ["id"];
880
+ }
881
+ ];
882
+ };
874
883
  appointments: {
875
884
  Row: {
876
885
  cancellation_reason: string | null;
@@ -2148,17 +2157,12 @@ export type Database = {
2148
2157
  course_enrollment_id: string | null;
2149
2158
  course_session_attendee_id: string | null;
2150
2159
  created_at: string;
2151
- display_name: string | null;
2152
- email: string | null;
2153
- email_normalized: string | null;
2154
2160
  event_attendee_guest_id: string | null;
2155
2161
  event_attendee_id: string | null;
2156
2162
  id: string;
2157
- identity_state: string;
2158
2163
  metadata: Json;
2159
- participant_id: string | null;
2164
+ participant_id: string;
2160
2165
  participation_kind: string;
2161
- phone: string | null;
2162
2166
  site_id: string;
2163
2167
  updated_at: string;
2164
2168
  };
@@ -2167,17 +2171,12 @@ export type Database = {
2167
2171
  course_enrollment_id?: string | null;
2168
2172
  course_session_attendee_id?: string | null;
2169
2173
  created_at?: string;
2170
- display_name?: string | null;
2171
- email?: string | null;
2172
- email_normalized?: string | null;
2173
2174
  event_attendee_guest_id?: string | null;
2174
2175
  event_attendee_id?: string | null;
2175
2176
  id?: string;
2176
- identity_state: string;
2177
2177
  metadata?: Json;
2178
- participant_id?: string | null;
2178
+ participant_id: string;
2179
2179
  participation_kind: string;
2180
- phone?: string | null;
2181
2180
  site_id: string;
2182
2181
  updated_at?: string;
2183
2182
  };
@@ -2186,17 +2185,12 @@ export type Database = {
2186
2185
  course_enrollment_id?: string | null;
2187
2186
  course_session_attendee_id?: string | null;
2188
2187
  created_at?: string;
2189
- display_name?: string | null;
2190
- email?: string | null;
2191
- email_normalized?: string | null;
2192
2188
  event_attendee_guest_id?: string | null;
2193
2189
  event_attendee_id?: string | null;
2194
2190
  id?: string;
2195
- identity_state?: string;
2196
2191
  metadata?: Json;
2197
- participant_id?: string | null;
2192
+ participant_id?: string;
2198
2193
  participation_kind?: string;
2199
- phone?: string | null;
2200
2194
  site_id?: string;
2201
2195
  updated_at?: string;
2202
2196
  };
@@ -5382,6 +5376,66 @@ export type Database = {
5382
5376
  }
5383
5377
  ];
5384
5378
  };
5379
+ domain_registrar_events: {
5380
+ Row: {
5381
+ actor_user_id: string | null;
5382
+ created_at: string;
5383
+ domain: string;
5384
+ id: string;
5385
+ metadata: Json;
5386
+ operation: string;
5387
+ outcome: string;
5388
+ provider: string;
5389
+ provider_detail: string | null;
5390
+ provider_response_code: number | null;
5391
+ site_domain_id: string | null;
5392
+ site_id: string;
5393
+ };
5394
+ Insert: {
5395
+ actor_user_id?: string | null;
5396
+ created_at?: string;
5397
+ domain: string;
5398
+ id?: string;
5399
+ metadata?: Json;
5400
+ operation: string;
5401
+ outcome: string;
5402
+ provider: string;
5403
+ provider_detail?: string | null;
5404
+ provider_response_code?: number | null;
5405
+ site_domain_id?: string | null;
5406
+ site_id: string;
5407
+ };
5408
+ Update: {
5409
+ actor_user_id?: string | null;
5410
+ created_at?: string;
5411
+ domain?: string;
5412
+ id?: string;
5413
+ metadata?: Json;
5414
+ operation?: string;
5415
+ outcome?: string;
5416
+ provider?: string;
5417
+ provider_detail?: string | null;
5418
+ provider_response_code?: number | null;
5419
+ site_domain_id?: string | null;
5420
+ site_id?: string;
5421
+ };
5422
+ Relationships: [
5423
+ {
5424
+ foreignKeyName: "domain_registrar_events_site_domain_id_fkey";
5425
+ columns: ["site_domain_id"];
5426
+ isOneToOne: false;
5427
+ referencedRelation: "site_domains";
5428
+ referencedColumns: ["id"];
5429
+ },
5430
+ {
5431
+ foreignKeyName: "domain_registrar_events_site_id_fkey";
5432
+ columns: ["site_id"];
5433
+ isOneToOne: false;
5434
+ referencedRelation: "sites";
5435
+ referencedColumns: ["id"];
5436
+ }
5437
+ ];
5438
+ };
5385
5439
  dsar_run_summaries: {
5386
5440
  Row: {
5387
5441
  counts: Json;
@@ -6898,6 +6952,7 @@ export type Database = {
6898
6952
  created_at: string;
6899
6953
  id: string;
6900
6954
  name: string;
6955
+ presentation_json: Json;
6901
6956
  schema_json: Json;
6902
6957
  settings_json: Json;
6903
6958
  site_id: string;
@@ -6909,6 +6964,7 @@ export type Database = {
6909
6964
  created_at?: string;
6910
6965
  id?: string;
6911
6966
  name: string;
6967
+ presentation_json?: Json;
6912
6968
  schema_json: Json;
6913
6969
  settings_json?: Json;
6914
6970
  site_id: string;
@@ -6920,6 +6976,7 @@ export type Database = {
6920
6976
  created_at?: string;
6921
6977
  id?: string;
6922
6978
  name?: string;
6979
+ presentation_json?: Json;
6923
6980
  schema_json?: Json;
6924
6981
  settings_json?: Json;
6925
6982
  site_id?: string;
@@ -9809,6 +9866,69 @@ export type Database = {
9809
9866
  }
9810
9867
  ];
9811
9868
  };
9869
+ participant_identity_audit_events: {
9870
+ Row: {
9871
+ actor_kind: string;
9872
+ actor_user_id: string | null;
9873
+ changes: Json;
9874
+ created_at: string;
9875
+ event_type: string;
9876
+ id: string;
9877
+ occurred_at: string;
9878
+ participant_id: string;
9879
+ participant_participation_id: string | null;
9880
+ reason: string | null;
9881
+ request_id: string | null;
9882
+ site_id: string;
9883
+ source_context: Json | null;
9884
+ };
9885
+ Insert: {
9886
+ actor_kind: string;
9887
+ actor_user_id?: string | null;
9888
+ changes: Json;
9889
+ created_at?: string;
9890
+ event_type: string;
9891
+ id?: string;
9892
+ occurred_at?: string;
9893
+ participant_id: string;
9894
+ participant_participation_id?: string | null;
9895
+ reason?: string | null;
9896
+ request_id?: string | null;
9897
+ site_id: string;
9898
+ source_context?: Json | null;
9899
+ };
9900
+ Update: {
9901
+ actor_kind?: string;
9902
+ actor_user_id?: string | null;
9903
+ changes?: Json;
9904
+ created_at?: string;
9905
+ event_type?: string;
9906
+ id?: string;
9907
+ occurred_at?: string;
9908
+ participant_id?: string;
9909
+ participant_participation_id?: string | null;
9910
+ reason?: string | null;
9911
+ request_id?: string | null;
9912
+ site_id?: string;
9913
+ source_context?: Json | null;
9914
+ };
9915
+ Relationships: [
9916
+ {
9917
+ foreignKeyName: "participant_identity_audit_ev_participant_participation_id_fkey";
9918
+ columns: ["participant_participation_id"];
9919
+ isOneToOne: false;
9920
+ referencedRelation: "booking_participant_participations";
9921
+ referencedColumns: ["id"];
9922
+ },
9923
+ {
9924
+ foreignKeyName: "participant_identity_audit_events_participant_id_fkey";
9925
+ columns: ["participant_id"];
9926
+ isOneToOne: false;
9927
+ referencedRelation: "booking_participants";
9928
+ referencedColumns: ["id"];
9929
+ }
9930
+ ];
9931
+ };
9812
9932
  participant_roster_assertion_jobs: {
9813
9933
  Row: {
9814
9934
  attempt_count: number;
@@ -11028,7 +11148,18 @@ export type Database = {
11028
11148
  domain: string;
11029
11149
  domain_type: string;
11030
11150
  id: string;
11151
+ registrar_auto_renew: boolean | null;
11152
+ registrar_email_verification_required: boolean | null;
11153
+ registrar_expires_at: string | null;
11154
+ registrar_last_response_code: number | null;
11155
+ registrar_last_synced_at: string | null;
11156
+ registrar_lifecycle_state: string | null;
11157
+ registrar_metadata: Json;
11031
11158
  registrar_order_id: string | null;
11159
+ registrar_privacy_enabled: boolean | null;
11160
+ registrar_provider: string | null;
11161
+ registrar_registered_at: string | null;
11162
+ registrar_renewal_checked_at: string | null;
11032
11163
  resend_domain_id: string | null;
11033
11164
  site_id: string;
11034
11165
  status: string;
@@ -11057,7 +11188,18 @@ export type Database = {
11057
11188
  domain: string;
11058
11189
  domain_type?: string;
11059
11190
  id?: string;
11191
+ registrar_auto_renew?: boolean | null;
11192
+ registrar_email_verification_required?: boolean | null;
11193
+ registrar_expires_at?: string | null;
11194
+ registrar_last_response_code?: number | null;
11195
+ registrar_last_synced_at?: string | null;
11196
+ registrar_lifecycle_state?: string | null;
11197
+ registrar_metadata?: Json;
11060
11198
  registrar_order_id?: string | null;
11199
+ registrar_privacy_enabled?: boolean | null;
11200
+ registrar_provider?: string | null;
11201
+ registrar_registered_at?: string | null;
11202
+ registrar_renewal_checked_at?: string | null;
11061
11203
  resend_domain_id?: string | null;
11062
11204
  site_id: string;
11063
11205
  status?: string;
@@ -11086,7 +11228,18 @@ export type Database = {
11086
11228
  domain?: string;
11087
11229
  domain_type?: string;
11088
11230
  id?: string;
11231
+ registrar_auto_renew?: boolean | null;
11232
+ registrar_email_verification_required?: boolean | null;
11233
+ registrar_expires_at?: string | null;
11234
+ registrar_last_response_code?: number | null;
11235
+ registrar_last_synced_at?: string | null;
11236
+ registrar_lifecycle_state?: string | null;
11237
+ registrar_metadata?: Json;
11089
11238
  registrar_order_id?: string | null;
11239
+ registrar_privacy_enabled?: boolean | null;
11240
+ registrar_provider?: string | null;
11241
+ registrar_registered_at?: string | null;
11242
+ registrar_renewal_checked_at?: string | null;
11090
11243
  resend_domain_id?: string | null;
11091
11244
  site_id?: string;
11092
11245
  status?: string;
@@ -13675,6 +13828,29 @@ export type Database = {
13675
13828
  updated_at: string;
13676
13829
  }[];
13677
13830
  };
13831
+ apply_customer_self_service_profile_update: {
13832
+ Args: {
13833
+ audit_changes: Json;
13834
+ audit_request_id?: string;
13835
+ audit_source_context?: Json;
13836
+ expected_updated_at: string;
13837
+ next_name: string;
13838
+ next_phone: string;
13839
+ target_customer_id: string;
13840
+ target_site_id: string;
13841
+ };
13842
+ Returns: {
13843
+ audit_event_id: string;
13844
+ created_at: string;
13845
+ customer_id: string;
13846
+ email: string;
13847
+ email_verified_at: string;
13848
+ name: string;
13849
+ phone: string;
13850
+ site_id: string;
13851
+ updated_at: string;
13852
+ }[];
13853
+ };
13678
13854
  apply_newsletter_subscriber_rectification: {
13679
13855
  Args: {
13680
13856
  audit_actor_user_id: string;
@@ -13735,6 +13911,36 @@ export type Database = {
13735
13911
  };
13736
13912
  Returns: string;
13737
13913
  };
13914
+ apply_participant_identity_rectification: {
13915
+ Args: {
13916
+ audit_actor_user_id: string;
13917
+ audit_changes: Json;
13918
+ audit_participant_participation_id?: string;
13919
+ audit_reason: string;
13920
+ audit_request_id?: string;
13921
+ audit_source_context?: Json;
13922
+ expected_updated_at: string;
13923
+ next_display_name: string;
13924
+ next_email: string;
13925
+ next_identity_state: string;
13926
+ next_phone: string;
13927
+ target_participant_id: string;
13928
+ target_site_id: string;
13929
+ };
13930
+ Returns: {
13931
+ apply_status: string;
13932
+ audit_event_id: string;
13933
+ customer_id: string;
13934
+ display_name: string;
13935
+ email: string;
13936
+ email_normalized: string;
13937
+ identity_state: string;
13938
+ participant_id: string;
13939
+ phone: string;
13940
+ site_id: string;
13941
+ updated_at: string;
13942
+ }[];
13943
+ };
13738
13944
  assert_single_subject_participant_roster_atomic: {
13739
13945
  Args: {
13740
13946
  p_customer_id: string;
@@ -14455,24 +14661,6 @@ export type Database = {
14455
14661
  order_id: string;
14456
14662
  }[];
14457
14663
  };
14458
- postgres_fdw_disconnect: {
14459
- Args: {
14460
- "": string;
14461
- };
14462
- Returns: boolean;
14463
- };
14464
- postgres_fdw_disconnect_all: {
14465
- Args: never;
14466
- Returns: boolean;
14467
- };
14468
- postgres_fdw_get_connections: {
14469
- Args: never;
14470
- Returns: Record<string, unknown>[];
14471
- };
14472
- postgres_fdw_handler: {
14473
- Args: never;
14474
- Returns: unknown;
14475
- };
14476
14664
  redeem_pass_credits: {
14477
14665
  Args: {
14478
14666
  credits_amount?: number;