feat(invitations): send invitations into the candidate inbox atomically

This commit is contained in:
shira committed 2026-10-09 16:50:36 +03:00
1 parent fc35e27af5
commit 1a067221f7
46 files changed
+3276 -113

No files matched your search

@@ -609,6 +609,14 @@ type InvitationEvent struct {
OccurredAt pgtype.Timestamptz
}
type InvitationSendResult struct {
ScopeHash []byte
OrganizationID pgtype.UUID
InvitationID pgtype.UUID
Outcome string
Snapshot []byte
}
type InvitationTermsVersion struct {
InvitationID pgtype.UUID
OrganizationID pgtype.UUID